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

Dallas sensor is not picked up in Domoticz #38

Closed bwbboot closed 3 years ago

bwbboot commented 3 years ago

In Domoticz new hardware is enabled and allowed for 5 minutes restarted domoticz still domoticz does not seem to pickup on the dallas sensors. I can see the data is published by ems-esp and received in domoticz.

EMS-ESP log

2021-09-03 22:14:17.032   DEBUG 3404:   [mqtt]       Publishing topic ems-esp/boiler_data (#1088, retain=0, retry=1, size=690, pid=1)
2021-09-03 22:14:17.134   DEBUG 3405:   [mqtt]       Publishing topic ems-esp/boiler_data_ww (#1089, retain=0, retry=1, size=470, pid=1)
2021-09-03 22:14:17.236   DEBUG 3406:   [mqtt]       Publishing topic ems-esp/thermostat_data (#1090, retain=0, retry=1, size=47, pid=1)
2021-09-03 22:14:17.337   DEBUG 3407:   [mqtt]       Publishing topic ems-esp/dallassensor_data (#1091, retain=0, retry=1, size=51, pid=1)

Domoticz debug log

2021-09-03 22:15:27.423 EMS: (EMS) MQTT message: ems-esp/boiler_data_ww b'{"wwseltemp":45,"wwsettemp":47,"wwtype":"flow","wwcomfort":"eco","wwflowtempoffset":40,"wwmaxpower":100,"wwcircpump":"off","wwchargetype":"3-way valve","wwhyston":-5,"wwhystoff":0,"wwdisinfectiontemp":70,"wwcircmode":"off","wwcirc":"off","wwcurtemp":37.5,"wwcurflow":0,"wwstoragetemp1":37.5,"wwactivated":"on","wwonetime":"off","wwdisinfecting":"off","wwcharging":"off","wwrecharging":"off","wwtempok":"on","wwactive":"off","wwheat":"on","wwstarts":5876,"wwworkm":16227}'
2021-09-03 22:15:27.423 EMS: (EMS) onMessage called with: PUBLISH
2021-09-03 22:15:27.523 EMS: (EMS) MQTT message: ems-esp/thermostat_data b'{"id":202,"hc1":{"seltemp":21,"currtemp":23.4}}'
2021-09-03 22:15:27.524 EMS: (EMS) deviceId 111 value has not changed. Device not updated
2021-09-03 22:15:27.524 EMS: (EMS) deviceId 112 value has not changed. Device not updated
2021-09-03 22:15:27.524 EMS: (EMS) onMessage called with: PUBLISH
2021-09-03 22:15:27.624 EMS: (EMS) MQTT message: ems-esp/dallassensor_data b'{"28-66AF-95F0-013C":33,"28-4B90-95F0-013C":27.8}'
2021-09-03 22:15:27.625 EMS: (EMS) onMessage called with: PUBLISH
2021-09-03 22:15:32.083 EMS: (EMS) Heartbeating...
2021-09-03 22:15:32.083 EMS: (EMS) MqttClient::Ping
2021-09-03 22:15:32.133 EMS: (EMS) onMessage called with: PINGRESP
bbqkees commented 3 years ago

Change Settings->Formatting Options->Dallas Sensor Format to 'By name' should do the trick.

Op vr 3 sep. 2021 om 22:18 schreef bwbboot @.***>:

In Domoticz new hardware is enabled and allowed for 5 minutes restarted domoticz still domoticz does not seem to pickup on the dallas sensors. I can see the data is published by ems-esp and received in domoticz. EMS-ESP log

2021-09-03 22:14:17.032 DEBUG 3404: [mqtt] Publishing topic ems-esp/boiler_data (#1088, retain=0, retry=1, size=690, pid=1) 2021-09-03 22:14:17.134 DEBUG 3405: [mqtt] Publishing topic ems-esp/boiler_data_ww (#1089, retain=0, retry=1, size=470, pid=1) 2021-09-03 22:14:17.236 DEBUG 3406: [mqtt] Publishing topic ems-esp/thermostat_data (#1090, retain=0, retry=1, size=47, pid=1) 2021-09-03 22:14:17.337 DEBUG 3407: [mqtt] Publishing topic ems-esp/dallassensor_data (#1091, retain=0, retry=1, size=51, pid=1) Domoticz debug log

2021-09-03 22:15:27.423 EMS: (EMS) MQTT message: ems-esp/boiler_data_ww b'{"wwseltemp":45,"wwsettemp":47,"wwtype":"flow","wwcomfort":"eco","wwflowtempoffset":40,"wwmaxpower":100,"wwcircpump":"off","wwchargetype":"3-way valve","wwhyston":-5,"wwhystoff":0,"wwdisinfectiontemp":70,"wwcircmode":"off","wwcirc":"off","wwcurtemp":37.5,"wwcurflow":0,"wwstoragetemp1":37.5,"wwactivated":"on","wwonetime":"off","wwdisinfecting":"off","wwcharging":"off","wwrecharging":"off","wwtempok":"on","wwactive":"off","wwheat":"on","wwstarts":5876,"wwworkm":16227}' 2021-09-03 22:15:27.423 EMS: (EMS) onMessage called with: PUBLISH 2021-09-03 22:15:27.523 EMS: (EMS) MQTT message: ems-esp/thermostat_data b'{"id":202,"hc1":{"seltemp":21,"currtemp":23.4}}' 2021-09-03 22:15:27.524 EMS: (EMS) deviceId 111 value has not changed. Device not updated 2021-09-03 22:15:27.524 EMS: (EMS) deviceId 112 value has not changed. Device not updated 2021-09-03 22:15:27.524 EMS: (EMS) onMessage called with: PUBLISH 2021-09-03 22:15:27.624 EMS: (EMS) MQTT message: ems-esp/dallassensor_data b'{"28-66AF-95F0-013C":33,"28-4B90-95F0-013C":27.8}' 2021-09-03 22:15:27.625 EMS: (EMS) onMessage called with: PUBLISH 2021-09-03 22:15:32.083 EMS: (EMS) Heartbeating... 2021-09-03 22:15:32.083 EMS: (EMS) MqttClient::Ping 2021-09-03 22:15:32.133 EMS: (EMS) onMessage called with: PINGRESP

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bbqkees/ems-esp-domoticz-plugin/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSGZAUHJMUZW6TMTZKBRN3UAEUSZANCNFSM5DMNCJWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bwbboot commented 3 years ago

Screenshot 2021-09-03 at 22 38 26

I have it setup like this, but still no new devices.

bwbboot commented 3 years ago

sorry hit close by accident.

bbqkees commented 3 years ago

Did you reboot the Gateway? You should then see the new format coming in the log.

Op vr 3 sep. 2021 om 22:40 schreef bwbboot @.***>:

Reopened #38 https://github.com/bbqkees/ems-esp-domoticz-plugin/issues/38.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bbqkees/ems-esp-domoticz-plugin/issues/38#event-5255415781, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSGZAX6XQ3L44KDZ5RJZY3UAEXEVANCNFSM5DMNCJWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bwbboot commented 3 years ago

I have also tried to change Enum Format to number, I believe that is what documentation states to use for Domoticz. Yes gateway is rebooted after every change.

The log now shows this format:

2021-09-03 22:59:43.346 EMS: (EMS) MQTT message: ems-esp/dallassensor_data b'{"28-66AF-95F0-013C":28.4,"28-4B90-95F0-013C":27.1}'
2021-09-03 22:59:43.347 EMS: (EMS) onMessage called with: PUBLISH
bwbboot commented 3 years ago

Ok it's working now, with the Dallas Sensor Format set to Number.

bbqkees commented 3 years ago

Yes you are right. By Number it is...

Op vr 3 sep. 2021 om 23:29 schreef bwbboot @.***>:

Ok it's working now, with the Dallas Sensor Format set to Number.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bbqkees/ems-esp-domoticz-plugin/issues/38#issuecomment-912820818, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSGZAVZRWOSFPDQG7LIQWLUAE42NANCNFSM5DMNCJWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bwbboot commented 3 years ago

Thanks for the fast support. Closing this issue now.