zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

E1524/E1810 Tradfri remotes no longer work in 2.0

Open arjenanker opened this issue 11 months ago β€’ 40 comments

What happened?

After installing the 2.0 update, all my remotes no longer worked in Home Assistant. Looking at the Z2M logs, nothing happens when I push a button on a remote. Nothing in the logs whatsoever.

Trying to re-pair a remote ends up in the remote not being able to finish the interview with "Error: Interview failed because we can not get active endpoints".

I had to downgrade back to my backup of 1.42.0-2. Remotes worked again, pairing the remote that couldn't complete the interview worked straight away too.

What did you expect to happen?

I expect my remotes to work like they worked in the previous version.

How to reproduce it (minimal and precise)

Update to 2.0 and try to use a E1524 remote or try and pair a E1524 remote.

Zigbee2MQTT version

2.0

Adapter firmware version

20201026

Adapter

Texas Instruments LAUNCHXL-CC26X2R1

Setup

Addon on HA OS VM on Proxmox

Debug log

No response

arjenanker avatar Jan 06 '25 12:01 arjenanker

Could be related to breaking changes #24198

m0wlheld avatar Jan 06 '25 12:01 m0wlheld

Well, all those remotes use *_action triggers. However, the z2m logs showed absolutely nothing when I pushed buttons on those remotes, which seems odd to me. Shouldn't the logs at least say something was triggered?

And, I still can't pair them in 2.0, which seems a separate issue.

Unfortunately, I can't test any of this since I downgraded since the Z2M addon was removed so I can't update again until that is resolved.

arjenanker avatar Jan 06 '25 13:01 arjenanker

Having the exact same problem. Can no longer remotely control anything anymore, because the _action triggers are all gone from Home Assistant. I can see the actions in Zigbee2MQTT.

https://github.com/Koenkk/zigbee2mqtt/discussions/24198 gives a solution to this problem, which I will try.

Trigger solution is doubtful, because I am using IKEA tradfri remotes in the "Awesome HA Blueprints" (https://epmatt.github.io/awesome-ha-blueprints). And they only allow to enter an action sensor as controller entity.

Setting the "legacy_action_sensor: true" in configuration.yaml as mentioned in https://github.com/Koenkk/zigbee2mqtt/discussions/24198 is my workaround until the blueprint accepts triggers.

For the moment, my problem is solved.

Jopy2104 avatar Jan 06 '25 16:01 Jopy2104

Well, all those remotes use *_action triggers. However, the z2m logs showed absolutely nothing when I pushed buttons on those remotes, which seems odd to me. Shouldn't the logs at least say something was triggered?

And, I still can't pair them in 2.0, which seems a separate issue.

Unfortunately, I can't test any of this since I downgraded since the Z2M addon was removed so I can't update again until that is resolved.

I can confirm I have the same issue after updating Z2M to 2.0.0-2. I am aware of the breaking changes described in #24198, and I was able to modify the existing automations after upgrading to 2.0.0-1 and the remote was working correctly for a day until I moved to 2.0.0 - 2. As you correctly noted, there are no events in the logs when I press the buttons. The battery is 100%, tried to reset the device a few times without any luck.

eastvan avatar Jan 06 '25 18:01 eastvan

@eastvan you should see events in the debug log when pressing the buttons, do you get any?

See this on how to enable debug logging.

Koenkk avatar Jan 06 '25 20:01 Koenkk

No events whatsoever. I enabled "permit join" and try to reset the remote. The log entries related to that

[2025-01-06 13:16:35] debug: 	zh:controller: Device '0x588e81fffeb4e59b' joined
[2025-01-06 13:16:35] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-06 13:16:35] debug: 	zh:controller: Device '0x588e81fffeb4e59b' accepted by handler
[2025-01-06 13:16:35] debug: 	zh:controller: Device '0x588e81fffeb4e59b' is already in database with different network address, updating network address
[2025-01-06 13:16:35] debug: 	zh:controller:database: Writing database to '/config/zigbee2mqtt/database.db'
[2025-01-06 13:16:35] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Remote Control', payload '{"battery":90,"identify":null,"last_seen":"2025-01-06T13:16:35-08:00","linkquality":10,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"},"update_available":false}'
[2025-01-06 13:16:35] debug: 	zh:controller: Not interviewing '0x588e81fffeb4e59b', completed 'true', in progress 'false'

No events when I press any buttons after that I removed the device completely from Z2M and try to join it. I can no longer join the remote as per below

2025-01-06 13:23:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254},"status":"ok","transaction":"hcvl1-4"}'
info 2025-01-06 13:23:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x588e81fffeb4e59b', payload '{"last_seen":"2025-01-06T13:23:52-08:00","linkquality":112,"update":{"installed_version":-1,"latest_version":-1}}'
info 2025-01-06 13:23:52zh:controller: Interview for '0x588e81fffeb4e59b' started
info 2025-01-06 13:23:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x588e81fffeb4e59b', payload '{"last_seen":"2025-01-06T13:23:52-08:00","linkquality":112,"update":{"installed_version":-1,"latest_version":-1}}'
info 2025-01-06 13:23:52z2m: Device '0x588e81fffeb4e59b' joined
info 2025-01-06 13:23:52z2m: Starting interview of '0x588e81fffeb4e59b'
info 2025-01-06 13:23:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x588e81fffeb4e59b","ieee_address":"0x588e81fffeb4e59b"},"type":"device_joined"}'
info 2025-01-06 13:23:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x588e81fffeb4e59b","ieee_address":"0x588e81fffeb4e59b","status":"started"},"type":"device_interview"}'
info 2025-01-06 13:23:55z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c138b4b3838a19', payload '{"battery":88,"humidity":43.75,"last_seen":"2025-01-06T13:23:55-08:00","linkquality":109,"temperature":22.37,"voltage":2900}'
info 2025-01-06 13:24:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x588e81fffeb4e59b', payload '{"last_seen":"2025-01-06T13:24:12-08:00","linkquality":112,"update":{"installed_version":-1,"latest_version":-1}}'
info 2025-01-06 13:24:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x588e81fffeb4e59b","ieee_address":"0x588e81fffeb4e59b"},"type":"device_announce"}'
error 2025-01-06 13:24:12zh:controller: Interview failed for '0x588e81fffeb4e59b with error 'Error: Interview failed because can not get active endpoints ('0x588e81fffeb4e59b')'
error 2025-01-06 13:24:12z2m: Failed to interview '0x588e81fffeb4e59b', device has not successfully been paired

