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

New development branch for testing empty device list problem #33

Closed bbqkees closed 2 years ago

bbqkees commented 3 years ago

I have created a new version of the plugin that should prevent the issue with the empty device list in Domoticz: https://github.com/bbqkees/ems-esp-domoticz-plugin/tree/dev-multi2

If you use this version, it's best to start over again. So delete all devices from the old version and start fresh.

For each EMS device you have (so boiler, thermostat, etc) you have to create a separate instance of the plugin. So you install it once, but you add a new hardware of the type EMS gateway in the hardware listr in Domoticz.

FWES70 commented 3 years ago

bbqkees, it seems not to work for the older version of the gateway (ESP8266 based), correct? it loads only 4 devices per hardware so far. I updated the EMS-ESP to v2.2.2.

FWES70 commented 3 years ago

plugin v2.xlsx

Hi Kees, I made a download of the MQTT messages and also added the log from Domoticz, all sorted in Excel. maybe this helps.

bbqkees commented 3 years ago

@FWES70 Now I see that in EMS-ESP 2.2.2 the MQTT parameters have not changed to all lower case, this is only in EMS-ESP32 V3.....

I think if I just convert all names to lower case by default before processing them it should work for V2.2 as well.

bbqkees commented 3 years ago

@FWES70 Can you update the plugin and check if it works for V2.2 now?

FWES70 commented 3 years ago

@bbqkees I tried it, but Domoticz becomes unstable (this was also the case with the first one). in the meantime I worked on the previous version and made it work, all devices appear in Domoticz now (mainly upper-case and correct naming according to the EMS output).
how can I share that with you?

bbqkees commented 2 years ago

Please try out the new Autodiscovery feature of Domoticz instead of this plugin. See https://bbqkees-electronics.nl/wiki/gateway/domoticz-configuration.html

(You can run them side by side with the existing plugin for a while).