I have a Philips Hue dimmer switch remote
this model: Philips 324131092621 control via MQTT | Zigbee2MQTT
Is it possible to add it to the Zigbee2mqtt integration or to the Philips Hue integration?
I have a Philips Hue dimmer switch remote
this model: Philips 324131092621 control via MQTT | Zigbee2MQTT
Is it possible to add it to the Zigbee2mqtt integration or to the Philips Hue integration?
Hello
Itās possible to add it to the Zigbee2mqtt integration (you just need to map the actions)
If someone can make a PR! @_Will_71 this is probably for you ![]()
Itās exactly the same work as this PR:
If, however, you want to keep this remote in the Philips ecosystem, it wonāt be possible to have information in Gladys, because on Philipsā side they only expose the Ā« controllers Ā» in the API (lights), but not the remotes
Thank you for thinking of me.
As soon as I can, Iāll take a look.
I suspected there was an issue on Philipsā side.
Thanks @_Will_71 ![]()
Hi @Tlse-vins,
I started integrating the Philips remote and Iāve already added all the button states with the expose action.
Itās annoying actually ā manufacturers could do common things instead of giving exposes names specific to each.
Then thereās the expose battery and linkquality which are already available.
Thereās still the expose action_duration which indicates a time in seconds, do you want that too?
If I make a Docker image available to you, could you test it?
Itās supposed to be used during a long press, right?
No problem for the test image, I have what I need.
Yes, it must be to indicate how long the button was held down.
Iāll let you know when the image is available
@Tlse-vins , here is the image. Iām waiting for your feedback.
willde71/gladys-test:zigbee2mqtt-philips-324131092621
I have a doubt about the possibility of testing, I have a Raspberry Pi that I use for testing but I only have one Zigbee USB stick and I donāt remember, but if I remove it from my production instance to put it on my test instance, I think Iāll lose my devices.
Can someone confirm or deny?
I donāt think so but I canāt confirm it 100%.
I feel like thereās an inversion between the button press on the remote and the signal strength.
Edit: I compared it with a plug and it reacts the same, so it must be fine.
Edit: I couldnāt control the plug over Zigbee via a scene.
However, do you see anything displayed for the button click or the duration?
In the Zigbee interface, yes, there is the press duration on the 4 buttons.
Iām talking on the Gladys side
I forgot some states:
On the Gladys side, I do see a change in signal intensity when pressing the buttons.
I tried to create a scene when I press ON or OFF, choosing Ā« state change Ā» ā Ā« remote (button click) Ā» ā Ā« single click or ON or button on pressed or ⦠»
But nothing, it doesnāt work.
However, if I make a scene with
Ā« state change Ā» ā Ā« remote (signal intensity) Ā» ā Ā« equal to 3 Ā».
That works for the ON for example, which is a bit strange.
Do you have the possibility to remove features like right arrow click, left arrow click, cube shaken, ⦠which donāt belong to this remote.
From what I saw in Gladys you programmed 4 states:
I would replace:
Note: « relâché » has a circumflex accent on the A.
Here is my first feedback.
Thanks for the work done.
On my side I didnāt touch the signal intensity because itās a feature already present and used by all Zigbee devices.
I think that pressing a button changes the signal intensity and thatās all, but under no circumstances do you get button feedback instead of the intensity.
For the available actions, I added all the actions indicated in the zigbee2mqtt doc, so all those you listed.
Iāll check tomorrow evening why other actions are showing up, I must have forgotten something. Iāll keep you posted.
For the duration, do you have a value showing in Gladys?
No, I donāt have a duration, I couldnāt get the press-for-x-seconds to work.
Iāve checked and at first glance I havenāt made any mistake.
Do you have a way (like MQTT Explorer) to check the exposes sent by your remote control?
Okay, Iāll try to test tonight.
@Tlse-vins, the modified image following our tests will be ready in about 40 min
willde71/gladys-test:zigbee2mqtt-philips-324131092621