Generic Energy Sensor

Have a look at this, it will do what you want