Post by riffelrw on Apr 14, 2022 18:46:23 GMT -8
I'm just restarting my system with a new Pi4 and V20 of the pre-loaded SD Card using previous T/H sensors and Skyweather2. Enabled debug in the configuration utility and can see skyweather2.py running, and see reception of the sensors and Skyweather2. But when I run dash_app there is no data showing. The status page shows Pi statistics but no connections active even for TH sensors.
Queries from the dash_app debug output show no query results so I'm assuming it's on the loading side:
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:25') ORDER BY id ASC
Query Count = 0
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:25') ORDER BY id ASC
Query Count = 0
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:26') ORDER BY id ASC
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:27') ORDER BY id ASC
When I look at Skyweather output, i get below showing receipt of info (more detail in the attachment). Any ideas what I can look at next to troubleshoot?
------Patting The Dog-------
Processing F016TH data
This is the raw data: {"time" : "2022-04-14 19:12:08", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 172, "modelnumber" : 5, "channel" : 3, "battery" : "OK", "temperature_F" : 69.900, "humidity" : 42, "mic" : "CRC"}
processing FT020T Data
This is the raw data: {"time" : "2022-04-14 19:12:13", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 198, "cumulativerain" : 0, "temperature" : 839, "humidity" : 71, "light" : 0, "uv" : 0, "mic" : "CRC"}
processing FT020T Data
This is the raw data: {"time" : "2022-04-14 19:12:13", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 198, "cumulativerain" : 0, "temperature" : 839, "humidity" : 71, "light" : 0, "uv" : 0, "mic" : "CRC"}
duplicate found
------Patting The Dog-------
processing FT020T Data
This is the raw data: {"time" : "2022-04-14 19:12:29", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 3, "gustwindspeed" : 7, "winddirection" : 183, "cumulativerain" : 0, "temperature" : 839, "humidity" : 71, "light" : 0, "uv" : 0, "mic" : "CRC"}
Processing F016TH data
This is the raw data: {"time" : "2022-04-14 19:12:32", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 234, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 61.700, "humidity" : 33, "mic" : "CRC"}
Tick! The time is: 2022-04-14 19:12:40.615918
-------------
Current State
-------------
-------------
------Patting The Dog-------
latest MainSensor Reading= 2022-04-14 19:12:30
MainDeviceNumber= 235
OutdoorTemperature = 6.61
OutdoorHumidity = 71
latest Indoor Sensor Reading= 2022-04-14 19:12:32
IndoorDeviceNumber= 1
IndoorTemperature = 16.5
IndoorHumidity = 33
Rain60Minutes = 0.0
SunlightVisible = 0
SunlightUVIndex = 0.0
WindSpeed = 0.3
WindGust = 0.7
WindDirection = 183
TotalRain = 0.0
BarometricTemperature = 0
BarometricPressure = 0
Altitude = 0
BarometricPressureSeaLevel = 0
BarometricTemperature = 0
barometricTrend = True
pastBarometricReading = 0
AQI = 0
Hour24_AQI = 0.0
WS_AQI = 0.0
WS_Hour24_AQI = 0.0
Main Battery Status = OK
CPU Temperature = 57.939
-------------
runRainbow = False
flashStrip = False
runOLED = True
-------------
Last_Event = My Last Event
-------------
batteryVoltage 0
batteryCurrent 0
solarVoltage 0
solarCurrent 0
loadVoltage 0
loadCurrent 0
batteryPower 0
solarPower 0
loadPower 0
batteryCharge 0
SolarMAX Inside Temperature 0.0
SolarMAX Inside Humidity 0.0
SolarMAX Last Received Never
-------------
-------------
-------------
fanState = False
Queries from the dash_app debug output show no query results so I'm assuming it's on the loading side:
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:25') ORDER BY id ASC
Query Count = 0
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:25') ORDER BY id ASC
Query Count = 0
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:26') ORDER BY id ASC
query= SELECT ChannelID, Temperature, Humidity, TimeStamp FROM `IndoorTHSensors` WHERE (TimeStamp > '2022-04-07 18:55:27') ORDER BY id ASC
When I look at Skyweather output, i get below showing receipt of info (more detail in the attachment). Any ideas what I can look at next to troubleshoot?
------Patting The Dog-------
Processing F016TH data
This is the raw data: {"time" : "2022-04-14 19:12:08", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 172, "modelnumber" : 5, "channel" : 3, "battery" : "OK", "temperature_F" : 69.900, "humidity" : 42, "mic" : "CRC"}
processing FT020T Data
This is the raw data: {"time" : "2022-04-14 19:12:13", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 198, "cumulativerain" : 0, "temperature" : 839, "humidity" : 71, "light" : 0, "uv" : 0, "mic" : "CRC"}
processing FT020T Data
This is the raw data: {"time" : "2022-04-14 19:12:13", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 198, "cumulativerain" : 0, "temperature" : 839, "humidity" : 71, "light" : 0, "uv" : 0, "mic" : "CRC"}
duplicate found
------Patting The Dog-------
processing FT020T Data
This is the raw data: {"time" : "2022-04-14 19:12:29", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 3, "gustwindspeed" : 7, "winddirection" : 183, "cumulativerain" : 0, "temperature" : 839, "humidity" : 71, "light" : 0, "uv" : 0, "mic" : "CRC"}
Processing F016TH data
This is the raw data: {"time" : "2022-04-14 19:12:32", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 234, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 61.700, "humidity" : 33, "mic" : "CRC"}
Tick! The time is: 2022-04-14 19:12:40.615918
-------------
Current State
-------------
-------------
------Patting The Dog-------
latest MainSensor Reading= 2022-04-14 19:12:30
MainDeviceNumber= 235
OutdoorTemperature = 6.61
OutdoorHumidity = 71
latest Indoor Sensor Reading= 2022-04-14 19:12:32
IndoorDeviceNumber= 1
IndoorTemperature = 16.5
IndoorHumidity = 33
Rain60Minutes = 0.0
SunlightVisible = 0
SunlightUVIndex = 0.0
WindSpeed = 0.3
WindGust = 0.7
WindDirection = 183
TotalRain = 0.0
BarometricTemperature = 0
BarometricPressure = 0
Altitude = 0
BarometricPressureSeaLevel = 0
BarometricTemperature = 0
barometricTrend = True
pastBarometricReading = 0
AQI = 0
Hour24_AQI = 0.0
WS_AQI = 0.0
WS_Hour24_AQI = 0.0
Main Battery Status = OK
CPU Temperature = 57.939
-------------
runRainbow = False
flashStrip = False
runOLED = True
-------------
Last_Event = My Last Event
-------------
batteryVoltage 0
batteryCurrent 0
solarVoltage 0
solarCurrent 0
loadVoltage 0
loadCurrent 0
batteryPower 0
solarPower 0
loadPower 0
batteryCharge 0
SolarMAX Inside Temperature 0.0
SolarMAX Inside Humidity 0.0
SolarMAX Last Received Never
-------------
-------------
-------------
fanState = False