Hello- Ever seen these errors? I have changes the weewx.conf to use IP rather than DNS and get the same errors. Also tried different Brokers. Thanks in advance for any help you can provide.
Exception in thread MQTT:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/home/weewx/bin/weewx/restx.py", line 354, in run
self.run_loop(_manager)
File "/home/weewx/bin/weewx/restx.py", line 381, in run_loop
self.process_record(_record, dbmanager)
File "/home/weewx/bin/user/mqtt.py", line 496, in process_record
mc.connect(url.hostname, url.port)
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 912, in connect
self.connect_async(host, port, keepalive,
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 978, in connect_async
raise ValueError('Invalid host.')
ValueError: Invalid host.
The Weewx.conf settings
[[MQTT]]
server_url = mqtt://homeassistant:ThePassword@192.168.0.###:1883/
topic = weather
unit_system = US
Hello- Ever seen these errors? I have changes the weewx.conf to use IP rather than DNS and get the same errors. Also tried different Brokers. Thanks in advance for any help you can provide.
Exception in thread MQTT: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/home/weewx/bin/weewx/restx.py", line 354, in run self.run_loop(_manager) File "/home/weewx/bin/weewx/restx.py", line 381, in run_loop self.process_record(_record, dbmanager) File "/home/weewx/bin/user/mqtt.py", line 496, in process_record mc.connect(url.hostname, url.port) File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 912, in connect self.connect_async(host, port, keepalive, File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 978, in connect_async raise ValueError('Invalid host.') ValueError: Invalid host.
The Weewx.conf settings [[MQTT]] server_url = mqtt://homeassistant:ThePassword@192.168.0.###:1883/ topic = weather unit_system = US