I´d like to ask if some additional configuration is needed except the default one below.
[PurpleAirMonitor]
data_binding = purpleair_binding
hostname = 121XXX
port = 80
I have archive interval set to 300s but records are not added every 5 minutes as expected. Also there is no visible error visible in /var/log/messages.
[root@new-weather-machine neowx]# grep purpleair.sdb /var/log/messages
Sep 20 16:31:09 new-weather-machine journal: weewx[19814] INFO weewx.manager: Created and initialized table 'archive' in database 'purpleair.sdb'
Sep 20 16:35:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:31:10 CEST (1632148270) to database 'purpleair.sdb'
Sep 20 16:35:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:31:10 CEST (1632148270) to daily summary in 'purpleair.sdb'
Sep 20 16:45:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:41:10 CEST (1632148870) to database 'purpleair.sdb'
Sep 20 16:45:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:41:10 CEST (1632148870) to daily summary in 'purpleair.sdb'
Sep 20 17:05:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:01:12 CEST (1632150072) to database 'purpleair.sdb'
Sep 20 17:05:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:01:12 CEST (1632150072) to daily summary in 'purpleair.sdb'
Sep 20 17:10:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:06:12 CEST (1632150372) to database 'purpleair.sdb'
Sep 20 17:10:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:06:12 CEST (1632150372) to daily summary in 'purpleair.sdb'
Sep 20 17:20:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:16:13 CEST (1632150973) to database 'purpleair.sdb'
Sep 20 17:20:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:16:13 CEST (1632150973) to daily summary in 'purpleair.sdb'
Interval when adding was skipped:
Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 18:00:00 CEST (1632153600) to database 'weewx.sdb'
Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 18:00:00 CEST (1632153600) to daily summary in 'weewx.sdb'
Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.restx: PWSWeather: Published record 2021-09-20 18:00:00 CEST (1632153600)
Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.restx: OWM: Published record 2021-09-20 18:00:00 CEST (1632153600)
Sep 20 18:00:22 new-weather-machine journal: weewx[19814] INFO weewx.restx: WOW: Published record 2021-09-20 18:00:00 CEST (1632153600)
Sep 20 18:00:57 new-weather-machine journal: weewx[19814] INFO weewx.cheetahgenerator: Generated 18 files for report StandardReport in 35.87 seconds
Sep 20 18:00:57 new-weather-machine journal: weewx[19814] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Hello,
I´d like to ask if some additional configuration is needed except the default one below.
[PurpleAirMonitor] data_binding = purpleair_binding hostname = 121XXX port = 80
I have archive interval set to 300s but records are not added every 5 minutes as expected. Also there is no visible error visible in /var/log/messages.
[root@new-weather-machine neowx]# grep purpleair.sdb /var/log/messages Sep 20 16:31:09 new-weather-machine journal: weewx[19814] INFO weewx.manager: Created and initialized table 'archive' in database 'purpleair.sdb' Sep 20 16:35:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:31:10 CEST (1632148270) to database 'purpleair.sdb' Sep 20 16:35:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:31:10 CEST (1632148270) to daily summary in 'purpleair.sdb' Sep 20 16:45:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:41:10 CEST (1632148870) to database 'purpleair.sdb' Sep 20 16:45:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 16:41:10 CEST (1632148870) to daily summary in 'purpleair.sdb' Sep 20 17:05:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:01:12 CEST (1632150072) to database 'purpleair.sdb' Sep 20 17:05:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:01:12 CEST (1632150072) to daily summary in 'purpleair.sdb' Sep 20 17:10:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:06:12 CEST (1632150372) to database 'purpleair.sdb' Sep 20 17:10:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:06:12 CEST (1632150372) to daily summary in 'purpleair.sdb' Sep 20 17:20:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:16:13 CEST (1632150973) to database 'purpleair.sdb' Sep 20 17:20:20 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 17:16:13 CEST (1632150973) to daily summary in 'purpleair.sdb'
Interval when adding was skipped: Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 18:00:00 CEST (1632153600) to database 'weewx.sdb' Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.manager: Added record 2021-09-20 18:00:00 CEST (1632153600) to daily summary in 'weewx.sdb' Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.restx: PWSWeather: Published record 2021-09-20 18:00:00 CEST (1632153600) Sep 20 18:00:21 new-weather-machine journal: weewx[19814] INFO weewx.restx: OWM: Published record 2021-09-20 18:00:00 CEST (1632153600) Sep 20 18:00:22 new-weather-machine journal: weewx[19814] INFO weewx.restx: WOW: Published record 2021-09-20 18:00:00 CEST (1632153600) Sep 20 18:00:57 new-weather-machine journal: weewx[19814] INFO weewx.cheetahgenerator: Generated 18 files for report StandardReport in 35.87 seconds Sep 20 18:00:57 new-weather-machine journal: weewx[19814] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Thanks for hints