4 Commits

Author SHA1 Message Date
d9dc246bed
Update morning-alarm.sh script
Modify the morning-alarm.sh script to enhance clarity and maintainability. The changes involve updating the path for the mpv command to use '/data/scripts/your-new-morning-alarm.ogg' instead of the previous path '/product/media/audio/alarms/your-new-morning-alarm.ogg'. This adjustment ensures consistency with other script paths and makes it easier to locate the alarm sound file.

Changes made:
- Update the path for the mpv command to '/data/scripts/your-new-morning-alarm.ogg'

This modification simplifies the script and aligns it with the path used in other related scripts, improving overall script coherence.
2024-01-24 16:13:32 +01:00
426cbc55e5
Hinzufügen von Ausgabe für Ausführungszeitpunkt 2023-12-28 20:29:52 +01:00
728966a0d6
Anpassungen am morning-alarm.sh Skript:
- Änderung des Bluetooth-Ausschaltbefehls zu 'svc bluetooth disable'.
- Aktualisierung des Lautstärke-Erhöhungsbefehls.
- Verbesserte Ausgabe in der check_notification-Funktion.
- Entfernung des Timeout-Befehls bei der Überprüfung der Weckerbenachrichtigung.
- Hinzufügen von 'killall mpv' bei Beendigung des Weckers.
2023-12-18 12:58:44 +01:00
1dc5643f7b
Added script for controlling alarm on Android device
This script turns off Bluetooth, increases the media volume to 100%, and continuously checks if the alarm has been dismissed on the Android device. Additionally, it plays the morning alarm sound in an infinite loop until the alarm is dismissed.

- Script Name: morning-alarm.sh
- Features:
  - Turn off Bluetooth
  - Set media volume to 100%
  - Play the morning alarm sound in an infinite loop
  - Continuously check for alarm dismissal

Author: Michael Haider
Date: 17.12.2023
2023-12-17 21:46:44 +01:00