Skip to content

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

License

Notifications You must be signed in to change notification settings

DjDenmark/appdaemon_aqara_motion_sensors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Buy Me A Coffee

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

  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.

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%