On 19/07/2023 15:46, pannetron wrote:
Yes, the "outside URL" of your MQTT broker must map to a public IP. All 192.168... IP addresses are non-routable, private IP addresses. If you don't have a permanent, public IP address, you may be able to use Dynamic DNS from one of the services that offers that to register a public URL that maps to whatever your Internet service provider tells you to use as your public IP.On Wednesday, July 19, 2023 at 5:55:59 AM UTC-6 Claudio wrote: 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:[email protected]:1883/ <http://username:[email protected]: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?
So, I should use my hopto.org URL with the port that is for MQTT (1883)? -- 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/9df8ae63-5bc8-043e-9ecb-398564a9854a%40gmail.com.
