-
Notifications
You must be signed in to change notification settings - Fork 505
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
Hue wall switch module. #4566
Comments
When the PR is ready, i'll forward it to manup. |
Setting The values are straightforward:
Unfortunately not a bitmap, so you cannot set one input to rocker and the other to pushbutton. |
That's working as expected. When in pushbutton mode, the module basically acts like a Hue smart button or Hue dimmer switch. In rocker mode, it's a stateless wireless switch, that sends x000/x002 on each flip. I cannot seem to get the module to control lights or a group directly. Binding of the client clusters is no issue, but I don't see any On, Off, or Move to Level commands. The 0x0030 (Sensitivity) attribute is read-only. I set Configuration (0x0031) to the magic 0x000b, but no joy. I'm afraid the module isn't meant for standalone use (without the Hue bridge), and simply doesn't support this, despite the client clusters. Bummer. |
Above commits should fully support the Hue wall switch module:
When |
Realy nice to see that @ebaauw already started implementing this. I will receive my Hue Wall Switch modules on Monday :) Thanks! |
- Add support for Hue wall switch module, see dresden-elektronik/deconz-rest-plugin#4566; - Add support for Linkind 1-Key Remote Control, see #949.
Very cool that this is already basically there. Ordered one as soon as it became available and it just turned up. Can't believe how fast you are @ebaauw ! Many many thanks. |
I'm planning to get this out in the next beta / release |
I think the PR is good to go. |
For completeness, the device can issue the following button events:
When configured as When configured as |
I have added the device but it doesn't show up in the GUI. |
If it doesn’t show in the GUI, you haven’t added it. It could be hidden behind another node, or far away from the other nodes, making it difficult to locate. Double check the Node List panel to be sure. |
Sorry It is in Deconz but not in Phoscon |
Request support by Phoscon in the Phoson repo. |
I did now. Another question, I see duplicate events when pressing the button. I believe that is not what should happen. I set it to single push button. |
What events are you seeing where? When set to push button, you should get a 1000 on press, and a 1002 on release; or a 1000 on press, a 1001 every 0.8s while holding, and a 1003 on release. Short press:
Long press:
|
It seems to send just 1 of every type instead of 2.
I had 2 wait awhile before the settings came through.
Thanks for the support
… On 21 Apr 2021, at 09:17, Erik Baauw ***@***.***> wrote:
If it doesn’t show in the GUI, you haven’t added it. It could be hidden behind another node, or far away from the other nodes, making it difficult to locate. Double check the Node List panel to be sure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#4566 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABN37SSPBM66WN22P5LCMSDTJZ3XRANCNFSM4ZCFOZQQ>.
|
Hi everyone - How did you manage to initially pair this device? I have tried clicking the following two ways without any success:
In Phoscon it says that it did not find any new devices and I do not see any new devices within the DeCONZ map |
That would have to be a release of the wall switch module firmware. |
@ebaauw OK so I'm not able to add it to deCONZ and use it blinded to my hue lights when the deCONZ server is down? |
@rileymd88 How did you get it into Phoscon in the end? I tried all different Philips switches both in Beta and normal and also other, but nothing. |
Same here! It is very nice that we can use the wall switch module in Phoscon. But how can I get it into Phoscon. GW-Version is "2.11.05 / 9.5.2021" - After I try it 2 hours I don't get it into Phoscon... Can Anybody help? |
They aren't supported by phoscon yet, they don't show up within the webguis, just within the deconz GUI on your client or within the webapi. |
Hello, Could you please be more specific and explain in detail how you managed to pair it? |
I'm highly interested in this as well. Question: Will it appear in the webgui once paired through deconz? I can see a lot more of these switches in my house so it would be very nice to include them via webgui like other switches. |
Hi @sebastien-k and @deebeo-blip I had the device sitting on my desk and then I plugged in the provided cable into the device and then starting the pairing process in Phoscon and then I pressed the button on the switch. As noted above these devices will currently NOT show up in Phoscon so you will have to check in DeCONZ itself to see if it paired successfully. |
Hi, I just achieved to pair the switch (lucky me 😊). This is how I did:
I hope this helps, |
I am still lost:
.... when I updated from 211.05 to 2.12.06 the switch was shown in phoscon, but when I removed it because I could not get it to work, I ws not able to pair it again. |
I was able to pair the wall switch again and even got to see it in phoscon, but I cannot do anything with it. different to the common hue dimmer I cannot setup a group to control a lamp. In deconz I do get strange data and in home assistant I can see the switch as RWL 121 but I do not have any entity at all (not even the battery entity anmore) :-( Actually the wall plug is in my opion the mot important product hue has to offer in years. Hopefully it will work sooner or later with conbee2. |
As @ebaauw mentioned in #4566 (comment) It does not support Grouping. However, does it generate deconz_events in HA? |
when I hit the switch (on/off) connected to the hue wall switch I get the following events: Event 109 fired 10:52 AM: |
No grouping, no binding despite clusters 0x0006 and 0x0008. The interest seems quite low. |
Just for another person who will find this thread, here is how I managed to pair it (just spent two days on it 🤦🏼♂️ ): I had modules pre-paired with Philips Hue Bridge (Bridge S) and wanted to migrate them to another bridge (Bridge T).
(Hold that reset button long enough!!) |
Why does it work like this? I would like to have behaviour that I only get 1 (one) event for hold (x001), just like with the IKEA Tradfri ON/OFF Switch. This continuous stream of events is unable to automate against... |
Looks like it does support controlling groups, but using a custom mechanism: Koenkk/zigbee2mqtt#10740 (comment) Managed to get mine to control a single group! |
Is that group hard-coded, or does it change resetting the module? I cannot remember any specific setup by the Hue bridge, but this is certainly worth taking out the sniffer and re-examining the pairing with the Hue bridge. |
It changes to a new random group when resetting! |
Just to be sure: the wall switch module controls the group directly, even when zigbee2mqtt is not running? Or does the zigbee2mqtt external converter issue the group commands? Did you actually capture a packet where the MAC source is the module? |
Correct - the wall switch module sends a group command directly to the fixed group. It works without zigbee2mqtt (tested it to be 100% sure), the screenshot in the other threads shows the source NWK address as I'm not actually sure whether the custom converter is necessary, I think it just skips some of the default initialization logic just in case that was getting the device in a weird state. |
Yes, I saw that. But is the MAC address in the IEEE 802.15.4 Data frame header also from the wall switch module? I don't understand what magic zigbee2mqtt has done to get the device to send the group commands from On/Off. Does it still send the commands from the FC00 cluster to the coordinator, in addition to the group commands? When paired with deCONZ, and when paired with the Hue bridge, I only see unicast commands from the FC00 cluster. |
Yep, the MAC is the right one. It doesn't send anything to the coordinator. |
Recently my wall switches, configured as push buttons, or deconz started to behave differently)/strangely, Most times when I (short) press I only get x000 events and not the release x002 events anymore. Only when I press a couple of times I get the x002 release. Has the behaviour been updated and is the x002 now supposed to be a double press? Or is something wrong on my side? |
Device
See: https://www.philips-hue.com/en-gb/p/hue-philips-hue-wall-switch-module/8719514318045
While being positioned as an in-wall switch, this is a wireless switch.
During installation, you disconnect the live and switch wires from your physical switch, and shortcut them using the included clamp, causing the outlet to be powered permanently.
You then connect the physical switch to the wall switch module, using the included wires.
The module has two inputs, supporting a single-rocker switch, a dual-rocker switch, or two single-rocker switches.
The input wires come in two lengths, presumably to connect a second single-rocker switch in another wall compartment (hope that's the correct term).
Basically, it's a device to smartify your 20th century wall switches.
This should get you some brownie points in the WAF area.
Hue bridge resource
The resource looks familiar: 0xFC01 cluster to report the button actions.
The
capabilities
suggest it supports initial press (x000) and (short) release (x002) on each input.However, I cannot seem to get an initial press event.
During my initial research on the Internet, I couldn't find whether the module supports momentarily switches, but looking at
config.devicemode
, which is newly introduced for this device, it does.After setting it to
"dual pushbutton"
, I'm even seeing x001 and x003 events.It doesn't look like the Hue app supports this setting (at least I cannot find it).
Screenshots
The device looks very similar to the Hue smart button or the 2021 Hue dimmer.
This gives me good hopes, we'll be able to configure it in hybrid mode.
Basic
Nothing spectacular here: it does support the 0x0031 Philips-specific Configuration attribute.
Need to sniff the Hue bridge to see what they set it to.
Power Configuration
Nothing spectacular here. It's a 3V power cell.
Created binding to the coordinator without issue; the attribute reporting config was already set by the device (with the same values as Hue dimmer switch):
Hue
The Hue-specific cluster works as for the Hue dimmer and smart button.
In rocker mode, the device issues an x000 followed immediately by an x002 (with a duration of 1) when connecting or disconnecting the wires.
So the module doesn't seem to differentiate between an "open" and "closed" state, it just reports state changes.
Need to sniff the Hue bridge to see how to set momentarily switch mode (they call it pushbutton), but I'm betting in this mode, it sends the regular x000, x001 per 0.8s, x003 sequence on connect (press), hold, disconnect (release).
OTAU
Nothing spectacular here either.
The image type is 0x011c
Client clusters
Client On/Off and Level Control seem to suggest the module can control (a group of) lights directly.
Need to experiment to confirm.
No clue how to set different groups for the different inputs, or even if this is possible.
The text was updated successfully, but these errors were encountered: