Работа таймеров включения и выключения для группы устройств/en: различия между версиями
Новая страница: «Working with Power On/Off Timers for Device Groups» |
Новая страница: «== '''Description of the Situation''' == The timer configuration for device groups has been enhanced to support automated operation. The SmartPlayer platform now supports power on/off timers at the group level and allows adjusting the timers for device groups using a special JSON file sent from the server. As a result, both the group and individual devices within the group (with their own timers) can receive this timer configuration file. {{Note|To learn how...» |
||
| Строка 1: | Строка 1: | ||
== '''Description of the Situation''' == | |||
== ''' | The timer configuration for device groups has been enhanced to support automated operation. The SmartPlayer platform now supports power on/off timers at the group level and allows adjusting the timers for device groups using a special JSON file sent from the server. As a result, both the group and individual devices within the group (with their own timers) can receive this timer configuration file. | ||
{{Note|To learn how power on/off timers work for individual devices, see [https://wiki.smartplayer.org/index.php/%D0%A2%D0%B0%D0%B9%D0%BC%D0%B5%D1%80%D1%8B_%D0%B2%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F_%D0%B8_%D0%B2%D1%8B%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F_%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2 here]. We recommend reviewing this page before working with the feature.|warn}} | |||
{{Note| | == '''How It Works''' == | ||
== ''' | {{Note|To test and use the timer feature, you need to obtain an API key. For more on creating API keys in the SmartPlayer dashboard, see [https://wiki.smartplayer.org/index.php/%D0%9F%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%B9_%D1%87%D0%B5%D1%80%D0%B5%D0%B7_API_%D0%B2_%D0%BB%D0%B8%D1%87%D0%BD%D0%BE%D0%BC_%D0%BA%D0%B0%D0%B1%D0%B8%D0%BD%D0%B5%D1%82%D0%B5/ru here].|warn}} | ||
{{Note| | To configure timers for a device group, the user must register/log into the SmartPlayer platform.<br> | ||
Then, go to the "Devices" section and create (or find) a group with the required devices. | |||
[[File:Группа_устройств таймеры.png|thumb|center| Example of a device group displayed in the "Devices" section|800px]] | |||
[[File:Группа_устройств таймеры.png|thumb|center| | Select the group by clicking on it and navigate to the right-hand panel. In this panel, select the "Group Settings" section. | ||
[[File:Панель_управления_настройки_группы.png|thumb|center| Example of the "Group Settings" section|800px]] | |||
[[File:Панель_управления_настройки_группы.png|thumb|center| | A new page with a list of setting categories will open. In this case, the relevant category is "Automation Management". Click this category. | ||
[[File:Раздел_автоматизации.png|thumb|center| Example of the "Automation Management" category|800px]] | |||
[[File:Раздел_автоматизации.png|thumb|center| | On the page, a configuration block for timers under "Automation Management" will appear. The following parameters are available: | ||
* repeat — allows selecting the repeat mode: never, once, daily, weekly; | |||
* | * date — allows setting the repeat date (only appears if the repeat option is not "Never"); | ||
* | * time — allows setting the repeat time (only appears if the repeat option is not "Never"); | ||
* | * volume level at startup — slider to set volume level (note: may not apply immediately after reboot); | ||
* | * sleep mode checkbox — enables/disables the device's manufacturer-supported sleep mode. | ||
* | [[File:Параметры_настройки_таймеров.png|thumb|center| Example of the "Automation Management" parameters|800px]] | ||
[[File:Параметры_настройки_таймеров.png|thumb|center| | === '''Auto Timer Configuration via JSON File''' === | ||
=== ''' | {{Note|This feature works by sending a JSON file. When the SmartPlayer server requests data, a JSON file with timer settings is sent for waking up the devices. This file is sent from the client server once per day to devices linked to the account via a URL request. The received timer info will be processed and automatically applied to the group’s devices. You can view the applied timers in the "Automation Management" block under "Group Settings".|warn}} | ||
{{Note| | The JSON file must contain the following fields for timers to update automatically: | ||
JSON | * date — date; | ||
* date — | * apt — folder name; | ||
* apt — | * city — name of the city where the device is located; | ||
* city — | * wt_beg — timer to activate sleep mode; | ||
* wt_beg — | * wt_end — timer to wake the device from sleep mode. | ||
* wt_end — | [[File:Пример_полей_в_файле.png|thumb|center| Example of JSON file parameters|800px]] | ||
[[File:Пример_полей_в_файле.png|thumb|center| | You can download a template of the JSON file [https://demofordoc.hb.ru-msk.vkcloud-storage.ru/timers%20%282%29.json here]. | ||
== '''Additional Information''' == | |||
== ''' | If this article does not help you use the functionality as intended or if you still have questions after reading it, you can ask them in the "Discussion" section at the top of the page. | ||
[[File:Обсуждение_работы_таймеров.png|thumb|center| Example of the "Discussion" tab on the wiki page |800px]] | |||
[[File:Обсуждение_работы_таймеров.png|thumb|center| | You can also learn more on the page [[How users can interact with the "Discussions" section]] | ||
Текущая версия от 09:45, 24 декабря 2025
Description of the Situation
The timer configuration for device groups has been enhanced to support automated operation. The SmartPlayer platform now supports power on/off timers at the group level and allows adjusting the timers for device groups using a special JSON file sent from the server. As a result, both the group and individual devices within the group (with their own timers) can receive this timer configuration file.
How It Works
To configure timers for a device group, the user must register/log into the SmartPlayer platform.
Then, go to the "Devices" section and create (or find) a group with the required devices.

Select the group by clicking on it and navigate to the right-hand panel. In this panel, select the "Group Settings" section.

A new page with a list of setting categories will open. In this case, the relevant category is "Automation Management". Click this category.

On the page, a configuration block for timers under "Automation Management" will appear. The following parameters are available:
- repeat — allows selecting the repeat mode: never, once, daily, weekly;
- date — allows setting the repeat date (only appears if the repeat option is not "Never");
- time — allows setting the repeat time (only appears if the repeat option is not "Never");
- volume level at startup — slider to set volume level (note: may not apply immediately after reboot);
- sleep mode checkbox — enables/disables the device's manufacturer-supported sleep mode.

Auto Timer Configuration via JSON File
The JSON file must contain the following fields for timers to update automatically:
- date — date;
- apt — folder name;
- city — name of the city where the device is located;
- wt_beg — timer to activate sleep mode;
- wt_end — timer to wake the device from sleep mode.

You can download a template of the JSON file here.
Additional Information
If this article does not help you use the functionality as intended or if you still have questions after reading it, you can ask them in the "Discussion" section at the top of the page.

You can also learn more on the page How users can interact with the "Discussions" section