{"id":785994,"date":"2026-05-10T06:52:21","date_gmt":"2026-05-10T06:52:21","guid":{"rendered":"https:\/\/www.europesays.com\/us\/785994\/"},"modified":"2026-05-10T06:52:21","modified_gmt":"2026-05-10T06:52:21","slug":"i-turned-my-old-phone-into-a-wall-mounted-presence-sensor-and-automated-my-entire-home","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/us\/785994\/","title":{"rendered":"I turned my old phone into a wall-mounted presence sensor and automated my entire home"},"content":{"rendered":"<p>I have a perfectly functional but old Pixel 4a sitting in a drawer collecting dust. The screen is broken, and the frame has a slight bend in it, but it&#8217;s otherwise okay. For a long time, I thought <a href=\"https:\/\/www.makeuseof.com\/best-way-reuse-old-android-phone\/\" target=\"_blank\" rel=\"nofollow noopener\">I had found the perfect way to reuse my old Android<\/a>, but there are even more ways you can put yours to use.<\/p>\n<p>There are tons of sensors in your phone that can be used for all sorts of smart home applications, including a presence sensor. And as you can probably guess, your old phone is more than equipped to handle that.<\/p>\n<p>                                                                                                                            <a href=\"https:\/\/www.makeuseof.com\/make-old-android-phone-useful\/\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n                        <img width=\"440\" height=\"248\" loading=\"lazy\" decoding=\"async\" alt=\"A man holding an Android phone trying to power it on\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/a-man-holding-an-android-phone-trying-to-power-it-on.jpg\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/a-man-holding-an-android-phone-trying-to-power-it-on.jpg\"\/><\/p>\n<p>                    <\/a><\/p>\n<p>                    Related<\/p>\n<p>\t\t<a href=\"https:\/\/www.makeuseof.com\/make-old-android-phone-useful\/\" title=\"9 Ways to Make Your Old Android Phone Useful Again\" target=\"_blank\" rel=\"nofollow noopener\"><br \/>\n\t\t\t9 Ways to Make Your Old Android Phone Useful Again<br \/>\n\t\t<\/a><\/p>\n<p class=\"display-card-excerpt\">Don&#8217;t toss that old Android device just yet! With a little creativity, you can give it a second life.<\/p>\n<p>                        This isn\u2019t your typical smart home setup<\/p>\n<p>            Replacing expensive sensors with something you already own<\/p>\n<p>Unfortunately, you can just read raw sensor data from an old phone and plug it into your existing smart home implementation. That is, unless you&#8217;re running Home Assistant. It&#8217;s a free, open-source smart home hub that lets you consolidate all your existing smart devices, including any phones, into one clean dashboard that you can manage how you see fit.<\/p>\n<p>You can run Home Assistant on anything from a Raspberry Pi to an old laptop you&#8217;ve got lying around. If you don&#8217;t have a machine to spare, you can also install it as a virtual machine or Docker container. Home Assistant also sells Home Assistant Green, a dedicated single-board computer that comes with all the software you need pre-installed for $199. Although the pricing may vary among individual retailers.<\/p>\n<p>By installing the Home Assistant Companion app on your old Android or iPhone, you can tap into the various sensors on your phone and use them to trigger automations via Home Assistant. In this case, you&#8217;ll be turning your old phone into a BLE (Bluetooth Low Energy) beacon, which will pick up signals from your primary phone to detect whether you&#8217;re present in a room or not.<\/p>\n<p>        <img width=\"420\" height=\"420\" loading=\"lazy\" decoding=\"async\" alt=\"Home Assistant logo\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/home-assistant-logo.png\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/home-assistant-logo.png\" class=\"img-brightness-opt-out\"\/><\/p>\n<dl>\n<p><dt>\n\t\t\t\t\t\t<strong>OS<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tWindows, macOS, Linux, Raspberry Pi<\/p>\n<\/dd>\n<p><dt>\n\t\t\t\t\t\t<strong>Developer<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tOpen Home Foundation<\/p>\n<\/dd>\n<p><dt>\n\t\t\t\t\t\t<strong>Price model<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tFree, Open-source<\/p>\n<\/dd>\n<\/dl>\n<p class=\"display-card-description default\">A self-hosted, open-source smart home platform that lets you control, automate, and unify all your devices locally without relying on the cloud.<\/p>\n<p>                        It\u2019s easier to build than you think<\/p>\n<p>            A simple setup that gets you up and running fast<\/p>\n<p>Once you&#8217;ve got your Home Assistant up and running, start by downloading the Home Assistant Companion app on both your old phone and your current daily driver. From this point, it&#8217;s a four-step process to get everything working.<\/p>\n<p>First, you&#8217;re going to need to enable the <strong>BLE Transmitter<\/strong> sensor on your primary phone:<\/p>\n<ol>\n<li>\n                                        Open the Home Assistant app, tap the hamburger menu icon in the top left, and then tap <strong>Settings<\/strong>.\n                        <\/li>\n<li>\n                                        Scroll down and tap the <strong>Companion app<\/strong> option.\n                        <\/li>\n<li>\n                                        Under <strong>Sensors<\/strong>, tap <strong>Manage sensors<\/strong>.\n                        <\/li>\n<li>\n                                        Scroll down to find the <strong>BLE Transmitter<\/strong> sensor and tap it to open properties.\n                        <\/li>\n<li>\n                                        Enable the <strong>Enable sensor<\/strong> slider to start BLE monitoring on your old phone.\n                        <\/li>\n<\/ol>\n<p>Make sure to note the UUID shown for your device. This is going to come in handy later when we&#8217;re creating our automations. Then, you&#8217;ll have to enable the <strong>Beacon monitor<\/strong> sensor on your old phone:<\/p>\n<ol>\n<li>\n                                        Open the Home Assistant app, tap the hamburger menu icon in the top left, and then tap <strong>Settings<\/strong>.\n                        <\/li>\n<li>\n                                        Scroll down and tap the <strong>Companion app<\/strong> option.\n                        <\/li>\n<li>\n                                        Under <strong>Sensors<\/strong>, tap <strong>Manage sensors<\/strong>.\n                        <\/li>\n<li>\n                                        Scroll down to find the <strong>Beacon monitor<\/strong> sensor and tap it to open properties.\n                        <\/li>\n<li>\n                                        Enable the <strong>Enable sensor<\/strong> slider to start BLE monitoring on your old phone.\n                        <\/li>\n<\/ol>\n<p>Once active, your old phone will start scanning for nearby BLE iBeacon signals and report everything it detects. At this point, you should see your primary phone UUID if you scroll down the sensor page with a number. This means your old phone is detecting signals from the current one, and your presence sensor is essentially working.<\/p>\n<p>        <img width=\"420\" height=\"420\" loading=\"lazy\" decoding=\"async\" alt=\"Home Assistant Logo\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/home-assistant-logo.jpg\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/home-assistant-logo.jpg\" class=\"img-brightness-opt-out\"\/><\/p>\n<dl>\n<p><dt>\n\t\t\t\t\t\t<strong>OS<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tiOS, Android<\/p>\n<\/dd>\n<p><dt>\n\t\t\t\t\t\t<strong>Price model<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tFree &amp; Open-Source<\/p>\n<\/dd>\n<p><dt>\n\t\t\t\t\t\t<strong>App Type<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tSmart Home Moitoring<\/p>\n<\/dd>\n<p><dt>\n\t\t\t\t\t\t<strong>Open-Source?<\/strong> \t\t\t\t\t<\/dt>\n<dd>\n<p>\t\t\t\t\t\t\t\t\t\t\tYes<\/p>\n<\/dd>\n<\/dl>\n<p class=\"display-card-description override\">The Home Assistant Companion App is a mobile app for Android and iOS that connects your phone to your Home Assistant server, enabling remote control, notifications, and sensor-based automations.<\/p>\n<p>Now there are several ways you can use this reading in Home Assistant to create presence-based automations. I ended up creating a template binary sensor, which I use to trigger automations.<\/p>\n<p>        <img width=\"1650\" height=\"928\" loading=\"lazy\" decoding=\"async\" alt=\"Presece sensor helper in Home Assistant.\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/presece-sensor-helper-in-home-assistant.jpg\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/presece-sensor-helper-in-home-assistant.jpg\" class=\"img-brightness-opt-out\"\/><br \/>\n        Screenshot by Yadyullah Abidi | No attribution required.<\/p>\n<p>To do that, head over to your Home Assistant server settings and find the <strong>Helpers<\/strong> section under <strong>Devices &amp; integrations<\/strong>. Use a template to create a binary sensor that checks whether your primary phone&#8217;s UUID is present as a non-null attribute in the old phone&#8217;s beacon monitor.<\/p>\n<p>You will need the sensor name of your old device for this. For my Pixel 4a, it was sensor.pixel_4a_beacon_monitor. Yours will likely be the same, except you&#8217;ll need to swap out pixel_4a with whatever you named your phone when installing the Home Assistant app. The logical condition you need is this:<\/p>\n<p>    {{ state_attr(&#8216;sensor.device_name_beacon_monitor&#8217;, &#8216;your_UUID\/\/&#8217;) != None }}    <\/p>\n<p>        <img width=\"1650\" height=\"928\" loading=\"lazy\" decoding=\"async\" alt=\"Presence sensor automation in Home Assistant.\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/presence-sensor-automation-in-home-assistant.jpg\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/presence-sensor-automation-in-home-assistant.jpg\" class=\"img-brightness-opt-out\"\/><br \/>\n        Screenshot by Yadullah Abidi | No attribution required.<\/p>\n<p>When the attribute exists, meaning the device is in the room, the binary sensor turns on. When it disappears, it automatically turns back off. Once the binary sensor is in place, automation becomes trivial, and you can use the sensor as a trigger to control anything connected to your Home Assistant hub. And that&#8217;s it, your old phone is now a presence sensor.<\/p>\n<p>                        Mounting it is the real challenge<\/p>\n<p>            Power, placement, and making it look clean<\/p>\n<p>        <img width=\"1650\" height=\"1100\" loading=\"lazy\" decoding=\"async\" alt=\"Pixel 4a kept on top of a Pixel 9a.\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/pixel-4a-kept-on-top-of-a-pixel-9a.JPG\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/pixel-4a-kept-on-top-of-a-pixel-9a.JPG\" class=\"img-brightness-opt-out\"\/><br \/>\n        Yadullah Abidi \/ MakeUseOf<\/p>\n<p>Wall mounting your phone might be challenging, depending on what your walls are made of and how exactly you want to mount your phone. Mine currently sits in a bookshelf, but I&#8217;m working on a 3D printed case that allows me to keep the phone plugged in while displaying the screen in landscape so I can see the Home Assistant dashboard on the screen as well.<\/p>\n<p>A phone permanently plugged into the wall will also take some damage to battery life, which is something you should keep in mind if you&#8217;re considering using the phone for other purposes as well. You can use the battery status sensors to automatically enable or disable charging based on your phone&#8217;s battery percentage, too.<\/p>\n<p>            Turning an old phone into a reliable presence sensor<\/p>\n<p>That <a href=\"https:\/\/www.makeuseof.com\/old-android-phone-sensors-trigger-home-automation\/\" target=\"_blank\" rel=\"nofollow noopener\">old phone sitting in your drawer is packed with sensors<\/a> that you can use to pull off some extremely useful (and cool) automations in Home Assistant. All it takes is a few minutes of tinkering to get the app installed and sensors enabled, and you&#8217;re good to go.<\/p>\n<p>                                                                                                                            <a href=\"https:\/\/www.makeuseof.com\/replaced-smart-speaker-with-old-android-phone-does-much-more\/\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n                        <img width=\"440\" height=\"248\" loading=\"lazy\" decoding=\"async\" alt=\"A Google Pixel 5 and a Google Nest Hub.\" data-img-url=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/android-phone-and-nest-hub.png\" src=\"https:\/\/www.europesays.com\/us\/wp-content\/uploads\/2026\/05\/android-phone-and-nest-hub.png\"\/><\/p>\n<p>                    <\/a><\/p>\n<p>                    Related<\/p>\n<p>\t\t<a href=\"https:\/\/www.makeuseof.com\/replaced-smart-speaker-with-old-android-phone-does-much-more\/\" title=\"I replaced my smart speaker with an old Android phone and it does so much more\" target=\"_blank\" rel=\"nofollow noopener\"><br \/>\n\t\t\tI replaced my smart speaker with an old Android phone and it does so much more<br \/>\n\t\t<\/a><\/p>\n<p class=\"display-card-excerpt\">Repurposing my old tech resulted in a smarter, more flexible alternative.<\/p>\n<p>You will have to keep the old phone plugged in permanently and perhaps mount it somewhere sensible, but all of that is much more useful than spending on yet another smart home device, which can be a pain to set up. There are <a href=\"https:\/\/www.makeuseof.com\/5-things-old-android-phone-does-better-than-dedicated-gadget\/\" target=\"_blank\" rel=\"nofollow noopener\">things your old Android phone does better than any dedicated gadget<\/a>, meaning that seemingly useless old phone can be a surprisingly capable part of your smart home setup, without needing to spend a single dime.<\/p>\n","protected":false},"excerpt":{"rendered":"I have a perfectly functional but old Pixel 4a sitting in a drawer collecting dust. The screen is&hellip;\n","protected":false},"author":3,"featured_media":785995,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[611,158,67,132,68],"class_list":{"0":"post-785994","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-mobile","8":"tag-mobile","9":"tag-technology","10":"tag-united-states","11":"tag-unitedstates","12":"tag-us"},"share_on_mastodon":{"url":"https:\/\/pubeurope.com\/@us\/116548963750432516","error":""},"_links":{"self":[{"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/posts\/785994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/comments?post=785994"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/posts\/785994\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/media\/785995"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/media?parent=785994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/categories?post=785994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/us\/wp-json\/wp\/v2\/tags?post=785994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}