dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.89k stars 496 forks source link

Aqara OPPLE switches support #2061

Closed PremiumUsername closed 4 years ago

PremiumUsername commented 4 years ago

Are these switches supported presently, or on your radar for future support?

Aqara Opple switches

They seem very promising I think.

lubbertkramer commented 4 years ago

Following, saw them on Ali (https://nl.aliexpress.com/item/4000322297550.html) for a nice price. Saw they are zigbee 3.0

addellll commented 4 years ago

+1 on those. I saw them yesterday and price is amazing compered to other wall switches on market, and much more potential compered to the normal Aqara wall switch. I will order and report back.

easybeat commented 4 years ago

+1 on those please. Happy to see that this got the label "device integration". Crazy price of the switch. I've got already the other aquara switch and it works brilliant!

geurti64 commented 4 years ago

đź‘Ť Following as well. Very interesting scene selectors.

djashjones commented 4 years ago

Just got my 6 button version. Tried to add the device as a switch and it failed but I can see it in the deconz app. The first button switches on all my "Lights" and the second button switches them off.

Model: WXCJKG13LM Model Identifier: lumi.remote.b686opcn01

What info do you guys need to get this device integrated?

addellll commented 4 years ago

@djashjones https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support Have you tried to listen for deconz_events in Home Assistant or Nodered?

djashjones commented 4 years ago

IMG_0131 IMG_0132 IMG_0133

Sorry don't know how to listen to events in either HA, nor node-red (which I have both).

addellll commented 4 years ago

@djashjones In HA -> Developer Tools -> Events You write deconz_event in the lower box and press "Start listening". After this you try press the Aqara Opple Switch and see if you get any responds. If sucessful you will see responds similar to the picture. The "event" number should change depening what button you press and if you press, long press or double press. Please try it and report back :)

image

PremiumUsername commented 4 years ago

Just got my 6 button version.

How do you experience it, quality wise?

djashjones commented 4 years ago

Same quality as the 2 battery powered 2 button rocker I have. I do like it a lot. It's like the Ikea remote and the base is magnetic.

I will see what events get fired tonight when I get home from work.

Xylomid commented 4 years ago

Nothing shows up when I listen to deconz_event in home assistant while pressing buttons. I can see it in deconz like the screenshots above but not in phoscon.

What's weird is that it turns on / turn off my trafri bulbs which are linked in phoscon...

djashjones commented 4 years ago

Confirmed, Nothing in HA, event wise.

I have Ikea Tradfri bulbs (dimmable) and sockets.

Button 1, top Left, action = Switches off all my lights and sockets. Button 2, top Right, action = Switches on all my lights and sockers. Button 3, middle left, action = Decreases brightness on bulbs. Button 4, middle Right, action = Increases bright on bulbs.

IMG_0134

geurti64 commented 4 years ago

Any news for Homey?

mikekoumas commented 4 years ago

same issue here as djashjones said did you find any solution yet?

mat1990dj commented 4 years ago

+1, just received the 4-button switches and does as commented by @djashjones I'm using pimatic that is using the REST API and it's not showing. Calling the API on /api/ neither shows the MAC address on the list of all devices What can we help to integrate the device?

heine79 commented 4 years ago

Off topic: Just Receiver 6 Button version. There was no Instruktion in the Box. Could anyone Tell how top pair it? Reset Button seems to bei useless? Hold it up to 5 Seconds but nothing happens?

fleshinachair commented 4 years ago

Do you have the new Xiaomi homekit hub?

On Thu, 5 Dec 2019, 22:36 heine79, notifications@github.com wrote:

Off topic: Just Receiver 6 Button version. There was no Instruktion in the Box. Could anyone Tell how top pair it? Reset Button seems to bei useless? Hold it up to 5 Seconds but nothing happens?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2061?email_source=notifications&email_token=AHRBAT6EMS5NORT34L3VFT3QXF7ABA5CNFSM4JLW7MB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCMOOA#issuecomment-562349880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRBAT3EVRCQ33MKCPF4WJLQXF7ABANCNFSM4JLW7MBQ .

heine79 commented 4 years ago

Do you have the new Xiaomi homekit hub? … On Thu, 5 Dec 2019, 22:36 heine79, @.***> wrote: Off topic: Just Receiver 6 Button version. There was no Instruktion in the Box. Could anyone Tell how top pair it? Reset Button seems to bei useless? Hold it up to 5 Seconds but nothing happens? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2061?email_source=notifications&email_token=AHRBAT6EMS5NORT34L3VFT3QXF7ABA5CNFSM4JLW7MB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCMOOA#issuecomment-562349880>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRBAT3EVRCQ33MKCPF4WJLQXF7ABANCNFSM4JLW7MBQ .

