Device Away Status Explained
Your OceanRemote device shows a yellow "Away" status instead of green "Online". This guide explains what Away means, how OceanRemote determines device status, and how to troubleshoot devices stuck in Away state.
Last updated: April 22, 2026 | 8 min read
Device Status Overview
| Status | Color | Time Since Last Poll | Meaning |
|---|---|---|---|
| ONLINE () | Green () | < 10 seconds | Device is active and communicating normally () |
| AWAY () | Yellow () | 10 - 300 seconds | Device may be sleeping, have weak signal, or intermittent connection (,,) |
| OFFLINE () | Red () | > 300 seconds | Device is not responding. Check power and WiFi |
Away status is a warning state device is still connected but may have issues.
How OceanRemote Calculates Status
Device Status Calculation :
1. Device polls server every 3 seconds
2. Server records last_seen timestamp on every poll
3. When dashboard loads, server calculates:
time_since_last_poll = now() - last_seen
time_since_last_poll < 10 seconds ONLINE
time_since_last_poll < 300 seconds AWAY
time_since_last_poll > 300 seconds OFFLINE
4. Dashboard updates every 5 seconds via JavaScript
// Away status threshold: 10 to 300 seconds
// After 5 minutes without contact, device is considered OFFLINE
Common Causes for Away Status
- Weak WiFi Signal RSSI below -70 dBm causes intermittent communication
- Device in Deep Sleep Device wakes periodically, sleeps between polls
- Power Supply Fluctuations Brownouts causing device resets or missed polls
- WiFi Interference Microwave, Bluetooth, or neighboring networks on same channel
- Server-Side Processing Delay High load causing delayed response to device polls
- Network Congestion Too many devices on same WiFi channel
- Device Overheating ESP8266/ESP32 throttling due to high temperature
How to Fix Away Status
1. Check WiFi Signal Strength
Weak signal is the most common cause of Away status:
- Open Serial Monitor at 115200 baud
- Look for:
[WiFi] Signal Strength : -XX dBm - Good: -30 to -60 dBm
- Marginal: -60 to -70 dBm
- Poor: Below -70 dBm
- Move device closer to router or add WiFi repeater
2. Verify Polling Interval
Device should poll every 3 seconds:
- Open Serial Monitor
- You should see
[UPDATE] ...messages every 3 seconds - If messages are less frequent, device may be in power-saving mode
- Check for
delay()or blocking code in custom firmware - OceanRemote default firmware polls every 3 seconds consistently
3. Check Power Supply Stability
Power issues cause missed polls:
- Measure voltage at ESP32/ESP8266 3.3V pin
- Should be stable between 3.0V and 3.3V
- Add 470-1000F capacitor between 5V and GND
- Use quality 5V 2A power supply
- If using battery, check charge level
4. Check for WiFi Interference
Interference causes intermittent communication:
- Change router WiFi channel to 1, 6, or 11
- Keep device away from microwave ovens, cordless phones, Bluetooth speakers
- Reduce number of devices on same 2.4GHz network
- Use 20MHz channel width
- Consider using 5GHz WiFi
5. Check Device Temperature
Overheating can cause throttling and missed polls:
- ESP8266/ESP32 can overheat in enclosed spaces
- Add ventilation holes to enclosure
- Keep device away from heat sources
- Check if device feels hot to touch
- Add small heatsink if needed
6. Check for Deep Sleep Mode
Deep sleep devices naturally show Away status:
- If device uses deep sleep between readings, Away status is normal
- Device wakes, polls , then sleeps
- This is expected behavior for battery-powered sensors
- To reduce Away status, decrease sleep interval
- For constant monitoring, disable deep sleep
7. Regenerate Firmware
Corrupted firmware can cause erratic polling:
- Go to OceanRemote dashboard "Your Device" page
- Generate fresh firmware
- Flash new firmware to device
- Monitor Serial Monitor for consistent 3-second polling
- If issue persists, try different board type or settings
Status Transition Diagram
Device Polls Server
last_seen updated
time_since_last_poll = now() - last_seen
< 10 sec 10-300 sec > 300 sec
ONLINE AWAY OFFLINE
Recovery paths:
- ONLINE AWAY: Device missed 1-2 polls
- AWAY ONLINE: Device polls again
- AWAY OFFLINE: No polls for 5+ minutes
- OFFLINE ONLINE: Device reconnects and polls
Away Status by Device Type
| Device Type | Expected Status | Explanation |
|---|---|---|
| ESP32/ESP8266 | ONLINE 99%+ | Should poll every 3 seconds consistently |
| Battery-powered sensor () | AWAY most of the time () | Deep sleep between readings (,) |
| Device with weak WiFi | Frequent AWAY () | Intermittent connection () |
| Device far from router () | Mostly AWAY () | Packet loss causing missed polls () |
Prevention Tips
- Keep device within 10 meters of router for stable ONLINE status
- Use 5V 2A power supply with 470-1000F capacitor
- Set router to fixed channel not "Auto"
- Monitor RSSI regularly; relocate device if signal drops below -70 dBm
- For battery-powered devices, Away status is normal don't worry
- Add WiFi repeater or mesh system for large areas
- Update device firmware to latest version for improved stability
Related Issues
Frequently Asked Questions
Q: Is Away status a problem?
A: Not necessarily. Away status indicates the device hasn't polled in 10-300 seconds. For battery-powered devices in deep sleep, this is normal. For USB-powered devices, it indicates a connectivity issue that should be addressed.
Q: How long does Away status last before becoming Offline?
A: After 5 minutes without a poll, the device status changes to OFFLINE. The device will return to ONLINE immediately when it polls again.
Q: Can I change the Away threshold timing?
A: Not currently. The thresholds are fixed server-side. They are optimized for OceanRemote's 3-second polling interval.
Still having status issues? Contact Support or return to the Troubleshooting Hub.