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

Blueprint: Styrbar Remote Control for Lights (Zigbee2MQTT Compatible)

This blueprint allows you to control your lights with the Styrbar remote, offering basic functionality like turning lights on/off, dimming brightness continuously, and changing color temperature.

Features

  • Turn Lights On/Off – Use the center button to toggle lights on or off.
  • Adjust Brightness – Hold the top or bottom button to dim the lights up or down with smooth, continuous adjustments.
  • Safe Brightness Control – Brightness is clamped between configurable min/max percentages so you never end up with unusable values (like 0%).
  • Change Color Temperature Incrementally – Use the left/right buttons to adjust color temperature.
  • Safe Color Temperature Control – Color temperature changes are clamped between configurable min/max Kelvin values, with a configurable default fallback if the light is off.
  • Transition Time Option – Adjust the transition time for brightness changes.
  • Works with Zigbee2MQTT 2.0.0+ – Fully compatible with the latest version of Zigbee2MQTT, no need to enable the legacy action sensor.
  • Single Light or Group of Lights – Works with any light entity you select, whether it’s a single bulb or a group of lights.

Requirements:

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

:white_check_mark: Tested and works with Zigbe2MQTT 2.x

:rocket: CHANGELOG

  • Version: 2025.3 – 05 Mar 2025 – Initial release
  • Version: 2025.6 – 05 Jun 2025 – Small bug fixes
  • Version: 2025.9 – 15 Sep 2025 – Major fixes
    • Fixed color temperature errors when lights were off
    • Added configurable default, min, and max color temperature values
    • Added configurable min and max brightness values
    • Ensured all brightness and color temp changes are safely clamped

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

GitHub Link Click Here

Like this blueprint? Consider hitting the :heart: button below :+1:

8 Likes

Good job! Does what it has to do. Using your code to control a Tradifi RGBW with the Styrbar.

I am however still looking for a BP that gives me the possibility to adjust the color next to the color temp. Have tried many of them but only one comes real close.EPMatt BP along with the hook BP.

I was thinking about using the left long press to toggle between Color Temp. and Color Hue, and the right button long press to loop through the colors.
Still fairly new to this so I am trying to figure it out… :grinning:

1 Like