Appdaemon Aqara Motion Sensors Save

An AppDaemon app to reset Xiaomi Aqara motion sensors after a given timeout.

Project README

Aqara Motion Sensors

Introduction

An AppDaemon app to reset Xiaomi Aqara motion sensors after a given timeout.

This hardware motion sensor hack allows motion to be detected every 5 seconds, however it still takes 300 seconds to reset the state to off. This app will motions sensor state to off after a given timeout, e.g. 5 seconds. Together your Xiaomi Aqara motion sensors can toggle state on or off every 5 seconds.

HACS Installation

hacs_badge

  1. Make sure you have the option "Enable AppDaemon apps discovery & tracking". This is located in: Configuration -> Integrations -> HACS (options).
  2. Restart HA
  3. Go to HACS -> Automation -> search for "Aqara Motion Sensors" and install it.
  4. Follow app configuration section.

Buy Me A Coffee

ℹ️ NOTE: If you also ControllerX, then you might have naming conflicts within HACS. To get around this you can rename either of the two integrations to e.g. aqaramotion in the custom_components folder and do the same in your apps.yaml.

Manual Installation

Download the aqara directory from inside the apps directory to your local apps directory, then configure the aqara module in apps.yaml.

App configuration

aqara:
  module: aqara
  class: Aqara
  timeout: 5
  motion_sensors:
    - binary_sensor.bathroom_motion_sensor
    - binary_sensor.bedroom_motion_sensor
    - binary_sensor.kitchen_motion_sensor
    - binary_sensor.lounge_motion_sensor
key optional type default description
module False string The module name of the app.
class False string The name of the Class.
timeout True int 5 Timeout after which motion sensor state is set to off.
motion_sensors False list A list of motion sensor entity_ids.

Configuration Guide

Open Source Agenda is not affiliated with "Appdaemon Aqara Motion Sensors" Project. README Source: wernerhp/ha.appdaemon.aqara_motion_sensors
Stars
39
Open Issues
2
Last Commit
10 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating