Replies: 4 comments 6 replies
-
Your update procedure is correct. I don't see any issues there. The "HTTPConnectionPool" errors can be ignored. If network connectivity is glitchy it will try multiple times. Regarding the "no data" log, that means your WeeWX is not receiving data in time. The messages were probably there from the beginning, just the last update changed the log level so you started seeing them. I think your WeeWX is not receiving the live data updates every 2.5 seconds. Please take a look at the UDP section of the troubleshooting guide and follow the steps. Firstly, install If that's the case, your WeeWX device and your WeatherLinkLive are probably in different Subnets/VLANs. They both have to be in the same subnet as broadcast network messages are only sent within the same subnet. You wrote you're connected via WiFi. Are both devices connected wirelessly or just one? Maybe try connecting both using the same method. |
Beta Was this translation helpful? Give feedback.
-
The lack of If I'm understanding you correctly, your WeatherLink is connected wired (Ethernet) and your two WeeWX machines are connected wirelessly. In that case, try connecting both using Ethernet. If you are using your router as an Ethernet switch, it could also be blocking the packets. In that case, a simple external Ethernet switch would help. |
Beta Was this translation helpful? Give feedback.
-
From either of your Pis, or any other computer with a desktop, try this a few times in a browser. Replace the xx with the IP of the WLL If you get data each time you refresh the browser, then move on to requesting live data. That should give you Now, you can use the python code I'm attaching from CLI to see if and how often the data gets to your machines. python3 check_broadcast.py Then, it is up to your network. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the help. Definitely above and beyond the call troubleshooting my home network! Note: connecting the laptop to ethernet does not change the "nc -nvulp 22222" output. Here's what I got with further testing: http://192.168.88.101/v1/current_conditions http://192.168.88.101//v1/real_time data | null and python code: $ python3 check_broadcast.py Traceback (most recent call last): The real_time errors seem pretty relevant! Again, ping finds the weatherlink-live, and here's mtr output: $ mtr --report weatherlink |
Beta Was this translation helpful? Give feedback.
-
I've been running weewx for about a year with using the weewx-weatherlink-live driver (version 1.0.11. Hardware: Vantage Pro2 with indoor & outdoor Airlinks). I've been getting this type of message repeatedly in my /var/log/syslog from the beginning:
WARNING user.weatherlink_live.driver: No data since 2 iterations
Yet, I seem to be collecting data without any apparent problems. After noticing a new version posted (1.1.0), I decided to try upgrading the driver. Couldn't find any documentation on best practices for upgrading the driver so decided to
Had to rename the driver in the weewx.conf file (add "_driver" to "user.weatherlink_live") but weewx seem to restart okay. But, still getting the same "No data" errors in the syslog.
Tried increasing the polling_interval to 20 seconds but that didn't help. Of course, setting log_failure = False stops the syslog entries.
So, is the "Warning: No data" something I can ignore?
BTW, I also occasionally get the following in syslog:
ERROR user.weatherlink_live.davis_http: HTTPConnectionPool(host='weatherlink', port=80): Max retries exceeded with url: /v1/real_time?duration=1500 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f644cab4b20>: Failed to establish a new connection: [Errno 111] Connection refused'))
but I'm guessing that it's a temporary problem relating to glitches in my wifi network.
Beta Was this translation helpful? Give feedback.
All reactions