Backup Sensors

43 views
Skip to first unread message

dshanske

unread,
Feb 1, 2023, 12:00:30 AM2/1/23
to weewx-user
Was wondering about this. I have some issues with one of my sensors going offline. I am working on a secondary way to notify me if this goes offline, but I was wondering if anyone came up with a way to have a secondary sensor be used if the primary goes offline.

p q

unread,
Feb 1, 2023, 1:18:21 AM2/1/23
to weewx...@googlegroups.com
Yes, but by modifying the driver code, which is not the preferred path. There is probably a better way.

On Wed, Feb 1, 2023 at 10:30 AM dshanske <da...@shanske.com> wrote:
Was wondering about this. I have some issues with one of my sensors going offline. I am working on a secondary way to notify me if this goes offline, but I was wondering if anyone came up with a way to have a secondary sensor be used if the primary goes offline.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b2f32836-f32b-472b-9a0d-4d1036cbba2en%40googlegroups.com.


--
Peter Quinn
(415)794-2264

Graham Eddy

unread,
Feb 1, 2023, 6:15:05 AM2/1/23
to WeeWX User
untested: put in Corrections section of weewx.conf something like
  PRIMARY_V = PRIMARY_V if PRIMARY_V in locals() else BACKUP_V
(weewx packet is used as local bindings in python eval)
⊣GE⊢

Reply all
Reply to author
Forward
0 new messages