bbqkees / ems-esp-domoticz-plugin

Domoticz plugin for the EMS Wi-Fi Gateway with Proddy's EMS-ESP firmware
MIT License
7 stars 8 forks source link

Device creation failed, Hardware/Unit combination (12:84) already exists in Domoticz #32

Closed claudecaruana closed 3 years ago

claudecaruana commented 3 years ago

Hello,

Everything seems to be working fine for me, except that I get the following error around every 10 seconds in Domoticz. I assume that this would be resulting in some missing parameter but I cannot indentify which. Kind regards, Claude Caruana

2021-03-09 07:29:41.350 Error: (MQTT) 'onMessage' failed 'KeyError'. 2021-03-09 07:29:41.351 Error: (MQTT) ----> Line 943 in '/home/claudecaruana/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMessage 2021-03-09 07:29:41.351 Error: (MQTT) ----> Line 886 in '/home/claudecaruana/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMessage 2021-03-09 07:29:41.351 Error: (MQTT) ----> Line 114 in '/home/claudecaruana/domoticz/plugins/ems-esp-domoticz-plugin/mqtt.py', function onMessage 2021-03-09 07:29:41.351 Error: (MQTT) ----> Line 919 in '/home/claudecaruana/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMQTTPublish 2021-03-09 07:29:41.351 Error: (MQTT) ----> Line 677 in '/home/claudecaruana/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMqttMessage 2021-03-09 07:29:41.352 Error: (MQTT) ----> Line 994 in '/home/claudecaruana/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function updateDevice 2021-03-09 07:29:51.427 Error: (MQTT) Device creation failed, Hardware/Unit combination (12:84) already exists in Domoticz.

bbqkees commented 3 years ago

This is now fixed.

I did a lot of copy and paste with parameter creation but I did not correctly change each device ID.