No. I'm unsing conbee with hassio.

djashjones commented 4 years ago

I think I paired it by holding the button down (top left, next the led) until it started flashing.

Kroeliemonster commented 4 years ago

I am also eagerly awaiting the integration of these switches. I went ahead and already bought a 6 button one, if there is anything that can be done to speed up the integration let me know.

tuffelh commented 4 years ago

I also have the 6- and 4-button Versions waiting for Support :) Nice Quality btw...

addellll commented 4 years ago

Found on zigbee2mqtt git that this switches should be able to support "release after hold". If true this switches will support event 1234. For you guys that have the normal Aqara single/double rocker you might have noticed that it is not possible to dim lights in a good way. This because its only send one event when hold. The new Aqara Opple switch seams to be able to send both x001 (hold) and x003 (release after hold) event.

djashjones commented 4 years ago

This will be ideal for my bathroom when get supported. 1 for the on/off, 2 for dimming and the third row for the extractor fan manual on/off

fleshinachair commented 4 years ago

Or WLED, one to change brightness, one colour and one effects!

On Mon, 9 Dec 2019, 17:42 djashjones, notifications@github.com wrote:

This will be ideal for my bathroom when get supported. 1 for the on/off, 2 for dimming and the third row for the extractor fan manual on/off

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2061?email_source=notifications&email_token=AHRBAT3VMW4JPFEYH32PNMDQXZ7PDA5CNFSM4JLW7MB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGKAV4I#issuecomment-563350257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRBAT3TD3VBIR2KNW7JCVLQXZ7PDANCNFSM4JLW7MBQ .

eserero commented 4 years ago

