Page 1 of 1

SMS Alert in cas of power faillure

Posted: Mon May 27, 2019 1:18 pm
by Don Gouada
hello !!
are you fine i hope.
i wish my raspberry send me sms when my power faillure.
i have raspberry pi 3, 3G key(Huawei E3531). i now general configuration but i'm not able to make the link betwen my power faillure and sms sending. i need your prcious help.
ths

Re: SMS Alert in cas of power faillure

Posted: Tue May 28, 2019 8:34 am
by pcmanbob
Hi.

The first thing your pi will need is battery backup to keep it working when your supply fails , then you just need to use a gpio pin to monitor the supply and when it fails you trigger your sms send , you can do this in a simple python program.

For supply monitoring I suggest you use a small low voltage psu like the one supplying your pi and just interface it to the pi gpio , when the supply fails your psu will fail and so trigger your sms.

Re: SMS Alert in cas of power faillure

Posted: Tue May 28, 2019 2:43 pm
by Andyroo
You could even go way over the top and link in Solar power to keep the Pi and battery running.

Something like this https://uk.pi-supply.com/products/pijuice-standard will let you Pi go green :lol:

One other thing I use is an external monitoring system by Uptime Robot as I live in an area of poor to no mobile signal. This also picks up if the broadband dies :)