Ever wondered if there is electricity at your house while you are at work? We used to live in an area of frequent power cuts. Sometimes they would take hours to come back on. And sometimes, it was simply human error: the meter reader would simply remove the fuse for the wrong apartment. In either case, my poor mother, would wait, hours on end, for it to come back on...
Hence I built a small android app using Google spreadsheet, and, Google Scripts.
That solution involved posting a "heartbeat" at a regular interval from the app. They were logged in a spreadsheet. The app at some regular interval, would get the records and there was some code written to find out if the last recorded heartbeat was quite long ago (say 15 minutes). If so, notify...
The highlight of that solution though was about recycling your old android phone which could be lying around with no real purpose other than accumulate dust.
No comments:
Post a Comment