Hi,
I’m currently running a zwave2mqtt + mosquitto installation on a separate rpi which is working fine. Yesterday I added zigbee2mqtt to the rpi to control an IKEA TRADFRI Driver 10W (ICPSHC24-10EU-IL-1).
The led driver is successfully added to zigbee2mqtt and I can turn the led’s on and off. The led driver is also discovered by HA, but the light entities are missing.
It looks like zigbee2mqtt is publishing the light enitities:
Connected to MQTT server
info 2023-10-09 22:26:38: MQTT publish: topic 'zigbee/bridge/state', payload '{"state":"online"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'zigbee/Vitrine/availability', payload '{"state":"online"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'zigbee/Vitrinekast/availability', payload '{"state":"online"}'
info 2023-10-09 22:26:39: Started frontend on port 0.0.0.0:8080
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/light/0xb43522fffe6bf5d2/light/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","brightness":true,"brightness_scale":254,"command_topic":"zigbee/Vitrine/set","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"effect":true,"effect_list":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"json_attributes_topic":"zigbee/Vitrine","name":null,"object_id":"vitrine","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"schema":"json","state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_light_zigbee"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/select/0xb43522fffe6bf5d2/effect/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee/Vitrine/set/effect","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"enabled_by_default":false,"icon":"mdi:palette","json_attributes_topic":"zigbee/Vitrine","name":"Effect","object_id":"vitrine_effect","options":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"unique_id":"0xb43522fffe6bf5d2_effect_zigbee"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/sensor/0xb43522fffe6bf5d2/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:power-settings","json_attributes_topic":"zigbee/Vitrine","name":"Power-on behavior","object_id":"vitrine_power_on_behavior","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_power_on_behavior_zigbee","value_template":"{{ value_json.power_on_behavior }}"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/select/0xb43522fffe6bf5d2/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee/Vitrine/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"entity_category":"config","icon":"mdi:power-settings","json_attributes_topic":"zigbee/Vitrine","name":"Power-on behavior","object_id":"vitrine_power_on_behavior","options":["off","on","toggle","previous"],"origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_power_on_behavior_zigbee","value_template":"{{ value_json.power_on_behavior }}"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/sensor/0xb43522fffe6bf5d2/linkquality/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee/Vitrine","name":"Linkquality","object_id":"vitrine_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_linkquality_zigbee","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/sensor/0xb43522fffe6bf5d2/update_state/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","json_attributes_topic":"zigbee/Vitrine","name":"Update state","object_id":"vitrine_update_state","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_update_state_zigbee","value_template":"{{ value_json['update']['state'] }}"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/binary_sensor/0xb43522fffe6bf5d2/update_available/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee/Vitrine","name":null,"object_id":"vitrine_update_available","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_update_available_zigbee","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'homeassistant/update/0xb43522fffe6bf5d2/update/config', payload '{"availability":[{"topic":"zigbee/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee/Vitrine/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0xb43522fffe6bf5d2"],"manufacturer":"IKEA","model":"TRADFRI driver for wireless control (10 watt) (ICPSHC24-10EU-IL-1)","name":"Vitrine","sw_version":"1.0.002"},"device_class":"firmware","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","json_attributes_topic":"zigbee/Vitrine","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee/Vitrine","name":null,"object_id":"vitrine","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"payload_install":"{\"id\": \"0xb43522fffe6bf5d2\"}","state_topic":"zigbee/Vitrine","unique_id":"0xb43522fffe6bf5d2_update_zigbee","value_template":"{{ value_json['update']['installed_version'] }}"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'zigbee/bridge/state', payload '{"state":"online"}'
info 2023-10-09 22:26:39: MQTT publish: topic 'zigbee/Vitrine', payload '{"brightness":57,"device":{"applicationVersion":16,"dateCode":"20181203","friendlyName":"Vitrine","hardwareVersion":1,"ieeeAddr":"0xb43522fffe6bf5d2","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","model":"ICPSHC24-10EU-IL-1","networkAddress":12315,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.002","stackVersion":103,"type":"Router","zclVersion":8},"level_config":{"on_level":"previous"},"linkquality":84,"power_on_behavior":"off","state":"ON","update":{"installed_version":65538,"latest_version":65538,"state":"idle"},"update_available":null}'
info 2023-10-09 22:26:39: Zigbee2MQTT started!
And HA is also receiving the events (action and brightness are changed):
Event 17 fired 3:15 PM:
{
"event_type": "state_changed",
"data": {
"entity_id": "select.vitrine_power_on_behavior",
"old_state": {
"entity_id": "select.vitrine_power_on_behavior",
"state": "off",
"attributes": {
"options": [
"off",
"on",
"toggle",
"previous"
],
"action": "",
"brightness": 2,
"device": {
"applicationVersion": 16,
"dateCode": "20181203",
"friendlyName": "Vitrine",
"hardwareVersion": 1,
"ieeeAddr": "0xb43522fffe6bf5d2",
"manufacturerID": 4476,
"manufacturerName": "IKEA of Sweden",
"model": "ICPSHC24-10EU-IL-1",
"networkAddress": 12315,
"powerSource": "Mains (single phase)",
"softwareBuildID": "1.0.002",
"stackVersion": 103,
"type": "Router",
"zclVersion": 8
},
"level_config": {
"on_level": "previous"
},
"linkquality": 112,
"power_on_behavior": "off",
"update": {
"installed_version": 65538,
"latest_version": 65538,
"state": "idle"
},
"update_available": null,
"icon": "mdi:power-settings",
"friendly_name": "Power-on behavior"
},
"last_changed": "2023-10-09T20:26:39.213786+00:00",
"last_updated": "2023-10-10T13:15:22.309398+00:00",
"context": {
"id": "37b4ad5c1bdaa53c507cba2e542d22eb",
"parent_id": null,
"user_id": null
}
},
"new_state": {
"entity_id": "select.vitrine_power_on_behavior",
"state": "off",
"attributes": {
"options": [
"off",
"on",
"toggle",
"previous"
],
"brightness": 1,
"device": {
"applicationVersion": 16,
"dateCode": "20181203",
"friendlyName": "Vitrine",
"hardwareVersion": 1,
"ieeeAddr": "0xb43522fffe6bf5d2",
"manufacturerID": 4476,
"manufacturerName": "IKEA of Sweden",
"model": "ICPSHC24-10EU-IL-1",
"networkAddress": 12315,
"powerSource": "Mains (single phase)",
"softwareBuildID": "1.0.002",
"stackVersion": 103,
"type": "Router",
"zclVersion": 8
},
"level_config": {
"on_level": "previous"
},
"linkquality": 112,
"power_on_behavior": "off",
"update": {
"installed_version": 65538,
"latest_version": 65538,
"state": "idle"
},
"update_available": null,
"icon": "mdi:power-settings",
"friendly_name": "Power-on behavior"
},
"last_changed": "2023-10-09T20:26:39.213786+00:00",
"last_updated": "2023-10-10T13:15:23.239036+00:00",
"context": {
"id": "26365b67e75c0e5b5b4b1cfdf477985d",
"parent_id": null,
"user_id": null
}
}
},
"origin": "LOCAL",
"time_fired": "2023-10-10T13:15:23.239036+00:00",
"context": {
"id": "26365b67e75c0e5b5b4b1cfdf477985d",
"parent_id": null,
"user_id": null
}
}
Unfortunately the only the ‘select’ entity is pickup by HA, not the light entity.
Did I missed a specific configuration?