HA to KNX kW

Hello

i have a short question:
is there an possibility to send a expose every 1 minunte because it wont sync after restart anymore

here is my configuration

Blockquote expose:
- type: ‘power_2byte’
entity_id: ‘sensor.solaredge_kilowatt_sensor’
address: ‘20/3/1’
- type: ‘power_2byte’
entity_id: ‘sensor.solaredge_power_consumption’
address: ‘20/3/0’
- type: ‘power_2byte’
entity_id: ‘sensor.solaredge_grid_power’
address: ‘20/3/2’

I don’t understand what you meant here.

You can do an automation using the knx.send service instead of an expose if you want regular sending intervals. Expose only sends on state changes.

yeah okay thank u then i got to make a script or an automation?

Blockquote

  • id: knx_send_cyclical_Produktion

    alias: KNX send cyclical Produktion

    trigger:

    • platform: time_pattern

      minutes: “/1”

    action:

    • service: knx.send

      data:

      address: 20/3/1

      payload: “{{ states(‘sensor.solaredge_kilowatt_sensor’) }}”

      type: power_2byte

would this be right now i want to update it every minute.
i use it to switch on or off an 6kW heater when there is enugh energy but the logic is build in KNX
so i only need the updated solar power produktion sensor

You may need to cast the states to int or float, but I’m not sure. Just try it out and see if it works.
Your specific usecases should work fine with expose tough.

As I said: an automation. A script is invoked manually like a push button.

okay thank u it worked so far :smile: