Thanks Thomas, the documentation says; place the python files under "user" 
directory, also one can find examples of python script under examples 
folder! But where are these user and examples folders? I don't find them 
under /var/www/html/weex, not under /var/lib/weewx also not 
under /etc/weewx/

So where to place the python script?

On Thursday, October 3, 2019 at 8:24:58 PM UTC+5:30, Thomas Keffer wrote:
>
> 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 <[email protected] 
> <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
>>
>>
>>
>> -- 
>> 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] <javascript:>.
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/524623ed-3906-454e-821b-b503a89ee338%40googlegroups.com.

Reply via email to