Core: Aqara Wireless Switch(Double,not in wall) LEFT button FAILURE

Created on 12 Aug 2017  Â·  39Comments  Â·  Source: home-assistant/core

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

**Home Assistant release (hass --version):0.50.2

**Python release (python3 --version):3.4.2

**Component/platform:xiaomi

**Description of problem:I have 6 Aqara Wireless Switches(Double), to pair my Aqara Wall Switch (Double) to do a Both_sides light switch control. During the installation, I have 4 Aqara Wireless Switches(Double) with the problem of LEFT Button Failure. I use the XiaoMi offical app's automation, works well. But in the Home-assistant, right button automation all succeed, and the left button always failure with 4 Aqara Wireless Switch, only 2 switch left button succeed.

Expected:

Problem-relevant configuration.yaml entries and steps to reproduce:

- alias: "test left single click"
   trigger:
    - platform: event
      event_type: click
      event_data:
        entity_id: binary_sensor.wall_switch_left_158xxxxxxx67
        click_type: single

  action:
    - service: switch.toggle
      entity_id: switch.wall_switch_left_158xxxxxxxx3d
- alias: "test right single click"
  trigger:
    - platform: event
      event_type: click
      event_data:
        entity_id: binary_sensor.wall_switch_right_158xxxxxxx67
        click_type: single

  action:
    - service: switch.toggle
      entity_id: switch.wall_switch_right_158xxxxxxxx3d


1. 
2. 
3. 

**Traceback (if applicable):**
```bash

**Additional info:I also use command "sudo journalctl -fu home-assistant.service"
Right button pushed can made log as follows, left button with nothing.

Aug 12 17:13:43 orangepizero hass[26536]: 2017-08-12 17:13:43 INFO (MainThread) [homeassistant.core] Bus:Handling , new_state=, entity_id=automation.test_right_single_click>

Most helpful comment

Thanks for reply. I'm from China. I will contact XiaoMi comoany tech-support tomorrow.

Cheers.

All 39 comments

Hi,

I'm having the same problem with OpenHab since last update of the Xiaomi Gateway 2 firmware (1.4.1_149).

It seems a problem with the Gateway because I’ve done a tcpdump listening for packages from the Xiaomi Gateway on the OpenHab machine and I detect UDP packages when I press the right button and both but none when I press the left button.

The left button does work with MiHome software with automations.

Lets hope Xiaomi repairs this...

Luis

Thanks for reply. I'm from China. I will contact XiaoMi comoany tech-support tomorrow.

Cheers.

it is the same with the single switch version. It reports the click in the Xiaomi app but not in HA

I can confirm this problem. It's happening here also.

Hi again,

@hhalibo it would be great if you could post any progress with Xiaomi tech support. I send them an email but their answer was dissapointing saying that "the product you have mentioned is not available for sale in your locality through our official website. So, assurance could not be provided for the service in our service center and we would not be able to assist you technically."

Thank you very much!

I'd like to confirm this issue with domoticz, is there any possible solutions?

I have the same problem: right switch works fine, but left one and "both click" (binary_sensor.wall_switch_both_158dxxxxxxxxxx) don't.

Hi, I have the exact same problem. Regretting the update a lot since it made my wall switches useless. Please keep this post updated with new information so all of us can solve this issue.

Thank you!!

@pandemixxx I think there's no solution unless Xiaomi repairs the bug in the firmware. Unfortunately, as I commented, I tried to contact Xiaomi with the problem and they didn't help because of my country, replied to their email and had no response since.

@hhalibo said he's from China and would contact Xiaomi but haven't heard from him since, let's hope Xiaomi takes notice.

I suppose it wouldn't hurt if anybody else from China would contact Xiaomi to make a little pressure...

I'm not sure it is a bug with xiaomi, as they work in the Mi Home, just they aren't registered in HA for the single version and the left and both click on the double.

@markrennie71, sure it works with their own products, but the "local area network communication protocol" that the Xiaomi Gateway provides, and that is responsible for sending the events, does not work since last firmware update.

It's not a problem with any of the home automation sw, and it happens in all of them. And worse, to me it seems imposible to overcome this problem other than with an update of the Xiami Gateway firmware.

Regards.

fair point.. I stand corrected. I just hope it doesn't start happening to more products and HA as everything else works perfectly (i.e. motion sensors) except 2 switches listed in this topic. I have only just started to move all my stuff to Xiaomi and spent loads of money :D

This guy seems to have the email address of the Xiaomi Gateway firmware developer:
https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1146
I just contacted him pointing to this thread.

That's great news @Chronocento, hope they can solve this. Please keep us posted with any new news.

Thank you!

any news?

@theo-69 no xioami gateway updates leads to no news unfortunately

Damn, mine gateway and switches just arrived. I updated the firmware during setup and only the right channel is working :( hope there's an update to this soon! Thanks all

still nothing?

nothing.. I got a new gateway and didn't upgrade to the new firmware so I could use my wall switches.

@theo-69 I bet there going to be a discussion after you'll see .150 update on your gateway, nothing will change before.

@pandemixxx @luismmg @markrennie71 @joaosilvareed @Chronocento Hi there,Xiaomi technician told me that the bug be found! they will publish the new firmware resolve it next week! maybe the version will be 1.4.1_149.0150, PLS be patient,happy automating.

I hope you are right and thank you for this as I would love to update my 2nd gateway so I can use the newer motion sensors with it

Fingers crossed

Thanks for the check, and hope Xiaomi can publish new firmware to fix this!

Thanks for the info @hhalibo, hope everything goes back to working soon.

still no update

Guys new update from xiaomi appeared on the app.

Gonna try it latter tonight, and post if the bug was fixed. It was a long wait let's hope it's fixed!! :)

I confirm .150 update, just checked, everything is back to normal, LEFT CLICK WORKS!!!
Finally fixed.

do other functiobns like detectors and so on still work properly after updating the gateway software?

My round wireless button doesn't work yet... maybe I have to tweak the settings a little bit. Keep you posted.

EDIT: After tweaking/updating the settings the button works as expected

@thundergreen if you mean movement detectors - they work well

my app updated but it says I am on the latest firmware 1.4.1

Just checked a button - works as well.
@markrennie71 we all on 1.4.1 - check numbers after _ - in my case version is 1.4.1_150.0143. 150 is a build version, which was updated.

Ahh yeah good point. Still 149 for me

All good on my part as well, everything works as expected...Finally!!

Any new feature ?

Still waiting for the upgrade. Is there any way to force the fw upgrade? (Not just by clicking check firmware)

Same here, clicked on check firmware still indicating on the latest
firmware of 149.

Best Regards,
Zach

On Wed, Sep 20, 2017 at 7:38 AM, Ordep notifications@github.com wrote:

Still waiting for the upgrade. Is there any way to force the fw upgrade?
(Not just by clicking check firmware)

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/8935#issuecomment-330650544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUNF4ONiH1sW3y19JOX4FBlMsYplNDNNks5skBgqgaJpZM4O1XEL
.

This issue could be closed (@hhalibo, @Danielhiversen). It's fixed with firmware 1.4.1_150.0143. If your Mi Home App doesn't provide the update yet please be patient. It will show up soon!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flsabourin picture flsabourin  Â·  3Comments

sh0rez picture sh0rez  Â·  3Comments

sogeniusio picture sogeniusio  Â·  3Comments

moskovskiy82 picture moskovskiy82  Â·  3Comments

TheZoker picture TheZoker  Â·  3Comments