You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my atempt at a chart displaying todays prices and tomorows prices when available along with imported energy.
4
+
- Upper and Lower price threshold is calculated for today+tomorows ***comming*** price.
5
+
- Orange is upper 3:rd of the pricing interval.
6
+
- Green is lower 3:rd of the prices interval.
7
+
- Red is the upper 10% of the pricing interval.
8
+
9
+

10
+
11
+
# Pre-requirements
12
+
13
+
This has not been tested on HA earlier than 2024.9 and requires the following HACS addons:
14
+
15
+
- Nordpool - For getting energy prices.
16
+
- Apex-Charts card
17
+
- Config Template Card Card - For scripting inside the chart card.
18
+
- lovelace-card-mod - For styling.
19
+
20
+
The Nordpool entity should be changed from the default name to just "nordpool" as per the components installation instructions.
21
+
22
+
# Installation
23
+
- Copy - paste the raw card code from `card_nordpool_energy_chart.yaml` to your a new card on you lovelace dashboard. Add any card and replace the raw code that you can edit by clicking on the *SHOW CODE EDITOR* in the bottom left.
24
+
25
+
26
+
# Configuration
27
+
28
+
Configure your Nordpool integration.
29
+
30
+
In the chart-card you should change the following variables to suit your needs:
31
+
32
+
- Check so the `nordpool_sensor:` name is correct.
33
+
- The Grid import sensor name: `grid_import_sensor:` should be changed if not using Sigenergy system.
34
+
- The
35
+
- Change `currency` if needed.
36
+
-`chart_price_cutoff_coerficient` from 0 to 1 to show more or less barheight under the minimum value.
37
+
-`decimals_in_prices` and `decimals_in_energy` to indicate how many decimals to show.
38
+
-`additional_cost_template` is used for adding extra costs if not added by nordpol sensor. It should be empty or start with a arithmetic operator.
- Ads 25% taxes and then other costs as specified by the grid operator with more taxes.
42
+
- Change the Now text to any label you want to apear `now_text: '''Now'''` besides the line showing current time in the chart.
43
+
- And any of the texts below to suit your language or prefferences.
44
+
45
+
# Disable the Grid or Battery chart
46
+
47
+
## Disable the Grid chart
48
+
49
+
1. Comment out the update entity:
50
+
```
51
+
entities:
52
+
- ${nordpool_sensor}
53
+
- ${battery_soc_sensor}
54
+
# - ${grid_import_sensor}
55
+
```
56
+
57
+
2. Delete the rows starting with ```- entity: ${grid_import_sensor}``` and all rows under it until the next ```- entity:```. There are currently two such sections.
58
+
59
+
## Disable the Battery SOC
60
+
61
+
1. Comment out the update entity:
62
+
```
63
+
entities:
64
+
- ${nordpool_sensor}
65
+
# - ${battery_soc_sensor}
66
+
- ${grid_import_sensor}
67
+
```
68
+
69
+
2. Delete the row starting with ```- entity: ${battery_soc_sensor}``` and all rows under it until the next ```- entity:```. There is currently only one such section.
70
+
71
+
72
+
# Performance concerns
73
+
74
+
Most of the calculations are done serverside so it's important to have a good computer.
75
+
76
+
If the chart flickers and takes long time to load, deactivate updating the chart with each change of battery charge and grid consumption:
0 commit comments