-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Device Support Request] Philips Hue Wall Switch Module #858
Comments
Can you check and verify if that Philips Hue Wall Switch Module is a ZGP (Zigbee Green Power) device or not? I am guessing that it is and if so then you should know that ZGP is not yet supported by zigpy (or ZHA), see: zigpy/zigpy#341 Developers are however working on it in zigpy/zigpy#519 and zigpy/zigpy#656 |
I'm sorry, but i've no clue how to check if this device is ZGP. Never heard about that before. |
Ah, I thought you meant a different product. FYI, if a specific device is always connected to mains-power then that will normally mean that it would never be a ZGP device. ZGP are low-energy devices that normally use energy harvesting technology (or sometimes energy harvesting technology and a battery-operated by a small coin-cell battery as backup power). Regardless it's probably safe to ignore my comments/links about ZGP in regards to that device since no mention of it anywhere. Philips Hue wall switch module looks like it is basically a remote control that can use the buttons from any standard wall switch: https://www.philips-hue.com/en-gb/p/hue-philips-hue-wall-switch-module/8719514318045 https://www.philips-hue.com/en-gb/p/hue-philips-hue-wall-switch-module/8719514318045#specifications https://www.philips-hue.com/en-gb/p/hue-philips-hue-wall-switch-module-2-pack/8719514318021 https://zigbee.blakadder.com/Philips_RDM001.html https://www.zigbee2mqtt.io/devices/929003017102.html https://zigbeealliance.org/zigbee_products/philips-hue-wall-switch-module/ From the above references: Zigbee ID: "RDM001" Zigbee Alliance Certificate ID: ZIG21081ZB330941-24 Manufacturer: Philips / Signify Philips Hue wall switch module 1-pack = EAN/UPC product code: 8719514318045 (12NC Material number: 929003017101) Batteries included: Yes PS: It is wierd that they did not make it mains-powered but I guess that removes the need to get an electrician to install it legally. |
Do you get anything in the logs when you press buttons? Post the logs when you turn the switch on/off. |
I activated debug logging like this: But unfortunately there is nothing logged when i push the button. |
Well, if device doesn't send anything, then the quirk unlikely to help.
post the separate logs of unbinding and binding. |
Yes, this would be greate if wall switch module is supported |
@Adminiuga: Perhaps the following links will help. Both deconz and zigbee2mqtt support the switch:
zigbee2mqtt overview @Hedda: It's not a ZGP device. |
There's nothing specific in those other implementations. |
is probably not it.
It must be possible to set the switch mode during setup. (singlerocker, singlepushbutton, dualrocker, dualpushbutton): dresden-elektronik/deconz-rest-plugin#4566 (comment) |
I just updated from core-2021.4.3 to core-2021.6.2 but unfortunately nothing changed. There are still no zha_events when pushing the hue wall switch. |
@dieneuser I have exactly the same problem as you I can ad but only find the battery level. I have a hue dimmer which I can find all different buttons. Anyone figure ut how to use this? I have also updated the firmware on my conbeeII |
@jonas18z ZHA does not (yet) support the switch. As a workaround, I use the Deconz integration in parallel - also for existing Hue Tap switch modules. There, the wall switch is already supported in the beta phoscon web app. |
Ok, let’s hope that it will be supported. It’s only ZHA that misses the support now. I don’t think you can run conbee II at the same time in ZHA and deconz? |
How/where can we request ZHA support? Really need this device ;) |
That's right. I use a second Conbee II with deconz integration. |
Is there some guide how to add new devices. I will try to add it I was thinking to just modify the hue dimmer switch file to make this wall switch to work. But I don’t find anything here |
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/philips/rwl022.py is it that simple or what do I miss? What is "DEVICE_SPECIFIC_UNKNOWN = 64512" |
The 64512 (in dec you must calculating it from the hex in the device signature) is the number of one manufacture specific cluster that for Philips HUE that they is using. |
Maybe now test your Philips Hue Wall Switch Modules again with the recently released zha-device-handlers / zha-quirk 0.0.60 and zigpy 0.37.0 releases or later as those contain new features in zigpy so quirks should no longer be needed for most if not all new Philips Hue Zigbee devices. See: zha-quirks==0.0.60 -> https://github.com/zigpy/zha-device-handlers/releases/tag/0.0.60 and zigpy==0.37.x -> https://github.com/zigpy/zigpy/releases/tag/0.37.0 or better yet https://github.com/zigpy/zigpy/releases/tag/0.37.1 Specifically, zigpy 0.37.0 added zigpy/zigpy#788 and zha-device-handlers 0.0.60 added #993 Note! The mentioned zha-quirk and zigpy releases are not yet included even in the latest Home Assistant release so to test those follow https://github.com/zigpy/zha-device-handlers#testing-new-releases and https://github.com/zigpy/zigpy/blob/dev/CONTRIBUTING.md#testing-new-releases PS: Looking at home-assistant/core#55242 and https://github.com/home-assistant/core/milestone/429 it seems that these zha-quirk and zigpy releases will first be used in the upcoming Home Assistant 2021.9.0 https://rc.home-assistant.io/blog/2021/08/25/release-20219/ |
Thanks, Installed 2021.9 and did a new search for device and the device is found and added via ZHA but now next problem is that it only founds two triggers "Device Offline" and "power battery level changes" For example my dimmer RWL021 founds all trigger on,off, dim up, dim down etc with RDM001. So maybe there is some more editing needed in the Python file but I can't find what? EDIT: I don't se any zha_event when pushing a button. |
I have the exact same issue. Has anyone found the reason for this? |
I still have the same issue and no solution. if some know what could be wrong or what I could try to make it work. |
What's the current status of this issue? I really want to use these modules in ZHA. |
I've been wondering as well, is there any progress on how to integrate a HUE wall switch module into HASS using ZHA? |
In ZHA is normal switches (or if battery powered remotes) only getting one battery. One remote dont have any state like one light that can being on or off or dimmed and only sending events. Also if Philips have making it good it shall having one switch configure cluster for changing the function of the wall switch but i cant saying if its having it then no one have posting one device signature. |
If some like implanting the switch configuration i think i have found the attribute that need being added in one quirk for getting it working. |
So does this mean that XHA supports the module or not yet? I was about to purchase a few but am hesitating. |
Well, somehow I must be too dumb to understand all these shreds of information... I have sucessfully paired the wall switch module with ZHA, I created an automation, where the alarm panel should be disarmed with a button press of this switch and I have a finger print module connected to the wall switch module, which closes contact on correct finger print reading. This works exactly once to disable the alarm, but after that no longer anymore. So I think, that the wall switch module is set as a switch and keeps its condition as "on" instead of working like a button press, which releases its condition to "off" after the button was pressed once... I tried to change the value in cluster settings to 1, like shown here on the pictures, but obviously, the wall switch module does not eat this... If I disconnect the wall switch module from the cable, it immediately disarms the alarm panel and I can start over from the beginning again... But with all these pieces of info here, I got somewhere lost on the way, as I don't know what to do, to make this wall switch module to eat the command to act as a single button press instead of a rocker... Help appreciated !! Step by step for dummies please ! - For now, I just connected it via Hue Bridge and this works flawesly without any issues ! |
I have got the custom quirks working with my wall module. What's preventing this being merged into the repo and released to the next release of HA? |
I'll try and get this into a proper PR so it can be put into a release. |
I'm trying to configure my Hue wall Switch Module as Dual Rocker, but I can't get it to work. I've followed all the steps mentiones in this thread:
But in the end I can only use the first switch.
|
@m4dmin I'm using an Event trigger to listen to a When you go into Developer tools > Events you can enter the |
Thanks @evpaassen. That was the missing piece :) |
Hi, After the update to
I do not understand the issue and how to modify the python file to make it work. Any hints? Thank you. |
Exactly the same issue here. I deleted the ZHA quirks from my configuration.yaml file and everything works now! |
the quirk was added to the most recent quirks release and is in the new HA release. if you installed it to custom_quirks, deleted the rdm001.py from the custom_quirks folder in your config. |
Oh, that was an easy fix. |
EDIT: Reading all the info would be good next time, added cluster and it works. Sorry.. |
Thanks for sharing! Managed to get both the left_press and right_press enabled through setting the Cluster Attributes. However.... Anyone has the issue that an actual button press issues both a "left_press" and "left_press_release" event? And in fact, the actual button release does the same (also a "left_press" and "left_press_release" event)? Not a huge issue, but unexpected behavior... |
I wonder if using the walls witch with ZHA can cause the battery to run low much faster than normally. Two of my four wall switches are out of power after using them about a month with ZHA. A third more close the my zigbee bridge is still fine as well as the fourth switch still controlled by a hue bridge. The batteries should last about 5 years. I bought the switches some months ago. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions. |
Please do not stale, (I do not have these myself but Philips Hue is still one of the most popular |
Is the only issue here that the device triggers are missing for the right button if activated? |
The right trigger buttons should be available in the UI now (2023.2.0 and later). Are there any remaining issues with this? |
I found the following zha_event seems to have no corresponding device event in HA. Did I something wrong or miss I something? I have set mode to 2. It would be really nice if we can set it via the UI.
|
That's an event for when the module is directly bound to a bulb. When in mode 2, it should also produce the following events: zha-device-handlers/zhaquirks/philips/rdm001.py Lines 179 to 196 in 84d02be
Do you also get these events? |
A complete reset (of the module and remove it from ZHA) did the job. It works now. It was not directly bound to a light, I think that was still the problem. Thanks. |
Yes if you don't configure it otherwise, the module is factory defaulted to mode 0 - a single rocker switch. If you have installed it connected to a double momentary switch then you have to simulate what the Hue app does, i.e. configuring the mode attribute. The switch hardware doesn't automatically know how you have it physically wired. Not sure if ZHA could implement a custom device configuration workflow in the UI like the Hue app does but for the moment AFAIK there is not one. |
I have a few Hue Wall Switch RDM004 and HA Yellow, in zigbee zha integration I don’t have the cluster: Philips Basic Cluster. |
Correct, I also can't find that cluster in the new version of the Philips Hue Wall Switch, the RDM004. I'm waiting for ZHA supports it. Really annoying because otherwise it works fine. I looked in all the clusters, but can't find 'mode' or '0x0034'. |
@KWOAD and @mirceadb7 did you try to delete the py file from the custom_quirks folder ? I am on HA Green with Connect ZBT-1 (SkyConnect) and RDM001 |
Describe the solution you'd like
There should be a zha_event triggered when the switch is pushed.
**Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be
Log of the device joining the network:
The text was updated successfully, but these errors were encountered: