Zigate and Aqara Opple switch

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Zigate and Aqara Opple switch

Post by ronaldbro »

Hi Pipiche,

Today I received my Aqara Opple Switch with 6 buttons. I added it to Zigate and I got 6 lvl controller widgets, I was expecting a selector switch.
I know the switch is inteded to use in 2 different ways, either a 6 button switch or linked to a bulb and then the buttons have a predefined functionality on/off,brightness up/down and color change.
I want to use it as a 6 button switch.

Can you help me getting the right widgets?

Thanks Ronald
Attachments
export.json (4).txt
(4.56 KiB) Downloaded 35 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

I’m on it .
I hope to be able to deliver by this weekend


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

Thanks, that would be great.
Let me know if you want me to test something. Got a second ZiGate today which is not in production yet so I’m able to do some testing on a second pi.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

This is up and runnin, but currently only on a development branch. So if you want to make a try this is of course possible

you have to switch from beta to 'AqaraOpple' branch

Code: Select all

git pull
git checkout AqaraOplle
git pull
You have first to remove the widget whcih have been previously created

I expect to push it to beta late during the week-end
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

This is now available on the beta branch
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

Hi Pipiche,

I have just tested and it works great, thanks. Got 6 selector switches with click, double click, triple click, long press and release.
I did notice two strange things:
- in the settings -> device page I see different selections like Group on, Dim 20%, group off etc.
- Every button shows the signal strength in de settings -> device page, but they are not all the same.

Regards Ronald
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

The signal Strength reported in Domoticz, correspond to the latest message. And that Strength is based on the last communication and could vary from one to and other
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

Ah, ok I understand.
So I guess one cosmetic little bug left.

Great work like always Pipiche.

Are you planning to push this to stable in the near future?
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

I don’t understand what you mean by cosmetic bug left.
The signal strength is an expected behaviour.

For pushing to stable, there no plan for now.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

pipiche wrote: Saturday 02 May 2020 10:49 I don’t understand what you mean by cosmetic bug left.
The signal strength is an expected behaviour.

For pushing to stable, there no plan for now.
I mean this bug:
in the settings -> device page I see different selections like Group on, Dim 20%, group off etc. In the widget it is click, double click etc.
See attachment.
Attachments
F18302BD-B172-4063-A3A0-3ECC0AC97851.jpeg
F18302BD-B172-4063-A3A0-3ECC0AC97851.jpeg (193.47 KiB) Viewed 659 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

This is how Domoticz behave ... so cannot do more.
You might want to ask the Domoticz guys
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

Indeed, you're right. I see the same behaviour with the switches I have on the xiaomi gateway.
I'll post a message in the domoticz bug list
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

Now that I added more devices to this zigate and enabled group management I do have a problem. I added 7 tradfri bulbs, 1 hue bulb and a Xiaomi plug. I created 3 groups for the tradfri's and the hue bulb is grouped with a hue remote.
After this the Opple doesn't work as expected anymore. The widgets never change and when I press button 2 all 8 bulbs and the plug goes on, with button 1 everything goes off. So it behaves as if it's linked to everything, but I didn't link it...
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

By default the Aqara Opple is indeed broadcasting commands to the all network.

Did you at any point of time after the successful pairing reset the Aqara Opple switch ?
If that is the case you need to remove the widget and redo the pairing
During the pairing a number of Binding are removed
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

How do I reset the device? Only know how to bind by pressing the back button until the blue light starts blinking.

I did try to remove all widgets and rebind. The result was the same but I’ll try again tomorrow.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Aqara Opple switch

Post by ronaldbro »

I tried to delete the widgets and remind again and now it works. Thanks
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Aqara Opple switch

Post by pipiche »

Good, I'm glad that you succeed.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest