diff --git a/74_AMADautomagicFlows_0.9.3.xml b/74_AMADautomagicFlows_0.9.7.xml
similarity index 69%
rename from 74_AMADautomagicFlows_0.9.3.xml
rename to 74_AMADautomagicFlows_0.9.7.xml
index 30f75a8..ac1c5d7 100644
--- a/74_AMADautomagicFlows_0.9.3.xml
+++ b/74_AMADautomagicFlows_0.9.7.xml
@@ -228,6 +228,11 @@ global_album = getString("album");
Expression: param_fullscreen == "on"
param_fullscreen == "on"
+
+ true
+ Expression: param_notifyfile == "RedAlert.mp3"
+ param_notifyfile == "RedAlert.mp3"
+
true
Expression: param_orientation == "auto"
@@ -694,9 +699,39 @@ androidVersion = "4.1 Jelly Bean"
volume_music_speaker
volumeMusikSpeaker
+
+ true
+ Lautstärke einstellen: Benachrichtigung auf Level 7
+ NOTIFICATION
+ 7
+ false
+ false
+
false
- Lautstärken setzen
+ Lautstärken setzen Benachrichtigung
+ false
+ global_volume_alarm
+ false
+ global_volume_dtmf
+ false
+ param_volume
+ true
+ global_volume_notification
+ false
+ global_volume_ring
+ false
+ global_volume_system
+ false
+ global_volume_voice_call
+ false
+ global_ringer_mode
+ false
+ global_interruptions_mode
+
+
+ false
+ Lautstärken setzen param_volume
false
global_volume_alarm
false
@@ -716,11 +751,85 @@ androidVersion = "4.1 Jelly Bean"
false
global_interruptions_mode
+
+ true
+ Lautstärken Speichern
+ false
+ global_volume_alarm
+ false
+ global_volume_dtmf
+ false
+ global_volume_music
+ true
+ global_volume_notification
+ false
+ global_volume_ring
+ false
+ global_volume_system
+ false
+ global_volume_voice_call
+ false
+ global_ringer_mode
+ false
+ global_interruptions_mode
+
true
Neustart
+
+ false
+ Notification Lautstärke Speichern
+ false
+ global_volume_alarm
+ false
+ global_volume_dtmf
+ false
+ global_volume_music
+ true
+ global_volume_notification
+ false
+ global_volume_ring
+ false
+ global_volume_system
+ false
+ global_volume_voice_call
+ false
+ global_ringer_mode
+ false
+ global_interruptions_mode
+
+
+ false
+ Notification Lautstärke Wiederherstellen
+ false
+ global_volume_alarm
+ false
+ global_volume_dtmf
+ false
+ param_volume
+ true
+ global_volume_notification
+ false
+ global_volume_ring
+ false
+ global_volume_system
+ false
+ global_volume_voice_call
+ false
+ global_ringer_mode
+ false
+ global_interruptions_mode
+
+
+ false
+ NotificationLautstärke auf Level 7
+ NOTIFICATION
+ 7
+ false
+ false
+
false
Own Reading
@@ -731,7 +840,7 @@ androidVersion = "4.1 Jelly Bean"
POST
GENERAL_TEXT
text/plain
- {substring(getValue("global_own_reading",""),14)}@@{replaceAll(getValue("global_{substring(getValue('global_own_reading',''),14)}","nicht gefunden"),"\\s","%20")}@@@@
+ {substring(getValue("global_own_reading",""),14)}@@{getValue("global_{substring(getValue('global_own_reading',''),14)}","nicht gefunden")}@@@@
@@@@readingsNameXYZ@@readingsValueABC
60000
true
@@ -1048,7 +1157,7 @@ FHEMCMD: statusrequest
Informations
- FHEM Info / Steuerung über AMAD Modul v0.9.3
+ FHEM Info / Steuerung über AMAD Modul v0.9.7
true
QUEUE
240
@@ -1057,124 +1166,124 @@ FHEMCMD: statusrequest
com.android.music.metachanged
Globale Variable: global_own_reading
- Display eingeschaltet
- Initialisiere Variable Nächster Alarm: next_alarm
- Initialisiere Variable Systemeinstellung: screenBrightness
- Initialisiere Variable Systemeinstellung: volumeMusikSpeaker
- Initialisiere Variable Systemeinstellung: volumeMusikBluetooth
- Flow Aktiv: SetCommands
- Musik Aktiv
- Pause: 2s (Gerät wach halten)
- Expression: trigger == "com.android.music.metachanged"
- Expression: trigger == "Globale Variable: global_own_reading"
- WLAN Verbunden: Alle SSIDs
- WLAN Verbunden: Alle SSIDs
- Own Reading
- Script: global_fhemip = {header_fhemip} global_fhemdevice = {header_fhemdevice}
- Akku Ladestand: grösser als 0%
- Reading Music Metachanged
- Benachrichtigung in Statusbar angezeigt: Automagic
- Get Android Version
- Display automatisch drehen eingeschaltet
- Script: runTask = "1"
- Setze Flow Status: Aktivieren SetCommands
- Script: setCommandFlow_state = "inaktiv"
- Script: setCommandFlow_state = "aktiv"
- Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ";
- Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}"
- Script: next_alarmday = "{next_alarm,dateformat,c}"
- Script: screen_state = "on"
- Script: screen_state = "off"
- Script: screen_orientation = "auto"
- Script: screen_orientation = "portrait"
- Script: screen_orientation = "landscape"
- Script: bluetooth_state = "on"
- Bluetooth Gerät verbunden: Beliebiges Geräte
- Script: bluetooth_state = "off"
- HTTP Response Information
- Display Orientierung: Portrait
- Script: runTask = "0"
- App Task läuft: {header_activetask} (neuster)
- Expression: getAndroidSDKVersion() >= "19"
- Expression: header_activetask != "none"
- Script: runTask = "null"
- Script: runTask = "not supported android version"
- Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"
- Script: notification_text = "not supported from your device"
- Expression: getAndroidSDKVersion() >= "19"
- Bluetooth eingeschaltet
-
-
-
-
-
-
-
-
-
-
-
-
+ Initialisiere Variable Nächster Alarm: next_alarm
+ Initialisiere Variable Systemeinstellung: screenBrightness
+ Initialisiere Variable Systemeinstellung: volumeMusikSpeaker
+ Initialisiere Variable Systemeinstellung: volumeMusikBluetooth
+ Flow Aktiv: SetCommands
+ Musik Aktiv
+ Pause: 2s (Gerät wach halten)
+ Expression: trigger == "com.android.music.metachanged"
+ WLAN Verbunden: Alle SSIDs
+ WLAN Verbunden: Alle SSIDs
+ Reading Music Metachanged
+ Get Android Version
+ Display automatisch drehen eingeschaltet
+ Script: runTask = "1"
+ Setze Flow Status: Aktivieren SetCommands
+ Script: setCommandFlow_state = "inaktiv"
+ Script: setCommandFlow_state = "aktiv"
+ Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ";
+ Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}"
+ Script: next_alarmday = "{next_alarm,dateformat,c}"
+ Script: screen_orientation = "auto"
+ Script: screen_orientation = "portrait"
+ Script: screen_orientation = "landscape"
+ Script: bluetooth_state = "on"
+ Bluetooth Gerät verbunden: Beliebiges Geräte
+ Script: bluetooth_state = "off"
+ HTTP Response Information
+ Display Orientierung: Portrait
+ Script: runTask = "0"
+ App Task läuft: {header_activetask} (neuster)
+ Expression: getAndroidSDKVersion() >= "19"
+ Expression: header_activetask != "none"
+ Script: runTask = "null"
+ Script: runTask = "not supported android version"
+ Bluetooth eingeschaltet
+ Expression: trigger == "Globale Variable: global_own_reading"
+ Script: global_fhemip = {header_fhemip} global_fhemdevice = {header_fhemdevice}
+ Script: notification_text = "not supported from your device"
+ Benachrichtigung in Statusbar angezeigt: Automagic
+ Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"
+ Akku Ladestand: grösser als 0%
+ Script: screen_state = "off"
+ Script: screen_state = "on"
+ Display eingeschaltet
+ Expression: getAndroidSDKVersion() >= "19"
+ Own Reading
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SetCommands
- FHEM Info / Steuerung über AMAD Modul v0.9.3
+ FHEM Info / Steuerung über AMAD Modul v0.9.7
true
QUEUE
240
@@ -1224,81 +1333,89 @@ FHEMCMD: statusrequest
Neustart
Flow Aktiv: Informations
Expression: ttsMsg"
- Lautstärken setzen
- Setze Systemeinstellung: System screen_brightness auf {param_brightness}
- Schalte Display ein: Hell für 120s
- Display automatisch drehen ein-/ausschalten: Aus
- Display automatisch drehen ein-/ausschalten: Ein
- Setze Alarm: um {param_hour}:{param_minute}
- Expression: setScreenOrientation"
- Expression: param_fullscreen == "off"
- Expression: param_fullscreen == "on"
- Expression: setBluetooth"
- Expression: setVolume"
- Sprachausgabe: {param_message}
- Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung
- Expression: param_bluetooth == "off"
- Expression: param_bluetooth == "on"
- Bluetooth ein-/ausschalten: Ein
- Expression: notifysnd"
- Expression: openApp"
- Expression: Reboot
- Benachrichtigung aus Statusbar entfernen: Alle
- Expression: All
- Benachrichtigung aus Statusbar entfernen: Alle (Automagic)
- Expression: Automagic
- Setze Flow Status: Aktivieren Informations
- Script: informationFlow_state = "inaktiv"
- HTTP Response SetCommand
- Bluetooth eingeschaltet
- Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdeviceone}
- Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdeviceone}
- Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdeviceone}
- Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdevicetwo}
- Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdevicetwo}
- Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdeviceone}
- Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdevicetwo}
- Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdevicetwo}
- Pause: 3s (Gerät wach halten)
- Bluetooth Gerät verbinden/trennen: Verbinden Advanced Audio Distribution {param_swtobtdevicemac}
- Pause: 2s (Gerät wach halten)
- Gerät sperren
- Expression: Clear Automagic Meldungen"
- Script: informationFlow_state = "aktiv"
- Expression: setBTDevice"
- Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"
- Expression: trigger == "Sprachbefehl angefordert"
- Expression: openURL"
- Expression: setVoiceCommand"
- Flows ausführen: VoiceControl
- Audio Player steuern: Medienknopf Play (Google Play Musik)
- Audio Player steuern: Medienknopf Weiter (Google Play Musik)
- Audio Player steuern: Medienknopf Zurück (Google Play Musik)
- StatusRequest
- Bluetooth ein-/ausschalten: Aus
- Audio Player steuern: Medienknopf Stopp (Google Play Musik)
-
-
-
-
+ Setze Systemeinstellung: System screen_brightness auf {param_brightness}
+ Schalte Display ein: Hell für 120s
+ Display automatisch drehen ein-/ausschalten: Aus
+ Display automatisch drehen ein-/ausschalten: Ein
+ Setze Alarm: um {param_hour}:{param_minute}
+ Expression: setScreenOrientation"
+ Expression: param_fullscreen == "off"
+ Expression: param_fullscreen == "on"
+ Expression: setBluetooth"
+ Expression: setVolume"
+ Sprachausgabe: {param_message}
+ Expression: param_bluetooth == "off"
+ Expression: param_bluetooth == "on"
+ Bluetooth ein-/ausschalten: Ein
+ Expression: openApp"
+ Expression: Reboot
+ Benachrichtigung aus Statusbar entfernen: Alle
+ Expression: All
+ Benachrichtigung aus Statusbar entfernen: Alle (Automagic)
+ Expression: Automagic
+ Setze Flow Status: Aktivieren Informations
+ Script: informationFlow_state = "inaktiv"
+ Bluetooth eingeschaltet
+ Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdeviceone}
+ Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdeviceone}
+ Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdeviceone}
+ Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdevicetwo}
+ Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdevicetwo}
+ Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdeviceone}
+ Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdevicetwo}
+ Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdevicetwo}
+ Pause: 3s (Gerät wach halten)
+ Bluetooth Gerät verbinden/trennen: Verbinden Advanced Audio Distribution {param_swtobtdevicemac}
+ Pause: 2s (Gerät wach halten)
+ Gerät sperren
+ Expression: Clear Automagic Meldungen"
+ Script: informationFlow_state = "aktiv"
+ Expression: setBTDevice"
+ Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"
+ Expression: trigger == "Sprachbefehl angefordert"
+ Expression: openURL"
+ Expression: setVoiceCommand"
+ Audio Player steuern: Medienknopf Play (Google Play Musik)
+ Audio Player steuern: Medienknopf Weiter (Google Play Musik)
+ Audio Player steuern: Medienknopf Zurück (Google Play Musik)
+ StatusRequest
+ Bluetooth ein-/ausschalten: Aus
+ Audio Player steuern: Medienknopf Stopp (Google Play Musik)
+ Lautstärken setzen param_volume
+ Lautstärke einstellen: Benachrichtigung auf Level 7
+ Lautstärken Speichern
+ Expression: param_notifyfile == "RedAlert.mp3"
+ Expression: notifysnd"
+ Expression: param_notifyfile == "RedAlert.mp3"
+ Lautstärken setzen Benachrichtigung
+ Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung
+ NotificationLautstärke auf Level 7
+ Notification Lautstärke Speichern
+ Notification Lautstärke Wiederherstellen
+ HTTP Response SetCommand
+ Flows ausführen: VoiceControl
+
+
+
+
-
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
+
+
@@ -1311,98 +1428,105 @@ FHEMCMD: statusrequest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
VoiceControl
- FHEM Info / Steuerung über AMAD Modul v0.9.3
+ FHEM Info / Steuerung über AMAD Modul v0.9.7
true
QUEUE
Expression: value != ""
Spracheingabe wurde nicht erkannt
Benachrichtigung auf Bildschirm: {value} (lange)
- Send Voice Input Value to AMADCommBridge
- AMAD Voice Control
-
-
+ AMAD Voice Control
+ Send Voice Input Value to AMADCommBridge
+
+
-
-
+
+
\ No newline at end of file