"Publish" to Domoticz

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Gerwazy
New user
Posts: 8
Joined: 25 Nov 2018, 19:44
Location: Wrocław

"Publish" to Domoticz

#1 Post by Gerwazy » 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.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: "Publish" to Domoticz

#2 Post by enesbcs » 25 Nov 2018, 21:16

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.
You can try:
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

Gerwazy
New user
Posts: 8
Joined: 25 Nov 2018, 19:44
Location: Wrocław

Re: "Publish" to Domoticz

#3 Post by Gerwazy » 26 Nov 2018, 00:10

Thank you enesbcs! Point 1 did the trick ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests