Blog about 4 methods to read IKEA Styrbar button presses

Here I wrote a blog about the IKEA Styrbar 4-way button.

https://holgerschurig.github.io/de/ikea-schalter-e2001/

Now, you might say “hey, that device is really old, already covered nicely” and you’re right. However, I wrote a general skill and then different methods on how to get the button presses of it into your automations:

  • First, how to monitor / trace the actions of the device (e.g. how a button is named). That’s a general skill, can be used with any button device.
  • Set proper triggers in actions (so-to-say directly)
  • How to use the HACS plugin “pyscript” to do the same (it reduces 15 lines of YAML to 3 lines of Python… and you don’t need to press “Relead YAML” !)
  • the nice “Switch Manager” integration that you can find on HACS
  • and then I only mention it, but for some the available blueprints for Styrbar are the way to go. I found them too inflexible for my use.

The only drawback for most of you is that I wrote this blog in german — but there are browser plugins (I suggest the one from DeepL, they translate much better than Google Translate) to have things accessible for you