That test uses a hardwired record with extraTemp1=1.0 and outTemp=38.2. To
use it, set up your [Alarm] section so that such a record will trigger it.
The sample [Alarm] shown at the top of alarm.py will do, because it
triggers if outTemp<40.0.

Then just run it. For example,

*python alarm.py /etc/weewx/weewx.conf*

-tk



On Thu, Jan 10, 2019 at 2:14 PM Steph S <[email protected]> wrote:

> Hello,
> How to do to test this Alarm.py
> I don't anderstand :
> ------
>
> usage_string ="""Usage:
>
> alarm.py config_path
>
> Arguments:
>
> config_path: Path to weewx.conf"""
> ---------
> Could you give me an example?
> Steph
>
>
>
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

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

Reply via email to