Weewx with only extra sensors

130 views
Skip to first unread message

Bostjan Potocnik

unread,
Jun 28, 2019, 6:16:47 AM6/28/19
to weewx-user
Hi,

I run weewx using SDR driver with additional extra sensors (BME280 connected to RPi).
If there is no data from SDR (weather station is in maintinance), i.e. no LOOP packets from SDR, than archive and reports are not generated, including values from extra sensors are not read and added to database.
Is there a possibility to run archive and report generation, when only extra sensors are active?

Regards,

Bostjan

Andrew Milner

unread,
Jun 28, 2019, 7:52:33 AM6/28/19
to weewx-user
you can run reports standalone but for archive you need LOOP, REC or both.  If your RPI could write a file you could use that as a REC trigger with the fileparser driver - amongst other approaches

Bostjan Potocnik

unread,
Jul 1, 2019, 3:53:33 AM7/1/19
to weewx-user
Hi,

thanks for advice, but workaround sounds quit complicated.

gjr80

unread,
Jul 1, 2019, 1:47:32 PM7/1/19
to weewx-user
At the end of the day if you want WeeWX to continue to save data to archive WeeWX must continue to receive loop packets or archive records from whatever driver you are using - no loop packets or archive records = no data saved to archive. Other services can add data to the loop packets and archive records emitted by your driver (as you are doing)but this in itself does not cause a loop packet or archive record to be created. Perhaps you can flip your setup on its head and run a driver for your ‘extra sensors’ and have the SDR augment packets/records from the ‘extra sensors’ driver. Another alternative is to run two instances of WeeWX; one with the SDR driver and one with an ‘extra sensors’ driver. You use two different databases with one instance doing the report generation.

Unfortunately there is no simple solution to your problem; you have a complex setup and any solution to your problem is going to be complex.

Gary

Andy

unread,
Jul 2, 2019, 8:36:04 PM7/2/19
to weewx-user
So if you always had at least on sensor sending sdr events would that fix it? Like add a $12 acurite temp sensor or https://m.aliexpress.com/item/32621769220.html and get rid of the fileparse.

I guess I don't really understand the loop packets with multiple sdr devices.

Reply all
Reply to author
Forward
0 new messages