Home Assistant beginners

Has anyone had any luck getting Ikea Somrig shortcut buttons working in Home Assistant, I got some the other week but just can't get them to work. I've read threads which have said they are now supported and some people seem to have got them working, some people have them working but only with one of the buttons recognised but I can't event get them that far, they are listed as a device in ZHA but with no entities etc.

Yep, working perfectly for me with ZHA and this blueprint.

Entity wise I get these:

47wcda0.png


I've had it for a couple of months. It was working fine all along but I did have a firmware update showing up after a week or two. Getting the update to apply was a right pain. I ended up having to delete it from HA and then pair it to the Zigbee coordinator specifically rather than one of the extenders.
 
Yep, working perfectly for me with ZHA and this blueprint.

Entity wise I get these:

47wcda0.png


I've had it for a couple of months. It was working fine all along but I did have a firmware update showing up after a week or two. Getting the update to apply was a right pain. I ended up having to delete it from HA and then pair it to the Zigbee coordinator specifically rather than one of the extenders.
Damn you! lol

Maybe I need to completely reset the blooming thing and try from scratch. I've tried pairing it right next to my sonoff dongle but still no luck. Do you get full functionality of both buttons, and things like single, double and long press?
 
Damn you! lol

Maybe I need to completely reset the blooming thing and try from scratch. I've tried pairing it right next to my sonoff dongle but still no luck. Do you get full functionality of both buttons, and things like single, double and long press?

Yep. Both buttons and all combinations work fine. I'm only using single press and double press in my automation but before posting I checked long press and release after long press for both buttons and they worked fine.

I wonder if it's a firmware thing and I was lucky with the version that mine shipped with. I think you need to have this in your configuration.yaml to get firmware updates offered, I could be wrong but I have it in mine and I was offered a firmware update.

Code:
zha:
  zigpy_config:
    ota:
      ikea_provider: true
 
Yep. Both buttons and all combinations work fine. I'm only using single press and double press in my automation but before posting I checked long press and release after long press for both buttons and they worked fine.

I wonder if it's a firmware thing and I was lucky with the version that mine shipped with. I think you need to have this in your configuration.yaml to get firmware updates offered, I could be wrong but I have it in mine and I was offered a firmware update.

Code:
zha:
  zigpy_config:
    ota:
      ikea_provider: true
Hmmmm, more tinkering needed I think, it's so frustrating when some stuff just works. I was thinking of getting some of their motion sensors too, to replace some sonoff ones that have died on me but I want to get these shortcut buttons working before I invest in more Ikea zigbee stuff.

What zigbee device are you using with Home Assistant?
 
Hmmmm, more tinkering needed I think, it's so frustrating when some stuff just works. I was thinking of getting some of their motion sensors too, to replace some sonoff ones that have died on me but I want to get these shortcut buttons working before I invest in more Ikea zigbee stuff.

What zigbee device are you using with Home Assistant?

I haven't used the Ikea motion sensors (I'm more interested in a presence sensor) but I've had nothing but good experience with the Somrig remote, Parasoll door/window sensors, Tradfri repeaters & Symfonisk gen 2 remotes. The gen 1 Symfonisk remote was a bit flaky.

I'm using a Home Assistant Yellow so am using whatever Zigbee coordinator is in it, I can't remember off the top of my head.
 
I haven't used the Ikea motion sensors (I'm more interested in a presence sensor) but I've had nothing but good experience with the Somrig remote, Parasoll door/window sensors, Tradfri repeaters & Symfonisk gen 2 remotes. The gen 1 Symfonisk remote was a bit flaky.

I'm using a Home Assistant Yellow so am using whatever Zigbee coordinator is in it, I can't remember off the top of my head.

Good to know that most of the stuff should work fine, I guess I just need to remove all traces of the somrig and start again and see if I can get it working. I know what you mean about the presence sensors I'm very interested in those, but have a couple of places with no access to power that also don't need the accuracy which motion sensors are great for.
 
Decided to do away with the Hue hub to try and keep things simple. Time will tell if it's the right decision as i seem to be struggling to configure the Hue Dimmer Switch. Seems there's a way to do it without various automations for each button press but i'm not managing it!

