zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

IKEA devices: No converter available for XXX with cluster genScenes and type attributeReport and data {currentScene:XXX}

Open AlexKay88 opened this issue 4 years ago • 4 comments

What happened?

Debug log shows that some IKEA devices report current scene number, but there ist no converter available. (shown log messages are repeated several times) With a little guidance I am willing to write a converter, if this is wanted.

Device https://www.zigbee2mqtt.io/devices/ICPSHC24-10EU-IL-1.html No converter available for 'ICPSHC24-10EU-IL-1' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":255}'

Device https://www.zigbee2mqtt.io/devices/L1528.html No converter available for 'L1528' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":2}'

Device https://www.zigbee2mqtt.io/devices/LED1545G12.html No converter available for 'LED1545G12' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":3}'

Device https://www.zigbee2mqtt.io/devices/T1828.html No converter available for 'T1828' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":1}'

I guess there should be something in fromZigbee.js like

    ikea_current_scene: {
        cluster: 'genScenes',
        type: 'attributeReport',
        convert: (model, msg, publish, options, meta) => {
            if (msg.data.hasOwnProperty('currentScene')) {
               return {currentScene: msg.data['currentScene']};
            }
        },
    },

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.25.0-dev

Adapter firmware version

0x26720700

Adapter

ConBee2

Debug log

No response

AlexKay88 avatar Apr 20 '22 12:04 AlexKay88

Did further tests. Using a 5-button-remote IKEA E5124 to control a light bulb IKEA LED1545G12 the bulb reports the currentScene as defined in group name: g_scenes (#65289). Group #65289 is a special group to support color_temperature.

debug 2022-04-30 13:38:21: No converter available for 'LED1545G12' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":1}'
debug 2022-04-30 13:38:41: No converter available for 'LED1545G12' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":2}'
debug 2022-04-30 13:38:51: No converter available for 'LED1545G12' with cluster 'genScenes' and type 'attributeReport' and data '{"currentScene":3}'

AlexKay88 avatar Apr 30 '22 12:04 AlexKay88

Checked devices/ikea.js: Bind cluster genScenes to coordinator for IKEA lights/bulbs is not done by default. Looks like I manually bound genScenes some time ago myself. Assume that's the reason why I see currentScene reported.

AlexKay88 avatar Apr 30 '22 14:04 AlexKay88

Unsure if it makes sense to expose currentScene number, if one doesn't know what the scene contains... May also be redundant, if the device reports e.g. brightness, color_temp after getting the scene.

AlexKay88 avatar Apr 30 '22 19:04 AlexKay88

IMHO does not provide any real value add.

AlexKay88 avatar May 02 '22 15:05 AlexKay88