MQTT setup #203
-
I'm trying to get real-time info through MQTT but I keep getting "Could not connect to live weather station." on the page. This is what I have in my skin.conf:
And these sections are in weewx.conf
To be complete, this is my MQTT config file:
But I keep getting the mentioned warnong on the page. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Sorry for the late reply, was quite busy the last days... So I am not an expert in MQTT, but here are some possible starting points for investigation: 1. On the machine where WeeWX is running, try to connect to your MQTT server via
You should see the submitted messages in real time? 2. Check your MQTT Logs: Something like When you open the WeeWX site it should display something like:
3. In the Browser open the Console (via F12 for most browsers, more info here https://screenful.com/guide/how-to/how-to-open-the-browser-developer-console). In the console you should see an error message? |
Beta Was this translation helpful? Give feedback.
-
I've made some progress today. For now I use the assigned IP address but that makes the config file less portable between my test and operational system. Regards. |
Beta Was this translation helpful? Give feedback.
I've made some progress today.
If I use the assigned IP address (192.168.x.x) in the MQTT config part of [[WdcReport]] in weewx.conf and in skin.conf it started working. When I use localhost or 127.0.0.1 in these config parts it does not work.
In the [[MQTT]] part in weewx.conf it does not matter what I use there. assigned IP, localhost or 127.0.0.1 itall works.
For now I use the assigned IP address but that makes the config file less portable between my test and operational system.
Regards.