weewx is working, but it's not uploading to windguru

66 views
Skip to first unread message

Sean Jahnig

unread,
Jan 7, 2020, 12:15:56 PM1/7/20
to weewx-user
Hi,

I have a station with acurite 5-in-1 at a remote location. The station is accessible via ssh and it appears to be working. The signal is up and down but mostly it seems like the weewx driver is getting the data from the display. See here: http://sandybeachhotel.dyndns.tv:1051/weewx/

The odd thing is the windguru live station is not being update for over 24 hours https://www.windguru.cz/station/2014

When i run sudo service weewx status i get this reply:

Jan 07 21:10:40 raspberrypi weewx[16424]: acurite: Found station at bus= device=

Jan 07 21:10:40 raspberrypi weewx[16424]: acurite: next read in 18 seconds

Jan 07 21:10:58 raspberrypi weewx[16424]: acurite: Found station at bus= device=

Jan 07 21:10:58 raspberrypi weewx[16424]: acurite: next read in 18 seconds

Jan 07 21:11:16 raspberrypi weewx[16424]: acurite: Found station at bus= device=

Jan 07 21:11:16 raspberrypi weewx[16424]: acurite: next read in 18 seconds

Jan 07 21:11:34 raspberrypi weewx[16424]: acurite: Found station at bus= device=

Jan 07 21:11:34 raspberrypi weewx[16424]: acurite: next read in 6 seconds

Jan 07 21:11:42 raspberrypi weewx[16424]: acurite: Found station at bus= device=

Jan 07 21:11:42 raspberrypi weewx[16424]: acurite: next read in 10 seconds


This station has been installed for 4 months and it has been online 98% of the time with some signal issues here and there. But this time i can't work out what is wrong. I've tried sudo reboot multiple times.


Any suggestions?


thanks

Thomas Keffer

unread,
Jan 7, 2020, 7:30:06 PM1/7/20
to weewx-user
The little log snippet that "service weewx status" supplies is inadequate to do much debugging. 

Set debug=1 in weewx.conf, then restart weewx. Wait until the end of the first reporting cycle, then post the log from startup through the first report.

-tk

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cad4bcc5-7382-45c2-b084-a95412ce97df%40googlegroups.com.

Sean Jahnig

unread,
Jan 7, 2020, 11:47:53 PM1/7/20
to weewx-user
Thanks for the reply.

Actually when i opened weewx.conf i realised debug was already set to 1. I remember doing it about a week ago to see what was happening.

Just for experimentation purposes i commented out that line to disable debugging and this is the response i get now when i run sudo service weewx status:

Jan 08 08:35:29 raspberrypi weewx[648]: copygenerator: copied 0 files to /var/weewx/reports

Jan 08 08:36:13 raspberrypi weewx[648]: restx: Wunderground-PWS: Failed to publish record 2020-01-08 08:35:00 +04 (1578458100): Failed upload after 3 tries

Jan 08 08:36:13 raspberrypi weewx[648]: restx: WindGuru: Failed to publish record 2020-01-08 08:35:00 +04 (1578458100): Failed upload after 3 tries

Jan 08 08:40:17 raspberrypi weewx[648]: manager: Added record 2020-01-08 08:40:00 +04 (1578458400) to database 'weewx.sdb'

Jan 08 08:40:17 raspberrypi weewx[648]: manager: Added record 2020-01-08 08:40:00 +04 (1578458400) to daily summary in 'weewx.sdb'

Jan 08 08:40:26 raspberrypi weewx[648]: cheetahgenerator: Generated 8 files for report SeasonsReport in 0.67 seconds

Jan 08 08:40:27 raspberrypi weewx[648]: imagegenerator: Generated 14 images for SeasonsReport in 0.55 seconds

Jan 08 08:40:27 raspberrypi weewx[648]: copygenerator: copied 0 files to /var/weewx/reports

Jan 08 08:41:11 raspberrypi weewx[648]: restx: Wunderground-PWS: Failed to publish record 2020-01-08 08:40:00 +04 (1578458400): Failed upload after 3 tries

Jan 08 08:41:11 raspberrypi weewx[648]: restx: WindGuru: Failed to publish record 2020-01-08 08:40:00 +04 (1578458400): Failed upload after 3 tries


Interesting to see that both windguru and wunderground are unable to publish. Any ideas?


The pi station is online: http://sandybeachhotel.dyndns.tv:1051/

Weewx is creating reports: http://sandybeachhotel.dyndns.tv:1051/weewx

Live wind meter is not being updated: https://www.windguru.cz/station/2014

Sean Jahnig

unread,
Jan 8, 2020, 12:27:30 AM1/8/20
to weewx-user
I set debug to 1 again and then i did a reboot. Attached is the weewx.log file.

Thanks
weewx.log

Thomas Keffer

unread,
Jan 8, 2020, 7:58:56 AM1/8/20
to weewx-user
It looks like both windguru and wunderground suffer from the same problem: your DNS is unable to resolve their URLs. You probably have a DNS problem on your machine. To confirm, try


If it is unable to determine the IP address, that's definitely the problem.

-tk


On Tue, Jan 7, 2020 at 10:27 PM Sean Jahnig <seano...@gmail.com> wrote:
I set debug to 1 again and then i did a reboot. Attached is the weewx.log file.

Thanks

--
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+...@googlegroups.com.

Sean Jahnig

unread,
Jan 8, 2020, 8:15:21 AM1/8/20
to weewx-user
Thanks for the suggestions. You are 100% right - i managed to fix this about 1 hour ago.

I got someone on site to power cycle the display and it didn't fix it. So I was brainstorming this for a few hours and i was surprised to see that sudo apt-get update wasn't working. So i vnc'd into the pi and tried to browse a website and that didn't work either. Strange that even tho i was connected to it remotely via ssh, it was having DNS issues. I edited sudo nano /etc/resolv.conf and added nameserver 8.8.8.8 and viola it worked! Not sure how that setting got lost because i am the only one with access.

Thanks for all the support.
Reply all
Reply to author
Forward
0 new messages