This is an example project demonstrating how to use a PiJuice UPS board with a Rasperry Pi. The main idea of the UPS board is to keep your device up and running in case of an outage. If you would like to know more information about the board, click here.
Go to twilio and create an account, and do a text message setup. You will then need to add these variables to Device Environment Variables
.
TWILIO_ALARM
= True
TWILIO_FROM_NUMBER
= +1...
TWILIO_NUMBER
= +1...
TWILIO_SID
= ...
TWILIO_TOKEN
= ...
If you set TWILIO_ALARM
to True
, it means that once your device is disconnected from power, you will start receiving messages every hour until de power runs out.