eastvan avatar Jan 06 '25 21:01 eastvan

Same issue here, when I look in z2m itself, under the "state" tab for the device I do see it registering presses. (Make sure you press different buttons, because the same button keeps sending the same things, which hides the change). The info doesn't seem to make it into HASS though.

The logs in the z2m plugin inside HASS shows these logs:

[2025-01-06 22:53:43] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ikea puck woonkamer', payload '{"action":"toggle","battery":90,"identify":null,"linkquality":43,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
[2025-01-06 22:53:43] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ikea puck woonkamer/action', payload 'toggle'
[2025-01-06 22:53:43] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ikea puck woonkamer', payload '{"action":"toggle","battery":90,"identify":null,"linkquality":43,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
[2025-01-06 22:53:43] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ikea puck woonkamer/action', payload 'toggle'

The "logbook" inside HASS shows nothing.

soostdijck avatar Jan 06 '25 21:01 soostdijck

With the 1810 TRADFRI remote I can get it to work like so:

image

For a list of all available payloads, see here: https://www.zigbee2mqtt.io/devices/E1524_E1810.html

I used the MQTT Explorer app to see the topic and payloads https://mqtt-explorer.com/

lensherm avatar Jan 07 '25 02:01 lensherm

@soostdijck have you activated the legacy triggers option?

See: https://github.com/Koenkk/zigbee2mqtt/issues/25631#issuecomment-2574110162

Fo3niks avatar Jan 07 '25 04:01 Fo3niks

No events whatsoever. I enabled "permit join" and try to reset the remote. The log entries related to that

[2025-01-06 13:16:35] debug: 	zh:controller: Device '0x588e81fffeb4e59b' joined
[2025-01-06 13:16:35] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-06 13:16:35] debug: 	zh:controller: Device '0x588e81fffeb4e59b' accepted by handler
[2025-01-06 13:16:35] debug: 	zh:controller: Device '0x588e81fffeb4e59b' is already in database with different network address, updating network address
[2025-01-06 13:16:35] debug: 	zh:controller:database: Writing database to '/config/zigbee2mqtt/database.db'
[2025-01-06 13:16:35] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Remote Control', payload '{"battery":90,"identify":null,"last_seen":"2025-01-06T13:16:35-08:00","linkquality":10,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"},"update_available":false}'
[2025-01-06 13:16:35] debug: 	zh:controller: Not interviewing '0x588e81fffeb4e59b', completed 'true', in progress 'false'

No events when I press any buttons after that I removed the device completely from Z2M and try to join it. I can no longer join the remote as per below

2025-01-06 13:23:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254},"status":"ok","transaction":"hcvl1-4"}'
info 2025-01-06 13:23:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x588e81fffeb4e59b', payload '{"last_seen":"2025-01-06T13:23:52-08:00","linkquality":112,"update":{"installed_version":-1,"latest_version":-1}}'
info 2025-01-06 13:23:52zh:controller: Interview for '0x588e81fffeb4e59b' started
info 2025-01-06 13:23:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x588e81fffeb4e59b', payload '{"last_seen":"2025-01-06T13:23:52-08:00","linkquality":112,"update":{"installed_version":-1,"latest_version":-1}}'
info 2025-01-06 13:23:52z2m: Device '0x588e81fffeb4e59b' joined
info 2025-01-06 13:23:52z2m: Starting interview of '0x588e81fffeb4e59b'
info 2025-01-06 13:23:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x588e81fffeb4e59b","ieee_address":"0x588e81fffeb4e59b"},"type":"device_joined"}'
info 2025-01-06 13:23:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x588e81fffeb4e59b","ieee_address":"0x588e81fffeb4e59b","status":"started"},"type":"device_interview"}'
info 2025-01-06 13:23:55z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c138b4b3838a19', payload '{"battery":88,"humidity":43.75,"last_seen":"2025-01-06T13:23:55-08:00","linkquality":109,"temperature":22.37,"voltage":2900}'
info 2025-01-06 13:24:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x588e81fffeb4e59b', payload '{"last_seen":"2025-01-06T13:24:12-08:00","linkquality":112,"update":{"installed_version":-1,"latest_version":-1}}'
info 2025-01-06 13:24:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x588e81fffeb4e59b","ieee_address":"0x588e81fffeb4e59b"},"type":"device_announce"}'
error 2025-01-06 13:24:12zh:controller: Interview failed for '0x588e81fffeb4e59b with error 'Error: Interview failed because can not get active endpoints ('0x588e81fffeb4e59b')'
error 2025-01-06 13:24:12z2m: Failed to interview '0x588e81fffeb4e59b', device has not successfully been paired

