Xiaomi TVs based on Android TV PatchWall offers flexible timer settings, from simple time-offs to complex auto-only scenarios, but finding these features is not always intuitive, depending on the model. TV 4S, Mi TV Q1, Mi TV A Pro) and menu firmware versions may vary. In this article, we will discuss all ways to set the timer, from basic to hidden, including solutions for cases when the standard settings do not work.
Xiaomi TVs are a feature that combines the capabilities of Google TV (And in new models, we're going to show you how to avoid these kinds of conflicts and how to set things up properly, for example, the PatchWall sleep timer might conflict with the Android system shutdown timer. Also consider alternative methods β from voice commands Google Assistant to third-party apps from the Play Market.
What timers are available on Xiaomi TV
Xiaomi TVs support three types of timers, each of which solves its own tasks:
- β±οΈ Shutdown timer β turns off the TV after a set period of time (10 minutes to 4 hours) useful for saving electricity or if you fall asleep while watching a movie.
- π Sleep timer β smoothly reduces brightness and sound before turning off. Available only in the PatchWall shell (on models for China and global with firmware) MIUI TV).
- β° Auto-on β starts the TV at a set time (for example, for alarm clock or broadcast recording) Requires a connection to a 220V network (does not work from the computer). USB-port).
It is important to understand that the sleep timer and auto-on may not be available on European versions of TVs due to certification restrictions, in which case a workaround through third-party apps or changing the region in settings will help (but this can lead to a loss of warranty).
| Timer type | Supported models | Limitations | Does he need the Internet? |
|---|---|---|---|
| Timer of shutdown | All models (Mi) TV 4A, 4S, Q1, A Pro and others.) | Maximum 4 hours | No. |
| Sleep timer | Only with the shell PatchWall (China, global with the MIUI TV) | Does not work with an active screensaver | No. |
| Auto-inclusion | Mi TV Q1/Q2, A Pro (supported) RTC-module) | It requires a connection to the outlet, does not work from USB | Yes (for time synchronization) |
β οΈ Attention: On Xiaomi TVs with Android firmware TV 11+ (Like Mi. TV Q2 2023) a standard shutdown timer can be reset after restarting.This is a system bug that is fixed by upgrading to version 1.8.62 and higher.
How to set a timer off through the settings menu
The most reliable way is to use the built-in Android feature TV. It works on all models, including the Mi. TV 4A (2018) and newer. Instructions:
- On the remote, press the Settings button (cogs) or go to Settings. β All settings.
- Select the Device and Preferences section β Standby and meals.
- Scroll to Timer off point and press OK.
- Set the time from 10 minutes to 4 hours in 10 minutes increments.
- Confirm the choice - the timer is activated immediately.
On PatchWall models (e.g. Mi) TV Q1E) path may differ:
Settings β System β Timers β Timer offIf the item is not in the menu, check the firmware version in Settings β On the old versions of TV (MIUI TV 1.4.x) Timer is hidden β it can be enabled through the developer mode (more on this below).
Check the firmware version (Settings β About TV)
Connect the remote to the TV (if using Bluetooth remote)
Disable the "Energy Saving" mode (can reset the timer)
Make sure the TV is not in Showroom Mode)-->
Sleep timer in the shell PatchWall: features of the setting
The sleep timer feature is only available on PatchWall TVs (mainly Chinese and Indian versions) and not only turns off the screen, but also smoothly reduces brightness and sound 5 minutes before the shutdown, which is useful for a comfortable sleep.
To activate:
- πΊ On the PatchWall home screen, scroll down to the Tools section.
- π Find the dream timer widget (crescent icon) and select it.
- β²οΈ Set a time from 15 minutes to 2 hours (step 15 minutes).
- π΅ Optional: Enable the function of Smooth attenuation of sound (available not on all models).
If the widget is missing, try:
- Update PatchWall through Settings β On TV. β PatchWall Update.
- Reset shell settings: Settings β Annexes β PatchWall β Warehouse β Clear the data.
- Install India or China in your system settings (but this can disrupt some services, such as Netflix).
β οΈ Warning: PatchWall sleep timer conflicts with Android system shutdown timer TV. If you activate both, the one that was set later will work.
Shutdown timer (Android) TV)
Sleep timer (PatchWall)
Auto-inclusion
I don't use timers.-->
Auto Turning on TV: How to set the alarm
Auto-on is useful for waking up to music, running morning news or recording live streams, but it doesnβt work on all Xiaomi models. RTC-The module (real time) that is in the Mi TV Q1/Q2 mi TV A Pro.
Instructions for models with support:
- π Go to Settings. β Smart home. β Timers and reminders.
- π Select Add an alarm clock and set a time.
- π» In the Action section, specify Turn on the TV.
- π Optionally: Add an app launch (e.g. YouTube Music) or playlist.
On TVs without RTC-module (e.g. Mi) TV 4S) Automatic connection can be arranged through:
- π± Smart socket with a timer (for example, Xiaomi Mi Smart Plug).
- π€ Google Assistant with a routine of βOK Google, turn on the TV at 7:00β (requires Wi-Fi connection).
- π» Script in Python using ADB (for advanced users).
How to check for availability RTC-module?
Resetting the timer and troubleshooting
Sometimes a timer on Xiaomi TV It doesn't work correctly, because the TV turns off early, ignores settings, or resets after it's restarted:
| Problem. | Possible cause | Decision |
|---|---|---|
| The timer is reset after being turned off | There's no backup power. RTC-module | Connect the TV to an Uninterruptible Power Supply (UPS) |
| Timer's not activated. | Conflict with the βEnergy Savingβ regime | Turn off mode in Settings β Power supply |
| Sleep timer is not working. | Screensaver or screensaver is active | Turn off the screensavers in Settings β Display and sound β Screensaver |
If the timer stopped working after the firmware update:
- Reset the TV settings to factory settings (Settings) β Device and preferences β Reset).
- Reverse to the previous version of the software through the recovery mode (requires) USB-firmware).
- Contact Xiaomi with system logs (you can get them through Settings) β On TV. β Error report).
π‘
If the timer is triggered too early, check the Auto Sleep Switch settings in the Settings section. β Display and sound. Sometimes the TV turns off because of inactivity, not the timer.
Alternative methods: applications and voice commands
If the built-in timers don't work, you can use third-party solutions.
- β³ Sleep Timer app (available in Play Market for Android) TV). Allows you to set the shutdown time after the end of the film or through a set number of episodes.
- π€ Google Assistant. Commands: "OK Google, turn off the TV in 30 minutes" "OK Google, set the alarm for 7:30 and turn on the TV" Requires you to connect your Google account and your remote microphone on the device.
- π± The Mi Home app, for TVs connected to Xiaomiβs ecosystem, allows you to remotely control timers.
For applications from the Play Market, it is important:
- Before installing, check compatibility with your TV model (as indicated in the application description).
- Some applications require permission ADB background.
- Avoid programs with suspicious permissions (such as accessing contacts or accessing a userβs account) SMS).
π‘
Voice commands via Google Assistant are the most versatile way, but require a stable Internet connection. Offline, only built-in timers work.
Advanced settings: ADB and developer mode
For power users who need flexible settings (e.g. 8-hour timer)+ hours or automatically enable a specific application, will fit the control through ADB (Android Debug Bridge requires activation of developer mode:
- Go to Settings. β On TV.
- Find the Build Number and click on it 7 times in a row (the notification βYou became a developerβ will appear).
- Go back to the main settings menu and open a new section for developers.
- Activate Debugging on ADB and Debugging over the network.
Examples of commands for managing a timer through ADB:
Set a shutdown timer for 60 minutes (3600 seconds)
adb shell am start -a android.intent.action.SHUTDOWN_TIMER -e delay 3600
Cancel off timer
adb shell am start -a android.intent.action.CANCEL_SHUTDOWN_TIMER
Turn on the TV at 7:00 (root required)
adb shell am start -a com.xiaomi.mitv.poweron -e time "07:00"β οΈ Attention: Use ADB-commands to control power may cause system failure if the TV is in update or diagnostic mode.Do not apply commands during firmware or equipment testing.
You can create a Python script for automation, or use Tasker (if the TV is rooted), such as a script for turning on the TV at 18:00 a.m. every day:
import os
from datetime import datetime
target_time = "18:00"
while True:
if datetime.now().strftime("%H:%M") == target_time:
os.system("adb shell input keyevent KEYCODE_POWER")
break