Hi, I searched and found a similar issue from 2007 but that's so long ago I thought it was best to start a new thread. I added a few email notifications today and now the data logger no longer works. The log is full of messages saying that a child process received a termination signal. Test emails still work okay but event emails aren't sending. I suspect the problem is related to my Incremental alarms but haven't removed them yet to confirm that. My periodic email (email #1) was working until I added the alarm condition emails. Eventually the station hangs and I can no longer connect to it and have to reboot it and then everything repeats again.
[Edit]
After looking at this some more the problem seems to be related to having incremental alarms defined or having alarms triggered. When I just have the periodic email setup the data logger comes back up and all works fine
[\Edit]
Here's what I see on the live data tab:
Data Logger Failure
Data logger does not provide data. Please check that station settings are correct.
Here's the log after a reboot:
wnetd (10.08.2015 20:17:53): process started.
test5m (10.08.2015 20:17:56): logger stalled, will be restarted now
logger (10.08.2015 20:17:56): Historical data loaded (19 records).
logger (10.08.2015 20:17:56): data logger (version 5.0i, build 6790) started.
logger (10.08.2015 20:17:57): connect station 0 (Meteostick Vantage via USB serial).
logger (10.08.2015 20:17:59): transmitter 5 registered as ISS
logger (10.08.2015 20:17:59): Meteostick Version 2.3b1
logger (10.08.2015 20:17:59): debug off
logger (10.08.2015 20:17:59): verbose off
logger (10.08.2015 20:17:59): output raw (8 bytes)
logger (10.08.2015 20:17:59): output raw (10 bytes)
logger (10.08.2015 20:17:59): filter on
logger (10.08.2015 20:17:59): rx threshold set to -90db
logger (10.08.2015 20:17:59): listening to transmitter 5
logger (10.08.2015 20:17:59): chip authentication ok: 14
logger (10.08.2015 20:17:59): frequency band 915MHz (US)
logger (10.08.2015 20:18:57): child process received termination signal (8).
logger (10.08.2015 20:18:57): child process received termination signal (8).
logger (10.08.2015 20:18:57): child process received termination signal (8)
..
..
..
logger (10.08.2015 20:36:28): child process received termination signal (8).
logger (10.08.2015 20:36:28): child process received termination signal (8).
logger (10.08.2015 20:36:28)
email #1
Subj # Body: Daily weather update at home # High Temp: [th0temp-dmax=F.1:—-]F @ [th0temp-dmaxtime.ij]:[th0temp-dmaxtime.kl] \n Low Temp: [th0temp-dmin=F.1:—-]F @ [th0temp-dmintime.ij]:[th0temp-dmintime.kl] \n Rain Total: [rain0total-daysum=in.2:—-] IN \n High Humidity: [th0hum-dmax=1:—-]% @ [th0hum-dmaxtime.ij]:[th0hum-dmaxtime.kl] \n Low Humidity: [th0hum-dmin=1:—-]% @ [th0hum-dmintime.ij]:[th0hum-dmintime.kl] \n Wind Average: [wind0avgwind-act=mph.1:—-] MPH \n Wind Max: [wind0wind-dmax=mph.1:—-] MPH @ [wind0wind-dmaxtime.ij]:[wind0wind-dmaxtime.kl] \n Wind Max Direction: [wind0dir-dmax=endir] \n \n Sunrise: [mbsystem-sunrise] \n Sunset: [mbsystem-sunset] \n \n Moonrise: [mbsystem-moonrise] \n Moonset: [mbsystem-moonset] \n Lunar Percent: [mbsystem-lunarpercent] \n Lunar Segment: [mbsystem-lunarsegment] \n \n Platform: [mbsystem-platform] \n Station: [mbsystem-station] \n Meteobridge Version: [mbsystem-swversion] \n
email #2
Raise: [th0temp-act=F.1:200] <= 32
Clear: [th0temp-act=F.1:200] >= 35
Subj # Body: Freeze at home! # Temperature: [th0temp-act=F.1:--]
email #3
Raise: [rain0total-daysum=in.2:0] >= 0.1
Clear: ([rain0total-daysum=in.2:0] + 0.05) % 0.1 = 0
Subj # Body: Another 1/10th inch of rain at home! # Rain Total: [rain0total-daysum=in.2:--]
email #4 (test alarm that should have gone off this afternoon)
Raise: [th0temp-act=F.1:-200] >= 80
Clear: [th0temp-act=F.1:-200] <= 70
Subj # Body: Hot day at home! # Temperature: [th0temp-act=F.1:--]
Email seems to kill logger process
Moderator: Mattk
Re: Email seems to kill logger process
Termination signal 8 is raised on floating point errors, like division by zero, etc.
Candidate in your definitions is a misuse of the modulus operator '%'.
To my knowledge this is defined for integers only.
([rain0total-daysum=in.2:0] + 0.05) % 0.1
Candidate in your definitions is a misuse of the modulus operator '%'.
To my knowledge this is defined for integers only.
([rain0total-daysum=in.2:0] + 0.05) % 0.1