Index of every page on this site: llms.txt
All skills
romit07 avatar

/android-home-server

@b45fb6a
Run it yourself

Set up and operate a spare non-rooted Android phone as a Linux home server and home-automation hub (Termux + SSH, Tailscale, ADB over network) to control WiZ lamps, a Sony Bravia TV, camera apps and phone settings remotely. Use when asked to set up, check, repair or use the Android home server, lamps, TV or phone automation.

  • 22 files
  • 44.7 KB
  • Updated 3 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/romit07/android-home-server/android-home-server

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

docstroubleshooting.md

≈457 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Troubleshooting

Symptom Fix
adb devices shows offline, or adb commands hang adb kill-server && adb connect <phone>:5555 (scripts/adb-reconnect.sh). Always wrap adb in timeout 20.
unauthorized Accept the RSA prompt on the phone; tick "Always allow".
failed to connect ... 5555 after a reboot Wireless debugging is off / tcpip reset. Turn it on, adb connect <lan-ip>:<port>, adb tcpip 5555.
tailscale ping times out Phone left Tailscale or Wi-Fi. Open Tailscale on the phone; enable Always-on VPN. If the controller's own Tailscale is stuck: sudo tailscale down && sudo tailscale up. Restart tailscaled if the control plane times out.
Tailscale shows "DNS unavailable" on the phone The phone's Wi-Fi/DNS is bad. Restart the router / extender, check the phone is on the main router, not a weak extender.
Works via DERP only (slow) Normal behind CGNAT. Optional: allow UDP 41641 outbound, or ignore it, it works.
Lamps / TV "not found" Their IPs changed (power cut, router reboot). ./scripts/lamps.py discover (ping sweep + ip neigh, match MAC). If a device is missing from ip neigh, it's off Wi-Fi: restart the Wi-Fi extender. Use DHCP reservations to stop IP shuffling.
Scheduled lamp change missed Phone was unreachable at that time, or the bulb dropped off Wi-Fi. The scheduler deliberately doesn't catch up; run it manually. The WiZ app schedules (on-bulb) are a good backup.
Termux sshd gone Android killed Termux: set battery to Unrestricted, keep termux-wake-lock, add Termux:Boot.
Screen-off network drops Run keepawake.sh (wakes only while charging), dumpsys deviceidle disable.
uiautomator dump error Retry; it fails during animations/video.
nc hangs Use timeout 4 nc -w 2 ....

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at b45fb6a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 3 weeks ago

README badge

README badge for romit07/android-home-server