Post by markg on Jan 14, 2022 14:45:59 GMT -8
Hello,
Summary of my issue, no weatherRack2 sensor data appearing in the dashboard, however readWeatherSensors is showing the anticipated data.
have the SD card from SwitchDoc. I am running an a RPi 4
Specifically, from DashBoard all sensors are “GRAY”… no data is appearing in the Weather Tab.
cd /home/pi/SDL_Pi_SkyWeather2/dash_app
sudo python3 index.py
192.168.86.29:8050/" WeatherSense Sensor Status “Led’s” all are Gray=Off
Suspect:issue with mysql ?
I can open mysql using following command. Suggestions please on additional commands to validate that the proper tables are being updated would be very much appreciated! I am unfamiliar with SQL.
mysql -u root -ppassword
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 230
Here is my "Default" Jason file:
cat SkyWeather2.JSON
{"key": "value", "ProgramName": "SkyWeather2", "ConfigVersion": "001", "SWDEBUG": false, "enable_MySQL_Logging": false, "MySQL_Password": "password", "enable_WLAN_Detection": false, "PingableRouterAddress": "192.168.1.1", "mailUser": "yourusername", "mailPassword": "yourmailpassword", "notifyAddress": "you@example.com", "fromAddress": "yourfromaddress@example.com", "enableText": false, "textnotifyAddress": "yournumber@yourprovider", "runLEDs": false, "SolarMAX_Present": false, "BMP280_Altitude_Meters": "626.0", "Sunlight_Gain": "High", "USEWEATHERSTEM": false, "INTERVAL_CAM_PICS__SECONDS": "60", "STATIONKEY": "", "WeatherUnderground_Present": false, "WeatherUnderground_StationID": "KWXXXXX", "WeatherUnderground_StationKey": "YYYYYY", "USEBLYNK": false, "BLYNK_AUTH": "", "USEWSLIGHTNING": false, "USEWSAQI": false, "USEWSSKYCAM": false, "ALTWSSKYCAM": false, "DustSensorSCL": "20", "DustSensorSDA": "21", "DustSensorPowerPin": "5", "GPIO_Pin_PowerDrive_Sig1": "4", "GPIO_Pin_PowerDrive_Sig2": "4", "WATCHDOGTRIGGER": "6", "REST_Enable": false, "Camera_Night_Enable": false, "Camera_Rotation": 0, "MQTT_Enable": false, "MQTT_Server_URL": "localhost", "MQTT_Port_Number": "1883", "MQTT_Send_Seconds": "500", "English_Metric": false}
Note: readWeatherSensors.py does show my SkyWeather2 data! That is a good sign! (output reads in part):
Registered 6 out of 152 device decoding protocols [ 146-148 150-152 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
WeatherSense WeatherRack2 FT020T found
{"time" : "2022-01-13 21:52:52", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 3, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 61.400, "humidity" : 64, "mic" : "CRC"}
WeatherSense Indoor T/H F016TH Found
{"time" : "2022-01-13 21:53:06", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 317, "cumulativerain" : 3, "temperature" : 1008, "humidity" : 66, "light" : 0, "uv" : 0, "mic" : "CRC"}
So the question is, Why am I not seeing data in the Dashboard?
Thank you.
Mark Green
Summary of my issue, no weatherRack2 sensor data appearing in the dashboard, however readWeatherSensors is showing the anticipated data.
have the SD card from SwitchDoc. I am running an a RPi 4
Specifically, from DashBoard all sensors are “GRAY”… no data is appearing in the Weather Tab.
cd /home/pi/SDL_Pi_SkyWeather2/dash_app
sudo python3 index.py
192.168.86.29:8050/" WeatherSense Sensor Status “Led’s” all are Gray=Off
Suspect:issue with mysql ?
I can open mysql using following command. Suggestions please on additional commands to validate that the proper tables are being updated would be very much appreciated! I am unfamiliar with SQL.
mysql -u root -ppassword
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 230
Here is my "Default" Jason file:
cat SkyWeather2.JSON
{"key": "value", "ProgramName": "SkyWeather2", "ConfigVersion": "001", "SWDEBUG": false, "enable_MySQL_Logging": false, "MySQL_Password": "password", "enable_WLAN_Detection": false, "PingableRouterAddress": "192.168.1.1", "mailUser": "yourusername", "mailPassword": "yourmailpassword", "notifyAddress": "you@example.com", "fromAddress": "yourfromaddress@example.com", "enableText": false, "textnotifyAddress": "yournumber@yourprovider", "runLEDs": false, "SolarMAX_Present": false, "BMP280_Altitude_Meters": "626.0", "Sunlight_Gain": "High", "USEWEATHERSTEM": false, "INTERVAL_CAM_PICS__SECONDS": "60", "STATIONKEY": "", "WeatherUnderground_Present": false, "WeatherUnderground_StationID": "KWXXXXX", "WeatherUnderground_StationKey": "YYYYYY", "USEBLYNK": false, "BLYNK_AUTH": "", "USEWSLIGHTNING": false, "USEWSAQI": false, "USEWSSKYCAM": false, "ALTWSSKYCAM": false, "DustSensorSCL": "20", "DustSensorSDA": "21", "DustSensorPowerPin": "5", "GPIO_Pin_PowerDrive_Sig1": "4", "GPIO_Pin_PowerDrive_Sig2": "4", "WATCHDOGTRIGGER": "6", "REST_Enable": false, "Camera_Night_Enable": false, "Camera_Rotation": 0, "MQTT_Enable": false, "MQTT_Server_URL": "localhost", "MQTT_Port_Number": "1883", "MQTT_Send_Seconds": "500", "English_Metric": false}
Note: readWeatherSensors.py does show my SkyWeather2 data! That is a good sign! (output reads in part):
Registered 6 out of 152 device decoding protocols [ 146-148 150-152 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
WeatherSense WeatherRack2 FT020T found
{"time" : "2022-01-13 21:52:52", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 3, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 61.400, "humidity" : 64, "mic" : "CRC"}
WeatherSense Indoor T/H F016TH Found
{"time" : "2022-01-13 21:53:06", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 317, "cumulativerain" : 3, "temperature" : 1008, "humidity" : 66, "light" : 0, "uv" : 0, "mic" : "CRC"}
So the question is, Why am I not seeing data in the Dashboard?
Thank you.
Mark Green