Had this exact thing. The remote can't be paired again, had to restore my backup of 1.42 to get my remote to pair again.

arjenanker avatar Jan 07 '25 07:01 arjenanker

same probleme here. the sensor.*_action entity is no longer exposed to HA. Had to downgrade to 1.42

sevorl avatar Jan 07 '25 10:01 sevorl

To confirm, by adding:

homeassistant:
  legacy_action_sensor: true

to the Z2M config, as per: https://github.com/Koenkk/zigbee2mqtt/discussions/24198

and restarting Z2M, the remotes started working again.

I suppose the awesome blueprints would need to be reworked in order to be functional with Z2M > 2.0.0

rwjack avatar Jan 07 '25 11:01 rwjack

I suppose the awesome blueprints would need to be reworked in order to be functional with Z2M > 2.0.0

There's a fork that is already working on it. Now that the original creator EPMatt is back there are apparently efforts underway to merge those fixes back into the main repository.

https://github.com/EPMatt/awesome-ha-blueprints/issues/622#issuecomment-2574824759

Fo3niks avatar Jan 07 '25 12:01 Fo3niks

Same here, Remote no longer working under 2.0.0.2, unable to re pair. Downgraded to 1.42 and now working again.

Hessenpower01 avatar Jan 07 '25 23:01 Hessenpower01

Downgrade to 1.42 resolved the issue with my remote as well. I noticed people having pairing issues with some other devices with the same error message.

Error: Interview failed because can not get active endpoints

Hopefully will be addressed soon

eastvan avatar Jan 07 '25 23:01 eastvan

Could you provide the debug log when triggering actions on the device with z2m 2.0.0?

See this on how to enable debug logging.

Koenkk avatar Jan 08 '25 19:01 Koenkk

Same problem here with all the zigbee buttons which are using *_action. After switching Home Assistant legacy action sensors It started to work again. I am wondering why that change and how long this legacy option will be available?

kalatos86 avatar Jan 08 '25 21:01 kalatos86

I have the same problem. I got it working briefly with rejoining the button. I then updated the firmware on the button and it completely died.

Now Pressing buttons gives no logs in zigbee2mqtt logs. Forcing a rejoin starts but then ultimately fails with the same error about missing endpoints.

dogmatic69 avatar Jan 08 '25 23:01 dogmatic69

Unbelievable. I've force removed and repaired this button 20 times or more over past 2-3 days.

Posted the comment above and gave it one more try. It worked. πŸ€¦β€β™‚οΈ

I can now turn my lights on πŸŽ‰

dogmatic69 avatar Jan 08 '25 23:01 dogmatic69

