I would want a way to detect when the power goes off in my house. It currently happens at least one a day in this season, and an alert on my phone would be great. I was thinking to use IFTTT for this part.
To power the spark during the power failure, I was thinking to use the battery shield, which would get its power from a wall charger. So when the power goes down, the spark is still powered by the battery.
To detect that the spark is powered by the battery, I could connect an input to the wall charger 5V through a resistor.
My main doubt is on the battery shield. Is it ok to keep it always connected to the wall charger? The battery would be used a few minutes per day only.
Thanks for your advise