Arming automation via router network connectivity

Hi everyone,

I wanted to share my automation setup that makes it possible to arm and disarm without ever touching a button or installing presence sensors. How? Via detecting what devices are connected to the Wi-Fi router.

My gear:

  • TP-Link Deco B25 router (can act as Matter controller)
  • TP-Link Tapo P110M smart plug
  • Aqara M3 (main hub that controls devices/automations)
  • Aqara Camera that supports arming/alerts

Setup:

  1. Add P110M smart plug to both Deco and Aqara systems as a Matter plug.
  2. Set up an automation in Deco app that turns the plug ON once everyone leaves (X, Y, Z phones are not connected to Wi-Fi), and another that turns the plug OFF when any of those phones are back at the network.
  3. In the Aqara app, set up an automation that arms the system once the smart plug is turned ON, and another that disarms once it is turned OFF. Add entry/exit delays for a smoother experience.

This enables a no-hassle arming/disarming experience that does not depend on unreliable geolocation, and not even every phone needs to have a dedicated app installed, as the automation is triggered by Wi-Fi connectivity. Through another Aqara automation, I also added a few minutes of delay to the arming, so in case of an accidental connection drops/device restarts, the house is not armed immediately.

I hope this is useful for others looking for a similar solution!

4 Likes

Welcome to the community! Thanks for the sharing :yehec8wxjw08bxitza4t8e_35015: