Xenomes / Domoticz-TUYA-Plugin

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

From 26/11/2021 Domotics cannot switch Tuya devices #20

Closed Cees2439867 closed 2 years ago

Cees2439867 commented 2 years ago

Hi, I am experiencing suddenly a issue. Domoticz does not switch devices on and of anymore. I do get the following errors is my log file:

2021-11-27 11:55:20.576 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:55:30.557 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:55:40.601 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:55:50.584 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:56:00.564 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:56:10.565 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:56:20.566 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:56:30.555 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:56:40.585 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:56:50.585 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:57:00.583 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:57:10.597 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:57:20.576 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220 2021-11-27 11:57:30.568 Error: Tuya Apparaten: (Tuya Apparaten) handleThread: can only concatenate str (not "NoneType") to str line 220

Is this only with me?

ddebets commented 2 years ago

no, you are not the only one. I had this too this morning. After a small change in the Tuya entry in the hardware tab of Domoticz, it worked again. I also found out that I was a few updates behind (1.0.5), thought that was the cause.

Cees2439867 commented 2 years ago

Many thanks for your answer. Ok, I will update. What have you changed at the Tuya entry in the hardware tab of Domoticz?

Cees2439867 commented 2 years ago

Really good advice, I just updated and restarted. It works fine again! Many Thanks!

Xenomes commented 2 years ago

The API of TUYA was not reacting normal, the issue is gone for now.