bernix88
(Bernhard)
October 14, 2022, 9:32am
1
Hello, i try to get my KNX power statics into the Energy Dashboard.
sensor:
- name: "Waschmaschine Stromverbrauch"
state_address: '2/2/33'
type: 'power'
state_class: 'total'
but i cant add it in the energy dashboard - its not listed there
farmio
(Matthias Alphart)
October 14, 2022, 3:09pm
2
Yes, it’s an energy dashboard. You need energy entities (Wh) not power entities (W). See Understanding Home Energy Management - Home Assistant
MarcW22
(Marc W22)
March 4, 2023, 5:14pm
3
I have the problem too.
I have an KNX Energy Meter installed which delivers kWh (MDT EZ-0363.01) as a 4 bytes datatype 13.013.
in Home Assistant my yaml looks like this
- name: "KWh Verbrauch gesamt"
state_address: "1/4/1"
type: active_energy
sync_state: every 1
and the entity looks like this
but i can’t select it in the energy Dashboard. Any idea what i’m dooing wrong?
farmio
(Matthias Alphart)
March 4, 2023, 5:20pm
4
You are missing state_class: total_increasing
.
MarcW22
(Marc W22)
March 4, 2023, 5:26pm
5
Man you’re awesome ! Thanks a lot it works !!!
1 Like
MarcW22
(Marc W22)
March 4, 2023, 7:28pm
6
So now i have the next problem. My KNX is reporting kWh at the moment it switched to 1 kWh. Home Assistant is showing it as 0.001 kWh
i tried to switch the unit of measure to WH in Home Assistant but it didn’t change the problem as it shows then just 1 Wh instead of 1 kWh
Is there an option in the yaml / KNX Integration to select the unit of measure?
MarcW22
(Marc W22)
March 4, 2023, 7:29pm
7
i found it by trying this
type: active_energy_kwh
instead of
type: active_energy
1 Like
wgumaa
(Waleed)
January 16, 2024, 1:50pm
8
Hi all, maybe some one can help. I have a KNX light installation which I have successfully got into Home Assistant. My yaml (in part looks like this).
# Spot Lights Dimmable #
- name: "Bathroom Spots"
address: "1/0/12"
state_address: "1/0/13"
brightness_address: "1/0/15"
brightness_state_address: "1/0/16"
But I also have an address of 1/0/11 “Active POWER meter” from my KNX group report.
How would I incorporate that into the yaml to get a reading for light energy consumption?
.
farmio
(Matthias Alphart)
January 16, 2024, 2:16pm
9
Hi !
Use a Knx sensor entity for this.
wgumaa
(Waleed)
January 16, 2024, 2:41pm
10
Thanks @farmio , can you give me an example yaml please?
wgumaa
(Waleed)
January 16, 2024, 3:01pm
12
are you referring to this?
wgumaa
(Waleed)
January 16, 2024, 3:12pm
13
@farmio Ok here is my code:
# Energy #
sensor:
- name: "Bathroom Spots Energy"
state_address: '1/0/11'
type: 'power'
state_class: 'total'
Turned on the lights but no reading. What have I got wrong? I see the entity but its not displaying any data.
farmio
(Matthias Alphart)
January 16, 2024, 3:17pm
14
I can’t say. It depends on the configuration of your actuator and the Knx telegrams it sends.
1 Like