Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'brightness' #28

Closed
newt10 opened this issue Jul 5, 2020 · 6 comments
Closed

Cannot read property 'brightness' #28

newt10 opened this issue Jul 5, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@newt10
Copy link

newt10 commented Jul 5, 2020

Describe the bug
Seeing error in homebridge - Can still turn device on/off but the error is not going away

0|homebridge | [7/5/2020, 12:53:35 AM] [TuyaWebPlatform] Error retrieving devices states TypeError: Cannot read property 'brightness' of undefined
0|homebridge | at LightAccessory.updateState (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/light_accessory.js:227:39)
0|homebridge | at LightAccessory.updateAccessory (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/base_accessory.js:103:14)
0|homebridge | at /home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/index.js:96:52
0|homebridge | at processTicksAndRejections (internal/process/task_queues.js:97:5)
0|homebridge | [7/5/2020, 12:53:42 AM] [TuyaWebPlatform] Error retrieving devices states TypeError: Cannot read property 'brightness' of undefined
0|homebridge | at LightAccessory.updateState (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/light_accessory.js:227:39)
0|homebridge | at LightAccessory.updateAccessory (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/base_accessory.js:103:14)
0|homebridge | at /home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/index.js:96:52
0|homebridge | at processTicksAndRejections (internal/process/task_queues.js:97:5)
0|homebridge | [7/5/2020, 12:53:49 AM] [TuyaWebPlatform] Error retrieving devices states TypeError: Cannot read property 'brightness' of undefined
0|homebridge | at LightAccessory.updateState (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/light_accessory.js:227:39)
0|homebridge | at LightAccessory.updateAccessory (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/base_accessory.js:103:14)
0|homebridge | at /home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/index.js:96:52
0|homebridge | at processTicksAndRejections (internal/process/task_queues.js:97:5)
0|homebridge | [7/5/2020, 12:53:55 AM] [Config] Homebridge Config UI X v4.23.2 is listening on :: port 8080
0|homebridge | [7/5/2020, 12:53:58 AM] [TuyaWebPlatform] Error retrieving devices states TypeError: Cannot read property 'brightness' of undefined
0|homebridge | at LightAccessory.updateState (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/light_accessory.js:227:39)
0|homebridge | at LightAccessory.updateAccessory (/home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/lib/base_accessory.js:103:14)
0|homebridge | at /home/pi/.nvm/versions/node/v12.16.1/lib/node_modules/homebridge-tuya-web/index.js:96:52
0|homebridge | at processTicksAndRejections (internal/process/task_queues.js:97:5)

To Reproduce
Steps to reproduce the behavior:
Just shows up every few minutes in the homebridge logs

Expected behavior
Not sure what the error is -> expected to run without error

Screenshots
If applicable, add screenshots to help explain your problem.

Device
Merkury Color LED bulbs via Tuya

@newt10 newt10 added the bug Something isn't working label Jul 5, 2020
@milo526
Copy link
Owner

milo526 commented Jul 5, 2020

This seems to be the same problem as #11 is that right?

@milo526
Copy link
Owner

milo526 commented Jul 5, 2020

And please also follow the steps as described here and post the output. Without that I can do very little.

@glitch82
Copy link

I’m having the same issue but it’s definitely new and I didn’t have it some versions ago. I’m using the Teckin Smart WiFi RGB and cool/warm white bulb with the Smart Life application.

@milo526
Copy link
Owner

milo526 commented Jul 15, 2020

Closing due to no response from original author and failure to follow posted guidelines and request for more information.

@milo526 milo526 closed this as completed Jul 15, 2020
@Radstake
Copy link

I have exactly the same. It work before just great! Also the same Led Strip worked perfectly, now stopped working with the same error.

@gerswin
Copy link

gerswin commented Aug 5, 2020

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants