Hi,
first of all, thanks @xaviml for your great work on ControllerX. It works wonderfully with ConBee2, deCONZ and my Symfonisk remote. However, now I am struggling with including two Tradfri remotes (E1810). It works as intended with the following app code:
The problem is that deCONZ seems to give the same ID to two identical controllers (in this case âtradfri_remote_controlâ). When I listen to the event log (as to https://xaviml.github.io/controllerx/others/extract-controller-id) I can see another âunique_idâ which appears to be the MAC address. However, if I enter this unique_ID into the âcontrollerâ field, it doesnât work.
This must be a common problem, right? Sorry if I couldnât find a thread where this has been discussed.
This must be a common problem, right? Sorry if I couldnât find a thread where this has been discussed.
No worries, this has not been discussed as far as I know. In fact, I didnât know that deconz allowed 2 devices to have the same id. ControllerX only reads from the âidâ attribute from the event data, so pasting the âunique_idâ will not work.
From the Phoscon app, you should be able to change the id of your device. A device id is assigned to you, but you can change it.
Thanks Xavi,
I was about to answer that in my case the name in Phoscon doesnât have an effect on the ID. However I thought again and found out that this might have been due to the spaces (or the Ă in TRĂ DFRI) in the names I chose. Choosing names without spaces and strange letters now did the trick. Hope, this will help someone in the future.
Thanks again!
Hey @xaviml , I ran into this issue too. Not every device is listet in the Phoscon UI to change the ID. I have just connected 2 Tradfri Shortcut Buttons with Deconz and ControllerX is not usable right now. The both have the ID "id": "tradfri_shortcut_button" and it is not possible to seperate them from each other.
Would it be possible to provide further filtering method e.g. Unique Device ID in ControllerX? Here is the full Event Data when pressing the Tradfri Shortcut Button:
As of now, ControllerX only reads from the id attribute. My recommendation has always been what I already suggested in the solution for this post, which is to change the id of one of your controller, but I was not aware of not being able to change the ID at times.
The only part that changes and that matter for this issue is the integration. It defaults to id, so no breaking changes are added.
You can install the beta version from HACS by activating the âShow beta versionsâ when clicking in âReinstallâ in the ControllerX card. Then, you should be able to install v4.14.0b1.