Author Topic: Weewx stopped updating to everyone that isn't WUnderground  (Read 528 times)

0 Members and 1 Guest are viewing this topic.

Offline MagnetFinch

  • Member
  • *
  • Posts: 6
Weewx stopped updating to everyone that isn't WUnderground
« on: February 03, 2020, 12:33:58 AM »
Hi all,

It's been a frustrating night. I got wunderground working again by editing restx.py to replace the https:// with http://.

Now, and probably not related, StdRESTful doesn't send data to anyone BUT WUnderground.

I get the following in my logs:
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Loading service weewx.restx.StdPWSweather
Feb  2 21:20:50 weatherstation weewx[4264]: restx: PWSWeather: Data for station XXXX will be posted
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Finished loading service weewx.restx.StdPWSweather
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Loading service weewx.restx.StdCWOP
Feb  2 21:20:50 weatherstation weewx[4264]: restx: CWOP: Data for station XXXX will be posted
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Finished loading service weewx.restx.StdCWOP
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Loading service weewx.restx.StdWOW
Feb  2 21:20:50 weatherstation weewx[4264]: restx: WOW: Data for station XXXX-XXXX-XXXX-XXXX will be posted
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Finished loading service weewx.restx.StdWOW
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Loading service weewx.restx.StdAWEKAS
Feb  2 21:20:50 weatherstation weewx[4264]: restx: AWEKAS: Data will be uploaded for user XXXXX
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Finished loading service weewx.restx.StdAWEKAS
Feb  2 21:20:50 weatherstation weewx[4264]: engine: Loading service weewx.restx.StdWunderground


But then it never posts, setting the log level to 2 or 3 and I don't see it ever trying to post to those services.

Also, STDReport is generating a report but for "02/06/2020 04:08:00 PM" (I posted this on "02/06/2020 9:47 PM"

I'm thinking something is thoroughly broken but I have no idea where to start. I don't think its my config file.

Can anyone please help?
« Last Edit: February 03, 2020, 12:47:30 AM by MagnetFinch »

Offline MagnetFinch

  • Member
  • *
  • Posts: 6
Re: Weewx stopped updating to everyone that isn't WUnderground
« Reply #1 on: February 03, 2020, 01:13:10 AM »
I figured it out, I'm not proud but the solution was a reboot of the raspberry pi. I believe there was something wrong in the weewx sqllite database.

I run the database off of a ram disk so rebooting wiped away the DB and on reboot everything was reporting correctly.

Why do I run off a ramdisk? I don't actually care about storing the data long term and I reboot very rarely. I run nearly everything on the pi out of ram to avoid putting wear on the SD card. I've done this since the pi 2 days and I've never had a card fail since I started.

 

anything