If you really want just to send a notification, use alarm.Py.

If you want to base automation on this data, I can provide example how I did 
it. But you would still need to solve sending e-mails on your own since my RPI 
Zero uses my router to do so.

Na 5. listopada 2019. 18:34:06 CEST, Ramesh Rasappan <prram...@gmail.com> wrote:
>do you parse the html page? could you please share the shell script?
>thanks
>
>On Friday, October 4, 2019 at 5:19:09 PM UTC+5:30, Pila wrote:
>>
>> If you really want notification, it can generate email.
>>
>> I use data to close shutters if it rains from the west half. I simply
>
>> parse generated page and extract data I need. All from shell script.
>5 
>> lines of code to extract 8 variables. My Zero jest closed shutters
>since it 
>> was sunset. 
>>
>> Na 3. listopada 2019. 16:01:58 CEST, Ramesh Rasappan
><prra...@gmail.com 
>> <javascript:>> wrote:
>>>
>>> My current setup pulls weather data from Offset console using 
>>> weewx-wh23xx driver. I want to run a bash script that can get the
>current 
>>> weather and send me a notification if it meets the criteria.
>>>
>>>
>>> I could probably get the weather data directly from PWS console 
>>> using weewx-wh23xx driver but I can't figure out this!! Of course
>one could 
>>> use sqlite3 to pull the data from either weewx database 
>>> (/var/lib/weewx/weewx.sdb) but it looks complicated for me that I
>have to 
>>> run some complex script to retrieve the current data!
>>>
>>>
>>> Can you share some script that can pull the current data from either
>
>>> weewx database or from the console? thank you
>>>
>>>
>>>
>>>
>> -- 
>> Poslano sa mog Android uređaja sa K-9 Mail. Molim vas oprostite na
>mojoj 
>> sažetosti.
>>
>
>-- 
>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.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/weewx-user/729bdb6a-42fd-4f1e-a2d4-3e58fbb44814%40googlegroups.com.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/A60E30FD-92AB-405D-AEB2-824FBCE83910%40gmail.com.

Reply via email to