Sensors & GPS

Turn an Old Phone Into an IoT Sensor Hub

A smartphone is a sensor hub that someone forgot to take out of the box. An old Android phone can report its battery level, temperature, ambient light, sound level, motion and GPS position, and AndrIoT shows all of them in a browser dashboard and can forward them to Telegram, a webhook or MQTT. You need no soldering and no microcontroller.

This guide lists what a phone can sense, how accurate to expect it to be, six practical projects, and the limits that matter before you rely on a phone for something important, such as a freezer alarm.

Key takeaways

  • The dashboard shows battery, temperature, charging state, ambient light, sound level, motion and a GPS location map.
  • Phone temperature readings come from the phone, not the room. A phone on a charger reads warmer than the air around it.
  • Alerts and readings can be forwarded to Telegram, and to webhooks and MQTT on Pro.
  • Sensor availability depends on the phone model. Some old phones lack a light or motion sensor.
  • It is a convenience tool, not a calibrated instrument or a certified safety alarm.

What a phone can sense

The sensor list differs per phone, but most have these. The table shows what you get and how to treat the number.

ReadingWhat it tells youTreat it as
Battery level and charging statePower status of the phoneReliable; useful as a power-cut signal
TemperatureTemperature reported by the phoneA guide only; warmer than the room on a charger
Ambient lightLight level in luxGood for lights on or off
Sound levelLoudness from the microphoneRelative: good for noisy or quiet
MotionMovement of the phone or in the camera viewGood for tamper and bump detection
GPS locationWhere the phone isGood outdoors; weak indoors
Wi-Fi and BluetoothNetwork status and nearby devicesHandy for presence and diagnostics
A sensor hub card in the dashboardMock dashboard with six tiles: temperature 24.3 degrees, light 312 lux, battery 87 percent, sound level 38 decibels, motion zone A, GPS fix.app.andriot.netTemperature24.3 °CComfortableLight312 lxLights onBattery87 %ChargingSound level38 dBQuietMotionZone A2 min agoLocationGPS fixJust now
Illustrative tiles. The real dashboard also shows a location map and history.

How readings reach you

The phone reads its sensors and sends the numbers to the dashboard over your Wi-Fi. You see them live and in a short history. If you set rules, the Forwarding Hub can send the same data on to a chat or your own system.

Sensor data pathFlow: sensors in the phone feed the AndrIoT app, which sends readings to the dashboard, and from there to Telegram, a webhook or MQTT.Sensorsin the phoneDashboardlive and historyForwarding HubTelegram, MQTTreadingsrules
Readings go to the dashboard first, then optionally on to Telegram, a webhook or MQTT.

Six practical projects

1. Room temperature and comfort monitor

Put a phone in a nursery, a server cupboard or a greenhouse porch and watch the temperature reading. Compare it once with a thermometer so you know the offset, then use trends. A rising number is more reliable than the absolute value.

2. Lights-on detector

The light level jumps when a room light is switched on. It is a simple way to see if a shop or garage light was left on. Leave the phone face-up near the room.

3. Noise alarm

Sound level tells you when a space gets loud. Useful for a workshop, a rental flat or a quiet-hours check. It measures loudness, not what the sound is.

4. Power-cut alarm

The phone knows when it stops charging. The power-outage alarm tells you the lights went out in a holiday house or a freezer room. A phone battery will keep it alive for hours.

5. Bump and tamper sensor

Motion sensors notice when the phone is moved. Stick a phone to a gate, a bike or a toolbox and arm the tamper alarm. See the motion guide.

6. Location tracking

The GPS location map shows where the phone was last seen. Read the GPS tracker guide for car, bike and luggage use.

Sending data on with the Forwarding Hub

The Forwarding Hub forwards alerts and sensor data from the dashboard. Telegram works on Standard and Pro. Webhook and MQTT are on Pro and let you connect readings to your own server or home automation. A short description of each is in the alerts guide.

A simple pattern: a phone in the garage sends a Telegram message when the temperature falls below 3 degrees, so you can protect pipes or a plant room.

Wi-Fi and Bluetooth tools

The dashboard also reports Wi-Fi and Bluetooth status and can scan for networks and nearby devices. It is useful to check signal strength where you plan to place a phone, or to see which networks a spare phone can reach. See remote terminal and files for deeper diagnostics.

Accuracy and limits

  • Temperature is an estimate. A phone warms up on a charger and in the sun. Use it as a guide.
  • Sensors vary. Some old phones have no light, pressure or motion sensor. Check the sensors in the dashboard for your model.
  • Phones are not instruments. Do not rely on one to protect life or critical goods without a second check.
  • Weatherproofing is none. Keep the phone indoors or in a dry place.
  • Phones sleep. Exempt the app from battery saver, or readings will gap. See the power guide.

A first weekend project: a garage monitor

If you want to try the sensor side without a plan, build this one. It uses one phone and takes about an hour.

  1. Pick a phone with a working battery and Wi-Fi at the garage door. Install the app and pair it with the 6-letter code.
  2. Place it on a shelf away from the sun and the radiator, with the screen facing up so the light sensor sees the room.
  3. Check the readings in the dashboard: temperature, light, battery and sound level. Note them with the door open and closed.
  4. Add an alert for the power-outage alarm and, if you like, a Telegram message when the temperature drops.
  5. Review after a week. Look at the history, and decide whether the readings are useful enough to keep.

The readings are relative, so what matters is the change: lights on, door opened, temperature falling, power gone. That is where a spare phone is genuinely helpful.

When not to use a phone for sensing

  • Life-safety needs. Smoke, carbon monoxide and flood alarms must be certified devices.
  • Food and medicine storage. If a failed fridge costs real money or health, use a dedicated, calibrated unit.
  • Outdoors. A phone is not weatherproof and its sensors cannot measure outside air well behind a case.
  • Very precise readings. If you need a tenth of a degree, use a proper probe.

For everything else, a phone sensor hub is a cheap way to get awareness of a space.

Pros and limits

Pros

  • Many sensors in one device, with a dashboard and no soldering.
  • Alerts to push, Telegram, webhook or MQTT.
  • GPS, Wi-Fi and Bluetooth tools included.
  • Re-uses a phone instead of buying separate sensors.

Limits

  • Readings are not calibrated and the temperature is warm on a charger.
  • Sensor set depends on the phone model.
  • Needs power and Wi-Fi.
  • Not weatherproof or certified for safety use.

FAQ

What sensors does an old Android phone have?

Most have a battery gauge, temperature reading, light sensor, microphone, motion sensors and GPS. The exact set depends on the phone.

Is the phone temperature accurate?

It is a guide, not an instrument. A phone on a charger reads warmer than the room, so compare it once against a thermometer and watch trends.

Can I send sensor data to my own system?

Yes. On Pro, the Forwarding Hub can send data to a webhook or MQTT. Telegram works on Standard and Pro.

Can I use it as a freezer or safety alarm?

Not on its own. A phone is a convenience tool, not a certified alarm. Use a dedicated alarm for anything where a failure would be costly or dangerous.

Do I need the camera to use sensors?

No. You can run a phone as a sensor-only device and leave the camera off.