- Reordered the iobroker state set commands to set colortemp at the end for better consistency. - Removed unnecessary ping test in the check_ip function. - Cleaned up the check_notification function, removed unnecessary echo statements. - Adjusted the sleep time in the check_notification function to 5 seconds. - Updated comments and removed unnecessary comments for clarity. - Minor formatting improvements for better readability. - Added missing code in the color change loop, now it changes colors as intended. (hopefully) - Removed redundant comments at the end of the script. These changes enhance the script's clarity, remove unnecessary code, and ensure proper functionality.
wecker
Wecker-Skript mit Helligkeits- und Farbtemperaturanpassung für ioBroker Dieses Skript passt die Helligkeit schrittweise an und ändert die Farbtemperatur von warmweiß zu kaltweiß über die ioBroker-Steuerung. Es erhöht die Helligkeit von 1 auf 100 und ändert die Farbtemperatur von 1600 (warmweiß) auf 0 (kaltweiß) innerhalb von 15 Minuten.
Description
Wecker-Skript mit Helligkeits- und Farbtemperaturanpassung für ioBroker
Dieses Skript passt die Helligkeit schrittweise an und ändert die Farbtemperatur von warmweiß zu kaltweiß über die ioBroker-Steuerung. Es erhöht die Helligkeit von 1 auf 100 und ändert die Farbtemperatur von 1600 (warmweiß) auf 0 (kaltweiß) innerhalb von 15 Minuten.
Languages
Shell
100%