I recently moved weewx 4.7.0 from CentOS 7 to  Rocky 8 and now I notice that I'm not getting any mail regarding low battery.
The log file reports that the battery is low
May 19 18:17:46 opus journal[1137920]: weewx[1137920] DEBUG weewx.engine: Loading service user.lowBattery.BatteryAlarm May 19 18:17:46 opus journal[1137920]: weewx[1137920] INFO user.lowBattery: LowBattery alarm enabled. Count threshold is 10 May 19 18:17:46 opus journal[1137920]: weewx[1137920] DEBUG weewx.engine: Finished loading service user.lowBattery.BatteryAlarm May 19 18:18:03 opus journal[1137920]: weewx[1137920] INFO user.lowBattery: Low battery status sounded at 2022-05-19 18:18:04 EDT (1652998684): {'txBatteryStatus': 1}

I've modified weewx.conf to include the battery alarm

report_services = weewx.engine.StdPrint, weewx.engine.StdReport, user.lowBattery.BatteryAlarm

[Alarm]
    time_wait = 3600
    count_threshold = 10
    smtp_host = mailbox.sunny.beach
    # smtp_user = myusername
    # smtp_password = mypassword
    from = ws@########
    mailto = ##########
    subject = Time to change the battery!

This all worked in CentOS 7 but alas not in Rocky 8.

I looked at  the host mail log, but I don't see any attempt by weewx to send mail
I've set debug in weewx.conf to 1.
So how do I go about trouble shooting this problem?

Other than this mail problem all other mail from this host works just fine.

Thanks
Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b5278dc3-100f-db55-f64b-9d5d5d9de08a%40geenhuizen.net.

Reply via email to