TGTGInsighttelegram intelligenceLIVE / telegram public index
← Off The Grid
Off The Grid avatar

TGINSIGHT POST

Post #9925

@offthegridofficial

Off The Grid

Views1,230Post view count
PostedApr 604/06/2026, 11:18 AM
Post content

Post content

A little something for the nerds about home assistant. When you sample (measure) power draw for a device, it'll be in watts. That's instantaneous power. If you want to keep tabs on how much each device uses each day or month, you'll want to record that as watthours or kWh. If you want to calculate it manually in node red (a programming language within home assistant), you'll need to figure out how many of your sampling intervals there are in an hour. Example:once a minute is 60 intervals in an hour. So take the watts at this moment/60 and add that very small number to your on going total of Wh. Or... you can create a "sensor node" and configure a sensor for power that is available within home assistant. (continued)