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.
El sábado, 26 de diciembre de 2020 a las 22:50:37 UTC+1, Manuel escribió: > > 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. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/fdd152af-6a83-45f6-a395-9198942eb09bn%40googlegroups.com.
