stas-demydiuk / domoticz-h801-tasmota-plugin

Python plugin for Domoticz to control H801 LED WiFi Controller with Tasmota firmware
MIT License
8 stars 2 forks source link

onMessage' failed 'KeyError'. #3

Closed croc1234 closed 4 years ago

croc1234 commented 4 years ago

Hi, first of all thanks for your great work on this plugin. I am using the domoticz-h801-tasmota-plugin in Domoticz version 4.115900. Although the plugin functions correctly i get the following error messages in the log:

2019-12-26 09:25:47.820 Error: (Haard) 'onMessage' failed 'KeyError'. 2019-12-26 09:25:47.820 Error: (Haard) ----> Line 250 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py' 2019-12-26 09:25:47.820 Error: (Haard) ----> Line 208 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py' 2019-12-26 09:25:47.820 Error: (Haard) ----> Line 134 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/mqtt.py' 2019-12-26 09:25:47.820 Error: (Haard) ----> Line 227 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py' 2019-12-26 09:25:47.820 Error: (Haard) ----> Line 49 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py'

Any idea how this can be fixed?

karali2 commented 4 years ago

Screenshot_20200301-065811 Hi ! I have the same problem - I'm using the latest beta

stas-demydiuk commented 4 years ago

Should be now fixed, could you please update plugin and check?

croc1234 commented 4 years ago

Thank you for the fix. I updated my system with the new plugin and i don't see any errors anymore in the log. Great work!

ledfreak3d commented 4 years ago

i have no errors in the log file all is good but pwr on does not pwr on it will only pwr on on a brightness change runnign latest stable domoticz and latest plugins

ledfreak3d commented 4 years ago

teste with latest tasmota latest plugins and latest domoticz
power on command from domoticz wil never get recieved double check in tasmota console power on not registerd at all brightness change works ok every time power off also works fine but power on will never get executed

stas-demydiuk commented 4 years ago

Just updated to the latest Tasmota version (8.3.1) and all commands still work just fine