Lost sensor contact alarm

50 views
Skip to first unread message

Manuel

unread,
Dec 26, 2020, 4:50:37 PM12/26/20
to weewx-user

Hi. I would like weewx to send me an email when the external sensors of my fine offset vh 1080 station are disconnected,  the same as in alarm.py. I know you can since I have seen the code in the realtime.txt "if 'status' in packet and packet ['status'] & 0x40! = 0: return 1 return 0 " But I do not know how to do it. Any ideas? Thanks a lot.

Manuel

unread,
Dec 27, 2020, 5:34:30 AM12/27/20
to weewx-user
I have done it and the solution is very easy. Looking at the database there is a column that is "rxCheckPercent" I have put it in the weewx.conf like this [Alarm] expression = rainRate> 0.011811 or rxCheckPercent == 0 and when the sensor is "0" it sends me an email. In case anyone is interested.
Reply all
Reply to author
Forward
0 new messages