I want to make my Raspberry Pi to detect AC power outage and send E-mail/SMS accordingly.
The Pi I have is model B not the B+.
Now I have read other posts but my request is different.
The idea is that PI will be like network monitor device it will do all sorts of things but what I want to start with to get a grip on developer boards is to detect power outage.
The idea is that Rapsbery PI will have external power battery for sustained working time like this one https://www.adafruit.com/product/1566, so I need to figure out how to use GPIO pins to check AC outlet power outage. In my mind this should be trivial, somekind of device that drops power from 220V to 3.3V or 5V so that I can connect it to PI GPIO and ground and check whether there is incoming power, if not the power is down -> send SMS.
Now I have a bit of knowledge in programming but I have 0 knowledge in devboards, wires and soldering.
So if anyone would be so kind do direct me in needed direction as to what I need to do to make this happen I would be really grateful.
Another side question is what programming framework are you using? Im used to work in Visual Studio .net but prob. I will need some other kind of framework for PI applications?