Post by ncjay on Apr 10, 2021 13:47:52 GMT -8
After this morning's reboot I thought I'd do a git pull to check for a new version of the SkyWeather2 suite, and it updated to v024. This may have been a mistake! The sensor readings are incorrect (lots of zeroes, 32F for the outside temperature, etc) even though I'm getting correct readings if I run rtl_433.
I deleted SkyWeather2.JSON and regenerated it with SkyWeatherConfigure.py with no change in results.
As an aside: I have the AQ and Lightning sensors on order, but they haven't arrived yet. I'm not sure if this has anything to do with my situation.
Here's the traceback of the error I'm getting - please let me know how I should proceed.
Thanks
Jay
starting 433MHz scanning
######
Job "readSensors (trigger: date[2021-04-10 17:34:28 EDT], next run at: 2021-04-10 17:34:28 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/pi/SDL_Pi_SkyWeather2/wirelessSensors.py", line 570, in readSensors
processWeatherSenseTB(sLine)
File "/home/pi/SDL_Pi_SkyWeather2/wirelessSensors.py", line 231, in processWeatherSenseTB
state = json.loads(sLine)
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 12 (char 11)
Extra data: line 1 column 12 (char 11)
File "/usr/local/lib/python3.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/pi/SDL_Pi_SkyWeather2/wirelessSensors.py", line 570, in readSensors
processWeatherSenseTB(sLine)
File "/home/pi/SDL_Pi_SkyWeather2/wirelessSensors.py", line 231, in processWeatherSenseTB
state = json.loads(sLine)
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
Tick! The time is: 2021-04-10 17:35:28.743602
mySkyCameraText= SkyWeather2 V024 10-Apr-2021 17:35:31 Wind Speed: 0.0MPH Wind Gust: 0.0MPH Temp: 32.0 F