Not quite. It's /usr/share/weewx/user

You will probably need 'sudo' to do the copy.

-tk



On Fri, May 22, 2020 at 6:21 PM Graham Eddy <[email protected]> wrote:

> bin/user under your weewx root.
> if your weewx root is /usr/share/weewx, then /usr/share/weewx/bin/user
>
> On 23 May 2020, at 2:23 am, Remy Lavabre <[email protected]> wrote:
>
>
> Hello,
> I have a problem using Alarm.py:
>
> I entered the configuration in the weewx.conf file with the correct
> parameters:
>
>
> [Alarm]
> expression = "outTemp < 40.0"
> time_wait = 3600
> smtp_host = smtp.example.com
> smtp_user = myusername
> smtp_password = mypassword
> from = [email protected]
> mailto = [email protected], [email protected]
> subject = "Alarm message from weewx!"
> and :
>
> [Engine]
> [[Services]]
> ...
> report_services = weewx.engine.StdPrint, weewx.engine.StdReport,
> user.alarm.MyAlarm After it is indicate to copy this file (Alarm.py I
> think...) to the "user directory"
>
> But what is the "user directory" ?
>
> I've tried usr/share/weewx/usr but it doesn't work and blocks me weewx If
> you know how to proceed and where exactly to copy Alarm.py ?? thank you so
> much
>
> --
> 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/b42b7a8e-ac8e-406a-a68e-35bff495c96b%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b42b7a8e-ac8e-406a-a68e-35bff495c96b%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/2104489D-BDCE-4238-AEBC-7DD911071C63%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/2104489D-BDCE-4238-AEBC-7DD911071C63%40gmail.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/CAPq0zECoR%3DargdYjht%3DgWhwARFfw7-S-C4tkiM_P_h6UTCnhtw%40mail.gmail.com.

Reply via email to