![]() |
Problems with configuration of MQTT - Printable Version +- SIP (https://nosack.com/sipforum) +-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1) +--- Forum: Installation and set up questions (https://nosack.com/sipforum/forumdisplay.php?fid=2) +--- Thread: Problems with configuration of MQTT (/showthread.php?tid=134) |
Problems with configuration of MQTT - dalmabrain - 2018 Jun 13 Hi all, I just recently installed SIP. Everything is working as expected. As I planned to integrate SIP (or at least few states) into my home automation system (ioBroker) I installed paho-mqtt, the base MQTT plugin and MQTT Zones plugin. After restarting SIP, I entered all details for MQTT. The MQTT broker is running on a separate Pi...But somehow it is not connecting to the Broker. Can someone describe the configuration? What is wrong with my setup? Where can I find the log? Thanks in advance. RE: Problems with configuration of MQTT - diogos88 - 2019 May 21 I have exactly the same problem. Did you found a solution? Thanks. RE: Problems with configuration of MQTT - astrogerard - 2019 May 21 Make sure to start SIP after the network has started and the broker is running. If SIP is started too soon it will not/never connect. Some time ago I changed the plugins to retry/reconnect after the connection is/was lost to the broker and although it works fine, I'm not too happy with my code so I will not issue a pull request very soon. So for now the startup order is important. --Gerard RE: Problems with configuration of MQTT - diogos88 - 2019 May 26 Well it was a permission problem in my case. I modified the script to run the service as root and everything works now. |