This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Shelly Blinds Controller Script | |
| // This script automatically controls Shelly smart blinds with scheduled actions. | |
| // It executes a morning routine and an evening routine once per day. | |
| // Each routine executes at a randomized time within a configured window, | |
| // and can open, close, or set the blinds to a specific position percentage. | |
| // Routines are managed with daily state tracking to ensure single execution per day. | |
| // Note: When the script starts, it cleans up any existing scheduled jobs related to Cover operations | |
| // === CONFIGURATION === |