
You probably have an old smartphone lying around that you've almost forgotten about. There it sits, gathering dust in a drawer, when in reality it's a device with more than enough power to become the brain of your smart home . Instead of letting it end up as electronic waste or a toy for the kids, you can repurpose it into a key component of your smart home without spending a penny on new hardware.
A smartphone that's 5, 7, or even more years old still boasts an impressive combination of sensors, stable Wi-Fi connectivity, and computing power. This makes it a perfect candidate to act as a smart home hub, touch panel, security camera, or voice assistant satellite . Let's take a step-by-step look at how to get the most out of it with Home Assistant, Google Home, Tasker, IFTTT, and other tools, while considering the technical aspects (battery, heat, Doze Mode) and maximizing the potential of each component.
Why an old mobile phone is perfect as a home automation brain
When you buy dedicated IoT devices (presence sensors, IP cameras, environmental meters, etc.), you're actually paying for hardware that your old mobile phone already has built in. A standard smartphone includes an accelerometer, gyroscope, light sensor, microphones, Wi-Fi, and a camera , in addition to a CPU that's more than enough for home automation tasks.
This entire set of sensors allows you to use your phone as a true home telemetry microstation . It can measure ambient light to decide when to turn on lights, record noise to detect activity or alarms, report battery level, or act as a presence indicator depending on whether it's connected to your Wi-Fi or not.
Beyond saving money, reusing your phone is a small gesture of technological sustainability . You reduce electronic waste, extend the device's lifespan, and avoid buying extra gadgets that essentially do the same thing. Plus, it allows you to experiment and learn about advanced home automation without fear of breaking an expensive, recently purchased device.
In a modern smart home architecture, that mobile phone doesn't have to be the absolute "brain", but rather an intelligent node that talks to a central server (usually Home Assistant), sending data in real time and receiving commands to activate actions.
Prepare your old mobile phone before using it in home automation
Before converting it into a home automation hub, it's a good idea to fine-tune your phone. A proper setup makes all the difference between a responsive device and one that freezes constantly, which would affect the reliability of your home automation systems.
The first step is to perform a factory reset . Delete accounts, personal data, photos, old apps, and anything else that's unnecessary. This ensures that no traces of your digital life remain, nor any unusual settings that might interfere with its new use.
Next, update to the latest system version your device supports. If it's very old and no longer receives updates, at least keep the apps you'll be using up to date (Home Assistant, Google Home, Tasker, IP camera apps, etc.). If possible, choose lightweight apps to minimize CPU usage and resource consumption.
Carefully review the privacy settings and linked accounts . The phone will remain permanently attached, likely to a stand or wall mount, and shouldn't contain your emails, WhatsApp messages, or other sensitive data. The goal is for it to become a "dumb" but useful device, dedicated to home automation tasks.
Finally, assess the battery 's condition . If it barely lasts, don't worry: it's normal to leave this phone plugged in 24/7 . You can always use it connected to a charger or even remove the battery in older models (if accessible) and power it constantly, although in most cases a decent charger and some thermal precautions are sufficient.
Integrate your mobile device into Home Assistant as an automation node
The most powerful use for an old mobile phone is integrating it with Home Assistant , which is usually the logical brain of the system. In this scenario, the phone acts as a peripheral node that sends data and receives commands , multiplying the capabilities of your setup without any extra hardware.
Typical integration is done through a client app that connects the mobile device to the Home Assistant server. This app collects sensor data (light, average motion detected by the accelerometer, sound, battery status, WiFi connectivity, etc.), packages it into lightweight JSON , and sends it via HTTP (REST API) or WebSocket to the central server.
In Home Assistant, this data is translated into virtual entities : sensors for light, battery level, presence, noise, etc. For configuration purposes, they are managed just like any other physical sensor, allowing you to create complex automations without distinguishing whether the signal comes from a mobile phone or a dedicated IoT device.
A practical example: you can use your phone's battery level as a trigger . If it drops below 20%, Home Assistant can send a notification, turn off some lights, or change the logic of certain scenes to save energy in that area. The same applies to Wi-Fi connectivity: if your phone loses its connection to your network, you can interpret this as you leaving home.
In more advanced implementations, MQTT comes into play as the messaging bus . In this case, the mobile device simply publishes messages to specific topics (for example, sensor/mobile_living_room/light), and Home Assistant subscribes and processes the information. This decoupling reduces latency to below 100 ms on well-configured local networks and makes it easier to add many mobile devices or nodes without the system becoming chaotic.
Using the mobile phone as a distributed sensor and contextual node
The appeal of a repurposed mobile phone lies not only in its numerous sensors, but also in its role within the ecosystem . It's a device that can be moved or placed at strategic points in the home, providing context that a traditional fixed sensor can't always offer.
For example, placed in a room, the phone can serve as an impromptu presence sensor . Through its accelerometer, it can detect small vibrations (someone walking, a door opening), or through its microphone, identify noise levels that indicate activity.
You can also play with the WiFi signal strength (RSSI) . Based on how the signal strength varies, Home Assistant can infer whether the device (and therefore you) is close to the router, on a specific floor, or even outside the house. It's not an exact science, but combined with other data, it adds an interesting layer of intelligence.
The microphone can be used to detect simple acoustic events: a doorbell, a sound alarm, a constant barking dog, etc. Without needing to record continuous audio (which would be a disaster for privacy and battery life), lightweight algorithms can be used to analyze levels and frequency bands to detect specific patterns.
This is not intended to replace dedicated professional sensors, especially in critical environments, but it does allow for enriching home automation logic with extra contextual information that helps reduce false positives and make smarter decisions.
Advanced automation: complex logic with Home Assistant + mobile
Once your phone appears in Home Assistant as a set of sensors and switches, it's time to have fun creating advanced automations . The key is to combine many signals at once, rather than relying on a single piece of data to make decisions.
Imagine you want the hallway light to turn on. Instead of using just a dedicated motion sensor, you can define a rule like this: if your phone detects movement, the ambient light is below a certain threshold, and it's between sunset and midnight , turn the light on at 40%. This reduces unnecessary daytime lighting and makes the system smarter.
Another useful automation feature: using the phone's battery level to adjust smart home behavior. If the battery is high, the device can sample sensors more frequently; if it drops below a certain level, Home Assistant instructs the device to reduce the sampling rate, turn off the camera, or disable certain functions to ensure the node doesn't crash.
With MQTT as the middle layer, you can distribute the logic: the mobile device handles batching and only sends information when something relevant changes (for example, a sudden change in light, a spike in noise, or clear movement). This reduces traffic and resource consumption while maintaining system responsiveness.
In larger installations, a single Home Assistant server can manage dozens of older mobile phones converted into distributed nodes, provided the local network is properly configured. The bandwidth required is negligible compared to what we're used to: just a few megabits per second, even with many nodes sending data.
Key applications: Tasker, IFTTT, Unified Remote and more
It's not all about programming or struggling with APIs. There are apps that greatly simplify turning your mobile phone into a home automation hub or a multi-purpose tool within your home , without needing to be a scripting expert.
Tasker is probably the most powerful Android automation app. It lets you define triggers for almost anything : connecting your phone to a specific Wi-Fi network, triggering a certain time, receiving a notification, changing the battery level, adjusting the screen brightness, and so on. Based on these triggers, you can launch actions: turning on lights via HTTP, changing the sound profile, sending data to Home Assistant, playing an alert, and more.
IFTTT (If This Then That) is the classic connector between services that don't communicate with each other. You can use it, for example, to activate a smart light when you receive an important email , or to trigger a visual or sound alert on your older phone in the kitchen or living room when a specific notification on your main phone is received.
For remote control, apps like Unified Remote turn your phone into a universal remote for your PC and other devices . From it, you can control your mouse, keyboard, media player, slideshow, and more. Ideal if you want to use your phone as a "command center" from the comfort of your couch.
In the area of security, apps like Alfred or IP Webcam allow you to transform your mobile phone into a security camera or baby monitor . You can view the live image from other devices, receive motion alerts, and, in many cases, integrate the signal with your home automation system for use in automations.
Turn your mobile phone into a touch control panel with a voice assistant
Another very practical use is turning your old Android phone into a kind of home Google Nest Hub . If the device runs Android 9 Pie or higher, you can rely on Google Assistant (and Gemini AI when it becomes integrated) to manage your home with voice commands.
To do this, activate “Hey Google” and Voice Match in the Google app (Settings > Google Assistant > Hey Google and Voice Match). Once configured, the device can respond to your voice, even with the screen locked or in ambient mode , depending on the model and version.
For a seamless experience, many people choose to disable the screen lock or set a very weak one, since the device won't contain sensitive information. This way, simply touching the screen or saying the activation command grants access to home automation controls, calendar, weather, music, and more.
Google Assistant's Ambient Mode keeps the screen on at low brightness , displaying useful information (weather, upcoming events, reminders) or even a carousel of photos from Google Photos, so the phone also acts as a digital frame when you're not actively using it.
If you're bothered by your phone constantly listening, you can use gestures configured with Nova Launcher . For example, a double tap on the home screen can directly open Google Home, or a swipe up gesture can launch the Xiaomi smart home app, Philips Hue, etc. This way, your phone behaves like a quick touchpad, without needing to have the microphone constantly active.
Use Google Home and other controls as a visual home automation hub
The latest versions of Android include a built-in smart home section , but this may not be available on older phones. In that case, the Google Home app is your best ally for turning your device into a smart home control panel.
Google Home lets you view and control lights, plugs, speakers, thermostats, and other compatible devices. It includes a shortcut to talk to the Assistant, options to set routines, send messages to Nest smart speakers, and more. It's a great candidate to pin to your old phone's home screen.
Additionally, if you have devices from other brands (Samsung, Xiaomi, etc.), you can almost always link their accounts to Google so they appear in Home. You might not have access to all the advanced options from there, but it's more than adequate as a quick hub for turning devices on/off or activating scenes.
Don't forget the regular Google app, which is where the Google Assistant itself resides . With it open, your phone effectively acts like a mini Google Home: you can request music, shopping lists, directions, recipes, news, and, of course, control any integrated smart home device.
And if you want to trigger actions without speaking, Action Blocks lets you create large, widget-like buttons that correspond to a specific command for the Assistant: turn on the living room lights, play a Spotify playlist, show your shopping list, announce a message over the speakers, and so on. Perfect for a phone mounted on the wall, where you can easily tap large icons.
Turn your mobile phone into a security camera integrated into Home Assistant
One of the most rewarding uses for an old mobile phone is as an IP security camera integrated with Home Assistant . With an app like IP Webcam on Android, you can expose the phone's video feed and various sensor data for Home Assistant to use.
The typical workflow would be: install IP Webcam from Google Play, open the app, and adjust key settings. In the Video Preferences section , it's worth lowering the resolution (for example, 1280 x 720 or lower) and perhaps the bitrate, to avoid overloading your phone's CPU or saturating the network. You can also choose whether to record locally on your phone.
Next, tap "Start server." The app will display a URL like http://192.168.1.106:8080 (the IP address and port will vary depending on your situation). This address is the gateway to the camera and the mobile data from your local network.
In Home Assistant, you can use the Android IP Webcam integration with a configuration where you define the host, port, sensors, and switches you want to expose. Common sensors include battery level, light, motion, proximity, and sound; and switches include features like night vision, flashlight, and video recording.

