[weewx-user] Re: Belchertown and MQTT configuration error

2024-07-26 Thread Mark Jenks
Make sure MQTT is running correctly. You can test it via CLI. This page goes into configuring a cert, you can stop reading at that point. https://medium.com/gravio-edge-iot-platform/how-to-set-up-a-mosquitto-mqtt-broker-securely-using-client-certificates-82b2aaaef9c8 On Thursday, July 25, 2

[weewx-user] Re: Belchertown and MQTT configuration error

2024-07-26 Thread vince
https://stackoverflow.com/questions/14547631/python-locale-error-unsupported-locale-settling Have you messed with system locale at the os level or edited it in some weewx or mqtt config file ? There have been some skeletal reports about this over the years but I've never really understood the ex

[weewx-user] Re: Belchertown and MQTT configuration error

2024-07-26 Thread
Oh thats right! I edited the /etc/default/locales file. I changed it from en_GB.UTF-8 to en_US.UTF-8 since I was trying to fix the time in Belchertown skin to show a 12h time format. I believe I fixed it and for some reason, i decided to edit the locales file. I'll change that back when I g

[weewx-user] Re: Belchertown and MQTT configuration error

2024-07-26 Thread
Making some progress. I am back to having weewx running and I now have mosquito running as well. I was able to test that service by mosquitto_sub and mosquitto_pub which worked by sending "hello world". However when I check my local Belchertown page, it now says this at the top: Failed conne

[weewx-user] Re: Belchertown and MQTT configuration error

2024-07-26 Thread
I checked journalctl and now I'm seeing this error: Jul 26 23:16:30 raspberrypi weewxd[1141]: ERROR user.ambientweatherapi: AmbientAPI get_devices() returned empty dict Jul 26 23:16:30 raspberrypi weewxd.py[1141]: ambientweatherapi driver encountered an error. Jul 26 23:16:30 raspberrypi weewxd[