Add a SCHEDULE key to config.ini (loaded from SPIFFS) that allows any device
(sensor or actuator) to define time-based behavior using cron syntax.
Parsing is handled by espressif/supertinycron, an official ESP component. A FreeRTOS task is created per scheduled entry to evaluate and trigger the appropriate action at the specified time.
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
| #!/bin/sh | |
| set -e | |
| read -p "Key name (file will be ~/.ssh/id_ed25519_sk_NAME): " name | |
| read -p "Application suffix (empty to be the same as name): " app | |
| [ -z "$app" ] && app="$name" | |
| read -p "Comment (-C): " comment | |
| ssh-keygen -t ed25519-sk \ | |
| -f "$HOME/.ssh/id_ed25519_sk_${name}" \ |