MQTT sending run once problem - Printable Version +- SIP (https://nosack.com/sipforum) +-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1) +--- Forum: Plugin questions (https://nosack.com/sipforum/forumdisplay.php?fid=6) +--- Thread: MQTT sending run once problem (/showthread.php?tid=290) |
MQTT sending run once problem - badhairday - 2022 Aug 30 Hi, I am trying to send an MQTT message to run once and having no luck and out of ideas. I have tried variations of the following and not getting anywhere. mosquitto_pub -d -h localhost -p 1883 -t SIP/schedule -m '{"S01":0, "S02":5, "S03":0, "Drip":5}' Client mosqpub|376-otis sending CONNECT Client mosqpub|376-otis received CONNACK Client mosqpub|376-otis sending PUBLISH (d0, q0, r0, m1, 'SIP/schedule', ... (37 bytes)) Client mosqpub|376-otis sending DISCONNEC My zones are being published, so SIP is talking to my broker. But no logs that I can find to give me hints on what is wrong. So my question is, if I want to execute a run once from MQTT, what am I doing wrong. Please help. Thanks, Chris RE: MQTT sending run once problem - astrogerard - 2022 Aug 31 This plugin doesn't handle the settings very well. You have to manually reenter the topic (even if it seems ok) and save the setting. After that it works.... at least with me :-) --Gerard RE: MQTT sending run once problem - badhairday - 2022 Aug 31 (2022 Aug 31, 10:15 AM)astrogerard Wrote: This plugin doesn't handle the settings very well. You have to manually reenter the topic (even if it seems ok) and save the setting. After that it works.... at least with me :-) Thank you Gerard, I never would have guessed that. Even though it had SIP/schedule in the topic, I pasted it in and submitted it. After that it worked. Regards, Chris RE: MQTT sending run once problem - astrogerard - 2022 Aug 31 Thanks for reporting back. |