i notice in log there are event
31549163: EVENT: PPD42NJ#PM10_ug_per_m3=0.05
31549396: EVENT: PPD42NJ#PM25_ug_per_m3=0.05
31549608: EVENT: PPD42NJ#PM10_mili_ppmv=nan
31549835: EVENT: PPD42NJ#PM25_mili_ppmv=nan
31550047: EVENT: PPD42NJ#AQI_PM10=0.00
31550252: EVENT: PPD42NJ#AQI_PM25=0.00
31550457: EVENT: PPD42NJ#AQI_PM10_Status=2.00
however nothing being publish by checking
mosquito_sub -v -t WeMOS/PPD42NJ/#
am I missing something?
source code is here
https://github.com/dony71/ESPEasyPlugin ... _PPD42.ino
EVENT not being publish
Moderators: grovkillen, Stuntteam, TD-er
Re: EVENT not being publish
It's very difficult to offer casual advice on custom plugins. And without screenshots of the device and controller settings we can't offer feedback on the basic setup.am I missing something?
But as a primitive test, use a rule to publish your Air Quality values to the broker. Success with that will confirm that MQTT is configured correctly and your values are being read in the plugin.
Lastly, I saw that your custom plugin uses the Arduino "SimpleTimer" library. I don't know of any other official ESPEasy plugin that uses it. Are you sure this library can play nice inside ESPEasy? Do you have reliable success with it in any of your other custom ESPEasy plugins?
- Thomas
Who is online
Users browsing this forum: No registered users and 12 guests