{"id":2733,"date":"2022-05-29T10:00:14","date_gmt":"2022-05-29T15:00:14","guid":{"rendered":"https:\/\/promincproductions.com\/blog\/?p=2733"},"modified":"2026-03-07T14:14:00","modified_gmt":"2026-03-07T20:14:00","slug":"aqara-motion-sensor-in-home-assistant-without-a-hub","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/aqara-motion-sensor-in-home-assistant-without-a-hub\/","title":{"rendered":"Aqara Motion Sensor in Home Assistant without a Hub"},"content":{"rendered":"<p>Motion sensors are great smart home devices for security and automation workflows.  This tutorial will walk through how to add an Aqara Motion Sensor to Home Assistant without an Aqara hub!  Using the motion sensor without the Aqara hub simplifies the network, the devices requiring support, and reduces cost to setup a simple device.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/home-assistant-aqara-motion-sensor-without-hub.png\" alt=\"Tutorial: Using Aqara Motion Sensor in Home Assistant without a hub\" class=\"wp-image-2804\" title=\"Tutorial: Using Aqara Motion Sensor in Home Assistant without a hub\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/home-assistant-aqara-motion-sensor-without-hub.png 600w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/home-assistant-aqara-motion-sensor-without-hub-500x500.png 500w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/home-assistant-aqara-motion-sensor-without-hub-150x150.png 150w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/home-assistant-aqara-motion-sensor-without-hub-450x450.png 450w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"aqara-contact-sensor\">Aqara Motion Sensor<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p>The sensor used in this tutorial is the <strong><a data-lasso-id=\"824\" href=\"https:\/\/amzn.to\/3ZD2Dd8\">Aqara Motion Sensor<\/a> <\/strong>[model <a data-lasso-id=\"825\" href=\"https:\/\/www.aqara.com\/us\/motion_sensor.html\" target=\"_blank\" rel=\"noopener\">MSS02<\/a>].<\/p>\n\n\n\n<p>Aqara products are available via Amazon in the United States and Amazon often has sale prices and coupons on the Aqara line of products &#8211; so keep an eye out for that.<\/p>\n\n\n\n<p>NewEgg also sells Aqara products in the United States with free shipping and at the time of writing is nearly the same price as Amazon even with discounts.<\/p>\n\n\n\n<p>For those living outside of the United States, Aqara <a href=\"https:\/\/www.aqara.com\/us\/where-to-buy.html\" target=\"_blank\" rel=\"noopener\" data-lasso-id=\"826\">lists the retailers they sell through<\/a> on their site.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/amzn.to\/4lgJSs1\" target=\"_blank\" rel=\"noopener noreferrer noopener\" data-lasso-id=\"827\">Aqara Motion Sensors on Amazon<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"679\" height=\"689\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM.jpg\" alt=\"Aqara Motion Sensor and package RTCGQ11LM\" class=\"wp-image-2802\" title=\"Aqara Motion Sensor and package RTCGQ11LM\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM.jpg 679w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM-493x500.jpg 493w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM-150x152.jpg 150w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM-600x609.jpg 600w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM-450x457.jpg 450w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/aqara-motion-sensor-RTCGQ11LM-591x600.jpg 591w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Aqara Motion Sensor Models<\/h3>\n\n\n\n<p>This post was initially written for integrating Aqara Motion Sensor <a href=\"https:\/\/amzn.to\/3ZD2Dd8\" target=\"_blank\" rel=\"noreferrer noopener\">RTCGQ11LM<\/a> using deCONZ v2.14.1 using a Conbee II as the Zigbee coordinator.  This model has since been discontinued.<\/p>\n\n\n\n<p>The latest model Aqara Motion Sensor P1 (MSS02) is a very similar device but is slightly larger.  It didn&#8217;t want to connect to deCONZ due to not being supported by the version I had installed.  deCONZ added support for Aqara Motion Sensor P1 in <a href=\"https:\/\/github.com\/dresden-elektronik\/deconz-rest-plugin\/releases\/tag\/v2.16.1\">v2.16.1 (Akihi)<\/a>.  After updating (to <a href=\"https:\/\/github.com\/dresden-elektronik\/deconz-rest-plugin\/releases\/tag\/v2.32.5\">v2.32.5<\/a>) connecting the Aqara P1 to deCONZ paired in seconds as expected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding-aqara-contact-sensor-to-home-assistant-without-a-hub\">How to Integrate an Aqara Motion Sensor to Home Assistant without a Hub<\/h2>\n\n\n\n<p>There are three primary Home Assistant Integrations for Zigbee.  More detail on those three methods can be found in the <a href=\"https:\/\/promincproductions.com\/blog\/adding-zigbee-to-home-assistant-on-qnap-ts-251-with-container-station\/\" target=\"_blank\" rel=\"noopener\" data-lasso-id=\"828\">Adding Zigbee to Home Assistant<\/a> post.  Two of those methods have been tested for adding an Aqara Motion Sensor without a hub to Home Assistant: ZHA and deCONZ.<\/p>\n\n\n\n<p>Using <a href=\"https:\/\/promincproductions.com\/blog\/add-zigbee-to-home-assistant-with-conbee-ii-and-deconz-on-qnap-ts-251\/\" target=\"_blank\" rel=\"noopener\" data-lasso-id=\"829\">deCONZ and the ConBee II Zigbee coordinator<\/a> the Aqara Motion Sensor <strong>successfully<\/strong> connects and functions as expected in Home Assistant.  The connection was quick as expected and is very stable.<\/p>\n\n\n\n<p>The Aqara Motion Sensor <em>never<\/em> connected to <a href=\"https:\/\/promincproductions.com\/blog\/add-zigbee-to-home-assistant-with-husbzb-1-and-zha-on-qnap-ts-251\/\" target=\"_blank\" rel=\"noopener\" data-lasso-id=\"830\">ZHA (Zigbee Home Automation) with a HUSBZB-1 Zigbee coordinator<\/a>.  It is not recommended to use this Zigbee gateway for the Aqara Motion Sensor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Entities Exposed in Home Assistant for Aqara Motion Sensor<\/h2>\n\n\n\n<p>Using the deCONZ integration with a ConBee II for an Aqara Motion Sensor, this is the list of entities exposed in Home Assistant:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Lux Meter<\/li>\n\n\n\n<li>Battery Level<\/li>\n\n\n\n<li>Motion (detected or clear)<\/li>\n\n\n\n<li>Temperature (of the device, not air temperature)<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"386\" height=\"392\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/image-5.png\" alt=\"Entities exposed in Home Assistant for Aqara Motion Sensor\" class=\"wp-image-2812\" title=\"Entities exposed in Home Assistant for Aqara Motion Sensor\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/image-5.png 386w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/image-5-150x152.png 150w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><figcaption class=\"wp-element-caption\">Entities exposed in Home Assistant for Aqara Motion Sensor<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Instructions to Add Aqara Motion Sensors with deCONZ Home Assistant Integration and ConBee II Zigbee Coordinator<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">In Phoscon App<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the menu by clicking on the three lined hamburger icon in the top left<\/li>\n\n\n\n<li>Select&nbsp;<strong>Sensors<\/strong><\/li>\n\n\n\n<li>Click on the&nbsp;<strong>Add new sensor<\/strong>&nbsp;button<\/li>\n\n\n\n<li>Select the&nbsp;<strong>Other<\/strong>&nbsp;button.  A screen will show indicating that it is scanning for new devices.<\/li>\n\n\n\n<li>On the motion sensor, press and hold the small button on the side of the device for about 3 seconds.  Blue lights on the front motion panel should flash.  This indicates the device is attempting to pair with the Zigbee network.<\/li>\n\n\n\n<li>Once the network is found and the Aqara Motion Sensor has connected to it, a green bar on the Phoscon App will appear at the bottom reading&nbsp;<strong>Sensor Ready<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1082\" height=\"828\" data-id=\"2809\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825.jpeg\" alt=\"Pairing button on an Aqara Motion Sensor\" class=\"wp-image-2809\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825.jpeg 1082w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-500x383.jpeg 500w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-1024x784.jpeg 1024w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-768x588.jpeg 768w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-150x115.jpeg 150w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-600x459.jpeg 600w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-450x344.jpeg 450w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/BDCE04EE-AE90-404C-9F2D-B882E74C8825-784x600.jpeg 784w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><figcaption class=\"wp-element-caption\">The pairing button on the side of an Aqara Motion Sensor<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1057\" height=\"828\" data-id=\"2808\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340.jpeg\" alt=\"Paring an Aqara Motion Sensor with the Phoscon App\" class=\"wp-image-2808\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340.jpeg 1057w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-500x392.jpeg 500w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-1024x802.jpeg 1024w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-768x602.jpeg 768w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-150x118.jpeg 150w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-600x470.jpeg 600w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-450x353.jpeg 450w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/8FA58C0D-A949-4096-8570-173603DB2340-766x600.jpeg 766w\" sizes=\"(max-width: 1057px) 100vw, 1057px\" \/><figcaption class=\"wp-element-caption\">Paring an Aqara Motion Sensor with the Phoscon App<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">In Home Assistant<\/h3>\n\n\n\n<p>If the deCONZ Home Assistant integration is configured to automatically add new devices (<a href=\"#configure-home-assistant-deconze-integration-for-automatic-connection\">see below<\/a>), no setup steps in Home Assistant are required.  Confirming that the Motion Sensor connected can be done with these easy steps though:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select&nbsp;<strong>Configuration<\/strong> from the left hand menu<\/li>\n\n\n\n<li>Click on&nbsp;<strong>Integrations<\/strong><\/li>\n\n\n\n<li>For the deCONZ integration, click on the device ID of the ConBee II device<\/li>\n\n\n\n<li>Select the the&nbsp;<strong>{number} devices<\/strong>&nbsp;link<\/li>\n\n\n\n<li>The Aqara Motion Sensor should be shown in the list<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-home-assistant-deconze-integration-for-automatic-connection\">Configure the Home Assistant deCONZ Integration to Automatically Connection to New Devices<\/h3>\n\n\n\n<p>A configuration option in the Home Assistant deCONZ integration allows for new devices in deCONZ (via the Phoscon App) to be automatically recognized in Home Assistant.  The result here is that no extra work in Home Assistant is required when pairing new Zigbee devices with the Phoscon App.  However, setup in Home Assistant would be required for adding new devices to automations, etc.  But the new devices would be automatically paired.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Home Assistant, click on the&nbsp;<strong>Configuration<\/strong> menu option in the left hand menu<\/li>\n\n\n\n<li>Select&nbsp;<strong>Integrations<\/strong><\/li>\n\n\n\n<li>In the deCONZ integration, click on the entry for the device ID of the ConBee II device<\/li>\n\n\n\n<li>Click on the <strong>configuration<\/strong> link<\/li>\n\n\n\n<li>Check the <strong>Allow automatic addition of new devices<\/strong>&nbsp;option<\/li>\n\n\n\n<li>Click the <strong>Submit<\/strong> button<\/li>\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>Motion sensors are great smart home devices for security and automation workflows. This tutorial will walk through how [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2804,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[387,384,332],"tags":[346,331,334],"class_list":["post-2733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-assistant","category-qnap","category-smart-home","tag-aqara","tag-home-assistant","tag-zigbee"],"jetpack_featured_media_url":"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2022\/05\/home-assistant-aqara-motion-sensor-without-hub.png","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-I5","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/2733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=2733"}],"version-history":[{"count":7,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/2733\/revisions"}],"predecessor-version":[{"id":4094,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/2733\/revisions\/4094"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media\/2804"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=2733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=2733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=2733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}