Feature Request: Light, plug, switch monitoring

Thinglayer is close to what you are looking for.

Its not actively being developed and not a simple turn key install. Hopefully one day it will be rolled in.