Hello,
following a wiki I managed to connect PMS7003 (smog detector) to D1 Wemos mini using latest Espeasy mega. I see the values in ESP (all 3 pm 1/2.5/10) but I am not able to send them to Domoticz.
Changing some of the examples I made and put among the rules:
Publish domoticz/in,{"idx":98,"nvalue":0,"svalue":"[PMS7003#pm1.0]"}
but I can't see any values in Domoticz (virtual switch - airquality IDX 98). What did I wrong?
Thank you for any help in advance.
"Publish" to Domoticz
Moderators: grovkillen, Stuntteam, TD-er
Re: "Publish" to Domoticz
You can try:Gerwazy wrote: ↑25 Nov 2018, 19:59 Hello,
following a wiki I managed to connect PMS7003 (smog detector) to D1 Wemos mini using latest Espeasy mega. I see the values in ESP (all 3 pm 1/2.5/10) but I am not able to send them to Domoticz.
Changing some of the examples I made and put among the rules:
Publish domoticz/in,{"idx":98,"nvalue":0,"svalue":"[PMS7003#pm1.0]"}
but I can't see any values in Domoticz (virtual switch - airquality IDX 98). What did I wrong?
Thank you for any help in advance.
1. double check that in ESPEasy the Domoticz MQTT controller is the first controller, and it is enabled, than check the ESPEasy logs if it says "MQTT connected"
2. Publish domoticz/in,{"idx":98,"nvalue":0.00,"svalue":"[PMS7003#pm1.0]"}
3. check Domoticz Logs and/or subscribe the '#' topic with mosquitto_sub to debug
Re: "Publish" to Domoticz
Thank you enesbcs! Point 1 did the trick
Who is online
Users browsing this forum: No registered users and 39 guests