diff --git a/74_AMAD.pm b/74_AMAD.pm
index 7945176..ed9f477 100644
--- a/74_AMAD.pm
+++ b/74_AMAD.pm
@@ -37,7 +37,8 @@ use TcpServerUtils;
use Encode qw(encode);
-my $version = "1.9.41";
+my $modulversion = "1.9.53";
+my $flowsetversion = "1.9.53";
@@ -67,7 +68,7 @@ sub AMAD_Initialize($) {
foreach my $d(sort keys %{$modules{AMAD}{defptr}}) {
my $hash = $modules{AMAD}{defptr}{$d};
- $hash->{VERSION} = $version;
+ $hash->{VERSIONMODUL} = $modulversion;
}
}
@@ -88,7 +89,8 @@ sub AMAD_Define($$) {
$hash->{HOST} = $host if( $host );
$hash->{PORT} = $port;
$hash->{APSSID} = $apssid if( $hash->{HOST} );
- $hash->{VERSION} = $version;
+ $hash->{VERSIONMODUL} = $modulversion;
+ $hash->{VERSIONFLOWSET} = $flowsetversion;
$hash->{helper}{infoErrorCounter} = 0 if( $hash->{HOST} );
$hash->{helper}{setCmdErrorCounter} = 0 if( $hash->{HOST} );
@@ -482,6 +484,7 @@ sub AMAD_Set($$@) {
$list .= "openURL ";
$list .= "openApp:$apps " if( AttrVal( $name, "setOpenApp", "none" ) ne "none" );
$list .= "nextAlarmTime:time ";
+ $list .= "timer:time ";
$list .= "statusRequest:noArg ";
$list .= "system:reboot,shutdown,airplanemodeON " if( AttrVal( $name, "root", "0" ) eq "1" );
$list .= "bluetooth:on,off ";
@@ -492,6 +495,7 @@ sub AMAD_Set($$@) {
$list .= "volumeNotification:slider,0,1,7 ";
$list .= "vibrate:noArg ";
$list .= "sendIntent ";
+ $list .= "currentFlowsetUpdate:noArg ";
if( lc $cmd eq 'screenmsg'
|| lc $cmd eq 'ttsmsg'
@@ -505,6 +509,7 @@ sub AMAD_Set($$@) {
|| lc $cmd eq 'openurl'
|| lc $cmd eq 'openapp'
|| lc $cmd eq 'nextalarmtime'
+ || lc $cmd eq 'timer'
|| lc $cmd eq 'bluetooth'
|| lc $cmd eq 'system'
|| lc $cmd eq 'notifysndfile'
@@ -515,6 +520,7 @@ sub AMAD_Set($$@) {
|| lc $cmd eq 'screenlock'
|| lc $cmd eq 'statusrequest'
|| lc $cmd eq 'sendintent'
+ || lc $cmd eq 'currentflowsetupdate'
|| lc $cmd eq 'vibrate') {
Log3 $name, 5, "AMAD ($name) - set $name $cmd ".join(" ", @val);
@@ -525,7 +531,7 @@ sub AMAD_Set($$@) {
return AMAD_SelectSetCmd( $hash, $cmd, @val ) if( @val ) && ( ReadingsVal( $name, "deviceState", "online" ) eq "offline" ) && ( lc $cmd eq 'devicestate' );
return "Cannot set command, FHEM Device is offline" if( ReadingsVal( $name, "deviceState", "online" ) eq "offline" );
- return AMAD_SelectSetCmd( $hash, $cmd, @val ) if( @val ) || ( lc $cmd eq 'statusrequest' ) || ( lc $cmd eq 'activatevoiceinput' ) || ( lc $cmd eq 'vibrate' );
+ return AMAD_SelectSetCmd( $hash, $cmd, @val ) if( @val ) || ( lc $cmd eq 'statusrequest' ) || ( lc $cmd eq 'activatevoiceinput' ) || ( lc $cmd eq 'vibrate' ) || ( lc $cmd eq 'currentflowsetupdate' );
}
return "Unknown argument $cmd, bearword as argument or wrong parameter(s), choose one of $list";
@@ -696,6 +702,15 @@ sub AMAD_SelectSetCmd($$@) {
return AMAD_HTTP_POST( $hash, $url );
}
+ elsif (lc $cmd eq 'timer') {
+
+ my $timer = join( " ", @data );
+
+ my $url = "http://" . $host . ":" . $port . "/fhem-amad/setCommands/setTimer?minute=".$timer;
+
+ return AMAD_HTTP_POST( $hash, $url );
+ }
+
elsif( lc $cmd eq 'statusrequest' ) {
AMAD_GetUpdate( $hash );
@@ -784,6 +799,13 @@ sub AMAD_SelectSetCmd($$@) {
return AMAD_HTTP_POST( $hash,$url );
}
+
+ elsif( lc $cmd eq 'currentflowsetupdate' ) {
+
+ my $url = "http://" . $host . ":" . $port . "/fhem-amad/currentFlowsetUpdate";
+
+ return AMAD_HTTP_POST( $hash,$url );
+ }
return undef;
}
@@ -1001,8 +1023,21 @@ sub AMAD_CommBridge_Read($) {
my $c;
my $fhemcmd = $header->{FHEMCMD};
+
- if ( $fhemcmd =~ /setreading\b/ ) {
+ if ( $data[0] =~ /currentFlowsetUpdate.xml/ ) {
+
+ $response = qx(cat /opt/fhem/FHEM/lib/74_AMADautomagicFlows_$flowsetversion.xml);
+ $c = $hash->{CD};
+ print $c "HTTP/1.1 200 OK\r\n",
+ "Content-Type: text/plain\r\n",
+ "Content-Length: ".length($response)."\r\n\r\n",
+ $response;
+
+ return;
+ }
+
+ elsif ( $fhemcmd =~ /setreading\b/ ) {
my $tv = $data[1];
Log3 $name, 4, "AMAD ($name) - AMAD_CommBridge: processing receive reading values - Device: $device Data: $tv";
@@ -1157,9 +1192,9 @@ sub AMAD_FHEM_Webdetails($$) {
my ($FW_wname, $name, $room, $pageHash) = @_; # pageHash is set for summaryFn.
my $hash = $defs{$name};
- return if( !defined( $hash->{VERSION} ) );
+ return if( !defined( $hash->{VERSIONFLOWSET} ) );
- return "Download FlowSet-$version
"
+ return "
Download FlowSet-$flowsetversion
Download FlowSet Updater
"
}
diff --git a/74_AMADautomagicFlowsUpdater.xml b/74_AMADautomagicFlowsUpdater.xml
new file mode 100644
index 0000000..1fd70fd
--- /dev/null
+++ b/74_AMADautomagicFlowsUpdater.xml
@@ -0,0 +1,54 @@
+
+
+
+ false
+ HTTP Request: /fhem-amad/currentFlowsetUpdate
+ true
+ /fhem-amad/currentFlowsetUpdate
+ 8090
+ true
+
+
+ true
+ Dateien löschen: /storage/emulated/0/Download/currentFlowsetUpdate.xml
+ /storage/emulated/0/Download/currentFlowsetUpdate.xml
+ true
+
+
+ true
+ Download URL: http://{global_fhemip}:8090/currentFlowsetUpdate.xml to /storage/emulated/0/Download
+ http://{global_fhemip}:8090/currentFlowsetUpdate.xml
+ /storage/emulated/0/Download
+ true
+
+
+ true
+ Flows/Widgets importieren: /storage/emulated/0/Download/currentFlowsetUpdate.xml
+ /storage/emulated/0/Download/currentFlowsetUpdate.xml
+ true
+
+
+ true
+ Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}
+ true
+ {imported_flow_names,listformat,comma}
+
+
+
+ Update AMAD Flowset
+ AMAD2 Flowset Updater
+ true
+ PARALLEL
+ Dateien löschen: /storage/emulated/0/Download/currentFlowsetUpdate.xml
+
+ HTTP Request: /fhem-amad/currentFlowsetUpdate
+
+ Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}
+ Flows/Widgets importieren: /storage/emulated/0/Download/currentFlowsetUpdate.xml
+ Download URL: http://{global_fhemip}:8090/currentFlowsetUpdate.xml to /storage/emulated/0/Download
+
+
+
+
+
+
\ No newline at end of file
diff --git a/74_AMADautomagicFlows_1.9.41.xml b/74_AMADautomagicFlows_1.9.53.xml
similarity index 74%
rename from 74_AMADautomagicFlows_1.9.41.xml
rename to 74_AMADautomagicFlows_1.9.53.xml
index 5514b93..573d0cd 100644
--- a/74_AMADautomagicFlows_1.9.41.xml
+++ b/74_AMADautomagicFlows_1.9.53.xml
@@ -367,6 +367,11 @@ global_album = getString("album");
Expression: Clear Automagic Meldungen"
request_path == "/fhem-amad/setCommands/clearnotificationbar"
+
+ true
+ Expression: contains(value, " und ")
+ contains(value, " und ")
+
true
Expression: getAndroidSDKVersion() >= "19"
@@ -547,6 +552,11 @@ global_album = getString("album");
Expression: setScreenOrientation"
request_path == "/fhem-amad/setCommands/setScreenOrientation"
+
+ false
+ Expression: setTimer"
+ request_path == "/fhem-amad/setCommands/setTimer"
+
false
Expression: setVibrate"
@@ -1633,6 +1643,12 @@ FHEMCMD: setreading
Script: bluetooth_state = "on"
+
+ true
+ Script: connected_devices_names = "null"; connected_devices_addresses = "null"
+
+
true
Script: daydream_state = "off"
@@ -1810,6 +1826,27 @@ global_album = "no soundplayer activ";
60000
true
FHEMDEVICE: {global_fhemdevice}
+FHEMCMD: voiceinputvalue
+ true
+ response
+ /storage/emulated/0/Download/file.bin
+ true
+
+
+ false
+ Send Voice Input Value to AMADCommBridge left
+ http://{global_fhemip}:8090
+ false
+ false
+
+ POST
+ GENERAL_TEXT
+ text/plain
+ {left(value, (indexOf(value, " und ")))}
+ @@@@readingsNameXYZ@@readingsValueABC
+ 60000
+ true
+ FHEMDEVICE: {global_fhemdevice}
FHEMCMD: voiceinputvalue
true
response
@@ -1891,6 +1928,18 @@ global_apssid = {header_apssid}
false
param_lockpin
+
+ false
+ Setze Timer
+
+ {param_minute}m
+ true
+
+
+ false
+ Setze voice Variablen
+
+
true
Setze Vollbild Modus: Auf Default zurücksetzen
@@ -1986,113 +2035,11 @@ FHEMCMD: setreading
Informations
- FHEM Info / Steuerung über AMAD Modul v1.9.41
+ AMAD2 Info/Control Flowset v1.9.53
true
PARALLEL
500
- Get Android Version
- Script: androidVersion = "not supported funktion"
- Android Version
- Stromversorgung: Angeschlossen
- Setze Globale Variablen
- Expression: trigger == "Daydream Status: Gestartet"
- Daydream State
- Script: setCommandFlow_state = "inaktiv"
- Bluetooth Status
- Script: bluetooth_state = "off"
- Script: bluetooth_state = "on"
- Bluetooth eingeschaltet
- Expression: trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Status: Schaltet ein, Ein"
- Initialisiere Variable Systemeinstellung: screenBrightness
- Script: volume = {volumeBT}
- Script: volume = {volumeSP}
- Bluetooth Gerät verbunden: Beliebiges Geräte (Advanced Audio Distribution)
- Initialisiere Variable Systemeinstellung: volumeMusikSpeaker.2
- Initialisiere Variable Systemeinstellung: volumeMusikBluetooth.2
- Script: daydream_state = "on"
- Script: daydream_state = "off"
- Script: next_alarmday = "{next_alarm,dateformat,c}"
- Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}"
- Initialisiere Variable Nächster Alarm: next_alarm
- Screen Brightness
- App Task läuft: {global_activetask} (neuster)
- Expression: getAndroidSDKVersion() >= "19"
- Script: runTask = "1"
- Script: runTask = "0"
- Script: runTask = "not supported android version"
- Script: runTask = "null"
- Check run Task
- Expression: global_activetask != "none"
- Expression: trigger == "Daydream Status: Gestartet" or trigger == "Daydream Status: Gestoppt"
- Expression: trigger == "Systemeinstellung verändert: System volume_ring_speaker"
- Expression: trigger == "Systemeinstellung verändert: System next_alarm"
- Expression: trigger == "Systemeinstellung verändert: System screen_brightness"
- Pause: 1s (Gerät wach halten)
- Musik Aktiv
- Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ";
- Reading Music Metachanged.2
- WLAN Verbunden: {global_apssid}
- Script: airplanemode = "off"
- Airplainemode
- Expression: trigger == "Flugmodus: Aus"
- Script: airpcount = 0
- Expression: airpcount < 11
- Script: airpcount = airpcount + 1
- Pause: 2s (Gerät wach halten)
- Expression: trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin"
- Script: keyguard = "unlocked"
- Script: screen_state = "off {keyguard}"
- Screen State
- Expression: trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic"
- Expression: global_activetask != "none"
- Expression: udef_trigger == "setLockPin"
- Keyguard mit Sicherheit
- Dock Status: Docked
- Expression: getAndroidSDKVersion() >= "19"
- Display Orientierung: Portrait
- Script: screen_orientation = "portrait"
- Script: screen_orientation = "landscape"
- Display automatisch drehen eingeschaltet
- Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"
- Benachrichtigung in Statusbar angezeigt: Automagic
- Script: notification_text = "not supported from your device"
- Script: dock_state = "docked"
- Script: dock_state = "undocked"
- Script: keyguardSet = "1"
- Script: keyguardSet = "0"
- KeyGuard Set
- Dock State
- Automagic State
- Screen Orientation
- Script: screen_orientation_mode = "auto"
- Script: screen_orientation_mode = "manual"
- Expression: trigger == "Display Orientierung: Landscape" or trigger == "Display Orientierung: Portrait" or trigger == "Display Status: Ein" or trigger == "Display Status: Aus"
- Script: setCommandFlow_state = "aktiv"
- Flow Aktiv: SetCommands
- Setze Flow Status: Aktivieren SetCommands
- Flow Status SetCommands
- Script: screen_state = "on {keyguard}"
- Expression: trigger == "com.android.music.playstatechanged" or trigger == "com.android.music.metachanged"
- Script: scrcount = 0
- Script: keyguard = "locked"
- Display eingeschaltet
- Keyguard gesperrt
- Expression: scrcount < 5
- Script: scrcount = scrcount + 1
- Pause: 2s (Gerät wach halten)
- Expression: keyguard == "locked"
- Bluetooth Gerät verbunden: Beliebiges Geräte
- Bluetooth Device Status
- Expression: trigger == "Akku Ladestand: grösser als 0%"
- Stromversorgung und Akkustand
- Initialisiere Variable Systemeinstellung: volumeNotification
- Expression: trigger == "HTTP Request: /fhem-amad/deviceInfo/"
- Notification Volume
- WLAN Verbunden: {global_apssid}
- Nächster Alarm
- Lautstärke / Volume
- Expression: trigger == "Systemeinstellung verändert: System volume_music_bt_a2dp" or trigger == "Systemeinstellung verändert: System volume_music_speaker" or trigger == "Systemeinstellung verändert: System volume_music_headphone"
-
+
Stromversorgung: Angeschlossen
App Task Gestartet: {global_activetask}
Bluetooth Status: Schaltet ein, Ein
@@ -2121,150 +2068,255 @@ FHEMCMD: setreading
Systemeinstellung verändert: System volume_ring_speaker
Systemeinstellung verändert: System volume_music_headphone
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Get Android Version
+ Script: androidVersion = "not supported funktion"
+ Android Version
+ Stromversorgung: Angeschlossen
+ Setze Globale Variablen
+ Expression: trigger == "Daydream Status: Gestartet"
+ Daydream State
+ Script: setCommandFlow_state = "inaktiv"
+ Initialisiere Variable Systemeinstellung: screenBrightness
+ Script: volume = {volumeBT}
+ Script: volume = {volumeSP}
+ Bluetooth Gerät verbunden: Beliebiges Geräte (Advanced Audio Distribution)
+ Initialisiere Variable Systemeinstellung: volumeMusikSpeaker.2
+ Initialisiere Variable Systemeinstellung: volumeMusikBluetooth.2
+ Script: daydream_state = "on"
+ Script: daydream_state = "off"
+ Script: next_alarmday = "{next_alarm,dateformat,c}"
+ Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}"
+ Initialisiere Variable Nächster Alarm: next_alarm
+ Screen Brightness
+ App Task läuft: {global_activetask} (neuster)
+ Expression: getAndroidSDKVersion() >= "19"
+ Script: runTask = "1"
+ Script: runTask = "0"
+ Script: runTask = "not supported android version"
+ Script: runTask = "null"
+ Check run Task
+ Expression: global_activetask != "none"
+ Expression: trigger == "Daydream Status: Gestartet" or trigger == "Daydream Status: Gestoppt"
+ Expression: trigger == "Systemeinstellung verändert: System volume_ring_speaker"
+ Expression: trigger == "Systemeinstellung verändert: System next_alarm"
+ Expression: trigger == "Systemeinstellung verändert: System screen_brightness"
+ WLAN Verbunden: {global_apssid}
+ Script: airplanemode = "off"
+ Airplainemode
+ Expression: trigger == "Flugmodus: Aus"
+ Script: airpcount = 0
+ Expression: airpcount < 11
+ Script: airpcount = airpcount + 1
+ Pause: 2s (Gerät wach halten)
+ Expression: trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin"
+ Script: keyguard = "unlocked"
+ Script: screen_state = "off {keyguard}"
+ Screen State
+ Expression: trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic"
+ Expression: global_activetask != "none"
+ Expression: udef_trigger == "setLockPin"
+ Keyguard mit Sicherheit
+ Dock Status: Docked
+ Expression: getAndroidSDKVersion() >= "19"
+ Display Orientierung: Portrait
+ Script: screen_orientation = "portrait"
+ Script: screen_orientation = "landscape"
+ Display automatisch drehen eingeschaltet
+ Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"
+ Benachrichtigung in Statusbar angezeigt: Automagic
+ Script: notification_text = "not supported from your device"
+ Script: dock_state = "docked"
+ Script: dock_state = "undocked"
+ Script: keyguardSet = "1"
+ Script: keyguardSet = "0"
+ KeyGuard Set
+ Dock State
+ Automagic State
+ Screen Orientation
+ Script: screen_orientation_mode = "auto"
+ Script: screen_orientation_mode = "manual"
+ Expression: trigger == "Display Orientierung: Landscape" or trigger == "Display Orientierung: Portrait" or trigger == "Display Status: Ein" or trigger == "Display Status: Aus"
+ Script: setCommandFlow_state = "aktiv"
+ Flow Aktiv: SetCommands
+ Setze Flow Status: Aktivieren SetCommands
+ Flow Status SetCommands
+ Script: screen_state = "on {keyguard}"
+ Script: scrcount = 0
+ Script: keyguard = "locked"
+ Display eingeschaltet
+ Keyguard gesperrt
+ Expression: scrcount < 5
+ Script: scrcount = scrcount + 1
+ Pause: 2s (Gerät wach halten)
+ Expression: keyguard == "locked"
+ Expression: trigger == "Akku Ladestand: grösser als 0%"
+ Stromversorgung und Akkustand
+ Initialisiere Variable Systemeinstellung: volumeNotification
+ Expression: trigger == "HTTP Request: /fhem-amad/deviceInfo/"
+ Notification Volume
+ WLAN Verbunden: {global_apssid}
+ Nächster Alarm
+ Lautstärke / Volume
+ Expression: trigger == "Systemeinstellung verändert: System volume_music_bt_a2dp" or trigger == "Systemeinstellung verändert: System volume_music_speaker" or trigger == "Systemeinstellung verändert: System volume_music_headphone"
+ Expression: trigger == "com.android.music.playstatechanged" or trigger == "com.android.music.metachanged"
+ Pause: 1s (Gerät wach halten)
+ Musik Aktiv
+ Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ";
+ Reading Music Metachanged.2
+ Expression: trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Status: Schaltet ein, Ein"
+ Bluetooth Status
+ Bluetooth eingeschaltet
+ Script: bluetooth_state = "off"
+ Script: bluetooth_state = "on"
+ Bluetooth Gerät verbunden: Beliebiges Geräte
+ Bluetooth Device Status
+ Script: connected_devices_names = "null"; connected_devices_addresses = "null"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
SetCommands
- FHEM Info / Steuerung über AMAD Modul v1.9.41
+ AMAD2 Info/Control Flowset v1.9.53
true
QUEUE
500
@@ -2276,259 +2328,271 @@ FHEMCMD: setreading
Expression: param_screen=="on"
Expression: setBrightness"
- Expression: setAlarm"
- Expression: screenMsg"
- URL in Browser öffnen: {param_url} (mit Chrome)
- Benachrichtigung auf Bildschirm: {param_message} (lange)
- Expression: setScreenFullscreen"
- Expression: param_orientation == "auto"
- Setze Display Orientierung: Portrait
- Setze Display Orientierung: Landscape
- Expression: param_orientation == "landscape"
- Setze Vollbild Modus: Navigation nicht anzeigen
- Setze Vollbild Modus: Auf Default zurücksetzen
- Expression: param_button == "back"
- Expression: param_button == "next"
- Setze Display Orientierung: Auf Default zurücksetzen
- Expression: param_button == "play"
- Expression: mediaPlayer"
- Expression: param_button == "stop"
- Expression: param_screen=="off"
- Expression: setScreenOnOff"
- App Task läuft: App5 (neuster)
- Expression: App5
- Expression: App4
- App Task läuft: App3 (neuster)
- Expression: App3
- App Starten: App3
- App Starten: App4
- App Task läuft: App4 (neuster)
- Expression: tuneinradio
- App Task läuft: tuneinradio (neuster)
- App Starten: tuneinradio
- App Starten: App5
- App Task läuft: gplay (neuster)
- Expression: gplay
- App Starten: PlayMusic
- Flow Aktiv: Informations
- Expression: ttsMsg"
- 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"
- Sprachausgabe: {param_message}
- Expression: param_bluetooth == "off"
- Expression: param_bluetooth == "on"
- Bluetooth ein-/ausschalten: Ein
- Expression: openApp"
- 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: setBTDevice"
- Expression: openURL"
- 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)
- Bluetooth ein-/ausschalten: Aus
- Audio Player steuern: Medienknopf Stopp (Google Play Musik)
- Expression: setVolume"
- Expression: param_orientation == "portrait"
- Expression: Reboot
- Expression: System Command"
- Neustart
- Expression: Shutdown
- Herunterfahren
- Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung
- Benachrichtigung aus Statusbar entfernen: Alle
- Benachrichtigung aus Statusbar entfernen: Alle (Automagic)
- Expression: Automagic
- Expression: All
- Expression: setNotifiVolume"
- Expression: notifysnd"
- NotificationLautstärke auf Level 7
- Notification Lautstärke Speichern
- Expression: param_notifyfile == "RedAlert.mp3"
- Notification Lautstärke Wiederherstellen
- Expression: setVoiceCommand"
- Flows ausführen: VoiceControl
- Expression: setVibrate"
- Vibrieren: Pattern 2 (-- --)
- Expression: Clear Automagic Meldungen"
- Flugmodus ein-/ausschalten: Ein
- Setze Display Helligkeit: {param_brightness}
- Expression: setScreenlock"
- Broadcast senden: {param_action}
- Expression: sendIntent"
- Setze Flow Status: Aktivieren Informations
- Script: informationFlow_state = "aktiv"
- Expression: Airplanemode
- Pause: 1s (Gerät wach halten)
- Airplainemode ON
- Expression: param_lockmod == "lock"
- Setze Lock PIN/Passwort: PIN/Passwort zurücksetzen
- Setze Lock PIN/Passwort: Setze PIN von Variable param_lockpin
- Script: udef_trigger = "setLockPin"
- Flows ausführen: udef_trigger setLockPin
- Lautstärken setzen param_volume
- Flow Status Informations
- Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"
- Expression: trigger == "Sprachbefehl angefordert"
- WLAN Verbunden: {global_apssid}
- Lautstärken setzen param_notifivolume
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Expression: screenMsg"
+ URL in Browser öffnen: {param_url} (mit Chrome)
+ Benachrichtigung auf Bildschirm: {param_message} (lange)
+ Expression: setScreenFullscreen"
+ Expression: param_orientation == "auto"
+ Setze Display Orientierung: Portrait
+ Setze Display Orientierung: Landscape
+ Expression: param_orientation == "landscape"
+ Setze Vollbild Modus: Navigation nicht anzeigen
+ Setze Vollbild Modus: Auf Default zurücksetzen
+ Expression: param_button == "back"
+ Expression: param_button == "next"
+ Setze Display Orientierung: Auf Default zurücksetzen
+ Expression: param_button == "play"
+ Expression: mediaPlayer"
+ Expression: param_button == "stop"
+ Expression: param_screen=="off"
+ Expression: setScreenOnOff"
+ App Task läuft: App5 (neuster)
+ Expression: App5
+ Expression: App4
+ App Task läuft: App3 (neuster)
+ Expression: App3
+ App Starten: App3
+ App Starten: App4
+ App Task läuft: App4 (neuster)
+ Expression: tuneinradio
+ App Task läuft: tuneinradio (neuster)
+ App Starten: tuneinradio
+ App Starten: App5
+ App Task läuft: gplay (neuster)
+ Expression: gplay
+ App Starten: PlayMusic
+ Flow Aktiv: Informations
+ Expression: ttsMsg"
+ Schalte Display ein: Hell für 120s
+ Display automatisch drehen ein-/ausschalten: Aus
+ Display automatisch drehen ein-/ausschalten: Ein
+ Expression: setScreenOrientation"
+ Expression: param_fullscreen == "off"
+ Expression: param_fullscreen == "on"
+ Expression: setBluetooth"
+ Sprachausgabe: {param_message}
+ Expression: param_bluetooth == "off"
+ Expression: param_bluetooth == "on"
+ Bluetooth ein-/ausschalten: Ein
+ Expression: openApp"
+ 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: setBTDevice"
+ Expression: openURL"
+ 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)
+ Bluetooth ein-/ausschalten: Aus
+ Audio Player steuern: Medienknopf Stopp (Google Play Musik)
+ Expression: setVolume"
+ Expression: param_orientation == "portrait"
+ Expression: Reboot
+ Expression: System Command"
+ Neustart
+ Expression: Shutdown
+ Herunterfahren
+ Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung
+ Benachrichtigung aus Statusbar entfernen: Alle
+ Benachrichtigung aus Statusbar entfernen: Alle (Automagic)
+ Expression: Automagic
+ Expression: All
+ Expression: setNotifiVolume"
+ Expression: notifysnd"
+ NotificationLautstärke auf Level 7
+ Notification Lautstärke Speichern
+ Expression: param_notifyfile == "RedAlert.mp3"
+ Notification Lautstärke Wiederherstellen
+ Expression: setVoiceCommand"
+ Flows ausführen: VoiceControl
+ Expression: setVibrate"
+ Vibrieren: Pattern 2 (-- --)
+ Expression: Clear Automagic Meldungen"
+ Flugmodus ein-/ausschalten: Ein
+ Setze Display Helligkeit: {param_brightness}
+ Expression: setScreenlock"
+ Broadcast senden: {param_action}
+ Expression: sendIntent"
+ Setze Flow Status: Aktivieren Informations
+ Script: informationFlow_state = "aktiv"
+ Expression: Airplanemode
+ Pause: 1s (Gerät wach halten)
+ Airplainemode ON
+ Expression: param_lockmod == "lock"
+ Setze Lock PIN/Passwort: PIN/Passwort zurücksetzen
+ Setze Lock PIN/Passwort: Setze PIN von Variable param_lockpin
+ Script: udef_trigger = "setLockPin"
+ Flows ausführen: udef_trigger setLockPin
+ Lautstärken setzen param_volume
+ Flow Status Informations
+ Expression: trigger == "Sprachbefehl angefordert"
+ WLAN Verbunden: {global_apssid}
+ Lautstärken setzen param_notifivolume
+ Setze Alarm: um {param_hour}:{param_minute}
+ Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"
+ Setze Timer
+ Expression: setAlarm"
+ Expression: setTimer"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
VoiceControl
- FHEM Info / Steuerung über AMAD Modul v1.9.41
+ AMAD2 Info/Control Flowset v1.9.53
true
QUEUE
60
- Expression: value != ""
- Spracheingabe wurde nicht erkannt
- Benachrichtigung auf Bildschirm: {value} (lange)
- Send Voice Input Value to AMADCommBridge
- AMAD Voice Control
-
-
-
-
-
+ AMAD Voice Control
+ Expression: contains(value, " und ")
+ Send Voice Input Value to AMADCommBridge
+ Setze voice Variablen
+ Benachrichtigung auf Bildschirm: {value} (lange)
+ Expression: value != ""
+ Spracheingabe wurde nicht erkannt
+ Send Voice Input Value to AMADCommBridge left
+ Spracheingabe wurde nicht erkannt
+
+
+
+
+
+
+
+
+
\ No newline at end of file