have completed migration from wview with lost of customisations

100 views
Skip to first unread message

Graham Eddy

unread,
May 13, 2019, 10:42:03 AM5/13/19
to weewx-user
i am now operational on weewx after migrating from wview with 12 years of data.
lots of customisations: river temperature (extraTemp1), river level (external sensor), wview-style alarms, and steelseries gauges for all the sensors including river

i enabled weewx registration of the station couple weeks ago but it does not appear in the "Stations Running weeWX" map. any idea why?

my GUI integration with steelseries is quite weak - a button in the titlebar taking you to an iframe so weewx titlebar still shows with the gauges. any ideas on how to integrate the GUI better?

mwall

unread,
May 13, 2019, 11:18:42 AM5/13/19
to weewx-user


On Monday, May 13, 2019 at 10:42:03 AM UTC-4, Graham Eddy wrote:

i enabled weewx registration of the station couple weeks ago but it does not appear in the "Stations Running weeWX" map. any idea why?

what does the log say?
 

Graham Eddy

unread,
May 13, 2019, 11:42:05 AM5/13/19
to weewx...@googlegroups.com
looking at weewx.restx.StdStationRegistry, i see:
    This will periodically do a http GET with the following information:
        station_url      Should be world-accessible. Used as key.
    ...
i have not set station_url so, being the key, its absence might be the explanation. we shall see

i have not ignored mwall’s question. i have a big problem in this space - while i am very familiar with syslogd, the mac does something completely different with logs and i have yet to figure it out. the best i can do at present is use Console to monitor all messages, filtered on Python, and i get (some?) major errors and stack dumps that way. easy to do with syslogd but the mac’s logging has me baffled. education would be appreciated!
____________
Graham Eddy

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d201a747-cc7b-4ddb-b09e-2d372defe555%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Graham Eddy

unread,
May 13, 2019, 11:50:08 AM5/13/19
to weewx-user
that fixed it within seconds - now duly registered as a weewx station

Thomas Keffer

unread,
May 13, 2019, 1:55:25 PM5/13/19
to weewx-user
You are not the only one who cannot get Python logging to work on Sierra. You're supposed to use commands like:

$log show --predicate 'eventMessage contains "Message4Me"' --last 3m
but I have been unable to get that to work for logs written by Python.

I debug on Linux, then hope for the best when I port to the Mac.

-tk

Jeff Rabin

unread,
Jun 19, 2019, 6:17:05 AM6/19/19
to weewx-user
Graham - "wview-style alarms"?     I'm very interested.  Anything you can share?

Jeff


On Monday, May 13, 2019 at 10:42:03 AM UTC-4, Graham Eddy wrote:

Graham Eddy

unread,
Jun 19, 2019, 6:39:59 AM6/19/19
to weewx...@googlegroups.com
hello jeff,

specify a list of alarms (in weewx.conf under [Alarms]), each alarm being
    [[name]]
    metric ("observation type” i think is the weewx-speak for this)
    threshold value
    is_rising (does trigger occur when go above, or below, the threshold)
    abatement (once triggered, how long before this alarm can trigger again)
    mailto (when triggered, action is to send email to comma-separated recipient list)
e.g.
    [[Hot Outside]]
        metric = outTemp
        is_rising = true
        threshold = 30.0, degree_C
        mailto = 'Graham Eddy <graha...@gmail.com>'
        abatement = 480    # 8 h

also, superior alarms suppress inferior alarms (i.e. if alarm metric/threshold has triggered, then any other alarms with same metric but lesser threshold are skipped)

i haven’t bothered with tls/password for email as i use ISP's relay. better to go via localhost anyway so that alarms are spooled pending offline connections
____________
Graham Eddy

--
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+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages