*Hello Team,*
We are using your devices for weather monitoring and have a use case where we need to directly retrieve data from the device to a virtual machine using a script. After exploring options, we found the open-source software WeeWX, and we've followed its setup instructions to configure the device for data collection. I have attempted different drivers to establish communication between the WeatherLink Live console and a virtual machine running Ubuntu 24.04 LTS. Installation: We followed the standard installation process as described in these sources: - WeeWX installation guide <https://weewx.com/docs/5.0/usersguide/installing/#required-skills> - WeatherLink Live driver installation <https://github.com/michael-slx/weewx-weatherlink-live/blob/release/docs/installation.md> - WeatherLink Live UDP driver <https://github.com/grebleem/weewx-weatherlinkliveudp> Configurations: Our WeatherLink Live device is connected via Wi-Fi with the following configurations: *Option 1:* bash Copy code [Station] location = Miami latitude = 25.7617 longitude = -80.1918 station_type = Vantage [Vantage] driver = weewx.drivers.vantage type = ethernet host = 10.100.0.184 # Device's IP address from the Wi-Fi router tcp_port = 22222 # Port that matches the device's configuration *Option 2:* bash Copy code [Station] station_type = WeatherLinkLiveUDP [WeatherLinkLiveUDP] wll_ip = 10.100.0.184 poll_interval = 30 driver = user.weatherlinkliveudp Logs: We encountered connectivity issues where the device’s port seems unavailable, and we are unable to establish a connection. Here are the relevant logs: *Option 1 Logs:* bash Copy code sudo systemctl status weewx × weewx.service - WeeWX Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2024-10-16 12:53:00 UTC; 5s ago Duration: 223ms Docs: https://weewx.com/docs Process: 17448 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4) Main PID: 17448 (code=exited, status=4) CPU: 147ms Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL weewx.engine: Vantage.__init__(self, **config_dict[DRIVER_NAME]) Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL weewx.engine: File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__ Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL weewx.engine: self.port.openPort() Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL weewx.engine: raise weewx.WeeWxIOError(ex) Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL weewx.engine: weewx.WeeWxIOError: [Errno 111] Connection refused Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL __main__: Unable to load driver: [Errno 111] Connection refused Oct 16 12:53:00 adminroot weewxd[17448]: CRITICAL __main__: Exiting... *Option 2 Logs:* bash Copy code Oct 22 15:01:47 adminroot weewxd[133541]: INFO user.weatherlinkliveudp: WLL UDP driver version is 0.2.9 Oct 22 15:01:47 adminroot weewxd[133541]: INFO user.weatherlinkliveudp: HTTP polling interval is 30.0 Oct 22 15:01:47 adminroot weewxd[133541]: DEBUG urllib3.connectionpool: Starting new HTTP connection (1): 10.100.0.184:80 Oct 22 15:01:48 adminroot weewxd[133541]: WARNING urllib3.connectionpool: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError' Oct 22 15:01:50 adminroot weewxd[133541]: WARNING urllib3.connectionpool: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError' Oct 22 15:01:50 adminroot weewxd[133541]: DEBUG urllib3.connectionpool: Starting new HTTP connection (3): 10.100.0.184:80 Questions: - Is there any known issue with connecting to the *WeatherLink Live* device over Wi-Fi? - Should the device be connected via Ethernet or USB instead? - Is there any port configuration or other settings that we need to modify to allow communication via the local network? Your assistance in diagnosing this issue would be greatly appreciated. Let me know if further details or logs are required. Thank you! -- 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/378e8501-031a-4e90-b2f5-2aa7c196f0d9n%40googlegroups.com.
