SkillAgentSearch skills...

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/Sleep
About this skill

Quality Score

0/100

Supported Platforms

Zed

README

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

  1. Enable Developer Options on your Android TV
  2. Enable Wireless Debugging
  3. Connect via ADB: adb connect YOUR_TV_IP:5555
  4. Install the APK: adb install app-release.apk
  5. 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

  1. Set Timer: Choose your preferred duration (15-90 minutes)
  2. Floating Widget: Tap the "FW" button to show the always-on timer overlay
  3. Add Time: Use the +10 button to extend your timer
  4. Screensaver: Tap "SS" to manually activate the custom screensaver
  5. Settings: Tap "SET" to configure app preferences

Permissions

  • SYSTEM_ALERT_WINDOW: Required for the floating timer widget
  • INTERNET: For weather data and location services
  • ACCESS_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

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated7mo ago
Forks0

Languages

Kotlin

Security Score

62/100

Audited on Aug 13, 2025

No findings