I am pretty new to HA, I have just startet du build up my HA. I have searched on topics, and found some that are like my topic, but I don’t understand how to write the command. What kind of card do i use to make this.
This is how it is: Weekday from 06.00 - 22.00 = 0.90 NOK/kWh, 22.00 - 06.00 = 0.80 NOK/kWh. In weekends from Friday 22.00 to Monday 06.00 I pay 0.80 NOK/kWh.
I hope HA can sum up my monthly costs, and a card that show me the current price. Well, I know, but my family dosent.
Yes HA will be able track and calculate costs - no need to create a card.
The Energy Dashboard, is there to track and show costs.
As for the 2 rates - there are many ways to to this, you can create an automation that based on time updates an input number helper.
Then you can use that input helper entity, as the cost input into the energy dashboard.
You will need something to track consumption or are you getting that detail from your provider via an API / integration?
Yes, I have something to track my consumption. I have a little tracker in my fuse cabinet. I tried energy dashboard, but my consumption tracker does not pop up. I need to learn more about energy dashboard.
My plan was to have a cost card in my main dashboard.
To get to this point, you need a couple of things:
1: Consumption Data - the tracked in the Fuse Cabinet
2: Utility Meter Helper - HA Dashboard → Setting → Devices & Services → Helper → Create helper → Utility meter. You will need to setup 2 Tariffs - for Peak (0.90 NOK/kWh) and Off-Peak (0.80 NOK/kWh)
3: The Utility helper will then provide the sensors that shows the consumption for Peak and Off-Peak that you can use to calculate the costs.