Hi
Try weather in the  [[MQTT]] section without the loop

Maybe you should try without ssl(port 183 and 8080) first and when it's 
running, try ssl.

Gert

On Wednesday, March 4, 2020 at 6:50:57 PM UTC+1, Alex Rodriguez wrote:
>
> Hi, I am looking for assistance getting MQTT working with WeeWX and 
> Belchertown. I am currently running WeeWX on a Raspberry Pi 4, my station 
> is a WeatherFlow and I am publishing my site publicly via FTP to -> 
> https://weather.bluedoor.farm. When I go to the site it shows “Connected. 
> Waiting for data” and eventually just errors out with “Lost connection to 
> the weather station. Please try again later!"
>
> Looking at my syslog I do see it sending data to the MQTT server:
>
> Mar  4 12:38:45 weewx weewx[20506]: restx: MQTT: Published record 
> 2020-03-04 12:38:45 EST (1583343525)
> Mar  4 12:38:49 weewx weewx[20506]: restx: MQTT: Published record 
> 2020-03-04 12:38:48 EST (1583343528)
> Mar  4 12:38:51 weewx weewx[20506]: restx: MQTT: Published record 
> 2020-03-04 12:38:51 EST (1583343531)
> Mar  4 12:38:53 weewx weewx[20506]: restx: MQTT: Published record 
> 2020-03-04 12:38:52 EST (1583343532)
> Mar  4 12:38:54 weewx weewx[20506]: restx: MQTT: Published record 
> 2020-03-04 12:38:53 EST (1583343533)
>
> In my weewx.conf file I have:
>
>     [[MQTT]]
>         server_url = mqtt://test.mosquitto.org:8081/
>         topic = weather/loop
>         unit_system = US
>         binding = archive, loop
>         aggregation = aggregate
>
> In my skin.conf file I have:
>
>     # MQTT Websockets defaults
>     mqtt_websockets_enabled = 1
>     mqtt_websockets_host = "test.mosquitto.org"
>     mqtt_websockets_port = 8081
>     mqtt_websockets_ssl = 1
>     mqtt_websockets_topic = "weather/loop"
>     disconnect_live_website_visitor = 1800000
>
> I appreciate any assistance or pointers you may have on getting this 
> working.
>
> Thanks,
>
> Alex
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e3ad27a6-e254-47fc-b312-753e26ecd495%40googlegroups.com.

Reply via email to