this must be your public ip mqtt_websockets_host = 192.168.2.107 Il giorno mercoledì 19 luglio 2023 alle 12:43:16 UTC+2 Mark Fraser ha scritto:
> I've been using the Belchertown skin with my own MQTT server for a while > now and it works fine when I'm on the same network, but if I try to > access it remotely it doesn't do live updates. I've also setup port > forwarding on my router. > > In weewx.conf I have, > [[MQTT]] > server_url = mqtt://username:pass...@192.168.2.107:1883/ > <http://username:password@192.168.2.107:1883/> > topic = weather > log_success = False > log_failure = True > unit_system = METRIC > binding = archive, loop > aggregation = aggregate > > #--- MQTT Websockets (for Real Time Streaming) Options --- > mqtt_websockets_enabled = 1 > mqtt_websockets_host = 192.168.2.107 > mqtt_websockets_port = 9001 > mqtt_websockets_ssl = 0 > mqtt_websockets_topic = weather/loop > # disconnect_live_website_visitor = 1800000 > > Do I need to add: > mqtt_username = "weewxMQTTuser" > mqtt_password = "weewxMQTTpass" > Or is there something else I'm missing? > -- 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/1fed3dce-bc0e-401b-aa80-25ede2237ed1n%40googlegroups.com.