ZHA Zigbee Tested Devices...Please add your device results

try the following:

  1. copy GitHub - Adminiuga/zha_custom: "zha_custom" component for Home Assistant. Zigpy commands service wrapper into your configuration folder custom components, eg /config/custom_components/zha_custom
  2. add zha_custom: to your configuration.yaml
  3. create scans folder in your config folder, eg /config/scans
  4. restart ha, you should have new service zha_custom.execute
  5. call that service with the following params {"command": "scan_device", "command_data": "ieee_of_the_target_device"}

Ok, is there a way to force quirks? Just started out with ZHA, my Xiaomi PIR sensor works fine, but I have a Xiaomi switch that comes up as sensor_86sw1

The motion sensor comes up saying quirk applied, but the button doesnā€™t. Itā€™s the large flat square one.

Running 94.3 home assistant in docker

There isnā€™t a quirk for that. Whatā€™s the model for the device?

The wireless dual has a quirk and it should support 9 actions. All binary sensors for remote / wireless switch type devices are being removed. Events / direct binding are the supported interaction methods for these devices.

It is the WXKG03LM

It comes up with 3 sensors like ā€œsensor.lumi_lumi_sensor_86sw1_somethingā€ when added.

or is this how it should be and I use one of them for the click events?

Go to the event tool and subscribe to zha_event and press the buttons

Walked into Best Buy today and they had the Samsung Smarthings Button on sale for $14.99.

I have been wanting a button to run different automationā€™s or scripts in each room for a while.

This button paired with zha out of the box and has a temp sensor.

At first I tried to do a standard automation using the binary sensor, but the switch would only show on no matter if I did press, double press, or hold.

Started looking on the forum and found a couple of post that got close but no cigar.

Then found one that was listening to the zha events instead of using the sensor.

That worked perfect and just wanted to share it with anyone else wanting these to work.

I am using HUSBZB-1 on a Raspberry Pi for my Hassio setup.

Pull the button out of the box.
Goto Hassio front end Configuration then ZHA
Click on Add Devices
Pull tape covering battery and place next you hub or stick
It will register the device with the temp sensor
the name is samjin.button not smarthings
After you see it in the zha page copy the IEEE device code
you will need this for your automationā€™s.

Now create automationā€™s for each type of button press.
Replace the device_ieee: with the one you copied above.

- id: '1560813337553'
  alias: Button1 Single Pause Music Runeaudio
  trigger:
  - event_data:
      command: button_single
      device_ieee: 00:00:00:00:00:00:00:00
    event_type: zha_event
    platform: event
  action:
  - data:
      entity_id: media_player.runeaudio_mpd
    service: media_player.media_play_pause
- id: '1560823992301'
  alias: Button1 Hold Night Script
  trigger:
  - event_data:
      command: button_hold
      device_ieee: 00:00:00:00:00:00:00:00
    event_type: zha_event
    platform: event
  action:
  - service: script.1535918900987
- id: '1560824915079'
  alias: Button1 Double Bedroom Light Off
  trigger:
  - event_data:
      command: button_double
      device_ieee: 00:00:00:00:00:00:00:00
    event_type: zha_event
platform: event
  action:
  - data:
  entity_id: light.sengled_e11g13_0306678e_1
service: light.turn_off

Now you can have a button in each room that will do 3 different things.

Iā€™m sure someone can improve my automationā€™s to allow all 3 to be in one,
but I struggle with templates and this works perfectly for me.

Hope this helps someone.

BONUS: These buttons are magnetic

3 Likes

Anyone getting this in the log?

ERROR (MainThread) [bellows.ezsp] NCP entered failed state. Requesting APP controller restart

Occurs after a restart, and appears once or twice a day in the log. Anything I should be worried about? Using the HUSBZB stick.

1 Like

Thanks for the info. I added a second button last night, and realised both buttons trigger both automations. I had been using entity_id rather than the device_ieee so Iā€™ll fix them up tonight

Lemme guess: Raspeberry Pi? Yes, youā€™ll be getting those on raspberry pi, usually indicates thereā€™re spikes in CPU usage and/or disk activity. Configure recorder: component to log only entities/domains you really need and donā€™t keep too many days of data in the recorder.

These two queries against home-assistant-v2.db will show whatā€™s logged most frequently

select count(state_id) as count, entity_id from states group by entity_id order by count asc;

domains:

select count(state_id) as count, domain from states group by domain order by count asc;
2 Likes

Running in docker on a Synology 918+ actually. Interesting though, Iā€™ll have a look through the activity logs

Is the xiaomi aqara WXKG03LM supported yet in zha as it would be a great wireless switch to use if not what would it take to get it working??

https://www.coolicool.com/home-garden/xiaomi-mi-aqara-wxkg03lm-wireless-remote-switch-upgraded-single-key-version-support-no-wiring-requir-g-54900

double switch works for me, but the others should work too

does a specific quirk load for you for this switch?

I have been trying this switch, and I can get it to join the network, but nothing when i listen to zha_event.

My other buttons work fine.

Just had a go at this now, and the WXKG03LM gives me nothing in the events. The other buttons i have work fine.

Does Hue Tap Switch works with ZHA ?

Just wanted to let everyone know that the Lutron Connected Bulb Remote seems to work with the Dev Branch of Home-assistant. I was able to pair the remote and setup automations for all four buttons.

I hope this makes it into the 0.95, but I am running the dev branch. Its amazing how responsive the remote is using home-assistant!

1 Like

I love that remote! So glad its working but I wish we had a source of getting more of them or a good replacement.

1 Like

I just came across your comment while trying to solve my problems with Sengledā€™s odd transition behavior. Do you have a way to set brightness to 0 if you control the light with a voice assistant? Iā€™m fine with slightly more complex automations to enable smooth dimming, I just canā€™t figure out how to get around the times where the light will be manually switch off.