|
Post by Powderjockey on Jun 14, 2023 15:32:20 GMT -8
The WR3 stopped on the 9th of June. We've had some great weather lately and I'm missing out on the fun, because the station stopped. I restarted the the WR3, the weathersensor.py and the index.py. Now I'm getting absolutely nothing showing up on the Dash Webpage. Is there an order in which the process should be started?
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:37: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:68: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:102: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
WR3P-CWSJSON= {'ID': 28737.0, 'TimeStamp': datetime.datetime(2023, 6, 9, 8, 0, 44), 'MessageID': 111805.0, 'SerialNumber': 4650.0, 'OutdoorTemperature': 21.4, 'OutdoorHumidity': 43.0, 'TotalRain': 0.0, 'SunlightVisible': 1.0, 'VisibleLightLux100': 0.0, 'WindDirection': 0.0, 'WindSpeed': 7.8, 'WindForce': 1.0, 'Noise': 41.3, 'BarometricPressure': 901.0, 'BarometricPressureSeaLevel': 1014.54, 'AQI': 21.0, 'AQI24Average': 15.81, 'PM2_5': 5.0, 'PM10': 13.0, 'CPUTemperature': 35.4, 'StringTime': '09-Jun-2023 08:00:44', 'StringTimeUnits': '', 'CalendarDayRain': 0, 'CalendarMonthRain': -36.0, '30DayRain': -18.5, '24HourRain': 0, '7DaysRain': 0.0, 'OutdoorTemperatureUnits': ' °C', 'WindSpeedUnits': ' m/s', 'TotalRainUnits': ' mm', 'CalendarDayRainUnits': ' mm', 'CalendarMonthRainUnits': ' mm', '30DayRainUnits': ' mm', '24HourRainUnits': ' mm', '7DaysRainUnits': ' mm', 'BarometricPressureSeaLevelUnits': ' hPa', 'BarometricPressureUnits': ' hPa', 'OutdoorHumidityUnits': '%', 'SunlightVisibleUnits': 'lux', 'AQIUnits': '', 'AQI24AverageUnits': '', 'WindDirectionUnits': '°'} number of Records = 229 df= [[21, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [91, 0, 0, 0, 0, 0, 0, 50], [36, 0, 0, 0, 0, 0, 0, 20], [6, 0, 0, 0, 0, 0, 0, 5]] number of records= 229 number of Records = 0
|
|
|
Post by Powderjockey on Jul 14, 2023 16:21:51 GMT -8
Hard to say. I'd suspect your power supply or battery. Run it off a power supply to see. BP Are these outputs correct? WeatherSenseMonitor pirack@Pi-In-A-Rack:~/SDL_Pi_WeatherSense $ sudo python3 WeatherSenseMonitor.py using updateWebConfig ----------------- WeatherSense Monitoring Software Software Version V018 ----------------- Pending jobs: readSensors (trigger: date[2023-06-29 16:57:14 MDT], pending) startMQTT (trigger: date[2023-06-29 16:57:14 MDT], pending) cleanPictures (trigger: cron[day='*', hour='3', minute='4'], pending) cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], pending) buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], pending) readSensors (trigger: date[2023-06-29 16:57:14 MDT], pending) /usr/local/lib/python3.9/dist-packages/apscheduler/util.py:428: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html return tzinfo.localize(dt) ----------------- Scheduled Jobs
###### Read Wireless Sensors ###### ----------------- creating new MQTT instance connecting to broker
###### Read Wireless Sensors ###### /usr/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdout = io.open(c2pread, 'rb', bufsize) Jobstore default: cleanPictures (trigger: cron[day='*', hour='3', minute='4'], next run at: 2023-06-30 03:04:00 MDT) starting 433MHz scanning cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], next run at: 2023-06-30 03:10:00 MDT) ###### starting 433MHz scanning ###### buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], next run at: 2023-06-30 05:30:00 MDT) ----------------- Connected with result code 0 threshold = Fri Jun 16 03:04:00 2023 devices= [] threshold = Fri Jun 16 03:10:00 2023 devices= [] startime= 2023-06-29 05:00:00 endtime= 2023-06-30 05:00:00 devices= [] threshold = Sat Jun 17 03:04:00 2023 devices= [] threshold = Sat Jun 17 03:10:00 2023 devices= [] startime= 2023-06-30 05:00:00 endtime= 2023-07-01 05:00:00 devices= [] threshold = Sun Jun 18 03:04:00 2023 devices= [] threshold = Sun Jun 18 03:10:00 2023 devices= [] startime= 2023-07-01 05:00:00 endtime= 2023-07-02 05:00:00 devices= [] threshold = Mon Jun 19 03:04:00 2023 devices= [] threshold = Mon Jun 19 03:10:00 2023 devices= [] startime= 2023-07-02 05:00:00 endtime= 2023-07-03 05:00:00 devices= [] Connected with result code 0
threshold = Tue Jun 20 03:04:00 2023 devices= [] threshold = Tue Jun 20 03:10:00 2023 devices= [] startime= 2023-07-03 05:00:00 endtime= 2023-07-04 05:00:00 devices= [] threshold = Wed Jun 21 03:04:00 2023 devices= [] threshold = Wed Jun 21 03:10:00 2023 devices= [] startime= 2023-07-04 05:00:00 endtime= 2023-07-05 05:00:00 devices= [] threshold = Thu Jun 22 03:04:00 2023 devices= [] threshold = Thu Jun 22 03:10:00 2023 devices= [] startime= 2023-07-05 05:00:00 endtime= 2023-07-06 05:00:00 devices= [] threshold = Fri Jun 23 03:04:00 2023 devices= [] threshold = Fri Jun 23 03:10:00 2023 devices= [] startime= 2023-07-06 05:00:00 endtime= 2023-07-07 05:00:00 devices= [] threshold = Sat Jun 24 03:04:00 2023 devices= [] threshold = Sat Jun 24 03:10:00 2023 devices= [] startime= 2023-07-07 05:00:00 endtime= 2023-07-08 05:00:00 devices= [] threshold = Sun Jun 25 03:04:00 2023 devices= [] threshold = Sun Jun 25 03:10:00 2023 devices= [] startime= 2023-07-08 05:00:00 endtime= 2023-07-09 05:00:00 devices= [] Connected with result code 0 threshold = Mon Jun 26 03:04:00 2023 devices= [] threshold = Mon Jun 26 03:10:00 2023 devices= [] startime= 2023-07-09 05:00:00 endtime= 2023-07-10 05:00:00 devices= [] threshold = Tue Jun 27 03:04:00 2023 devices= [] threshold = Tue Jun 27 03:10:00 2023 devices= [] startime= 2023-07-10 05:00:00 endtime= 2023-07-11 05:00:00 devices= [] threshold = Wed Jun 28 03:04:00 2023 devices= [] threshold = Wed Jun 28 03:10:00 2023 devices= [] startime= 2023-07-11 05:00:00 endtime= 2023-07-12 05:00:00 devices= [] threshold = Thu Jun 29 03:04:00 2023 devices= [] threshold = Thu Jun 29 03:10:00 2023 devices= [] startime= 2023-07-12 05:00:00 endtime= 2023-07-13 05:00:00 devices= [] threshold = Fri Jun 30 03:04:00 2023 devices= [] threshold = Fri Jun 30 03:10:00 2023 devices= [] startime= 2023-07-13 05:00:00 endtime= 2023-07-14 05:00:00 devices= [] Index.py WR3P-CWSJSON= {'ID': 35236.0, 'TimeStamp': datetime.datetime(2023, 7, 14, 3, 40, 34), 'MessageID': 177078.0, 'SerialNumber': 4650.0, 'OutdoorTemperature': 13.9, 'OutdoorHumidity': 73.6, 'TotalRain': 0.0, 'SunlightVisible': 1.0, 'VisibleLightLux100': 0.0, 'WindDirection': 0.0, 'WindSpeed': 5.0, 'WindForce': 0.0, 'Noise': 40.8, 'BarometricPressure': 906.0, 'BarometricPressureSeaLevel': 1020.17, 'AQI': 33.0, 'AQI24Average': 52.5, 'PM2_5': 8.0, 'PM10': 9.0, 'CPUTemperature': 39.7, 'StringTime': '14-Jul-2023 03:40:34', 'StringTimeUnits': '', 'CalendarDayRain': 0.0, 'CalendarMonthRain': -92.7, '30DayRain': -8.6, '24HourRain': 0.0, '7DaysRain': 0.0, 'OutdoorTemperatureUnits': ' °C', 'WindSpeedUnits': ' m/s', 'TotalRainUnits': ' mm', 'CalendarDayRainUnits': ' mm', 'CalendarMonthRainUnits': ' mm', '30DayRainUnits': ' mm', '24HourRainUnits': ' mm', '7DaysRainUnits': ' mm', 'BarometricPressureSeaLevelUnits': ' hPa', 'BarometricPressureUnits': ' hPa', 'OutdoorHumidityUnits': '%', 'SunlightVisibleUnits': 'lux', 'AQIUnits': '', 'AQI24AverageUnits': '', 'WindDirectionUnits': '°'} number of Records = 2114 df= [[311, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [1441, 46, 0, 3, 0, 0, 0, 47], [153, 37, 0, 2, 0, 0, 0, 45], [22, 0, 0, 1, 0, 0, 0, 5]] number of records= 2114 number of Records = 0 number of Records = 0 /home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:37: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:68: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:102: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
WR3P-CWSJSON= {'ID': 35236.0, 'TimeStamp': datetime.datetime(2023, 7, 14, 3, 40, 34), 'MessageID': 177078.0, 'SerialNumber': 4650.0, 'OutdoorTemperature': 13.9, 'OutdoorHumidity': 73.6, 'TotalRain': 0.0, 'SunlightVisible': 1.0, 'VisibleLightLux100': 0.0, 'WindDirection': 0.0, 'WindSpeed': 5.0, 'WindForce': 0.0, 'Noise': 40.8, 'BarometricPressure': 906.0, 'BarometricPressureSeaLevel': 1020.17, 'AQI': 33.0, 'AQI24Average': 52.5, 'PM2_5': 8.0, 'PM10': 9.0, 'CPUTemperature': 39.7, 'StringTime': '14-Jul-2023 03:40:34', 'StringTimeUnits': '', 'CalendarDayRain': 0.0, 'CalendarMonthRain': -92.7, '30DayRain': -8.6, '24HourRain': 0.0, '7DaysRain': 0.0, 'OutdoorTemperatureUnits': ' °C', 'WindSpeedUnits': ' m/s', 'TotalRainUnits': ' mm', 'CalendarDayRainUnits': ' mm', 'CalendarMonthRainUnits': ' mm', '30DayRainUnits': ' mm', '24HourRainUnits': ' mm', '7DaysRainUnits': ' mm', 'BarometricPressureSeaLevelUnits': ' hPa', 'BarometricPressureUnits': ' hPa', 'OutdoorHumidityUnits': '%', 'SunlightVisibleUnits': 'lux', 'AQIUnits': '', 'AQI24AverageUnits': '', 'WindDirectionUnits': '°'} number of Records = 2019 df= [[296, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [1383, 46, 0, 3, 0, 0, 0, 42], [142, 37, 0, 2, 0, 0, 0, 39], [22, 0, 0, 1, 0, 0, 0, 5]] number of records= 2019 number of Records = 0 /home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:37: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:68: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
/home/pirack/SDL_Pi_WeatherSense/dash_app/aqi_page.py:102: UserWarning:
pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
WR3P-CWSJSON= {'ID': 35236.0, 'TimeStamp': datetime.datetime(2023, 7, 14, 3, 40, 34), 'MessageID': 177078.0, 'SerialNumber': 4650.0, 'OutdoorTemperature': 13.9, 'OutdoorHumidity': 73.6, 'TotalRain': 0.0, 'SunlightVisible': 1.0, 'VisibleLightLux100': 0.0, 'WindDirection': 0.0, 'WindSpeed': 5.0, 'WindForce': 0.0, 'Noise': 40.8, 'BarometricPressure': 906.0, 'BarometricPressureSeaLevel': 1020.17, 'AQI': 33.0, 'AQI24Average': 52.5, 'PM2_5': 8.0, 'PM10': 9.0, 'CPUTemperature': 39.7, 'StringTime': '14-Jul-2023 03:40:34', 'StringTimeUnits': '', 'CalendarDayRain': 0.0, 'CalendarMonthRain': -92.7, '30DayRain': -8.6, '24HourRain': 0.0, '7DaysRain': 0.0, 'OutdoorTemperatureUnits': ' °C', 'WindSpeedUnits': ' m/s', 'TotalRainUnits': ' mm', 'CalendarDayRainUnits': ' mm', 'CalendarMonthRainUnits': ' mm', '30DayRainUnits': ' mm', '24HourRainUnits': ' mm', '7DaysRainUnits': ' mm', 'BarometricPressureSeaLevelUnits': ' hPa', 'BarometricPressureUnits': ' hPa', 'OutdoorHumidityUnits': '%', 'SunlightVisibleUnits': 'lux', 'AQIUnits': '', 'AQI24AverageUnits': '', 'WindDirectionUnits': '°'} number of Records = 1989 df= [[295, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [1379, 46, 0, 3, 0, 0, 0, 42], [127, 37, 0, 2, 0, 0, 0, 38], [13, 0, 0, 1, 0, 0, 0, 5]] number of records= 1989 number of Records = 0 The time of this post is 6:18 pm and tthe last post above is at 3:40 am. The Dash is not updating in the browser. And the "number of records" which = 1989, seems to be reducing all the time. It was at 2600+ at one point. What do you think is wrong?
|
|