Managed to create a Zigbee Group, then found Clusters/Bindings in the switch control section, but the buttons are still doing nothing!


I know i was doing this as a test and then thinking i'd restart in the new house, but i think anything i work out for the odd activity like this now won't be retained in 9 months time!
 
Last edited:
Decided to do away with the Hue hub to try and keep things simple. Time will tell if it's the right decision as i seem to be struggling to configure the Hue Dimmer Switch. Seems there's a way to do it without various automations for each button press but i'm not managing it!

Managed to create a Zigbee Group, then found Clusters/Bindings in the switch control section, but the buttons are still doing nothing!


I know i was doing this as a test and then thinking i'd restart in the new house, but i think anything i work out for the odd activity like this now won't be retained in 9 months time!
There's a pre made automation online somewhere you should use
 
There's a pre made automation online somewhere you should use

Cheers, will take a look later, however keeping it super simple for now. Can you see any issues here?

Here's the Switch in ZHA - Note it confirms it's the correct Device for the separate Automations to turn on the lamps on/off. In the log it also recognises that the "On" event was triggered 39 seconds ago
2MSnPtf.png



Then here is the automation
KDC9e5C.png



It's really simple. Yet pressing anything on the switch does nothing to the lamps. I can control the lamps using the dashboard, so i know HA is recognising the right devices.
 
I can control the lamps using the dashboard, so i know HA is recognising the right devices.

Edit the dashboard and check which entity is being triggered when you turn the light on, there may be multiple entities and you may be picking the wrong one in the automation. You can also find the appropriate entity in the logbook.

If you run the automation manually does it make any difference? Check the traces for the automation, see if something looks screwy in there.
 
Ah ok. Yeah. If i run the automation manually then the light turns on/off as expected.

That then suggests that "Hue Dimmer Living Room" and "Turn On Pressed" isn't the correct trigger for the on button of the dimmer switch.

Looking at the first screen shot above of the Dimmer in ZHA. The log shows the On button is recorded as "On event was fired". However i'm not sure what that syncs to

If i press each of the buttons on the remote. The Logbook shows the following.

Top one is the off button, then dim less, dim up and finally on

dMwzpT6.png


BTxfkAk.png
 
Last edited:
I am listening I just haven't got to it yet. Will move it tomorrow. However, inexplicably, after returning from ~6 days holiday - it is all working now :S
A bit later than promised but I just:
1. Removed the extra BT USB adaptor I had; the HA box just has a SABRENT BT-UB40 now (which I believe is the most compatible with HA).
2. Relocated the ESP32.

It seems now its a bit uncluttered I am getting an instance improvement for devices closest to the HA Box:
(changes made at 11:47)
MUSnNRH.png


And devices far away but near the ESP32 seem better too:
p4Mlg8n.png


Hopefully that is stable now, as it was getting really annoying:
Z9w8lmI.png

(I assume low dBm is better? lol)
 
Last edited:
It has gone all screwy again...ffs...

iJKL0ph.png


Nothing has changed.......... shed is on the ESP and the others should be local to the native bluetooth. Bizarre
 
Finally bit the bullet and moved over to Zigbee2MQTT. A few hiccups but overall big improvement, not only in number of devices and functionality, but also in response speed.
Also moved from SD card to SSD. Faster, but also no longer the ticking time bomb re card failure (has worked perfectly for 2-3 years but I imagine SD cards wouldn't last much longer...)
 
Finally bit the bullet and moved over to Zigbee2MQTT. A few hiccups but overall big improvement, not only in number of devices and functionality, but also in response speed.
Also moved from SD card to SSD. Faster, but also no longer the ticking time bomb re card failure (has worked perfectly for 2-3 years but I imagine SD cards wouldn't last much longer...)

I've had a couple of SD cards fail so I moved some time ago from a Pi4 to a Home Assistant Yellow with an M.2 SSD.
 
How far is the HA box from the sensor in the master bedroom? The signal isn't amazingly good and the variance from -82 to -72 would be usual unless either the HA box or sensor were moved.

As a test can you move the ESP32 so that it's right next to that sensor?
 
Last edited:
Back
Top Bottom