IKEA Styrbar (E2001/E2002) - control Multiple Light/Switch Entities (Zigbee2MQTT v2.0 Compatible) [Version 1.1 (2025-03-14)]

Blueprint: IKEA Styrbar (E2001/E2002) - control Multiple Light/Switch Entities (Zigbee2MQTT v2.0 Compatible)

This Blueprint is designed for the IKEA E2001/E2002 Styrbar switch remote, tailored to work seamlessly with Zigbee2MQTT v2.0 Actions. It enables you to control multiple lights/switches (on/off and brightness control, if supported by light) with a single Styrbar switch remote.

Features:

  • Switch between multiple target (light/switch) Entities: Short press left/right arrow buttons to select the previous/next target Entity
  • Visual indication of the selected target Entity: The selected target Entity will blink - turn on/off (or off/on if already on).
  • Turn lights/switches on: Short press the top button (large bulb).
  • Turn lights/switches off: Short press the bottom button (small bulb).
  • Increase brightness: Hold the top button (large bulb).
  • Decrease brightness: Hold the bottom button (small bulb).
  • Customizable Actions: Assign your own Actions for left/right arrow button hold/release Actions.
  • Target switching delay: Adjust the delay after selecting different target Entities.
  • Force brightness: Enable this option and set the brightness level in order to have a specific brightness whenever you turn the light on, instead of the last set brightness.
  • Brightness change delay: Delay after each brightness level change.
  • Brightness repeat count: Maximum number of brightness level changes per Action.
  • Brightness step: Brightness change percentage.
  • Zigbee2MQTT 2.0.0+ Compatibility: Fully compatible with the latest version; no need to enable the legacy action sensor.
  • Single light/switch or Group control: Works with any Light/Switch Entity you select.

Requirements:

  • IKEA E2001/E2002 Styrbar remote control integrated with Zigbee2MQTT.
  • A single light/switch or group of lights/switches configured in Zigbee2MQTT.
  • Home Assistant with MQTT integration enabled.

Release Notes:

Version 1.0 (2025-01-29):

  • Initial release.

Version 1.1 (2025-03-14):

  • Removed the “Target Switching Delay” option.
  • Eliminated unnecessary variables.
  • Fixed the “Force Brightness” option.

Future Improvements:

  • Bug fixes?
  • Might be able to use Text Helper to save selected light/switch Device ID instead of using it’s index number which will avoid controlling the wrong light/switch if you modify light/switch target Entity list.

How to Use:

  1. Import the blueprint using the link below.
  2. Create one Number Helpers for each Styrbar remote (details below).
  3. Configure the required inputs:
    • Choose the Styrbar remote control device.
    • Select the Light/Switch Entities (single or group).
    • Select the Light/Switch Number Helper matching the Styrbar remote.
  4. Configure the optional inputs:
    • Assign Actions to Left/Right Arrow button long press/release clicks.
    • Adjust additional settings like target switching delay, force brightness level, brightness change delay and step size, and maximum brightness change repeat count.
  5. Save and activate the Automation.
  6. Enjoy controlling your lights and switches with the Styrbar remote!

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Number Helper Creation:

  • Icon: mdi:numeric
  • Minimum value: 0
  • Maximum value: 127 (should be sufficient)
  • Display mode: Input field
  • Step size: 1
  • Unit of measurement: (leave blank)

Create one Number Helper per Styrbar remote as it will hold the index of the currently selected Light/Switch entity.


This is my first ever Blueprint, so please go easy on me. Feedback and suggestions are welcome.

This Blueprint is based on Z2M - IKEA STYRBAR remote for multiple lights done by @Spanching. I just had an idea to do away with multiple Automations requirement and wanted support for switches.

Share and Enjoy!

1 Like

Thanks! Seem to work well, but why no settings to control arrow_left_click and arrow_right_click ?
Now, it just turns on/off the light, it’s that correct intended behaivour? I rather have the default, which is toggle the color tempratur profiles?

Using TRADFRI bulb E14
Zigbee2MQTT 2.1.1
SONOFF Zigbee 3.0 USB Dongle Plus V2

in my zigbee2mqtt the remotes show up as

Zigbee Model
Remote Control N2
Zigbee Manufacturer
IKEA of Sweden
Description
STYRBAR remote control

so they aren’t selectable in the blueprints i can fix that localy and they are selectable.

however i’m curious how does the “control multiple lights/switches” work if i set multiple lights can i switch with the remote then what light i want to control and how do you do that then?

I’ve created this Blueprint to control multiple target Entities using a single Styrbar switch remote. To swiftly switch between multiple target entities, I’ve assigned a single left/right press to choose which entity I’m controlling.

To help you identify which target entity you’re controlling, I’ve implemented a “blinking” feature on switching. I should add this in the Features list of the original post…

For those who want to manage multiple target Entities, I suggest configuring the color control actions to the left/right long press. However, if you only plan to control one light with your Styrbar, this Blueprint might be more than necessary and I would suggest using a simpler one.

This is what my Zigbee2MQTT device page looks like:

  • Zigbee Model: Remote Control N2
  • Zigbee Manufacturer: IKEA of Sweden
  • Description: STYRBAR remote control
  • Manufacturer: IKEA
  • Model: E2001/E2002

I’m guessing it works for you when you delete/comment line 14 of the Blueprint?

model: STYRBAR remote control

Or did you change the model String to something else?

That’s exactly right - you populate the target entity list with multiple light/switch Entities, and then you can use a single press of the left/right arrow buttons to select a different target Entity. The selected target Entity will turn on/off (or off/on if it’s already on) so you know which target Entity is selected. Then, you can use the small/large lightbulb buttons to control the on/off states and brightness (with a long press of the lightbulb buttons).