In order to teach my children about power consumption and how flipping a switch affects that I want to install a RGB lightbulb in my house that changes colour based on the energy consumption of the whole house. I already managed to monitor power consumption, but am now struggling a little bit on how to use that data to change the colour of the light.
Did anyone on the forums ever tried to achieve something similar?