Hi Jim,
hope you are doing fine.
I have a very strange problem and hope you can help me.
It started suddenly without having updated anything.
I get wrong values from time to time, roughly every second day at one point in time.
The wrong values do differ, so the value is changing.
In the log i can see:
2022-08-09 14:37:33:pywws.weatherstation:old data {'illuminance': 1600614.9, 'uv': 0, 'delay': 0, 'hum_in': 46, 'temp_in': 230.5, 'hum_out': 39, 'temp_out': 1052.7, 'abs_pressure': 358.4, 'wind_ave': 13.2, 'wind_gust': 0.1, 'wind_dir': None, 'rain': 1405.5, 'status': {'bit0': True, 'bit1': True, 'bit2': True, 'lost_connection': False, 'rain_overflow': False}}
2022-08-09 14:37:33:pywws.weatherstation:new data {'illuminance': 115859.2, 'uv': 6, 'delay': 0, 'hum_in': 60, 'temp_in': 24.3, 'hum_out': 21, 'temp_out': 30.5, 'abs_pressure': 998.9, 'wind_ave': 2, 'wind_gust': 3.1, 'wind_dir': 4, 'rain': 116.4, 'status': {'lost_connection': False, 'rain_overflow': False}}
Temp_in = 230,5, Temp_out =1052,7 and also the other values are wrong.
These values are recorded and uploaded.
It is very hot the last time here but not so hot :-)
I updated pywws but the error stays also with the latest version.
Here is a bit more log around the error:
2022-08-09 14:36:04:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:36:08:pywws.service.copy:1 upload
2022-08-09 14:36:08:pywws.service.underground:1 record sent
2022-08-09 14:36:44:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:36:44:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:36:48:pywws.service.copy:1 upload
2022-08-09 14:36:49:pywws.service.underground:1 record sent
2022-08-09 14:37:04:pywws.weatherstation:live_data new ptr: 000b00
2022-08-09 14:37:04:pywws.process:Generating summary data
2022-08-09 14:37:04:pywws.regulartasks:doing task sections ['logged']
2022-08-09 14:37:04:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:37:08:pywws.service.copy:1 upload
2022-08-09 14:37:24:pywws.weatherstation:unexpected ptr change 000b00 -> 000a00
2022-08-09 14:37:24:pywws.weatherstation:live_data new ptr: 000a00
2022-08-09 14:37:24:pywws.weatherstation:live_data lost log sync -276.369
2022-08-09 14:37:24:pywws.weatherstation:reset read period 0
2022-08-09 14:37:24:pywws.process:Generating summary data
2022-08-09 14:37:24:pywws.regulartasks:doing task sections ['logged']
2022-08-09 14:37:24:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:37:28:pywws.service.copy:1 upload
2022-08-09 14:37:32:pywws.weatherstation:unexpected ptr change 000a00 -> 000b00
2022-08-09 14:37:32:pywws.weatherstation:status {'bit0': True, 'bit1': True, 'bit2': True, 'lost_connection': False, 'rain_overflow': False}
2022-08-09 14:37:32:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:37:32:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:37:32:pywws.weatherstation:live_data new ptr: 000b00
2022-08-09 14:37:32:pywws.weatherstation:missed ptr change time
2022-08-09 14:37:32:pywws.process:Generating summary data
2022-08-09 14:37:32:pywws.process:unexpected data interval 2022-08-09 12:37:30 0:00:08
2022-08-09 14:37:32:pywws.process:2022-08-09 12:37:30 rain jump 116.4 -> 1405.5
2022-08-09 14:37:32:pywws.regulartasks:doing task sections ['logged']
2022-08-09 14:37:32:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:37:33:pywws.weatherstation:status {'lost_connection': False, 'rain_overflow': False}
2022-08-09 14:37:33:pywws.weatherstation:live_data lost sync -42.7843
2022-08-09 14:37:33:pywws.weatherstation:old data {'illuminance': 1600614.9, 'uv': 0, 'delay': 0, 'hum_in': 46, 'temp_in': 230.5, 'hum_out': 39, 'temp_out': 1052.7, 'abs_pressure': 358.4, 'wind_ave': 13.2, 'wind_gust': 0.1, 'wind_dir': None, 'rain': 1405.5, 'status': {'bit0': True, 'bit1': True, 'bit2': True, 'lost_connection': False, 'rain_overflow': False}}
2022-08-09 14:37:33:pywws.weatherstation:new data {'illuminance': 115859.2, 'uv': 6, 'delay': 0, 'hum_in': 60, 'temp_in': 24.3, 'hum_out': 21, 'temp_out': 30.5, 'abs_pressure': 998.9, 'wind_ave': 2, 'wind_gust': 3.1, 'wind_dir': 4, 'rain': 116.4, 'status': {'lost_connection': False, 'rain_overflow': False}}
2022-08-09 14:37:34:pywws.service.underground:1 record sent
2022-08-09 14:37:36:pywws.service.copy:1 upload
2022-08-09 14:38:16:pywws.weatherstation:setting sensor clock 40.4562
2022-08-09 14:38:16:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:38:16:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:38:19:pywws.service.underground:1 record sent
2022-08-09 14:38:20:pywws.service.copy:1 upload
2022-08-09 14:39:13:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:39:13:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:39:16:pywws.service.copy:1 upload
2022-08-09 14:39:16:pywws.service.underground:1 record sent
2022-08-09 14:39:56:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:39:56:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:40:00:pywws.service.copy:1 upload
2022-08-09 14:40:01:pywws.service.underground:1 record sent
2022-08-09 14:40:32:pywws.weatherstation:station is not logging data
2022-08-09 14:40:36:pywws.weatherstation:station is not logging data
2022-08-09 14:40:44:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:40:44:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:40:44:pywws.weatherstation:station is not logging data
2022-08-09 14:40:45:pywws.service.underground:1 record sent
2022-08-09 14:40:48:pywws.service.copy:1 upload
2022-08-09 14:41:24:pywws.weatherstation:station is not logging data
2022-08-09 14:41:32:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:41:32:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:41:32:pywws.process:Generating summary data
2022-08-09 14:41:32:pywws.process:unexpected data interval 2022-08-09 12:37:30 0:00:08
2022-08-09 14:41:32:pywws.process:2022-08-09 12:37:30 rain jump 116.4 -> 1405.5
2022-08-09 14:41:32:pywws.process:2022-08-09 12:41:28 rain reset 1405.5 -> 116.4
2022-08-09 14:41:32:pywws.regulartasks:doing task sections ['logged']
2022-08-09 14:41:32:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:41:32:pywws.weatherstation:station is not logging data
2022-08-09 14:41:34:pywws.service.underground:1 record sent
2022-08-09 14:41:36:pywws.service.copy:1 upload
2022-08-09 14:42:20:pywws.weatherstation:live_data new ptr: 000b14
2022-08-09 14:42:20:pywws.weatherstation:station is logging data
2022-08-09 14:42:20:pywws.process:Generating summary data
2022-08-09 14:42:20:pywws.process:unexpected data interval 2022-08-09 12:37:30 0:00:08
2022-08-09 14:42:20:pywws.process:2022-08-09 12:37:30 rain jump 116.4 -> 1405.5
2022-08-09 14:42:20:pywws.process:2022-08-09 12:41:28 rain reset 1405.5 -> 116.4
2022-08-09 14:42:20:pywws.process:unexpected data interval 2022-08-09 12:42:18 0:00:50
2022-08-09 14:42:20:pywws.regulartasks:doing task sections ['logged']
2022-08-09 14:42:20:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:42:21:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:42:21:pywws.regulartasks:Templating ws3600.txt
2022-08-09 14:42:23:pywws.service.underground:1 record sent
2022-08-09 14:42:24:pywws.service.copy:1 upload
2022-08-09 14:43:13:pywws.regulartasks:doing task sections ['live']
2022-08-09 14:43:13:pywws.regulartasks:Templating ws3600.txt
Best regards,
Stefan