Home Assistant Automations Run From Old Phone?
Yes, you can run Home Assistant automations from an old phone, but the phone itself does not execute them. Home Assistant automations run on the device that hosts the Home Assistant Core software (typically a Raspberry Pi, a mini PC, or a server), and an old phone can act as a remote control, a dashboard, or even a backup host. This article explains what an old phone can and cannot do, how to set it up, and what to consider before repurposing one.
What Home Assistant Automations Actually Are
Home Assistant automations are rules you define, like “turn on the porch light at sunset” or “send a notification when the washing machine finishes.” They are processed by the Home Assistant Core, which runs as a server. The server evaluates triggers (time, sensor changes, device states) and executes actions (turn on a light, send a message). This server can be installed on many platforms, including a Raspberry Pi, a Debian-based PC, a NAS, or a virtual machine.
When you interact with Home Assistant through a phone, you are typically using the companion app or a web browser. The phone sends commands to the server and displays its state. The phone is not running the automation logic; it is a client. So, if you have an old phone, you can use it as a dedicated wall panel, a remote, or a sensor, but it does not replace the server unless you install the full Home Assistant OS on it.
Can an Old Phone Run Home Assistant Core?
Technically, yes, but with significant caveats. Home Assistant Core is a Python-based software package that can run on Linux. Android phones run a modified Linux kernel, but they do not have a standard Linux userland, so you cannot simply install Home Assistant Core on a stock Android phone. You would need to install a Linux distribution on the phone, such as Ubuntu Touch, postmarketOS, or a Debian chroot, which is advanced and may not be stable on many devices.
Even if you get Linux running, a phone’s hardware is not ideal for a 24/7 server: battery degradation, limited storage, and lack of Ethernet connectivity are common issues. Phones also have power management features that can suspend background processes, causing the server to become unresponsive. For these reasons, most users do not run Home Assistant Core on a phone; they use a dedicated device like a Raspberry Pi or an old PC.
Using an Old Phone as a Dashboard or Remote
The most practical use for an old phone is as a dedicated dashboard. You can install the Home Assistant companion app (available for Android and iOS) and set it to show a specific view, like your lights, cameras, or locks. You can also use a fully kiosk browser app to lock the screen to a web page and prevent accidental exits. Many users mount the phone on a wall near the front door or in the kitchen.
To set it up:
- Install the companion app from the app store.
- Log in to your Home Assistant instance.
- Create a dashboard view with the entities you want to control.
- Set the app to stay awake and disable screen timeout.
- Optionally, use a kiosk mode app to prevent navigation away from the dashboard.
This gives you a cheap, always-on control panel without buying a dedicated tablet. The phone’s camera, microphone, and sensors can also be used as motion sensors, but that requires additional configuration and may drain the battery.
Old Phone as a Sensor or Camera
Home Assistant can use an old phone’s sensors through the companion app. For example, the app can report battery level, charging state, light level, and step count. You can create automations based on these: “if the phone is charging and it’s after 10 PM, turn off the bedroom lights” or “if the phone’s light sensor detects darkness, turn on the hallway light.” The phone’s camera can be used as a security camera through the Home Assistant companion app’s camera feature or third-party apps like IP Webcam, which stream video to Home Assistant via a local IP address.
However, these features require the phone to be plugged in and connected to Wi-Fi, and the battery will eventually swell if left charging 24/7. It’s safer to use a smart plug with a timer to charge the phone only when needed, or to remove the battery and power the phone directly if you are comfortable with hardware modifications.
Choosing the Right Old Phone
Not all old phones are equally suitable. Here are factors to consider:
- Android version: The companion app requires Android 8.0 or higher. Older phones may not support the latest app features.
- Battery health: A degraded battery may not hold a charge, causing the phone to shut down.
- Screen quality: If using as a dashboard, a decent resolution and brightness are important.
- Wi-Fi compatibility: Ensure the phone supports your network’s frequency (2.4 GHz is usually fine).
- Root availability: Some features, like fully kiosk mode, work better with root, but it’s not required.
If you plan to use the phone as a sensor, a phone with a good accelerometer and light sensor is ideal. If you plan to use it as a camera, a phone with a decent camera and a wide-angle lens is better.
Common Problems and How to Fix Them
Here are frequent issues when using an old phone with Home Assistant:
- Screen timeout: The screen turns off, making the dashboard useless. Fix: set the screen timeout to ‘never’ in the companion app settings or use a kiosk app that keeps the screen on.
- Wi-Fi disconnects: The phone may drop Wi-Fi when the screen is off. Fix: disable battery optimization for the Home Assistant app and set Wi-Fi to stay on during sleep.
- Battery swelling: Continuous charging can cause battery swelling. Fix: use a smart plug to charge only when battery is below 50%, or remove the battery if you are comfortable.
- App crashes: Older phones may run out of memory. Fix: close other apps, clear cache, or use a lightweight browser-based dashboard instead of the app.
- Notifications not working: Push notifications may not arrive if the app is killed. Fix: enable ‘unrestricted’ battery usage for the companion app.
Alternatives to an Old Phone
If an old phone seems too limited, consider these alternatives:
- Raspberry Pi: The most common Home Assistant server. Costs about $35 for the board, plus power supply and SD card. Runs 24/7 reliably.
- Old PC or laptop: If you have an old x86 computer, you can install Home Assistant OS directly. It’s more powerful and can handle local voice assistants or video processing.
- Tablet: A dedicated Android tablet can serve as a dashboard with a larger screen and better battery management.
- Smart display: Devices like the Amazon Echo Show or Google Nest Hub can integrate with Home Assistant via integrations, though they are not as customizable as a phone.
Each has trade-offs in cost, power consumption, and ease of setup. An old phone is the cheapest option if you already have one, but a Raspberry Pi is more reliable for running the server itself.
Frequently Asked Questions
Can I run Home Assistant on an old iPhone?
Yes, but only as a client. The Home Assistant companion app is available for iOS, and you can use an old iPhone as a dashboard or sensor. You cannot install the Home Assistant server on iOS because the operating system does not allow background server processes.
Will an old phone slow down my automations?
No, because the phone is not running the automations. Automations run on the server. The phone only sends commands and receives updates. The phone’s speed affects how quickly the dashboard updates, but not the automation execution.
Can I use an old phone as a Zigbee or Z-Wave hub?
No, not directly. Zigbee and Z-Wave require a USB dongle connected to the server. Some phones have Zigbee radios, but they are not exposed to the operating system for Home Assistant use. You would need a separate coordinator like a Conbee II or a Z-Wave stick.
How do I keep the phone from overheating when used 24/7?
Remove any case, place it in a well-ventilated area, and avoid direct sunlight. You can also use a smart plug to cycle charging, as heat is often caused by continuous charging. If the phone gets too hot, it may throttle performance or shut down.
Is it safe to leave an old phone plugged in all the time?
It is generally safe but not ideal. Modern phones have overcharge protection, but heat and battery degradation are concerns. Using a smart plug to charge only when the battery is low can extend the phone’s life. For long-term use, consider removing the battery and powering the phone directly via a regulated power supply, but only if you are experienced with electronics.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.