Sleep
Stop your TV automatically when you fall asleep, so you wake up knowing exactly where you left off in your series. No more scrolling through episodes trying to remember where you dozed off. Set a timer, drift off, and your TV handles the rest with a beautiful dynamic screensaver that shows live weather. Perfect for binge-watchers who keep falling
Install / Use
/learn @LuciPanuci/SleepREADME
Sleep - Android TV Sleep Timer
Stop your TV automatically when you fall asleep, so you wake up knowing exactly where you left off in your series. No more scrolling through episodes trying to remember where you dozed off.
Set a timer, drift off, and your TV handles the rest with a beautiful dynamic screensaver that shows live weather. Perfect for binge-watchers who keep falling asleep mid-episode.
Features
- Sleep Timer: Set custom countdown timers (15, 30, 45, 60, 90 minutes)
- Floating Widget: Always-visible timer overlay that stays on top of other apps
- Dynamic Screensaver: Beautiful backgrounds that change throughout the day with live weather display
- Quick Add Time: Add 10 minutes to your timer without going back to the main app
- Live Weather: Real-time weather data integrated into the screensaver
- Sleep Mode: Automatically puts your TV to sleep when timer ends
Screenshots
Installation
Prerequisites
- Android TV device (Android 6.0+)
Installation Options
Option 1: Basic Installation (No Floating Widget)
- Install the APK directly on your device
- All features work except the floating timer widget
Option 2: Full Features (With Floating Widget)
- ADB (Android Debug Bridge) for wireless installation
- Developer Options enabled on your Android TV
Setup for Full Features
- Enable Developer Options on your Android TV
- Enable Wireless Debugging
- Connect via ADB:
adb connect YOUR_TV_IP:5555 - Install the APK:
adb install app-release.apk - Grant overlay permission:
adb shell appops set com.tvtimer.app SYSTEM_ALERT_WINDOW allow
Note: The floating widget requires the overlay permission. Without it, the app works normally but the widget won't appear on top of other apps.
Usage
- Set Timer: Choose your preferred duration (15-90 minutes)
- Floating Widget: Tap the "FW" button to show the always-on timer overlay
- Add Time: Use the +10 button to extend your timer
- Screensaver: Tap "SS" to manually activate the custom screensaver
- Settings: Tap "SET" to configure app preferences
Permissions
SYSTEM_ALERT_WINDOW: Required for the floating timer widgetINTERNET: For weather data and location servicesACCESS_NETWORK_STATE: For network connectivity checks
Building from Source
git clone https://github.com/yourusername/sleep-timer.git
cd sleep-timer
./gradlew assembleRelease
Troubleshooting
- Floating widget not visible: Ensure overlay permission is granted
- Weather not loading: Check internet connection and location permissions
- Sleep mode not working: Some TV models may have restrictions
Contributing
Feel free to submit issues and enhancement requests!
License
Free to use and modify.
Made with ❤️ for sleepy binge-watchers everywhere
