Yes, it works and it was in front of my eyes. But I focused on "server_url", either the name or address of the server and not its protocol which is obviously "mqtt://" ...
So, @Tom, another little thing to improve, but thank you very much! Le lundi 2 janvier 2023 à 18:06:33 UTC+1, vince a écrit : > On Monday, January 2, 2023 at 3:55:50 AM UTC-8 [email protected] wrote: > >> [[MQTT]] >> server_url = 192.168.0.51:1883 >> >> > Jan 2 12:16:42 PiMeteo weewx[26975] ERROR weewx.restx: *** raise >> ValueError('Invalid host.') >> > >> Jan 2 12:16:42 PiMeteo weewx[26975] ERROR weewx.restx: *** ValueError: >> Invalid host. >> > >> > Try server_url = mqtt://192.168.0.51:1883 and see if that fixes things. > > This is documented in the extension page at > https://github.com/matthewwall/weewx-mqtt if you look at the example. > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/db57e655-19cf-4c8d-a266-27aba1914c52n%40googlegroups.com.
