codetheweb / homebridge-tuya-outlet

A plugin for Homebridge for Tuya-based outlets
15 stars 11 forks source link

Error comunicating with device #8

Closed francisco-navarro closed 6 years ago

francisco-navarro commented 6 years ago

Everything works perfect when I reboot the device. But after a few hours, this always happens to me:

Accessory [Homebridge] Got Characteristic "On" value: undefined Accessory [Homebridge] Error getting value for Characteristic "On": Error communicating with device. Make sure nothing else is trying to control it or connected to it. EventedHTTPServer [::ffff:XXXXXXXX] HTTP Response is finished

I don't have any other applications o device connected. Could be improved the communication so is not always broken after a few hours?

codetheweb commented 6 years ago

This is a known issue with TuyAPI, and unfortunately isn't that easy to solve. Sorry I can't help more.

If you have ideas for improvement, feel free to open an issue over at TuyAPI.