Once Home Assistant is restarted, you should see the camera as another entity, along with a handful of sensors and switches derived from your phone. From there, you can, for example, turn on the flash as a flashlight from the Home Assistant panel, or use the app's motion sensor to trigger a notification or a light scene.
24/7 power, battery and performance management
Leaving a phone on and plugged in 24/7 means dealing with battery and temperature issues . A device running sensor and connectivity services in the background can consume an additional 150 mW to 500 mW, depending on the sampling rate and camera or audio processing usage.
To minimize problems, use a quality charger and, if possible, a long cable or a wireless charging pad that allows you to place it wherever it fits best (wall, shelf, flexible stand). Avoid covering it or attaching it to surfaces that accumulate heat, and make sure it has some natural ventilation around it.
At the software level, it's advisable to adjust the sensor sampling rate . You don't need a 200 Hz accelerometer to know if someone is in the room. In many cases, 5-10 Hz is more than enough. A lower sampling rate means less power consumption, less heat, and less stress on the CPU.
Android offers low-level APIs for batching sensor data (grouping readings before sending them) and reducing the number of hardware accesses. If you're not going to get that precise, at least configure your apps so they don't constantly use GPS or the camera unnecessarily, as those are the most resource-intensive modules.
Another critical issue is Doze Mode and the aggressive management of background processes in modern versions of Android. To prevent the phone from interrupting data flow to Home Assistant, it's often essential to add the smart home app to the battery-saving exclusions list and, sometimes, to use foreground services with persistent notifications. It's a small price to pay for maintaining a stable connection.
Connectivity, physical installation and WiFi network
Since this mobile device will be a fixed smart home node, ensuring good Wi-Fi connectivity is crucial . Ideally, it should be placed in an area with a stable signal (without frequent dropouts). If your house has many thick walls, you might need a repeater or a mesh network for everything to work smoothly.
As for the physical setup, a simple desktop stand or tripod will suffice if you're using it as a camera or panel on a shelf. If you want it as a wall-mounted control center, there are adhesive or magnetic mounts to attach it to the wall or even the refrigerator—ideal if you use it for a family calendar, shopping list, and kitchen light control.
Remember that it will be plugged in all the time, so plan your cable management carefully to avoid cables dangling in the walkway or becoming an impromptu hazard. Flat cables, cable ties, or cable trunking can keep the installation quite tidy for very little money.
If you're going to use multiple mobile devices as smart home nodes, you might want to segment your network (for example, with a VLAN or guest network for IoT devices ) and ensure your router is properly configured. It's not strictly necessary in a typical home, but it helps keep things organized and restricts access from outside.
Overall, repurposing an old mobile phone as a smart home hub, camera, touch panel, or distributed sensor is a highly effective way to get the most out of existing technology, save money, and reduce waste . With Home Assistant at its core, a few well-chosen apps, and some careful attention to energy and network management, that phone that was forgotten in a drawer can become a key component of your smart home and a perfect laboratory for continuing to learn and experiment with advanced home automation without fear of breaking anything important.
Table of Contents
- 1 Why an old mobile phone is perfect as a home automation brain
- 2 Prepare your old mobile phone before using it in home automation
- 3 Integrate your mobile device into Home Assistant as an automation node
- 4 Using the mobile phone as a distributed sensor and contextual node
- 5 Advanced automation: complex logic with Home Assistant + mobile
- 6 Key applications: Tasker, IFTTT, Unified Remote and more
- 7 Turn your mobile phone into a touch control panel with a voice assistant
- 8 Use Google Home and other controls as a visual home automation hub
- 9 Turn your mobile phone into a security camera integrated into Home Assistant
- 10 24/7 power, battery and performance management
- 11 Connectivity, physical installation and WiFi network



