zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Danfoss Icon2 - missing converters

Open surrealo opened this issue 1 year ago • 4 comments

What happened?

Hi,

I'm trying to use the Danfoss Icon 2 with home assistant and when I try to change exposed values I get the following messages:

2025-05-11 11:25:21z2m: No converter available for 'occupied_heating_setpoint_1' on '1F-CTRL-Bathroom': (21) 2025-05-11 11:26:12z2m: No converter available for 'min_heat_setpoint_limit_1' on '1F-CTRL-Bathroom': (4) 2025-05-11 11:26:18z2m: No converter available for 'max_heat_setpoint_limit_1' on '1F-CTRL-Bathroom': (35)

and the entities are not available

thanks!

What did you expect to happen?

for the values to be set on the physical device

How to reproduce it (minimal and precise)

pair the device and change a value in the z2m exposed page.

Zigbee2MQTT version

2.3.0 commit: unknown

Adapter firmware version

20240710

Adapter

usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus

Setup

home assistant yellow, addon

Core 2025.5.1 Supervisor 2025.04.1 Operating System 15.2 Frontend 20250509.0

Debug log

2025-05-11 11:25:21z2m: No converter available for 'occupied_heating_setpoint_1' on '1F-CTRL-Bathroom': (21) 2025-05-11 11:26:12z2m: No converter available for 'min_heat_setpoint_limit_1' on '1F-CTRL-Bathroom': (4) 2025-05-11 11:26:18z2m: No converter available for 'max_heat_setpoint_limit_1' on '1F-CTRL-Bathroom': (35)

surrealo avatar May 11 '25 09:05 surrealo

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 11 '25 00:07 github-actions[bot]

does anybody have a solution to this?

surrealo avatar Jul 11 '25 07:07 surrealo

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 11 '25 00:09 github-actions[bot]

@surrealo as a workaround I have, with help from ChatGPT, created an automation in HomeAsistant. It listens for error messages on the Danfoss Icon2. It then takes the payload of the message and extracts info about cammand, value and which endpoint (1 to 14). When having that, it sends a new mqtt message, with a command that works.

The entire automation is this yaml

alias: Danfoss Icon2 - Z2M endpoint write workaround
description: >-
  Workaround for Danfoss Icon2 multi-endpoint writes in Zigbee2MQTT. Watches Z2M
  converter errors and resends supported numeric commands directly to the
  correct endpoint.
triggers:
  - trigger: mqtt
    options:
      topic: zigbee2mqtt/bridge/logging
conditions:
  - condition: template
    value_template: >-
      {% set p = trigger.payload_json %} {% set msg = p.message | default('') %}
      {{
        p.level | default('') == 'error'
        and "No converter available for '" in msg
        and "on '0x5cc7c1fffebda71c'" in msg
      }}
actions:
  - variables:
      message: '{{ trigger.payload_json.message }}'
      original_property: '{{ message.split("''")[1] }}'
      device: '{{ message.split("''")[3] }}'
      endpoint: '{{ original_property.rsplit(''_'', 1)[1] }}'
      property: '{{ original_property.rsplit(''_'', 1)[0] }}'
      raw_value: '{{ message.rsplit('': ('', 1)[1].rsplit('')'', 1)[0] }}'
      writable_properties:
        - occupied_heating_setpoint
        - min_heat_setpoint_limit
        - max_heat_setpoint_limit
        - floor_min_setpoint
        - floor_max_setpoint
  - condition: template
    value_template: |-
      {{
        property in writable_properties
        and endpoint | int(0) >= 1
        and endpoint | int(0) <= 14
      }}
  - action: mqtt.publish
    data:
      topic: zigbee2mqtt/{{ device }}/{{ endpoint }}/set
      payload: '{"{{ property }}": {{ raw_value | float }}}'
      retain: false
mode: parallel
max: 10
max_exceeded: silent

nicolaikruger avatar Oct 02 '26 06:10 nicolaikruger