diff --git a/fhem/CHANGED b/fhem/CHANGED index 7e40ae997..f0a3f97e5 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 74_AMAD: fix Commandref, APSSID for non WLAN Devices - change: YAMAHA_AVR: removed set command tunerPreset, added new set command preset to select a configured preset for the currently selected input. Please change your configuration diff --git a/fhem/FHEM/74_AMAD.pm b/fhem/FHEM/74_AMAD.pm index a0e5510df..955f5180c 100644 --- a/fhem/FHEM/74_AMAD.pm +++ b/fhem/FHEM/74_AMAD.pm @@ -37,8 +37,8 @@ use TcpServerUtils; use Encode qw(encode); -my $modulversion = "2.0.0"; -my $flowsetversion = "2.0.0"; +my $modulversion = "2.0.1"; +my $flowsetversion = "2.0.1"; @@ -61,7 +61,7 @@ sub AMAD_Initialize($) { "setBluetoothDevice ". "setScreenlockPIN ". "setScreenOnForTimer ". - "setOpenUrlBroswer ". + "setOpenUrlBrowser ". "root:0,1 ". "port ". "disable:1 ". @@ -709,7 +709,7 @@ sub AMAD_SelectSetCmd($$@) { elsif( lc $cmd eq 'openurl' ) { my $openurl = join( " ", @data ); - my $browser = AttrVal( $name, "setOpenUrlBroswer", "com.android.chrome|com.google.android.apps.chrome.Main" ); + my $browser = AttrVal( $name, "setOpenUrlBrowser", "com.android.chrome|com.google.android.apps.chrome.Main" ); my @browserapp = split( /\|/, $browser ); my $url = "http://" . $host . ":" . $port . "/fhem-amad/setCommands/openURL?url=".$openurl."&browserapp=".$browserapp[0]."&browserappclass=".$browserapp[1]; @@ -1424,8 +1424,8 @@ sub AMAD_decrypt($) { define WandTabletWohnzimmer AMAD 192.168.0.23 TuxNetAP@@OpaZuHause

- Diese Anweisung erstellt zwei neue AMAD-Devices im Raum AMAD.Der Parameter <IP-ADRESSE< legt die IP Adresse des Android Gerätes fest und der Parameter WLANAP-SSID die SSID des WLAN's welches sich zum FHEM Server verbindet. Es können mehrere SSID's mit angegeben werden, welche dann getrennt durch zwei @ eingetragen werden. Das zweite Device ist die AMADCommBridge welche als Kommunikationsbrücke vom Androidgerät zu FHEM diehnt.
- !!!Comming Soon!!! Der Port eines jeden AMAD Devices kann über das Attribut "port" geändert werden. Hier sollte Hintergrundwissen zu Automagic und HTTP Request vorhanden sein, da dieser Port im HTTP Request Trigger der beiden Flows eingestellt ist. Demzufolge muß der Port dort auch verädert werden. + Diese Anweisung erstellt zwei neues AMAD-Device im Raum AMAD.Der Parameter <IP-ADRESSE> legt die IP Adresse des Android Gerätes fest und der Parameter WLANAP-SSID die SSID Deines WLAN's. Es können mehrere SSID's mit angegeben werden, welche dann durch Komma getrennt sein müssen. Haben die SSID's Leerzeichen im Namen werde die Leerzeichen durch 2 @ aufgefüllt. Gibt es Androidgeräte welche nicht über WLAN sondern USB-Ethernet angeschlossen sind, ist die WLANAP-SSID mit "usb-ethernet" zu benennen
+ Das zweite Device ist die AMADCommBridge welche als Kommunikationsbrücke vom Androidgerät zu FHEM diehnt. !!!Comming Soon!!! Wer den Port ändern möchte, kann dies über das Attribut "port" tun. Ihr solltet aber wissen was Ihr tut, da dieser Port im HTTP Request Trigger der beiden Flows eingestellt ist. Demzufolge muß der Port dort auch geändert werden. Der Port für die Bridge kann ohne Probleme im Bridge Device mittels dem Attribut "port" verändert werden.
Der Port für die Bridge kann ohne Probleme im Bridge Device mittels dem Attribut "port" verändert werden.
diff --git a/fhem/FHEM/lib/74_AMADautomagicFlowset_2.0.1.xml b/fhem/FHEM/lib/74_AMADautomagicFlowset_2.0.1.xml new file mode 100644 index 000000000..7d8296925 --- /dev/null +++ b/fhem/FHEM/lib/74_AMADautomagicFlowset_2.0.1.xml @@ -0,0 +1,2945 @@ + + + + true + Akku Ladestand: grösser als 0% + true + 0 + HIGHER_THAN + true + true + + + true + App Task Beendet: {global_activetask} + true + {global_activetask} + + + true + App Task Gestartet: {global_activetask} + true + {global_activetask} + + + true + Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic + true + ch.gridvision.ppam.androidautomagic + TEXT + CONTAINS_TEXT + + false + false + + + true + Benachrichtigung in Statusbar angezeigt: com.whatsapp + true + com.whatsapp + TEXT + CONTAINS_TEXT + + false + true + + + true + Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic + true + ch.gridvision.ppam.androidautomagic + TEXT + CONTAINS_TEXT + + false + false + + + true + Bluetooth Status: Schaltet aus, Aus + true + false + false + true + true + + + true + Bluetooth Status: Schaltet ein, Ein + true + true + true + false + false + + + false + com.android.music.metachanged + true + com.android.music.metachanged + + + + + + + + global_artist = getString("artist"); +global_track = getString("track"); +global_album = getString("album"); + false + + + false + com.android.music.playstatechanged + true + com.android.music.playstatechanged + + + + + + + + global_artist = getString("artist"); +global_track = getString("track"); +global_album = getString("album"); + false + + + true + Daydream Status: Gestartet + true + true + + + true + Daydream Status: Gestoppt + true + false + + + true + Display Orientierung: Landscape + true + false + + + true + Display Orientierung: Portrait + true + true + + + true + Display Status: Aus + true + false + + + true + Display Status: Ein + true + true + + + true + Dock Event: Docked + true + true + + + true + Dock Event: Undocked + true + false + + + true + Eingehender Anruf. Status: Klingelt, Nummern: Alle + true + true + + true + true + false + false + false + + + true + Flugmodus: Aus + true + false + + + true + Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT + true + com.android.deskclock.ALARM_ALERT + + + + + + + + + false + + + true + Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS + true + com.android.deskclock.ALARM_DISMISS + + + + + + + + + false + + + true + Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE + true + com.android.deskclock.ALARM_DONE + + + + + + + + + false + + + true + Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE + true + com.android.deskclock.ALARM_SNOOZE + + + + + + + + + false + + + true + Genereller Broadcast: wenn org.smblott.intentradio.STATE + true + org.smblott.intentradio.STATE + + + + + + + + irstate=getString("state"); +irname=getString("name") + false + + + false + HTTP Request: /fhem-amad/currentFlowsetUpdate + true + /fhem-amad/currentFlowsetUpdate + 8090 + true + + + false + HTTP Request: /fhem-amad/deviceInfo/ + true + /fhem-amad/deviceInfo/ + 8090 + true + + + false + HTTP Request: /fhem-amad/setCommands/* + true + /fhem-amad/setCommands/* + 8090 + true + + + true + Sprachbefehl angefordert + true + + + true + Stromversorgung: Angeschlossen + true + true + true + true + true + + + true + Stromversorgung: Entfernt + true + false + true + true + true + + + false + Systemeinstellung verändert: System next_alarm + true + SYSTEM + next_alarm_formatted + setting + + + true + Systemeinstellung verändert: System screen_brightness + true + SYSTEM + screen_brightness + screenBrightness + + + true + Systemeinstellung verändert: System volume_music_bt_a2dp + true + SYSTEM + volume_music_bt_a2dp + volume + + + true + Systemeinstellung verändert: System volume_music_headphone + true + SYSTEM + volume_music_headphone + volume + + + true + Systemeinstellung verändert: System volume_music_speaker + true + SYSTEM + volume_music_speaker + volume + + + true + Systemeinstellung verändert: System volume_ring_speaker + true + SYSTEM + volume_ring_speaker + volumeNotification + + + false + App Task läuft: App (neuster) + {param_app} + true + + + true + App Task läuft: {global_activetask} (neuster) + {global_activetask} + true + + + false + Benachrichtigung in Statusbar angezeigt: Automagic + ch.gridvision.ppam.androidautomagic + true + 1 + TEXT + CONTAINS_TEXT + + false + false + + + false + Benachrichtigung in Statusbar angezeigt: WhatsApp + com.whatsapp + true + 1 + TEXT + CONTAINS_TEXT + + false + false + + + true + Bluetooth eingeschaltet + + + true + Bluetooth Gerät verbunden: Beliebiges Geräte + true + + + ANY + + + true + Bluetooth Gerät verbunden: Beliebiges Geräte (Advanced Audio Distribution) + true + + + A2DP + + + true + Display automatisch drehen eingeschaltet + + + true + Display eingeschaltet + + + true + Display Orientierung: Portrait + true + + + true + Dock Status: Docked + true + true + true + true + true + false + + + true + Expression: airpcount < 11 + airpcount < 11 + + + false + Expression: Airplanemode + param_syscmd == "airplanemodeON" + + + false + Expression: All + param_app == "All" + + + false + Expression: Automagic + param_app == "Automagic" + + + false + Expression: Clear Automagic Meldungen" + request_path == "/fhem-amad/setCommands/clearnotificationbar" + + + true + Expression: contains(value, " und ") + contains(value, " und ") + + + true + Expression: getAndroidSDKVersion() >= "19" + getAndroidSDKVersion() >= "19" + + + true + Expression: global_activetask != "none" + global_activetask != "none" + + + true + Expression: global_apssid != "usb-ethernet" + global_apssid != "usb-ethernet" + + + true + Expression: global_bridgeport == null or global_fhemip == null or global_fhemdevice == null or global_activetask == null or global_apssid == null + global_bridgeport == null +or global_fhemip == null +or global_fhemdevice == null +or global_activetask == null +or global_apssid == null + + + true + Expression: global_fhemip != null + global_fhemip != null + + + false + Expression: installFlow" + request_path == "/fhem-amad/setCommands/installFlow" + + + true + Expression: keyguard == "locked" + keyguard == "locked" + + + false + Expression: mediaPlayer" + request_path == "/fhem-amad/setCommands/mediaPlayer" + + + false + Expression: notifysnd" + request_path == "/fhem-amad/setCommands/playnotifysnd" + + + false + Expression: openApp" + request_path == "/fhem-amad/setCommands/openApp" + + + false + Expression: openURL" + request_path == "/fhem-amad/setCommands/openURL" + + + true + Expression: param_bluetooth == "off" + param_bluetooth == "off" + + + true + Expression: param_bluetooth == "on" + param_bluetooth == "on" + + + true + Expression: param_button == "back" + param_button == "back" + + + true + Expression: param_button == "next" + param_button == "next" + + + true + Expression: param_button == "play" + param_button == "play" + + + true + Expression: param_button == "stop" + param_button == "stop" + + + true + Expression: param_fullscreen == "off" + param_fullscreen == "off" + + + true + Expression: param_fullscreen == "on" + param_fullscreen == "on" + + + true + Expression: param_lockmod == "lock" + param_lockmod == "lock" + + + true + Expression: param_notifyfile == "RedAlert.mp3" + param_notifyfile == "RedAlert.mp3" + + + true + Expression: param_orientation == "auto" + param_orientation == "auto" + + + true + Expression: param_orientation == "landscape" + param_orientation == "landscape" + + + true + Expression: param_orientation == "portrait" + param_orientation == "portrait" + + + true + Expression: param_screen=="off" + param_screen=="off" + + + true + Expression: param_screen=="on" + param_screen=="on" + + + false + Expression: Reboot + param_syscmd == "reboot" + + + true + Expression: scrcount < 5 + scrcount < 5 + + + false + Expression: screenMsg" + request_path == "/fhem-amad/setCommands/screenMsg" + + + false + Expression: sendIntent" + request_path == "/fhem-amad/setCommands/sendIntent" + + + false + Expression: setAlarm" + request_path == "/fhem-amad/setCommands/setAlarm" + + + false + Expression: setBluetooth" + request_path == "/fhem-amad/setCommands/setbluetooth" + + + false + Expression: setBrightness" + request_path == "/fhem-amad/setCommands/setBrightness" + + + false + Expression: setBTDevice" + request_path == "/fhem-amad/setCommands/setbtdevice" + + + false + Expression: setNotifiVolume" + request_path == "/fhem-amad/setCommands/setNotifiVolume" + + + false + Expression: setScreenFullscreen" + request_path == "/fhem-amad/setCommands/setScreenFullscreen" + + + false + Expression: setScreenlock" + request_path == "/fhem-amad/setCommands/screenlock" + + + false + Expression: setScreenOnOff" + request_path == "/fhem-amad/setCommands/setScreenOnOff" + + + false + Expression: setScreenOrientation" + request_path == "/fhem-amad/setCommands/setScreenOrientation" + + + false + Expression: setTimer" + request_path == "/fhem-amad/setCommands/setTimer" + + + false + Expression: setVibrate" + request_path == "/fhem-amad/setCommands/setvibrate" + + + false + Expression: setVoiceCommand" + request_path == "/fhem-amad/setCommands/setvoicecmd" + + + false + Expression: setVolume" + request_path == "/fhem-amad/setCommands/setVolume" + + + false + Expression: Shutdown + param_syscmd == "shutdown" + + + false + Expression: System Command" + request_path == "/fhem-amad/setCommands/systemcommand" + + + true + Expression: trigger == "Akku Ladestand: grösser als 0%" + trigger == "Akku Ladestand: grösser als 0%" + + + true + Expression: trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic" + trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic" + + + true + Expression: trigger == "Benachrichtigung in Statusbar angezeigt: com.whatsapp" + trigger == "Benachrichtigung in Statusbar angezeigt: com.whatsapp" + + + true + Expression: trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Status: Schaltet ein, Ein" + trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Status: Schaltet ein, Ein" + + + true + Expression: trigger == "com.android.music.playstatechanged" or trigger == "com.android.music.metachanged" + trigger == "com.android.music.playstatechanged" or trigger == "com.android.music.metachanged" + + + true + Expression: trigger == "Daydream Status: Gestartet" + trigger == "Daydream Status: Gestartet" + + + true + Expression: trigger == "Daydream Status: Gestartet" or trigger == "Daydream Status: Gestoppt" + trigger == "Daydream Status: Gestartet" or trigger == "Daydream Status: Gestoppt" + + + true + Expression: trigger == "Display Orientierung: Landscape" or trigger == "Display Orientierung: Portrait" or trigger == "Display Status: Ein" or trigger == "Display Status: Aus" + trigger == "Display Orientierung: Landscape" or trigger == "Display Orientierung: Portrait" or trigger == "Display Status: Ein" or trigger == "Display Status: Aus" + + + true + Expression: trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin" + trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin" + + + true + Expression: trigger == "Eingehender Anruf. Status: Klingelt, Nummern: Alle" + trigger == "Eingehender Anruf. Status: Klingelt, Nummern: Alle" + + + true + Expression: trigger == "Flugmodus: Aus" + trigger == "Flugmodus: Aus" + + + true + Expression: trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE" + trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE" + + + true + Expression: trigger == "Genereller Broadcast: wenn org.smblott.intentradio.STATE" + trigger == "Genereller Broadcast: wenn org.smblott.intentradio.STATE" + + + true + Expression: trigger == "HTTP Request: /fhem-amad/deviceInfo/" + trigger == "HTTP Request: /fhem-amad/deviceInfo/" + + + true + Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*" + trigger == "HTTP Request: /fhem-amad/setCommands/*" + + + true + Expression: trigger == "Sprachbefehl angefordert" + trigger == "Sprachbefehl angefordert" + + + true + Expression: trigger == "Systemeinstellung verändert: System next_alarm" + trigger == "Systemeinstellung verändert: System next_alarm" + + + true + Expression: trigger == "Systemeinstellung verändert: System screen_brightness" + trigger == "Systemeinstellung verändert: System screen_brightness" + + + true + 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" + 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" + + + true + Expression: trigger == "Systemeinstellung verändert: System volume_ring_speaker" + trigger == "Systemeinstellung verändert: System volume_ring_speaker" + + + false + Expression: ttsMsg" + request_path == "/fhem-amad/setCommands/ttsMsg" + + + true + Expression: udef_trigger == "setLockPin" + udef_trigger == "setLockPin" + + + true + Expression: value != "" + value != "" + + + true + Flow Aktiv: Informations + Informations + + + true + Flow Aktiv: SetCommands + SetCommands + + + true + Keyguard gesperrt + + + true + Keyguard mit Sicherheit + + + true + Musik Aktiv + + + true + Stromversorgung: Angeschlossen + true + true + true + true + + + true + WLAN Verbunden: {global_apssid} + false + {global_apssid} + + + false + Airplainemode + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + airplanemode@@{airplanemode}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Airplainemode ON + http://{global_fhemip}:8090 + false + false + + POST + GENERAL_TEXT + text/plain + airplanemode@@on@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + AMAD Voice Control + true + + true + de-DE + false + + + false + Android Version + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + androidVersion@@{androidVersion}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + App Starten: App + {param_app} + + + + true + Audio Player steuern: Medienknopf Play (Google Play Musik) + true + TOGGLE_PAUSE + KEYCODE_MEDIA_PLAY + true + com.google.android.music + com.google.android.music.playback.MediaButtonIntentReceiver + Google Play Musik + + + true + Audio Player steuern: Medienknopf Stopp (Google Play Musik) + true + STOP + KEYCODE_MEDIA_STOP + true + com.google.android.music + com.google.android.music.playback.MediaButtonIntentReceiver + Google Play Musik + + + true + Audio Player steuern: Medienknopf Weiter (Google Play Musik) + true + LAUNCH + KEYCODE_MEDIA_NEXT + true + com.google.android.music + com.google.android.music.playback.MediaButtonIntentReceiver + Google Play Musik + + + true + Audio Player steuern: Medienknopf Zurück (Google Play Musik) + true + LAUNCH + KEYCODE_MEDIA_PREVIOUS + true + com.google.android.music + com.google.android.music.playback.MediaButtonIntentReceiver + Google Play Musik + + + false + Automagic State + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + automagicState@@{notification_text}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Benachrichtigung auf Bildschirm: {param_message} (lange) + true + {param_message} + + 200 + 250 + false + 1.0 + true + false + TOP_LEFT + 0 + 0 + + + true + Benachrichtigung auf Bildschirm: {value} (lange) + true + {value} + + 200 + 250 + false + 1.0 + true + false + TOP_LEFT + 0 + 0 + + + true + Benachrichtigung aus Statusbar entfernen: Alle + false + true + 1 + true + + true + {id} + TEXT + CONTAINS_TEXT + + + + true + Benachrichtigung aus Statusbar entfernen: Alle (Automagic) + true + true + 1 + false + + true + {id} + TEXT + CONTAINS_TEXT + + + + false + Bluetooth Device Status + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + connectedBTdevices@@{connected_devices_names}@@@@connectedBTdevicesMAC@@{connected_devices_addresses}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Bluetooth ein-/ausschalten: Aus + false + + + true + Bluetooth ein-/ausschalten: Ein + true + + + true + Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdeviceone} + A2DP + {param_btdeviceone} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdevicetwo} + A2DP + {param_btdevicetwo} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdeviceone} + INPUT_DEVICE + {param_btdeviceone} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdevicetwo} + INPUT_DEVICE + {param_btdevicetwo} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdeviceone} + HEADSET + {param_btdeviceone} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdevicetwo} + HEADSET + {param_btdevicetwo} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdeviceone} + PAN + {param_btdeviceone} + + false + + + true + Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdevicetwo} + PAN + {param_btdevicetwo} + + false + + + true + Bluetooth Gerät verbinden/trennen: Verbinden Advanced Audio Distribution {param_swtobtdevicemac} + A2DP + {param_swtobtdevicemac} + + true + + + false + Bluetooth Status + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + bluetooth@@{bluetooth_state}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Broadcast senden: {param_action} + {param_action} + false + android.intent.category.DEFAULT + false + + false + text/plain + false + + + FLAG_ACTIVITY_NEW_TASK + putString("{param_exkey1}", "{param_exval1}"); +putString("{param_exkey2}", "{param_exval2}"); + false + + + + false + Check run Task + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + checkActiveTask@@{runTask}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Dateien löschen: /storage/emulated/0/Download/currentFlowsetUpdate.xml + /storage/emulated/0/Download/currentFlowsetUpdate.xml + true + + + false + Daydream State + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + daydream@@{daydream_state}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Display automatisch drehen ein-/ausschalten: Aus + false + + + true + Display automatisch drehen ein-/ausschalten: Ein + true + + + false + Dock State + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + dockingState@@{dock_state}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml to /storage/emulated/0/Download + http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml + /storage/emulated/0/Download + true + + + true + Download URL: http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} to /storage/emulated/0/Download + http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} + /storage/emulated/0/Download + true + + + false + Flow Status Informations + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + flow_informations@@{informationFlow_state}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Flow Status SetCommands + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + flow_SetCommands@@{setCommandFlow_state}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Flows ausführen: udef_trigger setLockPin + Informations + + false + true + false + + + true + Flows ausführen: VoiceControl + VoiceControl + + true + false + false + + + true + Flows/Widgets importieren: /storage/emulated/0/Download/currentFlowsetUpdate.xml + /storage/emulated/0/Download/currentFlowsetUpdate.xml + true + + + false + Flowsetversion + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + flowsetVersionAtDevice@@{amad_flowset_version}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Flugmodus ein-/ausschalten: Ein + SYSTEM_SETTING + true + + + true + Gerät sperren + + + false + Get Android Version + + + + true + Herunterfahren + + + false + Incoming Call + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + incomingCallerName@@{contact_name}@@@@incomingCallerNumber@@{incoming_number}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Incoming WhatsApp Message + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + incommingWhatsAppMessageFrom@@{notification_text}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Initialisiere Variable Nächster Alarm: next_alarm + next_alarm + + + false + Initialisiere Variable Systemeinstellung: screenBrightness + SYSTEM + screen_brightness + screenBrightness + + + false + Initialisiere Variable Systemeinstellung: volumeMusikBluetooth.2 + SYSTEM + volume_music_bt_a2dp + volumeBT + + + false + Initialisiere Variable Systemeinstellung: volumeMusikSpeaker.2 + SYSTEM + volume_music_speaker + volumeSP + + + false + Initialisiere Variable Systemeinstellung: volumeNotification + SYSTEM + volume_ring_speaker + volumeNotification + + + false + IntentRadio Status + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + intentRadioState@@{irstate}@@@@intentRadioName@@{irname}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + KeyGuard Set + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + keyguardSet@@{keyguardSet}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Lautstärke / Volume + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + volume@@{volume}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Lautstärken setzen param_notifivolume + false + global_volume_alarm + false + global_volume_dtmf + false + param_volume + true + param_notifivolume + 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 + global_volume_dtmf + true + param_volume + false + 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 + Next Alarm State + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + nextAlarmState@@{nextalarmstate}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + 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 + Notification Volume + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + volumeNotification@@{volumeNotification}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + NotificationLautstärke auf Level 7 + NOTIFICATION + 7 + false + false + + + false + Nächster Alarm + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + nextAlarmTime@@{next_alarmtime}@@@@nextAlarmDay@@{next_alarmday}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Pause: 1s (Gerät wach halten) + 1s + true + false + + + true + Pause: 2s (Gerät wach halten) + 2s + true + false + + + true + Pause: 3s (Gerät wach halten) + 3s + true + false + + + false + Prüfe und setze Bridgeport Variable + + + + false + Prüfe und setze globale Variablen + + + + false + Reading Music Metachanged.2 + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + currentMusicTrack@@{global_track}@@@@currentMusicAlbum@@{global_album}@@@@currentMusicArtist@@{global_artist}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Schalte Display ein: Hell für {param_screenontime}s + true + {param_screenontime}s + true + + + false + Screen Brightness + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + screenBrightness@@{screenBrightness}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Screen Orientation + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + screenOrientation@@{screen_orientation}@@@@screenOrientationMode@@{screen_orientation_mode}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + false + Screen State + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + screen@@{screen_state}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + Script: airpcount = 0 + + + + true + Script: airpcount = airpcount + 1 + + + + true + Script: airplanemode = "off" + + + + true + Script: amad_flowset_version = "2.0.1" + + + + true + Script: androidVersion = "not supported funktion" + + + + true + Script: bluetooth_state = "off" + + + + true + Script: bluetooth_state = "on" + + + + true + Script: connected_devices_names = "null"; connected_devices_addresses = "null" + + + + true + Script: daydream_state = "off" + + + + true + Script: daydream_state = "on" + + + + true + Script: dock_state = "docked" + + + + true + Script: dock_state = "undocked" + + + + true + Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ"; + + + + true + Script: if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT") { nextalarmstate = "alert" } if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS") { nextalarmstate = "dismiss" } if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE") { nextalarmstate = "done" } if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE") { nextalarmstate = "snooze" } + + + + true + Script: informationFlow_state = "aktiv" + + + + true + Script: informationFlow_state = "inaktiv" + + + + true + Script: keyguard = "locked" + + + + true + Script: keyguard = "unlocked" + + + + true + Script: keyguardSet = "0" + + + + true + Script: keyguardSet = "1" + + + + true + Script: next_alarmday = "{next_alarm,dateformat,c}" + + + + true + Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}" + + + + true + Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" + + + + true + Script: notification_text = "not supported from your device" + + + + true + Script: runTask = "0" + + + + true + Script: runTask = "1" + + + + true + Script: runTask = "not supported android version" + + + + true + Script: runTask = "null" + + + + true + Script: scrcount = 0 + + + + true + Script: scrcount = scrcount + 1 + + + + true + Script: screen_orientation = "landscape" + + + + true + Script: screen_orientation = "portrait" + + + + true + Script: screen_orientation_mode = "auto" + + + + true + Script: screen_orientation_mode = "manual" + + + + true + Script: screen_state = "off {keyguard}" + + + + true + Script: screen_state = "on {keyguard}" + + + + true + Script: setCommandFlow_state = "aktiv" + + + + true + Script: setCommandFlow_state = "inaktiv" + + + + true + Script: udef_trigger = "setLockPin" + + + + true + Script: volume = {volumeBT} + + + + true + Script: volume = {volumeSP} + + + + false + Send Voice Input Value to AMADCommBridge + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + {value} + @@@@readingsNameXYZ@@readingsValueABC + 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}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + {left(value, (indexOf(value, " und ")))} + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: voiceinputvalue + true + response + /storage/emulated/0/Download/file.bin + true + + + true + Setze Alarm: um {param_hour}:{param_minute} + + {param_hour} + {param_minute} + + + false + true + + + true + Setze Display Helligkeit: {param_brightness} + false + {param_brightness} + false + 50 + + + true + Setze Display Orientierung: Auf Default zurücksetzen + UNSPECIFIED + false + + + true + Setze Display Orientierung: Landscape + LANDSCAPE + false + + + true + Setze Display Orientierung: Portrait + PORTRAIT + false + + + true + Setze Flow Status: Aktivieren Informations + true + Informations + + + + true + Setze Flow Status: Aktivieren SetCommands + true + SetCommands + + + + true + Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} + true + {imported_flow_names,listformat,comma} + + + + true + Setze Lock PIN/Passwort: PIN/Passwort zurücksetzen + true + PIN + false + param_lockPIN + + + true + Setze Lock PIN/Passwort: Setze PIN von Variable param_lockpin + false + PIN + false + param_lockpin + + + false + Setze Timer + + {param_minute}m + true + + + false + Setze voice Variablen + + + + true + Setze Vollbild Modus: Auf Default zurücksetzen + UNSPECIFIED + false + + + true + Setze Vollbild Modus: Navigation nicht anzeigen + HIDE_NAVIGATION + false + + + true + Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung + FILE + Lautlos + /storage/emulated/0/Notifications/{param_notifyfile} + NOTIFICATION + false + true + true + TRANSIENT + + + true + Sprachausgabe: {param_message} + MUSIC + {param_message} + de_DE + true + 1.0 + true + 1.0 + true + false + false + true + TRANSIENT + + + false + Spracheingabe wurde nicht erkannt + NOTIFICATION + Ihre Eingabe wurde nicht verstanden + de_DE + true + 1.0 + true + 1.0 + true + false + false + true + TRANSIENT + + + false + Stromversorgung und Akkustand + http://{global_fhemip}:{global_bridgeport} + false + false + + POST + GENERAL_TEXT + text/plain + powerLevel@@{battery_percentage}@@@@powerPlugged@@{battery_plugged}@@@@ + @@@@readingsNameXYZ@@readingsValueABC + 60000 + true + FHEMDEVICE: {global_fhemdevice} +FHEMCMD: setreading + true + response + /storage/emulated/0/Download/file.bin + false + + + true + URL in Browser öffnen: {param_url} (mit {param_browserapp}/{param_browserappclass}) + {param_url} + true + {param_browserapp} + {param_browserappclass} + + + + true + Vibrieren: Pattern 2 (-- --) + false + vibrate_pattern_2 + 0,500 + + + Informations + AMAD2 Info/Control Flowset v2.0.1 + true + PARALLEL + 500 + Stromversorgung: Angeschlossen + Expression: trigger == "Daydream Status: Gestartet" + 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 + 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" + Expression: global_activetask != "none" + 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" + Script: airplanemode = "off" + Expression: trigger == "Flugmodus: Aus" + Expression: airpcount < 11 + Script: keyguard = "unlocked" + Script: screen_state = "off {keyguard}" + Expression: global_activetask != "none" + Keyguard mit Sicherheit + Dock Status: Docked + Display Orientierung: Portrait + Script: screen_orientation = "portrait" + Script: screen_orientation = "landscape" + Display automatisch drehen eingeschaltet + Script: dock_state = "docked" + Script: dock_state = "undocked" + Script: keyguardSet = "1" + Script: keyguardSet = "0" + 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 + 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%" + Initialisiere Variable Systemeinstellung: volumeNotification + 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"; + Expression: trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Status: Schaltet ein, Ein" + Bluetooth eingeschaltet + Script: bluetooth_state = "off" + Script: bluetooth_state = "on" + Bluetooth Gerät verbunden: Beliebiges Geräte + Script: connected_devices_names = "null"; connected_devices_addresses = "null" + Expression: udef_trigger == "setLockPin" + Expression: trigger == "Daydream Status: Gestartet" or trigger == "Daydream Status: Gestoppt" + Expression: trigger == "HTTP Request: /fhem-amad/deviceInfo/" + Expression: trigger == "Eingehender Anruf. Status: Klingelt, Nummern: Alle" + Expression: trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic" + Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" + Benachrichtigung in Statusbar angezeigt: Automagic + Expression: getAndroidSDKVersion() >= "19" + Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" + Script: notification_text = "not supported from your device" + Benachrichtigung in Statusbar angezeigt: WhatsApp + Expression: trigger == "Genereller Broadcast: wenn org.smblott.intentradio.STATE" + Expression: trigger == "Benachrichtigung in Statusbar angezeigt: com.whatsapp" + Check run Task + Screen State + Reading Music Metachanged.2 + Bluetooth Status + Bluetooth Device Status + Notification Volume + Lautstärke / Volume + Nächster Alarm + Stromversorgung und Akkustand + Daydream State + Screen Brightness + Screen Orientation + Automagic State + Dock State + KeyGuard Set + Incoming Call + Incoming WhatsApp Message + IntentRadio Status + Flowsetversion + Flow Status SetCommands + Android Version + Script: androidVersion = "not supported funktion" + Get Android Version + Script: notification_text = "not supported from your device" + Expression: getAndroidSDKVersion() >= "19" + Expression: trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin" + Airplainemode + Script: airpcount = airpcount + 1 + Expression: trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE" or trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE" + Script: if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT") { nextalarmstate = "alert" } if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS") { nextalarmstate = "dismiss" } if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE") { nextalarmstate = "done" } if(trigger == "Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE") { nextalarmstate = "snooze" } + Next Alarm State + Prüfe und setze globale Variablen + + Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE + Stromversorgung: Angeschlossen + Genereller Broadcast: wenn org.smblott.intentradio.STATE + Systemeinstellung verändert: System volume_music_headphone + App Task Gestartet: {global_activetask} + Bluetooth Status: Schaltet ein, Ein + Stromversorgung: Entfernt + Display Status: Aus + Display Orientierung: Portrait + Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS + Bluetooth Status: Schaltet aus, Aus + Daydream Status: Gestoppt + Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic + Eingehender Anruf. Status: Klingelt, Nummern: Alle + Systemeinstellung verändert: System volume_music_speaker + Systemeinstellung verändert: System screen_brightness + Display Status: Ein + Daydream Status: Gestartet + Akku Ladestand: grösser als 0% + Dock Event: Docked + com.android.music.playstatechanged + Systemeinstellung verändert: System volume_music_bt_a2dp + HTTP Request: /fhem-amad/deviceInfo/ + Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT + com.android.music.metachanged + Systemeinstellung verändert: System next_alarm + App Task Beendet: {global_activetask} + Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic + Dock Event: Undocked + Display Orientierung: Landscape + Flugmodus: Aus + Systemeinstellung verändert: System volume_ring_speaker + Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE + Benachrichtigung in Statusbar angezeigt: com.whatsapp + + Expression: global_fhemip != null + WLAN Verbunden: {global_apssid} + Script: amad_flowset_version = "2.0.1" + Expression: global_apssid != "usb-ethernet" + Script: airpcount = 0 + Pause: 2s (Gerät wach halten) + Expression: global_apssid != "usb-ethernet" + WLAN Verbunden: {global_apssid} + Expression: global_bridgeport == null or global_fhemip == null or global_fhemdevice == null or global_activetask == null or global_apssid == null + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SetCommands + AMAD2 Info/Control Flowset v2.0.1 + true + QUEUE + 500 + Expression: param_screen=="on" + Expression: setBrightness" + 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" + Flow Aktiv: Informations + Expression: ttsMsg" + 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 + 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" + Audio Player steuern: Medienknopf Play (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: 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 + Expression: trigger == "Sprachbefehl angefordert" + WLAN Verbunden: {global_apssid} + Lautstärken setzen param_notifivolume + Setze Alarm: um {param_hour}:{param_minute} + Expression: setAlarm" + Expression: setTimer" + Setze Timer + Expression: setVibrate" + Expression: openApp" + App Starten: App + Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} + Dateien löschen: /storage/emulated/0/Download/currentFlowsetUpdate.xml + Flows/Widgets importieren: /storage/emulated/0/Download/currentFlowsetUpdate.xml + Schalte Display ein: Hell für {param_screenontime}s + Flow Status Informations + Expression: installFlow" + App Task läuft: App (neuster) + Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*" + Download URL: http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} to /storage/emulated/0/Download + Expression: screenMsg" + Benachrichtigung auf Bildschirm: {param_message} (lange) + Audio Player steuern: Medienknopf Weiter (Google Play Musik) + Expression: openURL" + URL in Browser öffnen: {param_url} (mit {param_browserapp}/{param_browserappclass}) + Vibrieren: Pattern 2 (-- --) + + Akku Ladestand: grösser als 0% + HTTP Request: /fhem-amad/deviceInfo/ + Sprachbefehl angefordert + Display Status: Ein + HTTP Request: /fhem-amad/setCommands/* + + Expression: global_apssid != "usb-ethernet" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Update AMAD Flowset + AMAD2 Flowset Updater v1.0.6 + true + PARALLEL + + HTTP Request: /fhem-amad/currentFlowsetUpdate + + Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} + Flows/Widgets importieren: /storage/emulated/0/Download/currentFlowsetUpdate.xml + Dateien löschen: /storage/emulated/0/Download/currentFlowsetUpdate.xml + Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml to /storage/emulated/0/Download + Prüfe und setze Bridgeport Variable + + + + + + + + VoiceControl + AMAD2 Info/Control Flowset v2.0.1 + true + QUEUE + 60 + + AMAD Voice Control + Expression: contains(value, " und ") + Benachrichtigung auf Bildschirm: {value} (lange) + Expression: value != "" + Spracheingabe wurde nicht erkannt + Setze voice Variablen + Send Voice Input Value to AMADCommBridge left + Send Voice Input Value to AMADCommBridge + + + + + + + + + + + \ No newline at end of file