🚪 IKEA MYGGBETT E2492 Door/Window Sensor (Matter)

Full-featured automation for the IKEA MYGGBETT E2492 Matter Door/Window Sensor. This blueprint supports multi-stage actions for both opened and closed states, allowing you to handle immediate responses and delayed “safeguard” or notification actions in a single automation.

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

:rocket: Benefits

  • Multi-Stage Logic: Trigger immediate actions (e.g., turn on light) followed by delayed actions (e.g., notify if door is left open too long).
  • Parallel Execution: Handles multiple state changes and timers concurrently.
  • Battery Management: Built-in battery low monitoring with a configurable threshold (default 30%).
  • Highly Flexible: All actions are optional and support multiple sub-actions.

:light_bulb: Example Use Cases

  • Bathroom Occupancy:
    • Open: Turn on light.
    • Closed Long: After 30 minutes of being closed, ensure lights are off as a backup.
  • Garage Door Security:
    • Open Immediate: Turn on garage light.
    • Open Long: After 15 minutes, notify “Garage door left open!” or automatically close it.

:hammer_and_wrench: Requirements

  • IKEA MYGGBETT (E2492) sensor connected via Matter.
  • The sensor should expose a binary_sensor with device_class: door, window, or opening.
  • (Optional) The sensor should expose a sensor with device_class: battery.

:page_facing_up: License

Licensed under the MIT License.


:link: More Blueprints & Community

Check out my other blueprints for IKEA Matter devices on the Home Assistant Community:

:backhand_index_pointing_right: Explore all my blueprints on the HA Forum

4 Likes

Update: Configuration Save Fix

Hi all,

Just released a quick update to fix a configuration issue:

  • You can now leave optional inputs completely blank.
  • Fixed the error: “Message malformed: Entity ID none is an invalid entity ID” when trying to save without selecting every single sensor.

If you had trouble saving new automations before, simply re-import the blueprint and it will work perfectly now! :white_check_mark:

I’ve just updated this blueprint to include the Active Hours feature. You can now restrict the automation to specific times of the day (e.g., motion lights only at night, or door alerts only during work hours).

Check the README for details.

Check the latest version in the repository! :rocket:

It would be great if it supports a group of sensors for HVAC automation.

1 Like

@BrushXue Thanks for the suggestion!

You can actually already do this today using Home Assistant’s built-in Binary Sensor Group:

  1. Go to Settings → Devices & Services → Helpers.
  2. Click Create Helper → Group → Binary sensor group.
  3. Add all your windows and doors to this group (set the device class to Door, Window, or Opening).
  4. By default, if any window in the group is opened, the group turns on (open). When all windows are shut, the group turns off (closed).
  5. In the blueprint, simply select this helper group in the MYGGBETT Door Sensor field.

This will automatically trigger your HVAC off/on actions based on the entire group’s status!

1 Like