a silly question - but have you actually got example, mypassword in your config - or have you replaced these with a real host, a real user and a real password??
On Wednesday, 4 December 2019 08:02:26 UTC+2, Michi Kaa wrote: > > my Config looks like this: > > time_wait = 3600 > count_threshold = 1 > smtp_host = mail.example.com > smtp_user = [email protected] > smtp_password = myPassword > from = [email protected] > mailto = [email protected] > subject = Weewx Battery low! > > I have log entries like that: > Dec 3 06:55:28 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 06:55:15 CET (1575352515): {'inTempBatteryStatus': 1} > Dec 3 11:07:53 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 11:07:53 CET (1575367673): {'inTempBatteryStatus': 1} > Dec 3 13:26:02 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 13:25:54 CET (1575375954): {'inTempBatteryStatus': 1} > Dec 3 14:26:12 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 14:26:09 CET (1575379569): {'inTempBatteryStatus': 1} > Dec 3 16:26:14 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 16:26:11 CET (1575386771): {'inTempBatteryStatus': 1} > Dec 3 19:47:49 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 19:47:49 CET (1575398869): {'outTempBatteryStatus': 1} > Dec 3 20:48:03 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 20:47:55 CET (1575402475): {'outTempBatteryStatus': > 1, 'inTempBatteryStatus': 1} > Dec 3 21:48:23 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 21:48:22 CET (1575406102): {'outTempBatteryStatus': 1} > Dec 3 22:48:40 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 22:48:19 CET (1575409699): {'outTempBatteryStatus': 1} > Dec 3 23:48:57 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-03 23:48:51 CET (1575413331): {'outTempBatteryStatus': 1} > Dec 4 00:51:51 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-04 00:51:32 CET (1575417092): {'outTempBatteryStatus': 1} > Dec 4 01:52:35 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-04 01:52:34 CET (1575420754): {'outTempBatteryStatus': 1} > Dec 4 02:54:08 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-04 02:54:03 CET (1575424443): {'outTempBatteryStatus': 1} > Dec 4 04:02:38 weewxPi weewx[1365]: lowBattery: Low battery status > sounded at 2019-12-04 04:02:33 CET (1575428553): {'outTempBatteryStatus': > 1, 'inTempBatteryStatus': 1} > > But didn't receive a notification. No error entries. > > How can I test if mailing in weewx context works? I've changed some > syslog.LOG_DEBUG lines in lowBattery.py to syslog.LOG_INFO so i can omit > all the other debug stuff in the log, but with fresh batteries next chance > to have a real alarm is probably in a year or so. > -- 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/3c4e11bb-e52b-40de-a8be-e461e6e9794e%40googlegroups.com.
