Dear Giejay,
Here are the details of my problem and the config and log files.
I started out by installing ZHA and use your automation but nothinh got triggered. HA only showed 3 items, battery, LQI and RSSI. So I decided to install Zigbee2mqtt. I took me a while to figure out the config, not exactly plug and play but once paired 4 items were visible in HA, the 3 from before and now “action” which was promising.
However, not all the buttons work, some have INVALID_STATUS and each time I delete and repair the remote the problem remains but not always on the same buttons, maybe a timing issue on the pairing?
Here is my configuration.yaml for zigbee2mqtt.
homeassistant: true
advanced:
network_key:
- 169
- 59
- 133
- 110
- 45
- 19
- 102
- 15
- 48
- 136
- 86
- 96
- 78
- 117
- 47
- 232
pan_id: 62396
ext_pan_id:
- 58
- 125
- 75
- 18
- 77
- 40
- 97
- 180
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
mqtt:
server: mqtt://core-mosquitto:1883
user: mqtt_user
password: ********
frontend:
port: 8099
serial:
port: >-
/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_c6c4383c9eb3ed11a6784faca7669f5d-if00-port0
adapter: ember
device_options:
legacy: false
devices:
'0x94deb8fffebe1e3f':
friendly_name: MiBoxer-0x94deb8fffebe1e3f
Here is the Zigbee2mqtt log for the pairing
[2024-08-04 18:41:29] info: zh:ember: [NCP COUNTERS] 0,469,7,2,0,0,2,2,0,2,0,0,60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
[2024-08-04 18:41:29] info: zh:ember: [ASH COUNTERS] 57,12,3,9,0,0,0,0,252,9,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[2024-08-04 18:47:43] info: z2m: Removing device 'MiBoxer-0x94deb8fffebe1e3f' (block: false, force: true)
[2024-08-04 18:47:43] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/battery/config', payload 'null'
[2024-08-04 18:47:43] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/MiBoxer-0x94deb8fffebe1e3f', payload ''
[2024-08-04 18:47:43] info: z2m: Successfully removed device 'MiBoxer-0x94deb8fffebe1e3f' (block: false, force: true)
[2024-08-04 18:47:43] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/remove', payload '{"data":{"block":false,"force":true,"id":"MiBoxer-0x94deb8fffebe1e3f"},"status":"ok","transaction":"7eyfu-1"}'
[2024-08-04 18:47:43] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/voltage/config', payload 'null'
[2024-08-04 18:47:43] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/action/config', payload 'null'
[2024-08-04 18:47:43] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/linkquality/config', payload 'null'
[2024-08-04 18:48:28] info: z2m: Zigbee: allowing new devices to join.
[2024-08-04 18:48:28] info: zh:ember: [STACK STATUS] Network opened.
[2024-08-04 18:48:29] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"7eyfu-2"}'
[2024-08-04 18:48:30] info: zh:controller: Interview for '0x94deb8fffebe1e3f' started
[2024-08-04 18:48:30] info: z2m: Device '0x94deb8fffebe1e3f' joined
[2024-08-04 18:48:30] info: z2m: Starting interview of '0x94deb8fffebe1e3f'
[2024-08-04 18:48:30] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x94deb8fffebe1e3f","ieee_address":"0x94deb8fffebe1e3f"},"type":"device_joined"}'
[2024-08-04 18:48:30] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x94deb8fffebe1e3f","ieee_address":"0x94deb8fffebe1e3f","status":"started"},"type":"device_interview"}'
[2024-08-04 18:48:30] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x94deb8fffebe1e3f","ieee_address":"0x94deb8fffebe1e3f"},"type":"device_announce"}'
[2024-08-04 18:48:33] info: zh:controller: Succesfully interviewed '0x94deb8fffebe1e3f'
[2024-08-04 18:48:33] info: z2m: Successfully interviewed '0x94deb8fffebe1e3f', device has successfully been paired
[2024-08-04 18:48:33] info: z2m: Device '0x94deb8fffebe1e3f' is supported, identified as: MiBoxer RGB+CCT Remote (FUT089Z)
[2024-08-04 18:48:33] info: z2m: Configuring '0x94deb8fffebe1e3f'
[2024-08-04 18:48:33] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94deb8fffebe1e3f"],"manufacturer":"MiBoxer","model":"RGB+CCT Remote (FUT089Z)","name":"0x94deb8fffebe1e3f","via_device":"zigbee2mqtt_bridge_0xbc026efffed1a938"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","object_id":"0x94deb8fffebe1e3f_battery","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x94deb8fffebe1e3f","unique_id":"0x94deb8fffebe1e3f_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
[2024-08-04 18:48:33] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"RGB+CCT Remote","exposes":[{"access":1,"category":"diagnostic","description":"Remaining battery in %, can take up to 24 hours before reported","label":"Battery","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"category":"diagnostic","description":"Voltage of the battery in millivolts","label":"Voltage","name":"voltage","property":"voltage","type":"numeric","unit":"mV"},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["on","off","brightness_move_to_level","color_temperature_move","move_to_hue_and_saturation"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"FUT089Z","options":[{"access":2,"description":"Simulate a brightness value. If this device provides a brightness_move_up or brightness_move_down action it is possible to specify the update interval and delta. The action_brightness_delta indicates the delta for each interval. ","features":[{"access":2,"description":"Delta per interval, 20 by default","label":"Delta","name":"delta","property":"delta","type":"numeric","value_min":0},{"access":2,"description":"Interval duration","label":"Interval","name":"interval","property":"interval","type":"numeric","unit":"ms","value_min":0}],"label":"Simulated brightness","name":"simulated_brightness","property":"simulated_brightness","type":"composite"}],"supports_ota":false,"vendor":"MiBoxer"},"friendly_name":"0x94deb8fffebe1e3f","ieee_address":"0x94deb8fffebe1e3f","status":"successful","supported":true},"type":"device_interview"}'
[2024-08-04 18:48:33] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94deb8fffebe1e3f"],"manufacturer":"MiBoxer","model":"RGB+CCT Remote (FUT089Z)","name":"0x94deb8fffebe1e3f","via_device":"zigbee2mqtt_bridge_0xbc026efffed1a938"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","object_id":"0x94deb8fffebe1e3f_voltage","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x94deb8fffebe1e3f","unique_id":"0x94deb8fffebe1e3f_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}'
[2024-08-04 18:48:33] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/action/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94deb8fffebe1e3f"],"manufacturer":"MiBoxer","model":"RGB+CCT Remote (FUT089Z)","name":"0x94deb8fffebe1e3f","via_device":"zigbee2mqtt_bridge_0xbc026efffed1a938"},"enabled_by_default":true,"icon":"mdi:gesture-double-tap","name":"Action","object_id":"0x94deb8fffebe1e3f_action","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x94deb8fffebe1e3f","unique_id":"0x94deb8fffebe1e3f_action_zigbee2mqtt","value_template":"{{ value_json.action }}"}'
[2024-08-04 18:48:33] info: z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94deb8fffebe1e3f/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94deb8fffebe1e3f"],"manufacturer":"MiBoxer","model":"RGB+CCT Remote (FUT089Z)","name":"0x94deb8fffebe1e3f","via_device":"zigbee2mqtt_bridge_0xbc026efffed1a938"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x94deb8fffebe1e3f_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x94deb8fffebe1e3f","unique_id":"0x94deb8fffebe1e3f_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
[2024-08-04 18:48:34] info: z2m: Successfully configured '0x94deb8fffebe1e3f'
[2024-08-04 18:48:35] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":null,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:12] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":108,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:12] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:12] info: z2m:mqtt: MQTT publish: topic 'homeassistant/device_automation/0x94deb8fffebe1e3f/action_on/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0x94deb8fffebe1e3f"],"manufacturer":"MiBoxer","model":"RGB+CCT Remote (FUT089Z)","name":"0x94deb8fffebe1e3f","via_device":"zigbee2mqtt_bridge_0xbc026efffed1a938"},"origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"payload":"on","subtype":"on","topic":"zigbee2mqtt/0x94deb8fffebe1e3f/action","type":"action"}'
[2024-08-04 18:50:12] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:50:14] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"off","action_group":108,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:14] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:14] info: z2m:mqtt: MQTT publish: topic 'homeassistant/device_automation/0x94deb8fffebe1e3f/action_off/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0x94deb8fffebe1e3f"],"manufacturer":"MiBoxer","model":"RGB+CCT Remote (FUT089Z)","name":"0x94deb8fffebe1e3f","via_device":"zigbee2mqtt_bridge_0xbc026efffed1a938"},"origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"payload":"off","subtype":"off","topic":"zigbee2mqtt/0x94deb8fffebe1e3f/action","type":"action"}'
[2024-08-04 18:50:14] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'off'
[2024-08-04 18:50:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":101,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:50:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":102,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:50:21] error: zh:ember: Error: Failed to register group '103' in multicast table with status=INVALID_STATE.
[2024-08-04 18:50:23] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":104,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:23] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:23] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:50:26] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":105,"battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:26] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":255,"voltage":3000}'
[2024-08-04 18:50:26] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:50:28] error: zh:ember: Error: Failed to register group '106' in multicast table with status=INVALID_STATE.
[2024-08-04 18:52:43] info: zh:ember: [STACK STATUS] Network closed.
[2024-08-04 18:56:57] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":108,"battery":100,"linkquality":224,"voltage":3000}'
[2024-08-04 18:56:57] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":224,"voltage":3000}'
[2024-08-04 18:56:57] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:56:59] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"off","action_group":108,"battery":100,"linkquality":216,"voltage":3000}'
[2024-08-04 18:56:59] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":216,"voltage":3000}'
[2024-08-04 18:56:59] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'off'
[2024-08-04 18:57:01] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":101,"battery":100,"linkquality":224,"voltage":3000}'
[2024-08-04 18:57:01] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":224,"voltage":3000}'
[2024-08-04 18:57:01] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:57:03] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":102,"battery":100,"linkquality":220,"voltage":3000}'
[2024-08-04 18:57:03] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":220,"voltage":3000}'
[2024-08-04 18:57:03] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:57:05] error: zh:ember: Error: Failed to register group '103' in multicast table with status=INVALID_STATE.
[2024-08-04 18:57:06] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":104,"battery":100,"linkquality":224,"voltage":3000}'
[2024-08-04 18:57:06] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":224,"voltage":3000}'
[2024-08-04 18:57:06] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:57:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"on","action_group":105,"battery":100,"linkquality":228,"voltage":3000}'
[2024-08-04 18:57:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{"action":"","battery":100,"linkquality":228,"voltage":3000}'
[2024-08-04 18:57:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f/action', payload 'on'
[2024-08-04 18:57:09] error: zh:ember: Error: Failed to register group '106' in multicast table with status=INVALID_STATE.
and here is the mqtt trace for some button presses
zigbee2mqtt/bridge/logging << {"level":"info","message":"z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{\"action\":\"on\",\"action_group\":108,\"battery\":100,\"linkquality\":224,\"voltage\":3000}'"}
zigbee2mqtt/0x94deb8fffebe1e3f/action << on
zigbee2mqtt/0x94deb8fffebe1e3f/action << off
zigbee2mqtt/bridge/logging << {"level":"info","message":"z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{\"action\":\"on\",\"action_group\":101,\"battery\":100,\"linkquality\":224,\"voltage\":3000}'"}
zigbee2mqtt/0x94deb8fffebe1e3f/action << on
zigbee2mqtt/bridge/logging << {"level":"info","message":"z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94deb8fffebe1e3f', payload '{\"action\":\"on\",\"action_group\":102,\"battery\":100,\"linkquality\":220,\"voltage\":3000}'"}
zigbee2mqtt/0x94deb8fffebe1e3f/action << on
zigbee2mqtt/bridge/logging << {"level":"error","message":"zh:ember: Error: Failed to register group '103' in multicast table with status=INVALID_STATE."}
zigbee2mqtt/0x94deb8fffebe1e3f/action << on
zigbee2mqtt/0x94deb8fffebe1e3f/action << on
zigbee2mqtt/bridge/logging << {"level":"error","message":"zh:ember: Error: Failed to register group '106' in multicast table with status=INVALID_STATE."}
Many thanks for your help, any ideas gratefully received.
Best regards, Colin