KNX and Energy

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

Yes, it’s an energy dashboard. You need energy entities (Wh) not power entities (W). See Understanding Home Energy Management - Home Assistant

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?

You are missing state_class: total_increasing.

Man you’re awesome ! Thanks a lot it works !!!

1 Like

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?

i found it by trying this

type: active_energy_kwh

instead of

type: active_energy
1 Like

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?
.

Hi :wave:!
Use a Knx sensor entity for this.

Thanks @farmio, can you give me an example yaml please?

just scroll up a bit :point_up_2:

are you referring to this?

@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.

I can’t say. It depends on the configuration of your actuator and the Knx telegrams it sends.

1 Like