Challenge to the opensource community:
Create an integration between zapier and Allow2. (and maybe IFTTT?)
refer to https://github.com/Allow2/Allow2.github.io/wiki for more details.
If light turns on: start recording time for electricity If electricity quota runs out, turn off light If light turns off stop usage recording for electricity
Etc...