question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timeout waiting for status response from device

See original GitHub issue

Hello, I can easily connect to my device and retrieve its data but when I set the data, I always get this Timeout error.

My code is the same as in the example with a change to put ‘20’ instead of ‘1’ in the dps data.

I want to control these lights. I use the app Smart Life.

LOG: Connected to device Data from device: { devId: 'xxxxxxxxxxxxxxxxx', dps: { '20': false, '21': 'colour', '22': 1000, '23': 1000, '24': '00de03e803e8', '25': '06464601000003e803e800000000464601007803e803e80000000046460100f003e803e800000000', '26': 0 } } Boolean status of default property: false. Error! Timeout waiting for status response from device id: xxxxxxxxxxxxxxxxx Disconnected from device.

Desktop:**

  • OS: Windows 10
  • Node Version: 10.19.0

I hope I have given all the necessary information, thank you in advance for your help.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
codethewebcommented, Nov 16, 2020

It looks like your code isn’t quite right.

Instead of

device.set({set: !(data.dps['20'])});

try

device.set({dps: 20, set: !(data.dps['20'])});
2reactions
Fabian-Sercommented, Nov 13, 2020

Solved it, filling in the new generated key fixes the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Timeout waiting for status response from device - Bountysource
Hello, I can easily connect to my device and retrieve its data but when I set the data, I always get this Timeout...
Read more >
Timeout waiting for ATT response, … | Apple Developer Forums
I set CBCharacteristicWriteType with CBCharacteristicWriteWithResponse,When I call function writeValue:(NSData *)data forCharacteristic:(CBCharacteristic ...
Read more >
408 Request Timeout - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 408 Request Timeout response status code means that the server would like to shut down this unused ...
Read more >
Timeout Waiting for Response from Device - HELP - Line 6
So I thought I updated my device with no issues. 1. I'm on 2.0 Firmware 1. I'm on 2.01 Editor I'm getting either...
Read more >
"Timeout waiting for response" while running Data Integration ...
This is a configuration issue in the Run Cloud Task System Service as the 'Max Wait' default value is 300 seconds, and if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found