Oh wow, Gary, there's actually lowBattery.py in the examples.

I don't know anything about Python but I'll see what I can do, I'll try to 
find someone to help me.

thanks :)

On Monday, October 10, 2016 at 11:02:22 AM UTC+3, gjr80 wrote:
> Hi,
> You could have weewx do it all for you with a custom service. Have a look 
> at the example under Adding a service 
> <http://weewx.com/docs/customizing.htm#Adding_a_service> in the 
> Customization Guide. It does a similar thing but uses an arbitrary 
> expression. The example binds to the NEW_ARCHIVE_RECORD event so it uses 
> data from the archive record, if your data of interest is in the loop 
> packet and not the archive record then you would need to bind to the 
> NEW_LOOP_PACKET event instead. The example sends an email, though with a 
> bit of python nous you could have it do almost anything you want, depending 
> on your connectivity and of course your python skills.
> Gary
> On Monday, 10 October 2016 17:36:11 UTC+10, Ξ wrote:
>> Hello,
>> I have a TFA Opus station, it needs its batteries changed every now and 
>> then, I don't live permanently where the WS is and I'm sometimes late to 
>> replace them on time. I want a simple solution that monitors the loop for 
>> any of the following values being '1' and alerting me somehow 
>> 'inTempBatteryStatus': 
>> 1, 'rainBatteryStatus': 0, 'outTempBatteryStatus': 0
>> Has anyone implemented anything similar? I'd imagine a bash script being 
>> run for let's say half an hour each day and sifts through journalctl -f, 
>> but not sure about the alert part. 

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to