🚪 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.

: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:

:point_right: Explore all my blueprints on the HA Forum

3 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: