Closed nickw56 closed 4 years ago
Without more information it is hard to say.
What have you tried to generate an alert? Is it taking readings?
On Mon, Jan 20, 2020 at 4:20 PM nickw56 notifications@github.com wrote:
My email alerts have stopped working. I am still getting the heartbeat notifications and the system appears to be working normally in all other respects. Can you suggest any trouble shooting steps I can take?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alaudet/raspi-sump/issues/61?email_source=notifications&email_token=ABZWS56AA7G5L2NL4LNFZQDQ6YISBA5CNFSM4KJKBTQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IHOV6PQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZWS52TY37NQIZC26GFLADQ6YISBANCNFSM4KJKBTQQ .
Hi Al
My alert limit was set at 40cm but I recently had an incident when the float switch on the pump got stuck and the water level rose above 40 - no alert generated. I fixed the pump issue and then set the level to 30 cm. The pump usually runs at ~35 cm so it should be generating alerts several times a day. it is taking readings - see attached image I do have a back-up alarm system so it's not a huge problem - just a bit puzzling
I find it odd that it sends you heartbeats but not alerts. Its the same code. Any chance you can email me your raspisump.conf file?
Make sure to remove your email password before sending me the file.
Also check /home/pi/logs. Check the error_log and alert_log Does it think it is sending the alert?
Are you sending sms emails or just regular email? If regular is the spam filter triggering?
I am at a loss as to why you would get a heartbeat notifcation but not an alert.
Here's my conf file contents as discussed
[gpio_pins]
trig_pin = 17
echo_pin = 27
[pit]
unit = metric
critical_water_level = 30
pit_depth = 47
reading_interval = 0
temperature = 5
alert_when = high
[charts]
line_color = FB921D
[email]
alert_interval = 5
smtp_authentication = 1
smtp_tls = 1
username = password =
smtp_server = smtp.gmail.com:587
#
email_to =*****@gmail.com
email_from = Raspi-Sump *************@gmail.com
heartbeat = 1
heartbeat_interval = 10080
Apologies for the huge font I don't know how that happened !
I have the same problem. If i simulate an alert the reading on the LCD change but no email and the buzzer doesn't sound and no entry in the alert log I see the change in the csv In the error log I got this 2020-02-05 12:13:35,**ERROR - Signal not received. Possible cable or sensor problem. in the process log It seem the process is stopping multiple time 2020-01-11 11:08:03,Process stopped, restarting 2020-01-11 15:54:03,Process stopped, restarting 2020-01-15 23:46:02,Process stopped, restarting 2020-01-28 10:52:03,Process stopped, restarting 2020-02-01 00:36:03,Process stopped, restarting 2020-02-01 16:12:02,Process stopped, restarting 2020-02-01 19:00:03,Process stopped, restarting 2020-02-03 08:02:02,Process stopped, restarting 2020-02-05 12:14:02,Process stopped, restarting 2020-02-08 09:40:03,Process stopped, restarting `` Thanks Dan
Are you getting heartbeat notifications?
On Sat, Feb 8, 2020, 10:32 AM lecrote notifications@github.com wrote:
I have the same problem. If i simulate an alert the reading on the LCD change but no email and the buzzer doesn't sound and no entry in the alert log I see the change in the csv In the error log I got this 2020-02-05 12:13:35,**ERROR - Signal not received. Possible cable or sensor problem. in the process log It seem the process is stopping multiple time 2020-01-11 11:08:03,Process stopped, restarting 2020-01-11 15:54:03,Process stopped, restarting 2020-01-15 23:46:02,Process stopped, restarting 2020-01-28 10:52:03,Process stopped, restarting 2020-02-01 00:36:03,Process stopped, restarting 2020-02-01 16:12:02,Process stopped, restarting 2020-02-01 19:00:03,Process stopped, restarting 2020-02-03 08:02:02,Process stopped, restarting 2020-02-05 12:14:02,Process stopped, restarting 2020-02-08 09:40:03,Process stopped, restarting `` Thanks Dan
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alaudet/raspi-sump/issues/61?email_source=notifications&email_token=ABZWS52NIGUCVWW4UMQU3ATRB3GATA5CNFSM4KJKBTQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFULMQ#issuecomment-583746994, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZWS52EPD4GH5S75NRTB23RB3GATANCNFSM4KJKBTQQ .
Sorry but I don't think its the same problem as mine. I am not seeing anything in the error log. I am still getting heartbeat emails just not alerts.
Are you getting heartbeat notifications? …
In the raspisump.conf I don't see heartbeat config. I may have an old version.
Make sure you are using the latest version of raspisump. Backup your config file and replace it with the latest one manually. Reenter all of your values in the new file. Test with heartbeat notifications. If they work simulate an actual alert. Reassess the issue then.
On Sun, Feb 9, 2020, 10:23 AM lecrote notifications@github.com wrote:
Are you getting heartbeat notifications? … <#m-6491576694174267553> On Sat, Feb 8, 2020, 10:32 AM lecrote @.*> wrote: I have the same problem. If i simulate an alert the reading on the LCD change but no email and the buzzer doesn't sound and no entry in the alert log I see the change in the csv In the error log I got this 2020-02-05 12:13:35,ERROR - Signal not received. Possible cable or sensor problem. in the process log It seem the process is stopping multiple time 2020-01-11 11:08:03,Process stopped, restarting 2020-01-11 15:54:03,Process stopped, restarting 2020-01-15 23:46:02,Process stopped, restarting 2020-01-28 10:52:03,Process stopped, restarting 2020-02-01 00:36:03,Process stopped, restarting 2020-02-01 16:12:02,Process stopped, restarting 2020-02-01 19:00:03,Process stopped, restarting 2020-02-03 08:02:02,Process stopped, restarting 2020-02-05 12:14:02,Process stopped, restarting 2020-02-08 09:40:03,Process stopped, restarting `` Thanks Dan — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#61 https://github.com/alaudet/raspi-sump/issues/61?email_source=notifications&email_token=ABZWS52NIGUCVWW4UMQU3ATRB3GATA5CNFSM4KJKBTQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFULMQ#issuecomment-583746994>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZWS52EPD4GH5S75NRTB23RB3GATANCNFSM4KJKBTQQ .
In the raspisump.conf I don't see heartbeat config. I may have an old version.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alaudet/raspi-sump/issues/61?email_source=notifications&email_token=ABZWS5ZGVXLIVEX5MEHDP7LRCANWFA5CNFSM4KJKBTQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELGPIMA#issuecomment-583857200, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZWS5ZJ5GTDAQAMN27JTDLRCANWFANCNFSM4KJKBTQQ .
I did find the error! Gmail was blocking email connection. I unlock it and it is working again. I will upgrade to the new version for sure. And I would like to add on the raspberry a freezer temp sensor to.
Thanks
Dan
Great glad you got it working
On Sun, Feb 9, 2020, 11:34 AM lecrote notifications@github.com wrote:
I did find the error! Gmail was blocking email connection. I unlock it and it is working again. I will upgrade to the new version for sure. And I would like to add on the raspberry a freezer temp sensor to.
Thanks
Dan
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alaudet/raspi-sump/issues/61?email_source=notifications&email_token=ABZWS5Y247UR66V6DBRH6RDRCAWCRA5CNFSM4KJKBTQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELGRJWY#issuecomment-583865563, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZWS53GIWQTDQAHP2X34B3RCAWCRANCNFSM4KJKBTQQ .
My email alerts have stopped working. I am still getting the heartbeat notifications and the system appears to be working normally in all other respects. Can you suggest any trouble shooting steps I can take?