Just got mine :-) , 6 button variance I concur it controls all the lights: 2 top buttons are on and off, the middle buttons are dim up or down and the 2 lower buttons are more yellow or less yellow color. doesnt appear on domoticz at all or on phoscon :-(. is there any way to control what lights it controls? is there a way to make it control only specific lights? image image

MarcProe commented 4 years ago

4-Button-Version: image image image

eserero commented 4 years ago

So playing around a bit with deCONZ, and noticed there is a way to add xml file to extend the profiles, devices etc. is this something that can help here? or do we need to get some code support for these switches?

I tried looking at the user guide "extending the zcldb section, but not sure how to map things. it seems the mapping are correct (on/off , dimmer and color are all identified) but there are no events or configurations like there are with another xiaomi switch I have, and I couldnt yet find something obvious in the file that shows me how to link it to a specific type of device.

ebaauw commented 4 years ago

is there a way to make it control only specific lights?

Normally, I’d suggest to create a group, add a light to it and bind the switch’s client clusters to that group. Not sure if that’ll work for Xiaomi, though. Might be enough to bind only one cluster, but could also you need to bind all three (On/Off, Level Control, and Color Control).

I don’t understand the use for the 2nd endpoint on the 6-button switch.

eserero commented 4 years ago

hmmm - I tried, the binding files on timeout :-(

ebaauw commented 4 years ago

Make sure to press a button to wakeup the switch while issuing the bind.

eserero commented 4 years ago

Thank you very much - working now after some tries and presses. I had to bind each of the items separately, but now its working on one lamp - which is much better. Next steps is I need this to work with 3 lamps I have in my room. do I need 3 groups? one for on/off, dimming and color? I will also try to bind to the second endpoint, see what happens...

ebaauw commented 4 years ago

Best create a single group, bind all three clusters to it, and add multiple lights to this group.

eserero commented 4 years ago

OK - managed to bind the second endpoint, but it didnt do anything, tried doing long presses, double presses etc. but nothing... I"ll try the group next, but really need events now, as I want to link some of the actions to devices that are not zibgee

merdok commented 4 years ago

I would also be interested in support for this switches. Got myself the 2, 4 and 6 ones. Would be great to get them working with conbee...

eserero commented 4 years ago

well - its kinda working now, with lots of limitations. you can use it to control on/off, dimming and color as long as your lamps are also controlled by conbee - you can create a group of lamps in phoscon and connect the switches using the bind option in deCONZ (you can bind to a group or to a single light). but thats about it. You cant get events to domoticz/HA/Homey etc. (which is the biggest problem), you cant use long press or double press and you cant change the button assignments (for example, you cant do toggle with one of the buttons). I actually purchased it so that I can have a central controller in each room that can control the lights and the air conditioner (which is controlled from domoticz) - so eagerly waiting for support.

Another question for the experts out there - is there a way to create a "virtual" light in deCONZ? I mean that I can have a light object in deCONZ that is not really a real physical light bulb. Because I do get light events to domoticz - and if I can create a virtual light in deCONZ that is controlled by the switch, I can use the events in domoticz to control other hardware.

fleshinachair commented 4 years ago

Has anyone tried it with the Xiaomi Hub to see how well it works?

On Sat, 14 Dec 2019, 13:28 eserero, notifications@github.com wrote:

well - its kinda working now, with lots of limitations. you can use it to control on/off, dimming and color as long as your lamps are also controlled by conbee - you can create a group of lamps in phoscon and connect the switches using the bind option in deCONZ. but thats about it. You cant get events to domoticz/HA/Homey etc. (which is the biggest problem), you cant use long press or double press and you cant change the button assignments (for example, you cant do toggle with one of the buttons). I actually purchased it so that I can have a central controller in each room that can control the lights and the air conditioner (which is controlled from domoticz) - so eagerly waiting for support.

Another question for the experts out there - is there a way to create a "virtual" light in deCONZ? I mean that I can have a light object in deCONZ that is not really a real physical light bulb. Because I do get light events to domoticz - and if I can create a virtual light in deCONZ that is controlled by the switch, I can use the events in domoticz to control other hardware.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2061?email_source=notifications&email_token=AHRBAT7XWEUYIXCITRDJBKDQYTNOVA5CNFSM4JLW7MB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4CTEY#issuecomment-565717395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRBATZMPO6E6WTQ7OR3DJTQYTNOVANCNFSM4JLW7MBQ .

eserero commented 4 years ago

haven't tried it. its only supported in the new hub (the one with the siri support). I guess they will add support for the regular hub in the future, no real reason not to.

djashjones commented 4 years ago

I'm starting to get the impression that the powers that be have no interest in integrating new devices or is it me?

PremiumUsername commented 4 years ago

I'm starting to get the impression that the powers that be have no interest in integrating new devices or is it me?

I don't think history merits that kind of cynicism, most (or all?) previous Xiaomi devices have been integrated as far as I know. I'm more inclined to think that it's this season that is busy for all that makes progress slow. That said, I too would appreciate a word or two letting us know that these devices have not been forgotten, even if no progress have been made as of yet.

djashjones commented 4 years ago

Don't get me wrong, I love my Conbee II stick it's been rock solid for a year

Just ordered some Samsung Smartthings Zigbee plugs 2019 version and reading back about the previous version that had interest but was never integrated.

PremiumUsername commented 4 years ago

I just got mine. Curiously when you connect it to Phoscon (you get no feedback that it has found), it immediately controls all lights. I don't even have a group for all lights, so I'm not sure how to turn this off. I can't see the Switch in Phoscon or via the REST API. Nothing is sent to Home Assistant.

On a hardware note, I can see from the manual that it has a CR2032 battery but there are no instructions for how to eventually replace it. Has anyone endeavored to find out if it is possible?

PremiumUsername commented 4 years ago

Found the explanation to the strange behavior and also how to access the battery. https://community.hubitat.com/t/xiaomi-opple-6-button-remote/27921/9

djashjones commented 4 years ago

Just about to post that link but you beat me to it!

PremiumUsername commented 4 years ago

@manup Is there any information we can provide you with that would help you in integrating this device more fully?

fleshinachair commented 4 years ago

It controls all lights that are on phoscon?

On Wed, 18 Dec 2019, 12:41 PremiumUsername, notifications@github.com wrote:

I just got mine. Curiously when you connect it to Phoscon (you get no feedback that it has found), it immediately controls all lights. I don't even have a group for all lights, so I'm not sure how to turn this off. I can't see the Switch in Phoscon or via the REST API. Nothing is sent to Home Assistant.

On a hardware note, I can see from the manual that it has a CR2032 battery but there are no instructions for how to eventually replace it. Has anyone endeavored to find out if it is possible?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2061?email_source=notifications&email_token=AHRBAT72KTKADT3G2HH5XADQZID5PA5CNFSM4JLW7MB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHF3C2A#issuecomment-566997352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRBAT4WD65QRWPGJHEYYQLQZID5PANCNFSM4JLW7MBQ .

djashjones commented 4 years ago

yes

eserero commented 4 years ago

Guys, if you look at my post above - I managed to configure it to work with a specific light or specific group using the bind option in deCONZ. if you need further help on this let me know and I"ll post more exact explanation.

PremiumUsername commented 4 years ago

if you need further help on this let me know

That's a nice offer, but I need the integration with Home Assistant for my purposes.

MarcProe commented 4 years ago

I"ll post more exact explanation.

Please do.

djashjones commented 4 years ago

if you need further help on this let me know

That's a nice offer, but I need the integration with Home Assistant for my purposes.

me too. its has more options than the IKEA 5 button I'm currently using.