Ratatoskr 5224de0d20
Refactor alarm script and integrate RGB control
This commit refactors the 'wecker.sh' script to enhance functionality and integrate RGB control.

Changes:
- Removed redundant color variables (red, green, blue) as RGB control is now managed by an external script.
- Replaced 'set_color' function with a call to the 'rgb.sh' script for RGB control.
- Introduced the use of 'pkill rgb.sh' to stop the RGB script when the alarm is turned off.
- Added the execution of 'rgb.sh' at the end of the script for dynamic color cycling.
- Enhanced code readability and removed unnecessary sleep commands for color cycling.
- Modified the 'check_notification' function to ensure proper termination of the RGB script.

Usage:
1. Ensure the 'rgb.sh' script is available in the specified path.
2. Run the 'wecker.sh' script to manage alarms with integrated RGB control.

Note: Adjust the paths and dependencies based on your system configuration and requirements.
2024-02-09 08:37:27 +01:00
2024-02-08 15:59:47 +01:00
2024-02-06 17:43:54 +01:00
2023-11-16 07:56:53 +00:00
2024-02-09 08:35:24 +01:00
2024-02-08 16:03:47 +01:00

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.
Readme 1,011 KiB
Languages
Shell 100%