Have you looked at the "alarm" example? It is included in the "examples" subdirectory. Documentation <http://www.weewx.com/docs/customizing.htm#Adding_a_service> in the Customizing Guide.
On Thu, Oct 3, 2019 at 7:02 AM Ramesh Rasappan <prram...@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 > > > > -- > 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/47ab7379-e50b-4309-a2ce-ba1857a6cbd6%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/47ab7379-e50b-4309-a2ce-ba1857a6cbd6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEA_khK3%2BQ8ox9zTWoqOK8zyoN%3DjoZDM5TU%3DNG02O025xw%40mail.gmail.com.