@Pilla, although I got it working (see above), I am still interested to see your script! maybe you are handling it in a better way! (you could send it to me: chittukuruvii at. gmail)
On Monday, October 7, 2019 at 6:22:01 PM UTC+5:30, Pila wrote: > > 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 <prra...@gmail.com > <javascript:>> 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> >>> 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/0d3c15b1-7f8d-46d3-95d2-deaf3737c947%40googlegroups.com.