Xenomes / Domoticz-TUYA-Plugin

Implements the special Tuya Home Assistant API.
22 stars 8 forks source link

handle in 199 line #7

Closed mice6 closed 3 years ago

mice6 commented 3 years ago

Hi. Friends. I have problem to connect tuya. I attach the log .

2021-03-31 21:56:20.659 Status: (Tuya) Entering work loop.
2021-03-31 21:56:20.660 Status: (Tuya) Initialized version 1.0.5, author 'Wagner Oliveira'
2021-03-31 21:56:20.713 Error: (Tuya) handleThread: line 196
2021-03-31 22:03:22.135 (Tuya) onHeartbeat called time=1617221002.1348946
2021-03-31 22:03:22.136 (Tuya) in handlethread
2021-03-31 22:03:22.372 Error: (Tuya) handleThread: Expecting value: line 1 column 1 (char 0) line 199

Please help me.

Xenomes commented 3 years ago

the discover_devices line, are you on tuyaha 0.10? if not please update as in Readme mentioned.

mice6 commented 3 years ago

I have tuyaha 0.10. connection via smart life eliminated the problem. Thanks for the plugin :)

Xenomes commented 3 years ago

Good to hear it is solved, which app did you use where the error concurs?

mice6 commented 3 years ago

Smart Life

Xenomes commented 3 years ago

Thanks!