PWSweather not Updating - stdRESTful not Running?

69 views
Skip to first unread message

Sean Curry

unread,
Jul 25, 2025, 12:02:03 PM7/25/25
to weewx-user
I have been running weewx successfully on an older iMac (MacOS 12.6.2) for the last year. I have a Davis Vantage station. I upload my data to PWS and to a personal webpage on AWS via ftp. Everything worked perfectly.

I now have a new Mac Studio running MacOS 15.5. I installed Python 3.13.5, and weewx 5.1.0. The connection to the Vantage works fine, and the ftp upload still runs great. However, PWSweather never updates. I tried a direct browser URL update to PWS with my Station Name and password and that works, but weewxd never updates PWS. When I look at the logfile, it almost seems as if the [StdRESTful] section never runs - there are no REST errors or status messages that I can see.

I copied over my .conf from the old iMac - maybe something has changed that I can't see? Any suggestions on further debugging are welcome.

Sean
weewx copy.conf
weewxlogSC.log

Tom Keffer

unread,
Jul 25, 2025, 1:36:43 PM7/25/25
to weewx...@googlegroups.com
It would be useful to see the system log. It will tell us whether the WeeWX service for PWS is being loaded. 

Getting a system log on a Mac is a pain. You will have to add a [Logging] section to your configuration file. See the section Logging to rotating files in the wiki.

--
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 visit https://groups.google.com/d/msgid/weewx-user/639816f3-5e03-4204-b142-2bedb99be710n%40googlegroups.com.

Sean Curry

unread,
Jul 25, 2025, 2:21:34 PM7/25/25
to weewx-user
Thanks Tom, this is very helpful, as I couldn't figure out how to get a system log file on my Mac.

Attached is such a log after adding the [Logging] section as sugegsted, and it does show the problem:

2025-07-25 11:15:16 weewxd[71091]: DEBUG weewx.restx: PWSWeather: Failed upload attempt 1: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)>

So, I'm not sure why this is occurring now - a change to MacOS?

Sean

weewxd copy.log

Tom Keffer

unread,
Jul 25, 2025, 3:18:05 PM7/25/25
to weewx...@googlegroups.com
Outside of my area of expertise, but your CA certificates are probably out of date. At least, those used by Python. Googling shows this.

Sean Curry

unread,
Jul 25, 2025, 4:34:21 PM7/25/25
to weewx-user
Thanks Tom - all is good now! I had to run the command "Install Certificates.command" which showed up after rerunning the Python3 installer pkg. I don't know why this was missing originally, but that fixed the Certificate problem and PWS is updating now.

Thanks for your help.

Sean

Reply all
Reply to author
Forward
0 new messages