Hi, I have an all-time cumulative Wh energy sensor that just always keeps counting up. It could range from 1 Wh every hour to 1 Wh every 30 seconds, so I want to be able to calculate how many W are being used in real time from that Wh sensor. Thanks in advance
The derivative of energy with respect to time is power. So:
Note however that it will only update when your energy sensor changes state.