Search for a way to control Tado over Home Assistent with KNX

Hello Community,

I´m very new with HA.

Is there a way to control Tado over HA with KNX?

Some things like current room temp and current humidity to KNX i have figured out by my self. This was not a problem.

But i want to control my target room temp over KNX and like to have a feedback of the target Room Temp from Tado to KNX.

In the Tado intgration it haves only the climate entity and i don´t have any idea what to do with it.

greetings, Wolle

Hi :wave:!
Use a knx expose to get the current temp to KNX.
And knx_event as trigger for an automation to set the target temp from knx to the Tado entity. Or a knx sensors state. expose again to have state feedback to the bus. Or use a knx number entity and synchronize it with the Tado entity.

Hi Matthias, sounds good, but i don´t know how to do this.
I´m very new with HA and there is many what i don´t have understand for now.

I have no states in KNX. I only want to use the tado things.

current temperature is not a problem to get in KNX with expose. There is a solo entity for current temp i can use, but there is no solo entity for target temperatur and target temperatur status.

The Problem ist to send a target temperatur from KNX to Tado and when i change the target temperatur in my tado app i have no idea how to update the target temperature to my knx.

" Or use a knx number entity and synchronize it with the Tado entity."
How can i do this?

thanks for help

use knx expose exposing the attribute of the tado climate entity (I don’t know Tado, but I guess it has a climate entity there). This will be a usable GA in KNX for target temperature status (to update the knx devices so they show the correct current target temperature).

For setting a new target temperature your knx device will have to send to another GA that you can pick up with knx_event https://www.home-assistant.io/integrations/knx/#events in an automation and use the climate.set_temperature service to set it https://www.home-assistant.io/integrations/climate/#service-climateset_temperature

" use knx expose exposing the attribute of the tado climate entity"

Yes Tado has a climate entity, but i dont know how to get only the target temperature Status from it.

Only this:

 # Wohnen Test
    - type: temperature
      entity_id: climate.wohnen
      address: "4/1/2"

doesn´t work.

Add

attribute: temperature

To not expose the current state, but the temperature attribute.

This works fine, thank you. Which kind of attributes it haves in climate?

Now the next thing.

automation:
  - trigger:
      - platform: event
        event_type: knx_event
        event_data:
          destination: "0/4/20"
   action:
    - service: climate.set_temperature
      target:
        entity_id: climate.kitchen
      data:
        temperature: 24

Is this the correct way to change the temperature?
And how kann i get my KNX address Data from 0/4/20 instead of

data:
  temperature: 24

greetings, Wolle

It’s in the trigger data. If you have set a type: in the event: config, it is available with

"{{ trigger.event.data.value }}"

You mean

automation:
  - trigger:
      - platform: event
        event_type: knx_event
        event_data:
          type: temperature
          destination: "0/4/20"
   action:
    - service: climate.set_temperature
      target:
        entity_id: climate.kitchen
      data:
        temperature: "{{ trigger.event.data.value }}"

?

No, not here but in the knx: event config in configuration.yaml

knx:
  event:
    - address:
        - "0/4/20"
      type: "temperature"  # this sets how the payload will be encoded. 
      # if ommitted it will not be encoded at all 
      # -> trigger.event.data.value will be None
      # only trigger.event.data.data is available then which is the raw telegram payload

It doesn´t work.

i have put these in configuration.yaml in the knx Part

event:
    - address:
        - "0/4/20"
      type: "temperature" 

and put these in automation.yaml

- trigger:
      - platform: event
        event_type: knx_event
        event_data:
          type: temperature
          destination: "0/4/20"
   action:
    - service: climate.set_temperature
      target:
        entity_id: climate.kitchen
      data:
        temperature: "{{ trigger.event.data.value }}"

what am I doing wrong?

Remove this from the automation trigger.

It does´t work.

here my original yaml files.

part in configuration.yaml


knx:
  event:
    - address:
        - "4/1/2"
      type: "temperature"

part in automation.yaml

- trigger:
    - platform: event
      event_type: knx_event
      event_data:
        destination: "4/1/2"
  action:
    - service: climate.set_temperature
      target:
        entity_id: climate.wohnen
      data:
        temperatue: "{{ trigger.event.data.value }}"

What is my problem?

Don’t know, looks fine now.
Have you restarted? What does the automation debugger say?

i don´t know the automation debugger, how can i find it?

thank you very much for your patience and help

i think a debug could help. But how i said, im very new :wink:

are there the right spaces and lines in my code?

Or have a look in the logs of some error popped up.

are you german?

Austrian 🤷

dann könnten wir auch in deutsch sprechen, aber für das forum ist wahrscheinlich english besser.

aber unter spuren (traces) steht garnichts drin, ich kann sehen dass der trigger ausgelöst wird, es passiert aber nichts.