Over the last few days I have been working on a simple little project to monitor my energy usage at home. A project I have called watz: https://github.com/scottsweb/watz
watz is a WiFi smart meter / pulse counter. It mounts to the LED on your electricity meter and measures the number of pulses in a given time period. This is used to generate real time power information. This data is periodically pushed to the Particle cloud and can be subscribed to via server-sent events.
My meter is based in a cupboard outside the house so powering the project is tricky. I have tried to optimise the code for power efficiency - pushing data every 15 minutes with WiFi off most of the time. I have a small solar panel and battery but I feel these are still only going to give a few days at the current rate (it is winter and there is very little sun at the moment).
What I may try and do is up the interval for data collection but send the data in batches every 6 hours or so. Any tips would be appreciated.
Here it is: