You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 1return 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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 == 0and when the sensor is "0" it sends me an email.In case anyone is interested.