Oh, and be sure to set up a udev script to avoid port switching problems. See the section *Installing a udev script <http://weewx.com/docs/usersguide.htm#udev_script>* in the User's Guide.
On Thu, Jan 30, 2020 at 4:55 AM Thomas Keffer <[email protected]> wrote: > The easiest would probably to set up a logwatch > <https://github.com/weewx/weewx/wiki/logwatch>. It's a better tool for > these kinds of system problems. > > -tk > > On Thu, Jan 30, 2020 at 2:27 AM Roebert Akraks <[email protected]> wrote: > >> Hello, >> >> I use the email alarm extention which basically works as it is designed. >> As soon as a value gets out of range, I get an email. I don't know why, but >> this week, the usb-serial converter for the station got disconnected >> (syslog shows ttyUSB0 disconnected, and afterwards showed up as ttyUSB1). >> Therefore my driver started throwing error messages in the log, but I did >> not get any email messages. >> >> I guess the problem here is, that no value was out of range, because >> there simply was no value. The archive records don't contain the values to >> check, the database shows NONE for most of the values. >> >> >> Is there an (easy) way to catch a a problem like this and get notified? >> >> >> >> ----------------------------------- >> About my station: >> I built the station myself, because I have access to professional >> temperature measurement equipment and I want to be albe to calibrate the >> temperature sensor in a dry block calibrator. This is difficult or >> impossible with the standard (consumer) weatherstation hardware. I wrote a >> driver to read the (live - no data storage on the station) values with >> modbus over a RS485 interface. It was running for almost a year without any >> problems, until the USB converter caused a problem. >> >> -- >> 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/64f3d748-f16f-42f6-b572-11c31599b2c4%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/64f3d748-f16f-42f6-b572-11c31599b2c4%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/CAPq0zEBR7ff3JcHcF18yia%3D4U0JeAhrtF4Uo_LqY08J-CZ954g%40mail.gmail.com.