so, i have the similar/same problem. After upgrade to: 2.0.0-2 My IKEA remotes stopped working. It is visible in the system, In HA i can see the new events as triggers, but pressing buttons does not trigger anything. Me remote is named 'Pilot IKEA' in the log, In the log i can see: [2025-01-12 16:58:06] [32minfo[39m: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Pilot IKEA', payload '{"battery":74,"identify":null,"last_seen":"2025-01-12T16:58:06+01:00","linkquality":12,"update":{"installed_version":587728433,"latest_version":604241925,"state":"available"},"update_available":true}' [2025-01-12 16:58:06] [34mdebug[39m: z2m: Received Zigbee message from 'Pilot IKEA', type 'commandIdentifyQuery', cluster 'genIdentify', data '{}' from endpoint 1 with groupID 0 [2025-01-12 16:58:06] [34mdebug[39m: z2m: No converter available for 'E1524/E1810' with cluster 'genIdentify' and type 'commandIdentifyQuery' and data '{}' 45df7312_zigbee2mqtt_2025-01-12T16-00-29.968Z.log

bartek75 avatar Jan 12 '25 16:01 bartek75

that is not the same problem at all. You need to read the breaking changes notes. This issue is around no events firing at all.

dogmatic69 avatar Jan 13 '25 09:01 dogmatic69

HI. I have another problem related to the remote control and z2m 2.0 after the upgrade, every time I click a button I see two payloads published twice instantly.

immagine

this is true for all buttons (Toggle, right_click, left_click,...)

i can temporary fix the issue by restarting the service after the boot.

i'm using linux red hat with mosquitto and home assistant.

stortoaranci avatar Jan 13 '25 11:01 stortoaranci

that is not the same problem at all. You need to read the breaking changes notes. This issue is around no events firing at all.

  1. Can you show in my logs where are the events visible? I am not to experinced with this.
  2. Can you point me to the fix in the breaking changes as i do not use legacy actions in the config, and changed my triggers to use new device triggers
domain: mqtt
device_id: 344c0dd9cb82edda3b0a84f031d8c88e
type: action
subtype: arrow_right_hold
trigger: device

Which work perfectly with aquara button

bartek75 avatar Jan 13 '25 11:01 bartek75

Based on what you said @bartek75

In the log i can see: [2025-01-12 16:58:06] οΏ½[32minfoοΏ½[39m: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Pilot IKEA', payload '{"battery":74,"identify":null,"last_seen":"2025-01-12T16:58:06+01:00","linkquality":12,"update":{"installed_version":587728433,"latest_version":604241925,"state":"available"},"update_available":true}'

Where as the original ticket states there is nothing

Looking at the Z2M logs, nothing happens when I push a button on a remote. Nothing in the logs whatsoever.

dogmatic69 avatar Jan 13 '25 14:01 dogmatic69

so i have made the IKEA remotes work. In my case i had to do:

  1. Remove IKEA remote from z2m
  2. Restart HA
  3. Add remote (allow join and pair remote)
  4. Adding was unsuccessful (no endpoints received from device)
  5. Force remove again the remote.
  6. Add remote again. This time was successful.
  7. All buttons work!

bartek75 avatar Jan 14 '25 14:01 bartek75

I just updated to 2.0.0-2 again. With "Home Assistant legacy action sensors" enabled in the Z2M sensors. And this time... my remotes seem to work. Did have to restart Home Assistant to get anything to work at all. (And a "an addon was removed from the store" repair thing promptly removed the entire addon even though 1.42 wasn't even installed anymore, so had to do a restore and another update, but that's another matter)

arjenanker avatar Jan 17 '25 10:01 arjenanker

Hey all, has somebody with this problem updated to 2.1.0.1. and can you report if it's working again? Thanks

Hessenpower01 avatar Feb 04 '25 06:02 Hessenpower01

@Hessenpower01 yes its fixed but i had to do smth like this

so i have made the IKEA remotes work. In my case i had to do:

  1. Remove IKEA remote from z2m
  2. Restart HA
  3. Add remote (allow join and pair remote)
  4. Adding was unsuccessful (no endpoints received from device)
  5. Force remove again the remote.
  6. Add remote again. This time was successful.
  7. All buttons work!

ThanhCN0 avatar Feb 04 '25 06:02 ThanhCN0

@Hessenpower01 yes its fixed but i had to do smth like this

so i have made the IKEA remotes work. In my case i had to do:

  1. Remove IKEA remote from z2m
  2. Restart HA
  3. Add remote (allow join and pair remote)
  4. Adding was unsuccessful (no endpoints received from device)
  5. Force remove again the remote.
  6. Add remote again. This time was successful.
  7. All buttons work!

Nope, it's not fixed :-(

Problem persitst unchanged in 2.1.0.1.

Hessenpower01 avatar Feb 05 '25 16:02 Hessenpower01

Any news on this in release 2.1.1.1?

Hessenpower01 avatar Feb 10 '25 13:02 Hessenpower01