1408 lines
78 KiB
XML
1408 lines
78 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
|
|
<data version="1.29.0">
|
|
<trigger type="general_broadcast">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>com.android.music.metachanged</name>
|
|
<enabled>true</enabled>
|
|
<action>com.android.music.metachanged</action>
|
|
<categoryList></categoryList>
|
|
<dataSchemeList></dataSchemeList>
|
|
<dataAuthorityList></dataAuthorityList>
|
|
<dataPathLiteralList></dataPathLiteralList>
|
|
<dataPathPrefixList></dataPathPrefixList>
|
|
<dataPathGlobList></dataPathGlobList>
|
|
<dataTypeList></dataTypeList>
|
|
<extras>global_artist = getString("artist");
|
|
global_track = getString("track");
|
|
global_album = getString("album");</extras>
|
|
<receiveInitialStickyBroadcast>false</receiveInitialStickyBroadcast>
|
|
</trigger>
|
|
<trigger type="global_variable">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Globale Variable: global_own_reading</name>
|
|
<enabled>true</enabled>
|
|
<variable>global_own_reading</variable>
|
|
</trigger>
|
|
<trigger type="http_request">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>HTTP Request: /fhem-amad/deviceInfo/</name>
|
|
<enabled>true</enabled>
|
|
<path>/fhem-amad/deviceInfo/</path>
|
|
<port>8090</port>
|
|
<acquireWifiLock>true</acquireWifiLock>
|
|
</trigger>
|
|
<trigger type="http_request">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>HTTP Request: /fhem-amad/setCommands/*</name>
|
|
<enabled>true</enabled>
|
|
<path>/fhem-amad/setCommands/*</path>
|
|
<port>8090</port>
|
|
<acquireWifiLock>true</acquireWifiLock>
|
|
</trigger>
|
|
<trigger type="voice_command_requested">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Sprachbefehl angefordert</name>
|
|
<enabled>true</enabled>
|
|
</trigger>
|
|
<condition type="battery_level">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Akku Ladestand: grösser als 0%</name>
|
|
<levelPercentage>0</levelPercentage>
|
|
<batteryLevelCondition>HIGHER_THAN</batteryLevelCondition>
|
|
</condition>
|
|
<condition type="app_task_running">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Task läuft: App3 (neuster)</name>
|
|
<packageNameList></packageNameList>
|
|
<checkMostRecentAppTaskOnly>true</checkMostRecentAppTaskOnly>
|
|
</condition>
|
|
<condition type="app_task_running">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Task läuft: App4 (neuster)</name>
|
|
<packageNameList></packageNameList>
|
|
<checkMostRecentAppTaskOnly>true</checkMostRecentAppTaskOnly>
|
|
</condition>
|
|
<condition type="app_task_running">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Task läuft: App5 (neuster)</name>
|
|
<packageNameList></packageNameList>
|
|
<checkMostRecentAppTaskOnly>true</checkMostRecentAppTaskOnly>
|
|
</condition>
|
|
<condition type="app_task_running">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Task läuft: gplay (neuster)</name>
|
|
<packageNameList>com.google.android.music</packageNameList>
|
|
<checkMostRecentAppTaskOnly>true</checkMostRecentAppTaskOnly>
|
|
</condition>
|
|
<condition type="app_task_running">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Task läuft: tuneinradio (neuster)</name>
|
|
<packageNameList>tunein.player</packageNameList>
|
|
<checkMostRecentAppTaskOnly>true</checkMostRecentAppTaskOnly>
|
|
</condition>
|
|
<condition type="app_task_running">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>App Task läuft: {header_activetask} (neuster)</name>
|
|
<packageNameList>{header_activetask}</packageNameList>
|
|
<checkMostRecentAppTaskOnly>true</checkMostRecentAppTaskOnly>
|
|
</condition>
|
|
<condition type="notification_status_bar_displayed">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Benachrichtigung in Statusbar angezeigt: Automagic</name>
|
|
<packageNameFilter>ch.gridvision.ppam.androidautomagic</packageNameFilter>
|
|
<all>true</all>
|
|
<notificationID>1</notificationID>
|
|
<textMatchField>TEXT</textMatchField>
|
|
<textMatchType>CONTAINS_TEXT</textMatchType>
|
|
<textFilter></textFilter>
|
|
<ignoreRegular>false</ignoreRegular>
|
|
<ignoreOngoing>false</ignoreOngoing>
|
|
</condition>
|
|
<condition type="bluetooth_enabled">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth eingeschaltet</name>
|
|
</condition>
|
|
<condition type="bluetooth_device_connected">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbunden: Beliebiges Geräte</name>
|
|
<any>true</any>
|
|
<deviceAddress></deviceAddress>
|
|
<deviceName></deviceName>
|
|
<bluetoothDeviceProfile>ANY</bluetoothDeviceProfile>
|
|
</condition>
|
|
<condition type="auto_rotate_screen_enabled">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Display automatisch drehen eingeschaltet</name>
|
|
</condition>
|
|
<condition type="screen_on">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Display eingeschaltet</name>
|
|
</condition>
|
|
<condition type="screen_orientation">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Display Orientierung: Portrait</name>
|
|
<portrait>true</portrait>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: All</name>
|
|
<expression>param_app == "All"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: App3</name>
|
|
<expression>param_app == ""</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: App4</name>
|
|
<expression>param_app == ""</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: App5</name>
|
|
<expression>param_app == ""</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: Automagic</name>
|
|
<expression>param_app == "Automagic"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: Clear Automagic Meldungen"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/clearnotificationbar"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: getAndroidSDKVersion() >= "19"</name>
|
|
<expression>getAndroidSDKVersion() >= "19"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: gplay</name>
|
|
<expression>param_app == "gplay"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: header_activetask != "none"</name>
|
|
<expression>header_activetask != "none"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: mediaPlayer"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/mediaPlayer"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: notifysnd"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/playnotifysnd"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: openApp"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/openApp"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: openURL"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/openURL"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_bluetooth == "off"</name>
|
|
<expression>param_bluetooth == "off"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_bluetooth == "on"</name>
|
|
<expression>param_bluetooth == "on"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_button == "back"</name>
|
|
<expression>param_button == "back"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_button == "next"</name>
|
|
<expression>param_button == "next"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_button == "play"</name>
|
|
<expression>param_button == "play"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_button == "stop"</name>
|
|
<expression>param_button == "stop"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_fullscreen == "off"</name>
|
|
<expression>param_fullscreen == "off"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_fullscreen == "on"</name>
|
|
<expression>param_fullscreen == "on"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_orientation == "auto"</name>
|
|
<expression>param_orientation == "auto"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_orientation == "landscape"</name>
|
|
<expression>param_orientation == "landscape"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_orientation == "portrait"</name>
|
|
<expression>param_orientation == "portrait"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_screen=="off"</name>
|
|
<expression>param_screen=="off"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: param_screen=="on"</name>
|
|
<expression>param_screen=="on"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: Reboot</name>
|
|
<expression>param_syscmd == "reboot"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: screenMsg"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/screenMsg"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setAlarm"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setAlarm"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setBluetooth"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setbluetooth"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setBrightness"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setBrightness"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setBTDevice"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setbtdevice"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setScreenFullscreen"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setScreenFullscreen"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setScreenOnOff"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setScreenOnOff"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setScreenOrientation"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setScreenOrientation"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setVoiceCommand"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setvoicecmd"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: setVolume"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/setVolume"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: System Command"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/systemcommand"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: trigger == "com.android.music.metachanged"</name>
|
|
<expression>trigger == "com.android.music.metachanged"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: trigger == "Globale Variable: global_own_reading"</name>
|
|
<expression>trigger == "Globale Variable: global_own_reading"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"</name>
|
|
<expression>trigger == "HTTP Request: /fhem-amad/setCommands/*"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: trigger == "Sprachbefehl angefordert"</name>
|
|
<expression>trigger == "Sprachbefehl angefordert"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: ttsMsg"</name>
|
|
<expression>request_path == "/fhem-amad/setCommands/ttsMsg"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Expression: tuneinradio</name>
|
|
<expression>param_app == "tuneinradio"</expression>
|
|
</condition>
|
|
<condition type="expression">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Expression: value != ""</name>
|
|
<expression>value != ""</expression>
|
|
</condition>
|
|
<condition type="flow_enabled">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Flow Aktiv: Informations</name>
|
|
<flowName>Informations</flowName>
|
|
</condition>
|
|
<condition type="flow_enabled">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Flow Aktiv: SetCommands</name>
|
|
<flowName>SetCommands</flowName>
|
|
</condition>
|
|
<condition type="music_active">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Musik Aktiv</name>
|
|
</condition>
|
|
<condition type="wifi_connected">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>WLAN Verbunden: Alle SSIDs</name>
|
|
<all>true</all>
|
|
<ssidList></ssidList>
|
|
</condition>
|
|
<action type="input_speech">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>AMAD Voice Control</name>
|
|
<showUI>false</showUI>
|
|
<prompt></prompt>
|
|
<defineLanguage>true</defineLanguage>
|
|
<language>de-DE</language>
|
|
<useBluetoothHeadset>false</useBluetoothHeadset>
|
|
</action>
|
|
<action type="launch_app">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Starten: App3</name>
|
|
<packageName></packageName>
|
|
<className></className>
|
|
</action>
|
|
<action type="launch_app">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Starten: App4</name>
|
|
<packageName></packageName>
|
|
<className></className>
|
|
</action>
|
|
<action type="launch_app">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Starten: App5</name>
|
|
<packageName></packageName>
|
|
<className></className>
|
|
</action>
|
|
<action type="launch_app">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Starten: PlayMusic</name>
|
|
<packageName>com.google.android.music</packageName>
|
|
<className></className>
|
|
</action>
|
|
<action type="launch_app">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>App Starten: tuneinradio</name>
|
|
<packageName>tunein.player</packageName>
|
|
<className></className>
|
|
</action>
|
|
<action type="control_audio_player">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Audio Player steuern: Medienknopf Play (Google Play Musik)</name>
|
|
<simulateMediaButton>true</simulateMediaButton>
|
|
<broadcastAction>TOGGLE_PAUSE</broadcastAction>
|
|
<mediaButton>KEYCODE_MEDIA_PLAY</mediaButton>
|
|
<explicitComponent>true</explicitComponent>
|
|
<packageName>com.google.android.music</packageName>
|
|
<className>com.google.android.music.playback.MediaButtonIntentReceiver</className>
|
|
<appName>Google Play Musik</appName>
|
|
</action>
|
|
<action type="control_audio_player">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Audio Player steuern: Medienknopf Stopp (Google Play Musik)</name>
|
|
<simulateMediaButton>true</simulateMediaButton>
|
|
<broadcastAction>STOP</broadcastAction>
|
|
<mediaButton>KEYCODE_MEDIA_STOP</mediaButton>
|
|
<explicitComponent>true</explicitComponent>
|
|
<packageName>com.google.android.music</packageName>
|
|
<className>com.google.android.music.playback.MediaButtonIntentReceiver</className>
|
|
<appName>Google Play Musik</appName>
|
|
</action>
|
|
<action type="control_audio_player">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Audio Player steuern: Medienknopf Weiter (Google Play Musik)</name>
|
|
<simulateMediaButton>true</simulateMediaButton>
|
|
<broadcastAction>LAUNCH</broadcastAction>
|
|
<mediaButton>KEYCODE_MEDIA_NEXT</mediaButton>
|
|
<explicitComponent>true</explicitComponent>
|
|
<packageName>com.google.android.music</packageName>
|
|
<className>com.google.android.music.playback.MediaButtonIntentReceiver</className>
|
|
<appName>Google Play Musik</appName>
|
|
</action>
|
|
<action type="control_audio_player">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Audio Player steuern: Medienknopf Zurück (Google Play Musik)</name>
|
|
<simulateMediaButton>true</simulateMediaButton>
|
|
<broadcastAction>LAUNCH</broadcastAction>
|
|
<mediaButton>KEYCODE_MEDIA_PREVIOUS</mediaButton>
|
|
<explicitComponent>true</explicitComponent>
|
|
<packageName>com.google.android.music</packageName>
|
|
<className>com.google.android.music.playback.MediaButtonIntentReceiver</className>
|
|
<appName>Google Play Musik</appName>
|
|
</action>
|
|
<action type="notification_screen">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Benachrichtigung auf Bildschirm: {param_message} (lange)</name>
|
|
<showText>true</showText>
|
|
<text>{param_message}</text>
|
|
<widgetName></widgetName>
|
|
<width>200</width>
|
|
<height>250</height>
|
|
<stretchToFillArea>false</stretchToFillArea>
|
|
<opacity>1.0</opacity>
|
|
<durationLong>true</durationLong>
|
|
<customPosition>false</customPosition>
|
|
<gravityType>TOP_LEFT</gravityType>
|
|
<xOffset>0</xOffset>
|
|
<yOffset>0</yOffset>
|
|
</action>
|
|
<action type="notification_screen">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Benachrichtigung auf Bildschirm: {value} (lange)</name>
|
|
<showText>true</showText>
|
|
<text>{value}</text>
|
|
<widgetName></widgetName>
|
|
<width>200</width>
|
|
<height>250</height>
|
|
<stretchToFillArea>false</stretchToFillArea>
|
|
<opacity>1.0</opacity>
|
|
<durationLong>true</durationLong>
|
|
<customPosition>false</customPosition>
|
|
<gravityType>TOP_LEFT</gravityType>
|
|
<xOffset>0</xOffset>
|
|
<yOffset>0</yOffset>
|
|
</action>
|
|
<action type="remove_notification_status_bar">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Benachrichtigung aus Statusbar entfernen: Alle</name>
|
|
<automagicNotifications>false</automagicNotifications>
|
|
<all>true</all>
|
|
<notificationID>1</notificationID>
|
|
<overall>true</overall>
|
|
<packageName></packageName>
|
|
<allOfApp>true</allOfApp>
|
|
<filterNotificationID>{id}</filterNotificationID>
|
|
<textMatchField>TEXT</textMatchField>
|
|
<textMatchType>CONTAINS_TEXT</textMatchType>
|
|
<textFilter></textFilter>
|
|
</action>
|
|
<action type="remove_notification_status_bar">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Benachrichtigung aus Statusbar entfernen: Alle (Automagic)</name>
|
|
<automagicNotifications>true</automagicNotifications>
|
|
<all>true</all>
|
|
<notificationID>1</notificationID>
|
|
<overall>false</overall>
|
|
<packageName></packageName>
|
|
<allOfApp>true</allOfApp>
|
|
<filterNotificationID>{id}</filterNotificationID>
|
|
<textMatchField>TEXT</textMatchField>
|
|
<textMatchType>CONTAINS_TEXT</textMatchType>
|
|
<textFilter></textFilter>
|
|
</action>
|
|
<action type="set_bluetooth_state">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth ein-/ausschalten: Aus</name>
|
|
<enable>false</enable>
|
|
</action>
|
|
<action type="set_bluetooth_state">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth ein-/ausschalten: Ein</name>
|
|
<enable>true</enable>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdeviceone}</name>
|
|
<bluetoothDeviceProfile>A2DP</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdeviceone}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdevicetwo}</name>
|
|
<bluetoothDeviceProfile>A2DP</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdevicetwo}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdeviceone}</name>
|
|
<bluetoothDeviceProfile>INPUT_DEVICE</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdeviceone}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdevicetwo}</name>
|
|
<bluetoothDeviceProfile>INPUT_DEVICE</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdevicetwo}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdeviceone}</name>
|
|
<bluetoothDeviceProfile>HEADSET</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdeviceone}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdevicetwo}</name>
|
|
<bluetoothDeviceProfile>HEADSET</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdevicetwo}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdeviceone}</name>
|
|
<bluetoothDeviceProfile>PAN</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdeviceone}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdevicetwo}</name>
|
|
<bluetoothDeviceProfile>PAN</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_btdevicetwo}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>false</connect>
|
|
</action>
|
|
<action type="connect_disconnect_bluetooth_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Bluetooth Gerät verbinden/trennen: Verbinden Advanced Audio Distribution {param_swtobtdevicemac}</name>
|
|
<bluetoothDeviceProfile>A2DP</bluetoothDeviceProfile>
|
|
<deviceAddress>{param_swtobtdevicemac}</deviceAddress>
|
|
<deviceName></deviceName>
|
|
<connect>true</connect>
|
|
</action>
|
|
<action type="set_auto_rotate_screen_state">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Display automatisch drehen ein-/ausschalten: Aus</name>
|
|
<enable>false</enable>
|
|
</action>
|
|
<action type="set_auto_rotate_screen_state">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Display automatisch drehen ein-/ausschalten: Ein</name>
|
|
<enable>true</enable>
|
|
</action>
|
|
<action type="execute_flows">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Flows ausführen: VoiceControl</name>
|
|
<includeFlowNamePatternList>VoiceControl</includeFlowNamePatternList>
|
|
<excludeFlowNamePatternList></excludeFlowNamePatternList>
|
|
<skipDisabledFlowsWithoutError>true</skipDisabledFlowsWithoutError>
|
|
<waitForFlowsToFinish>false</waitForFlowsToFinish>
|
|
<returnLocalVariablesToCallingFlow>false</returnLocalVariablesToCallingFlow>
|
|
</action>
|
|
<action type="lock_device">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Gerät sperren</name>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Get Android Version</name>
|
|
<script>if (getAndroidSDKVersion() == 23)
|
|
{
|
|
androidVersion = "6.0 Marshmallow"
|
|
}
|
|
|
|
if (getAndroidSDKVersion() == 22)
|
|
{
|
|
androidVersion = "5.1 Lollipop"
|
|
}
|
|
|
|
if (getAndroidSDKVersion() == 21)
|
|
{
|
|
androidVersion = "5.0 Lollipop"
|
|
}
|
|
|
|
if (getAndroidSDKVersion() == 19)
|
|
{
|
|
androidVersion = "4.4 KitKat"
|
|
}
|
|
|
|
if (getAndroidSDKVersion() == 18)
|
|
{
|
|
androidVersion = "4.3 Jelly Bean"
|
|
}
|
|
|
|
if (getAndroidSDKVersion() == 17)
|
|
{
|
|
androidVersion = "4.2 Jelly Bean"
|
|
}
|
|
|
|
if (getAndroidSDKVersion() == 16)
|
|
{
|
|
androidVersion = "4.1 Jelly Bean"
|
|
}</script>
|
|
</action>
|
|
<action type="write_http_response_text">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>HTTP Response Information</name>
|
|
<text>powerLevel@@{battery_percentage}@@@@powerPlugged@@{battery_plugged}@@@@volumeMusikBluetooth@@{volumeMusikBluetooth}@@@@volumeMusikSpeaker@@{volumeMusikSpeaker}@@@@screenBrightness@@{screenBrightness}@@@@nextAlarmTime@@{next_alarmtime}@@@@nextAlarmDay@@{next_alarmday}@@@@screen@@{screen_state}@@@@automagicState@@{notification_text}@@@@screenOrientation@@{screen_orientation}@@@@currentMusicTrack@@{global_track}@@@@currentMusicAlbum@@{global_album}@@@@currentMusicArtist@@{global_artist}@@@@bluetooth@@{bluetooth_state}@@@@connectedBTdevices@@{connected_devices_names}@@@@connectedBTdevicesMAC@@{connected_devices_addresses}@@@@flow_SetCommands@@{setCommandFlow_state}@@@@checkActiveTask@@{runTask}@@@@androidVersion@@{androidVersion}</text>
|
|
<replaceVariables>true</replaceVariables>
|
|
<contentType>text/plain</contentType>
|
|
</action>
|
|
<action type="write_http_response_text">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>HTTP Response SetCommand</name>
|
|
<text>flow_informations@@{informationFlow_state}@@@@</text>
|
|
<replaceVariables>true</replaceVariables>
|
|
<contentType>text/plain</contentType>
|
|
</action>
|
|
<action type="init_variable_next_alarm">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Initialisiere Variable Nächster Alarm: next_alarm</name>
|
|
<variable>next_alarm</variable>
|
|
</action>
|
|
<action type="init_variable_system_setting">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Initialisiere Variable Systemeinstellung: screenBrightness</name>
|
|
<settingCategory>SYSTEM</settingCategory>
|
|
<settingName>screen_brightness</settingName>
|
|
<variable>screenBrightness</variable>
|
|
</action>
|
|
<action type="init_variable_system_setting">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Initialisiere Variable Systemeinstellung: volumeMusikBluetooth</name>
|
|
<settingCategory>SYSTEM</settingCategory>
|
|
<settingName>volume_music_bt_a2dp</settingName>
|
|
<variable>volumeMusikBluetooth</variable>
|
|
</action>
|
|
<action type="init_variable_system_setting">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Initialisiere Variable Systemeinstellung: volumeMusikSpeaker</name>
|
|
<settingCategory>SYSTEM</settingCategory>
|
|
<settingName>volume_music_speaker</settingName>
|
|
<variable>volumeMusikSpeaker</variable>
|
|
</action>
|
|
<action type="restore_audio_stream_volume">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Lautstärken setzen</name>
|
|
<restoreVolumeAlarm>false</restoreVolumeAlarm>
|
|
<variableVolumeAlarm>global_volume_alarm</variableVolumeAlarm>
|
|
<restoreVolumeDTMF>false</restoreVolumeDTMF>
|
|
<variableVolumeDTMF>global_volume_dtmf</variableVolumeDTMF>
|
|
<restoreVolumeMusic>true</restoreVolumeMusic>
|
|
<variableVolumeMusic>param_volume</variableVolumeMusic>
|
|
<restoreVolumeNotification>false</restoreVolumeNotification>
|
|
<variableVolumeNotification>global_volume_notification</variableVolumeNotification>
|
|
<restoreVolumeRing>false</restoreVolumeRing>
|
|
<variableVolumeRing>global_volume_ring</variableVolumeRing>
|
|
<restoreVolumeSystem>false</restoreVolumeSystem>
|
|
<variableVolumeSystem>global_volume_system</variableVolumeSystem>
|
|
<restoreVolumeVoiceCall>false</restoreVolumeVoiceCall>
|
|
<variableVolumeVoiceCall>global_volume_voice_call</variableVolumeVoiceCall>
|
|
<restoreRingerMode>false</restoreRingerMode>
|
|
<variableRingerMode>global_ringer_mode</variableRingerMode>
|
|
<restoreInterruptionsMode>false</restoreInterruptionsMode>
|
|
<variableInterruptionsMode>global_interruptions_mode</variableInterruptionsMode>
|
|
</action>
|
|
<action type="reboot">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Neustart </name>
|
|
<options></options>
|
|
</action>
|
|
<action type="http_request">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Own Reading</name>
|
|
<url>http://{global_fhemip}:8090</url>
|
|
<verifyCertificates>false</verifyCertificates>
|
|
<basicAuthentication>false</basicAuthentication>
|
|
<username></username>
|
|
<httpMethod>POST</httpMethod>
|
|
<httpContentType>GENERAL_TEXT</httpContentType>
|
|
<contentType>text/plain</contentType>
|
|
<generalTextData>{substring(getValue("global_own_reading",""),14)}@@{replaceAll(getValue("global_{substring(getValue('global_own_reading',''),14)}","nicht gefunden"),"\\s","%20")}@@@@</generalTextData>
|
|
<formFieldList>@@@@readingsNameXYZ@@readingsValueABC</formFieldList>
|
|
<timeout>60000</timeout>
|
|
<setCustomHTTPHeaders>true</setCustomHTTPHeaders>
|
|
<customHTTPHeaders>FHEMDEVICE: {global_fhemdevice}
|
|
FHEMCMD: setreading</customHTTPHeaders>
|
|
<storeInVariable>true</storeInVariable>
|
|
<variable>response</variable>
|
|
<path>/storage/emulated/0/Download/file.bin</path>
|
|
<followRedirects>true</followRedirects>
|
|
</action>
|
|
<action type="sleep">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Pause: 2s (Gerät wach halten)</name>
|
|
<duration>2s</duration>
|
|
<keepDeviceAwake>true</keepDeviceAwake>
|
|
<allowWakeupFromDeviceIdle>false</allowWakeupFromDeviceIdle>
|
|
</action>
|
|
<action type="sleep">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Pause: 3s (Gerät wach halten)</name>
|
|
<duration>3s</duration>
|
|
<keepDeviceAwake>true</keepDeviceAwake>
|
|
<allowWakeupFromDeviceIdle>false</allowWakeupFromDeviceIdle>
|
|
</action>
|
|
<action type="http_request">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Reading Music Metachanged</name>
|
|
<url>http://{global_fhemip}:8090</url>
|
|
<verifyCertificates>false</verifyCertificates>
|
|
<basicAuthentication>false</basicAuthentication>
|
|
<username></username>
|
|
<httpMethod>POST</httpMethod>
|
|
<httpContentType>GENERAL_TEXT</httpContentType>
|
|
<contentType>text/plain</contentType>
|
|
<generalTextData>currentMusicTrack@@{global_track}@@@@currentMusicAlbum@@{global_album}@@@@currentMusicArtist@@{global_artist}@@@@</generalTextData>
|
|
<formFieldList>@@@@readingsNameXYZ@@readingsValueABC</formFieldList>
|
|
<timeout>60000</timeout>
|
|
<setCustomHTTPHeaders>true</setCustomHTTPHeaders>
|
|
<customHTTPHeaders>FHEMDEVICE: {global_fhemdevice}
|
|
FHEMCMD: setreading</customHTTPHeaders>
|
|
<storeInVariable>true</storeInVariable>
|
|
<variable>response</variable>
|
|
<path>/storage/emulated/0/Download/file.bin</path>
|
|
<followRedirects>true</followRedirects>
|
|
</action>
|
|
<action type="turn_screen_on">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Schalte Display ein: Hell für 120s</name>
|
|
<bright>true</bright>
|
|
<duration>120s</duration>
|
|
<resetUserActivityTimer>true</resetUserActivityTimer>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: bluetooth_state = "off"</name>
|
|
<script>bluetooth_state = "off"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: bluetooth_state = "on"</name>
|
|
<script>bluetooth_state = "on"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ";</name>
|
|
<script>global_artist = "no soundplayer activ";
|
|
global_track = "no soundplayer activ";
|
|
global_album = "no soundplayer activ";</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: global_fhemip = {header_fhemip} global_fhemdevice = {header_fhemdevice}</name>
|
|
<script>global_fhemip = {header_fhemip}
|
|
global_fhemdevice = {header_fhemdevice}</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: informationFlow_state = "aktiv"</name>
|
|
<script>informationFlow_state = "aktiv"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: informationFlow_state = "inaktiv"</name>
|
|
<script>informationFlow_state = "inaktiv"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: next_alarmday = "{next_alarm,dateformat,c}"</name>
|
|
<script>next_alarmday = "{next_alarm,dateformat,c}"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}"</name>
|
|
<script>next_alarmtime = "{next_alarm,dateformat,HH:mm}"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"</name>
|
|
<script>notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: notification_text = "not supported from your device"</name>
|
|
<script>notification_text = "not supported from your device"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: runTask = "0"</name>
|
|
<script>runTask = "0"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: runTask = "1"</name>
|
|
<script>runTask = "1"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: runTask = "not supported android version"</name>
|
|
<script>runTask = "not supported android version"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: runTask = "null"</name>
|
|
<script>runTask = "null"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: screen_orientation = "auto"</name>
|
|
<script>screen_orientation = "auto"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: screen_orientation = "landscape"</name>
|
|
<script>screen_orientation = "landscape"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: screen_orientation = "portrait"</name>
|
|
<script>screen_orientation = "portrait"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: screen_state = "off"</name>
|
|
<script>screen_state = "off"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: screen_state = "on"</name>
|
|
<script>screen_state = "on"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: setCommandFlow_state = "aktiv"</name>
|
|
<script>setCommandFlow_state = "aktiv"</script>
|
|
</action>
|
|
<action type="script">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Script: setCommandFlow_state = "inaktiv"</name>
|
|
<script>setCommandFlow_state = "inaktiv"</script>
|
|
</action>
|
|
<action type="http_request">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Send Voice Input Value to AMADCommBridge</name>
|
|
<url>http://{global_fhemip}:8090</url>
|
|
<verifyCertificates>false</verifyCertificates>
|
|
<basicAuthentication>false</basicAuthentication>
|
|
<username></username>
|
|
<httpMethod>POST</httpMethod>
|
|
<httpContentType>GENERAL_TEXT</httpContentType>
|
|
<contentType>text/plain</contentType>
|
|
<generalTextData>{value}</generalTextData>
|
|
<formFieldList>@@@@readingsNameXYZ@@readingsValueABC</formFieldList>
|
|
<timeout>60000</timeout>
|
|
<setCustomHTTPHeaders>true</setCustomHTTPHeaders>
|
|
<customHTTPHeaders>FHEMDEVICE: {global_fhemdevice}
|
|
FHEMCMD: voiceinputvalue</customHTTPHeaders>
|
|
<storeInVariable>true</storeInVariable>
|
|
<variable>response</variable>
|
|
<path>/storage/emulated/0/Download/file.bin</path>
|
|
<followRedirects>true</followRedirects>
|
|
</action>
|
|
<action type="set_alarm">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Alarm: um {param_hour}:{param_minute}</name>
|
|
<label></label>
|
|
<hour>{param_hour}</hour>
|
|
<minutes>{param_minute}</minutes>
|
|
</action>
|
|
<action type="set_screen_orientation">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Display Orientierung: Auf Default zurücksetzen</name>
|
|
<screenOrientation>UNSPECIFIED</screenOrientation>
|
|
<showResetNotification>false</showResetNotification>
|
|
</action>
|
|
<action type="set_screen_orientation">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Display Orientierung: Landscape</name>
|
|
<screenOrientation>LANDSCAPE</screenOrientation>
|
|
<showResetNotification>false</showResetNotification>
|
|
</action>
|
|
<action type="set_screen_orientation">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Display Orientierung: Portrait</name>
|
|
<screenOrientation>PORTRAIT</screenOrientation>
|
|
<showResetNotification>false</showResetNotification>
|
|
</action>
|
|
<action type="set_flow_state">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Flow Status: Aktivieren Informations</name>
|
|
<enable>true</enable>
|
|
<includeFlowNamePatternList>Informations</includeFlowNamePatternList>
|
|
<excludeFlowNamePatternList></excludeFlowNamePatternList>
|
|
</action>
|
|
<action type="set_flow_state">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Flow Status: Aktivieren SetCommands</name>
|
|
<enable>true</enable>
|
|
<includeFlowNamePatternList>SetCommands</includeFlowNamePatternList>
|
|
<excludeFlowNamePatternList></excludeFlowNamePatternList>
|
|
</action>
|
|
<action type="set_system_setting">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Systemeinstellung: System screen_brightness auf {param_brightness}</name>
|
|
<settingCategory>SYSTEM</settingCategory>
|
|
<settingName>screen_brightness</settingName>
|
|
<value>{param_brightness}</value>
|
|
<verified>true</verified>
|
|
</action>
|
|
<action type="set_immersive_mode">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Vollbild Modus: Auf Default zurücksetzen</name>
|
|
<immersiveMode>UNSPECIFIED</immersiveMode>
|
|
<showResetNotification>false</showResetNotification>
|
|
</action>
|
|
<action type="set_immersive_mode">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Setze Vollbild Modus: Navigation nicht anzeigen</name>
|
|
<immersiveMode>HIDE_NAVIGATION</immersiveMode>
|
|
<showResetNotification>false</showResetNotification>
|
|
</action>
|
|
<action type="sound">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung</name>
|
|
<soundSourceType>FILE</soundSourceType>
|
|
<alarmName>Lautlos</alarmName>
|
|
<path>/storage/emulated/0/Notifications/{param_notifyfile}</path>
|
|
<audioStreamType>NOTIFICATION</audioStreamType>
|
|
<showStopSoundNotification>false</showStopSoundNotification>
|
|
<waitForSoundToFinish>true</waitForSoundToFinish>
|
|
<requestAudioFocus>true</requestAudioFocus>
|
|
<audioFocusType>TRANSIENT</audioFocusType>
|
|
</action>
|
|
<action type="speech_output">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>Sprachausgabe: {param_message}</name>
|
|
<audioStreamType>MUSIC</audioStreamType>
|
|
<text>{param_message}</text>
|
|
<locale>de_DE</locale>
|
|
<usePitch>true</usePitch>
|
|
<pitch>1.0</pitch>
|
|
<useSpeechRate>true</useSpeechRate>
|
|
<speechRate>1.0</speechRate>
|
|
<embeddedSynthesis>true</embeddedSynthesis>
|
|
<networkSynthesis>false</networkSynthesis>
|
|
<showStopSpeechNotification>false</showStopSpeechNotification>
|
|
<requestAudioFocus>true</requestAudioFocus>
|
|
<audioFocusType>TRANSIENT</audioFocusType>
|
|
</action>
|
|
<action type="speech_output">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>Spracheingabe wurde nicht erkannt</name>
|
|
<audioStreamType>NOTIFICATION</audioStreamType>
|
|
<text>Ihre Eingabe wurde nicht verstanden</text>
|
|
<locale>de_DE</locale>
|
|
<usePitch>true</usePitch>
|
|
<pitch>1.0</pitch>
|
|
<useSpeechRate>true</useSpeechRate>
|
|
<speechRate>1.0</speechRate>
|
|
<embeddedSynthesis>true</embeddedSynthesis>
|
|
<networkSynthesis>false</networkSynthesis>
|
|
<showStopSpeechNotification>false</showStopSpeechNotification>
|
|
<requestAudioFocus>true</requestAudioFocus>
|
|
<audioFocusType>TRANSIENT</audioFocusType>
|
|
</action>
|
|
<action type="http_request">
|
|
<useDefaultName>false</useDefaultName>
|
|
<name>StatusRequest</name>
|
|
<url>http://{global_fhemip}:8090</url>
|
|
<verifyCertificates>false</verifyCertificates>
|
|
<basicAuthentication>false</basicAuthentication>
|
|
<username></username>
|
|
<httpMethod>POST</httpMethod>
|
|
<httpContentType>GENERAL_TEXT</httpContentType>
|
|
<contentType>text/plain</contentType>
|
|
<generalTextData></generalTextData>
|
|
<formFieldList>@@@@readingsNameXYZ@@readingsValueABC</formFieldList>
|
|
<timeout>60000</timeout>
|
|
<setCustomHTTPHeaders>true</setCustomHTTPHeaders>
|
|
<customHTTPHeaders>FHEMDEVICE: {global_fhemdevice}
|
|
FHEMCMD: statusrequest</customHTTPHeaders>
|
|
<storeInVariable>true</storeInVariable>
|
|
<variable>response</variable>
|
|
<path>/storage/emulated/0/Download/file.bin</path>
|
|
<followRedirects>true</followRedirects>
|
|
</action>
|
|
<action type="open_browser_url">
|
|
<useDefaultName>true</useDefaultName>
|
|
<name>URL in Browser öffnen: {param_url} (mit Chrome)</name>
|
|
<url>{param_url}</url>
|
|
<explicitComponent>true</explicitComponent>
|
|
<packageName>com.android.chrome</packageName>
|
|
<className>com.google.android.apps.chrome.Main</className>
|
|
<appName>Chrome</appName>
|
|
</action>
|
|
<flow type="flow">
|
|
<name>Informations</name>
|
|
<group>FHEM Info / Steuerung über AMAD Modul v0.9.3</group>
|
|
<enabled>true</enabled>
|
|
<executionPolicy>QUEUE</executionPolicy>
|
|
<emergencyStopCount>240</emergencyStopCount>
|
|
<triggercontainer id="t1" x="1015.0" y="-1592.5">
|
|
<trigger>HTTP Request: /fhem-amad/deviceInfo/</trigger>
|
|
<trigger>com.android.music.metachanged</trigger>
|
|
<trigger>Globale Variable: global_own_reading</trigger>
|
|
</triggercontainer>
|
|
<conditioncontainer id="t2" x="1190.0" y="612.5">Display eingeschaltet</conditioncontainer>
|
|
<actioncontainer id="t3" x="770.0" y="612.5">Initialisiere Variable Nächster Alarm: next_alarm</actioncontainer>
|
|
<actioncontainer id="t4" x="490.0" y="612.5">Initialisiere Variable Systemeinstellung: screenBrightness</actioncontainer>
|
|
<actioncontainer id="t5" x="280.0" y="612.5">Initialisiere Variable Systemeinstellung: volumeMusikSpeaker</actioncontainer>
|
|
<actioncontainer id="t6" x="70.0" y="612.5">Initialisiere Variable Systemeinstellung: volumeMusikBluetooth</actioncontainer>
|
|
<conditioncontainer id="t7" x="-455.0" y="612.5">Flow Aktiv: SetCommands</conditioncontainer>
|
|
<conditioncontainer id="t8" x="-140.0" y="612.5">Musik Aktiv</conditioncontainer>
|
|
<actioncontainer id="t9" x="1015.0" y="-332.5">Pause: 2s (Gerät wach halten)</actioncontainer>
|
|
<conditioncontainer id="t10" x="1015.0" y="-1277.5">Expression: trigger == "com.android.music.metachanged"</conditioncontainer>
|
|
<conditioncontainer id="t11" x="1015.0" y="-962.5">Expression: trigger == "Globale Variable: global_own_reading"</conditioncontainer>
|
|
<conditioncontainer id="t12" x="1330.0" y="-962.5">WLAN Verbunden: Alle SSIDs</conditioncontainer>
|
|
<conditioncontainer id="t13" x="665.0" y="-612.5">WLAN Verbunden: Alle SSIDs</conditioncontainer>
|
|
<actioncontainer id="t14" x="665.0" y="-332.5">Own Reading</actioncontainer>
|
|
<actioncontainer id="t15" x="1015.0" y="-612.5">Script: global_fhemip = {header_fhemip} global_fhemdevice = {header_fhemdevice}</actioncontainer>
|
|
<conditioncontainer id="t16" x="1015.0" y="-87.5">Akku Ladestand: grösser als 0%</conditioncontainer>
|
|
<actioncontainer id="t17" x="1330.0" y="-612.5">Reading Music Metachanged</actioncontainer>
|
|
<conditioncontainer id="t18" x="1715.0" y="612.5">Benachrichtigung in Statusbar angezeigt: Automagic</conditioncontainer>
|
|
<actioncontainer id="t19" x="3255.0" y="612.5">Get Android Version</actioncontainer>
|
|
<conditioncontainer id="t20" x="2135.0" y="612.5">Display automatisch drehen eingeschaltet</conditioncontainer>
|
|
<actioncontainer id="t21" x="-875.0" y="1557.5001">Script: runTask = "1"</actioncontainer>
|
|
<actioncontainer id="t22" x="-665.0" y="1732.5">Setze Flow Status: Aktivieren SetCommands</actioncontainer>
|
|
<actioncontainer id="t23" x="-560.0001" y="1557.5001">Script: setCommandFlow_state = "inaktiv"</actioncontainer>
|
|
<actioncontainer id="t24" x="-350.0" y="1557.5001">Script: setCommandFlow_state = "aktiv"</actioncontainer>
|
|
<actioncontainer id="t25" x="-140.00005" y="1557.5001">Script: global_artist = "no soundplayer activ"; global_track = "no soundplayer activ"; global_album = "no soundplayer activ";</actioncontainer>
|
|
<actioncontainer id="t26" x="665.0" y="1557.5001">Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}"</actioncontainer>
|
|
<actioncontainer id="t27" x="875.0" y="1557.5001">Script: next_alarmday = "{next_alarm,dateformat,c}"</actioncontainer>
|
|
<actioncontainer id="t28" x="1084.9994" y="1557.5001">Script: screen_state = "on"</actioncontainer>
|
|
<actioncontainer id="t29" x="1295.0" y="1557.5001">Script: screen_state = "off"</actioncontainer>
|
|
<actioncontainer id="t30" x="2135.0005" y="1557.5001">Script: screen_orientation = "auto"</actioncontainer>
|
|
<actioncontainer id="t31" x="2345.0" y="1557.5001">Script: screen_orientation = "portrait"</actioncontainer>
|
|
<actioncontainer id="t32" x="2555.0" y="1557.5001">Script: screen_orientation = "landscape"</actioncontainer>
|
|
<actioncontainer id="t33" x="2765.0" y="1557.5001">Script: bluetooth_state = "on"</actioncontainer>
|
|
<conditioncontainer id="t34" x="2905.0" y="1557.5001">Bluetooth Gerät verbunden: Beliebiges Geräte</conditioncontainer>
|
|
<actioncontainer id="t35" x="3045.0" y="1557.5001">Script: bluetooth_state = "off"</actioncontainer>
|
|
<actioncontainer id="t36" x="1014.9993" y="2187.5">HTTP Response Information</actioncontainer>
|
|
<conditioncontainer id="t37" x="2450.0" y="927.49994">Display Orientierung: Portrait</conditioncontainer>
|
|
<actioncontainer id="t38" x="-1084.9995" y="1557.5001">Script: runTask = "0"</actioncontainer>
|
|
<conditioncontainer id="t39" x="-979.99915" y="1172.5">App Task läuft: {header_activetask} (neuster)</conditioncontainer>
|
|
<conditioncontainer id="t40" x="-1294.9999" y="927.5">Expression: getAndroidSDKVersion() >= "19"</conditioncontainer>
|
|
<conditioncontainer id="t41" x="-1505.0" y="612.5">Expression: header_activetask != "none"</conditioncontainer>
|
|
<actioncontainer id="t42" x="-1505.0" y="1557.5001">Script: runTask = "null"</actioncontainer>
|
|
<actioncontainer id="t43" x="-1294.9995" y="1557.5001">Script: runTask = "not supported android version"</actioncontainer>
|
|
<actioncontainer id="t44" x="1505.0002" y="1557.5">Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff"</actioncontainer>
|
|
<actioncontainer id="t45" x="1925.0005" y="1557.5">Script: notification_text = "not supported from your device"</actioncontainer>
|
|
<conditioncontainer id="t46" x="1715.0" y="1557.4998">Expression: getAndroidSDKVersion() >= "19"</conditioncontainer>
|
|
<conditioncontainer id="t47" x="2905.0" y="612.5">Bluetooth eingeschaltet</conditioncontainer>
|
|
<connection from="t1" to="t10" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t2" to="t28" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t2" to="t29" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t3" to="t26" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t3" to="t27" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t4" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t5" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t6" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t7" to="t24" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t7" to="t23" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t8" to="t25" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t9" to="t16" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t10" to="t12" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t10" to="t11" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t11" to="t15" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t11" to="t13" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t12" to="t17" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t13" to="t14" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t15" to="t9" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t6" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t5" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t4" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t3" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t2" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t18" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t20" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t8" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t47" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t7" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t41" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t19" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t18" to="t46" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t19" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t20" to="t37" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t20" to="t30" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t21" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t23" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t23" to="t22" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t24" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t25" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t26" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t27" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t28" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t29" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t30" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t31" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t32" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t34" to="t36" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t35" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t37" to="t31" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t37" to="t32" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t38" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t39" to="t21" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t39" to="t38" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t40" to="t39" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t40" to="t43" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t41" to="t42" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t41" to="t40" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t42" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t43" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t44" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t45" to="t36" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t46" to="t45" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t46" to="t36" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t46" to="t44" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t47" to="t33" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t47" to="t35" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t47" to="t34" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
</flow>
|
|
<flow type="flow">
|
|
<name>SetCommands</name>
|
|
<group>FHEM Info / Steuerung über AMAD Modul v0.9.3</group>
|
|
<enabled>true</enabled>
|
|
<executionPolicy>QUEUE</executionPolicy>
|
|
<emergencyStopCount>240</emergencyStopCount>
|
|
<triggercontainer id="t1" x="-805.0" y="-2572.5">
|
|
<trigger>HTTP Request: /fhem-amad/deviceInfo/</trigger>
|
|
<trigger>HTTP Request: /fhem-amad/setCommands/*</trigger>
|
|
<trigger>Sprachbefehl angefordert</trigger>
|
|
</triggercontainer>
|
|
<conditioncontainer id="t2" x="-1435.0" y="367.5">Expression: param_screen=="on"</conditioncontainer>
|
|
<conditioncontainer id="t3" x="-1015.0" y="-122.5">Expression: setBrightness"</conditioncontainer>
|
|
<conditioncontainer id="t4" x="-805.0" y="-122.5">Expression: setAlarm"</conditioncontainer>
|
|
<conditioncontainer id="t5" x="-595.0" y="-122.5">Expression: screenMsg"</conditioncontainer>
|
|
<actioncontainer id="t6" x="-385.0" y="892.5">URL in Browser öffnen: {param_url} (mit Chrome)</actioncontainer>
|
|
<actioncontainer id="t7" x="-595.0" y="892.5">Benachrichtigung auf Bildschirm: {param_message} (lange)</actioncontainer>
|
|
<conditioncontainer id="t8" x="770.0" y="-122.5">Expression: setScreenFullscreen"</conditioncontainer>
|
|
<conditioncontainer id="t9" x="1505.0" y="577.5">Expression: param_orientation == "auto"</conditioncontainer>
|
|
<actioncontainer id="t10" x="1295.0" y="892.5">Setze Display Orientierung: Portrait</actioncontainer>
|
|
<actioncontainer id="t11" x="1085.0" y="892.5">Setze Display Orientierung: Landscape</actioncontainer>
|
|
<conditioncontainer id="t12" x="1085.0" y="577.5">Expression: param_orientation == "landscape"</conditioncontainer>
|
|
<conditioncontainer id="t13" x="1295.0" y="577.5">Expression: param_orientation == "portrait"</conditioncontainer>
|
|
<actioncontainer id="t14" x="665.0" y="892.5">Setze Vollbild Modus: Navigation nicht anzeigen</actioncontainer>
|
|
<actioncontainer id="t15" x="875.0" y="892.5">Setze Vollbild Modus: Auf Default zurücksetzen</actioncontainer>
|
|
<conditioncontainer id="t16" x="455.0" y="577.5">Expression: param_button == "back"</conditioncontainer>
|
|
<conditioncontainer id="t17" x="245.0" y="577.5">Expression: param_button == "next"</conditioncontainer>
|
|
<actioncontainer id="t18" x="1505.0" y="892.5">Setze Display Orientierung: Auf Default zurücksetzen</actioncontainer>
|
|
<conditioncontainer id="t19" x="35.0" y="577.5">Expression: param_button == "play"</conditioncontainer>
|
|
<conditioncontainer id="t20" x="140.0" y="-122.5">Expression: mediaPlayer"</conditioncontainer>
|
|
<conditioncontainer id="t21" x="-175.0" y="577.5">Expression: param_button == "stop"</conditioncontainer>
|
|
<conditioncontainer id="t22" x="-1645.0" y="367.5">Expression: param_screen=="off"</conditioncontainer>
|
|
<conditioncontainer id="t23" x="-1540.0" y="-122.5">Expression: setScreenOnOff"</conditioncontainer>
|
|
<conditioncontainer id="t24" x="-2065.0" y="577.5">App Task läuft: App5 (neuster)</conditioncontainer>
|
|
<conditioncontainer id="t25" x="-2065.0" y="367.5">Expression: App5</conditioncontainer>
|
|
<conditioncontainer id="t26" x="-2275.0" y="367.5">Expression: App4</conditioncontainer>
|
|
<conditioncontainer id="t27" x="-2485.0" y="577.5">App Task läuft: App3 (neuster)</conditioncontainer>
|
|
<conditioncontainer id="t28" x="-2485.0" y="367.5">Expression: App3</conditioncontainer>
|
|
<actioncontainer id="t29" x="-2485.0" y="892.5">App Starten: App3</actioncontainer>
|
|
<actioncontainer id="t30" x="-2275.0" y="892.5">App Starten: App4</actioncontainer>
|
|
<conditioncontainer id="t31" x="-2275.0" y="577.5">App Task läuft: App4 (neuster)</conditioncontainer>
|
|
<conditioncontainer id="t32" x="-2695.0" y="367.5">Expression: tuneinradio</conditioncontainer>
|
|
<conditioncontainer id="t33" x="-2695.0" y="577.5">App Task läuft: tuneinradio (neuster)</conditioncontainer>
|
|
<actioncontainer id="t34" x="-2695.0" y="892.5">App Starten: tuneinradio</actioncontainer>
|
|
<actioncontainer id="t35" x="-2065.0" y="892.5">App Starten: App5</actioncontainer>
|
|
<conditioncontainer id="t36" x="-2905.0" y="577.5">App Task läuft: gplay (neuster)</conditioncontainer>
|
|
<conditioncontainer id="t37" x="-2905.0" y="367.5">Expression: gplay</conditioncontainer>
|
|
<actioncontainer id="t38" x="-2905.0" y="892.5">App Starten: PlayMusic</actioncontainer>
|
|
<conditioncontainer id="t39" x="-3115.0" y="-122.5">Expression: System Command"</conditioncontainer>
|
|
<actioncontainer id="t40" x="-3115.0" y="892.5">Neustart </actioncontainer>
|
|
<conditioncontainer id="t41" x="-1225.0" y="-2012.5">Flow Aktiv: Informations</conditioncontainer>
|
|
<conditioncontainer id="t42" x="-1225.0" y="-122.5">Expression: ttsMsg"</conditioncontainer>
|
|
<actioncontainer id="t43" x="-1855.0" y="892.5">Lautstärken setzen</actioncontainer>
|
|
<actioncontainer id="t44" x="-1015.0" y="892.5">Setze Systemeinstellung: System screen_brightness auf {param_brightness}</actioncontainer>
|
|
<actioncontainer id="t45" x="-1435.0" y="892.5">Schalte Display ein: Hell für 120s</actioncontainer>
|
|
<actioncontainer id="t46" x="1190.0" y="1032.5">Display automatisch drehen ein-/ausschalten: Aus</actioncontainer>
|
|
<actioncontainer id="t47" x="1505.0" y="1032.5">Display automatisch drehen ein-/ausschalten: Ein</actioncontainer>
|
|
<actioncontainer id="t48" x="-805.0" y="892.5">Setze Alarm: um {param_hour}:{param_minute}</actioncontainer>
|
|
<conditioncontainer id="t49" x="1295.0" y="-122.5">Expression: setScreenOrientation"</conditioncontainer>
|
|
<conditioncontainer id="t50" x="875.0" y="577.5">Expression: param_fullscreen == "off"</conditioncontainer>
|
|
<conditioncontainer id="t51" x="665.0" y="577.5">Expression: param_fullscreen == "on"</conditioncontainer>
|
|
<conditioncontainer id="t52" x="1820.0" y="-122.5">Expression: setBluetooth"</conditioncontainer>
|
|
<conditioncontainer id="t53" x="-1855.0" y="-122.5">Expression: setVolume"</conditioncontainer>
|
|
<actioncontainer id="t54" x="-1225.0" y="892.5">Sprachausgabe: {param_message}</actioncontainer>
|
|
<actioncontainer id="t55" x="-3325.0" y="892.5">Sound: /storage/emulated/0/Notifications/{param_notifyfile} als Benachrichtigung</actioncontainer>
|
|
<conditioncontainer id="t56" x="1715.0" y="577.5">Expression: param_bluetooth == "off"</conditioncontainer>
|
|
<conditioncontainer id="t57" x="1925.0" y="577.5">Expression: param_bluetooth == "on"</conditioncontainer>
|
|
<actioncontainer id="t58" x="1925.0" y="892.5">Bluetooth ein-/ausschalten: Ein</actioncontainer>
|
|
<conditioncontainer id="t59" x="-3325.0" y="-122.5">Expression: notifysnd"</conditioncontainer>
|
|
<conditioncontainer id="t60" x="-2485.0" y="-122.5">Expression: openApp"</conditioncontainer>
|
|
<conditioncontainer id="t61" x="-3115.0" y="367.5">Expression: Reboot</conditioncontainer>
|
|
<actioncontainer id="t62" x="-3535.0" y="892.5">Benachrichtigung aus Statusbar entfernen: Alle</actioncontainer>
|
|
<conditioncontainer id="t63" x="-3535.0" y="367.5">Expression: All</conditioncontainer>
|
|
<actioncontainer id="t64" x="-3745.0" y="892.5">Benachrichtigung aus Statusbar entfernen: Alle (Automagic)</actioncontainer>
|
|
<conditioncontainer id="t65" x="-3745.0" y="367.5">Expression: Automagic</conditioncontainer>
|
|
<actioncontainer id="t66" x="-1470.0" y="-1557.5">Setze Flow Status: Aktivieren Informations</actioncontainer>
|
|
<actioncontainer id="t67" x="-1330.0" y="-1802.5">Script: informationFlow_state = "inaktiv"</actioncontainer>
|
|
<actioncontainer id="t68" x="-1225.0" y="-1417.5">HTTP Response SetCommand</actioncontainer>
|
|
<conditioncontainer id="t69" x="2135.0" y="52.5">Bluetooth eingeschaltet</conditioncontainer>
|
|
<actioncontainer id="t70" x="2345.0" y="332.5">Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdeviceone}</actioncontainer>
|
|
<actioncontainer id="t71" x="2345.0" y="472.5">Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdeviceone}</actioncontainer>
|
|
<actioncontainer id="t72" x="2345.0" y="612.5">Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdeviceone}</actioncontainer>
|
|
<actioncontainer id="t73" x="2345.0" y="962.5">Bluetooth Gerät verbinden/trennen: Trennen Advanced Audio Distribution {param_btdevicetwo}</actioncontainer>
|
|
<actioncontainer id="t74" x="2345.0" y="1102.5">Bluetooth Gerät verbinden/trennen: Trennen Eingabegerät {param_btdevicetwo}</actioncontainer>
|
|
<actioncontainer id="t75" x="2345.0" y="192.5">Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdeviceone}</actioncontainer>
|
|
<actioncontainer id="t76" x="2345.0" y="822.5">Bluetooth Gerät verbinden/trennen: Trennen Headset {param_btdevicetwo}</actioncontainer>
|
|
<actioncontainer id="t77" x="2345.0" y="1242.5">Bluetooth Gerät verbinden/trennen: Trennen Personal Area Network {param_btdevicetwo}</actioncontainer>
|
|
<actioncontainer id="t78" x="2135.0" y="1032.5">Pause: 3s (Gerät wach halten)</actioncontainer>
|
|
<actioncontainer id="t79" x="2135.0" y="857.5">Bluetooth Gerät verbinden/trennen: Verbinden Advanced Audio Distribution {param_swtobtdevicemac}</actioncontainer>
|
|
<actioncontainer id="t80" x="2135.0" y="682.5">Pause: 2s (Gerät wach halten)</actioncontainer>
|
|
<actioncontainer id="t81" x="-1645.0" y="892.5">Gerät sperren</actioncontainer>
|
|
<conditioncontainer id="t82" x="-4165.0" y="-122.5">Expression: Clear Automagic Meldungen"</conditioncontainer>
|
|
<actioncontainer id="t83" x="-1120.0" y="-1802.5">Script: informationFlow_state = "aktiv"</actioncontainer>
|
|
<conditioncontainer id="t84" x="2135.0" y="-122.5">Expression: setBTDevice"</conditioncontainer>
|
|
<conditioncontainer id="t85" x="-805.0" y="-2012.5">Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"</conditioncontainer>
|
|
<conditioncontainer id="t86" x="-805.0" y="-2187.5">Expression: trigger == "Sprachbefehl angefordert"</conditioncontainer>
|
|
<conditioncontainer id="t87" x="-385.0" y="-122.5">Expression: openURL"</conditioncontainer>
|
|
<conditioncontainer id="t88" x="2555.0" y="-122.5">Expression: setVoiceCommand"</conditioncontainer>
|
|
<actioncontainer id="t89" x="2555.0" y="892.5">Flows ausführen: VoiceControl</actioncontainer>
|
|
<actioncontainer id="t90" x="35.0" y="892.5">Audio Player steuern: Medienknopf Play (Google Play Musik)</actioncontainer>
|
|
<actioncontainer id="t91" x="245.0" y="892.5">Audio Player steuern: Medienknopf Weiter (Google Play Musik)</actioncontainer>
|
|
<actioncontainer id="t92" x="455.0" y="892.5">Audio Player steuern: Medienknopf Zurück (Google Play Musik)</actioncontainer>
|
|
<actioncontainer id="t93" x="-805.0" y="1697.5">StatusRequest</actioncontainer>
|
|
<actioncontainer id="t94" x="1715.0" y="892.5">Bluetooth ein-/ausschalten: Aus</actioncontainer>
|
|
<actioncontainer id="t95" x="-175.0" y="892.5">Audio Player steuern: Medienknopf Stopp (Google Play Musik)</actioncontainer>
|
|
<connection from="t1" to="t86" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t2" to="t45" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t3" to="t44" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t4" to="t48" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t5" to="t7" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t8" to="t51" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t8" to="t50" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t9" to="t18" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t10" to="t46" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t11" to="t46" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t12" to="t11" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t13" to="t10" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t16" to="t92" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t17" to="t91" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t18" to="t47" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t19" to="t90" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t20" to="t21" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t20" to="t19" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t20" to="t17" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t20" to="t16" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t21" to="t95" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t22" to="t81" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t23" to="t22" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t23" to="t2" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t24" to="t35" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t25" to="t24" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t26" to="t31" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t27" to="t29" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t28" to="t27" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t31" to="t30" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t32" to="t33" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t33" to="t34" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t36" to="t38" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t37" to="t36" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t39" to="t61" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t41" to="t67" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t41" to="t83" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t42" to="t54" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t43" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t44" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t45" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t46" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t47" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t48" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t49" to="t13" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t49" to="t12" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t49" to="t9" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t50" to="t15" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t51" to="t14" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t52" to="t57" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t52" to="t56" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t53" to="t43" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t56" to="t94" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t57" to="t58" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t58" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t59" to="t55" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t60" to="t28" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t60" to="t37" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t60" to="t32" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t60" to="t26" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t60" to="t25" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t61" to="t40" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t62" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t63" to="t62" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t64" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t65" to="t64" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t67" to="t66" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t67" to="t68" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t69" to="t58" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t69" to="t75" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t70" to="t71" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t71" to="t72" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t72" to="t76" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t73" to="t74" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t74" to="t77" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t75" to="t70" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t76" to="t73" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t77" to="t80" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t78" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t79" to="t78" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t80" to="t79" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t81" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t82" to="t63" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t82" to="t65" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t83" to="t68" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t84" to="t69" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t39" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t60" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t53" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t23" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t42" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t3" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t4" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t5" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t87" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t20" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t8" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t49" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t41" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t52" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t59" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t84" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t82" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t85" to="t88" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t86" to="t85" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t86" to="t88" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t87" to="t6" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t88" to="t89" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t94" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t95" to="t93" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
</flow>
|
|
<flow type="flow">
|
|
<name>VoiceControl</name>
|
|
<group>FHEM Info / Steuerung über AMAD Modul v0.9.3</group>
|
|
<enabled>true</enabled>
|
|
<executionPolicy>QUEUE</executionPolicy>
|
|
<triggercontainer id="t1" x="70.0" y="-647.5" />
|
|
<conditioncontainer id="t2" x="70.0" y="682.5">Expression: value != ""</conditioncontainer>
|
|
<actioncontainer id="t3" x="175.0" y="962.5">Spracheingabe wurde nicht erkannt</actioncontainer>
|
|
<actioncontainer id="t4" x="0.0" y="1172.5">Benachrichtigung auf Bildschirm: {value} (lange)</actioncontainer>
|
|
<actioncontainer id="t5" x="-35.0" y="962.5">Send Voice Input Value to AMADCommBridge</actioncontainer>
|
|
<actioncontainer id="t6" x="70.0" y="437.5">AMAD Voice Control</actioncontainer>
|
|
<connection from="t1" to="t6" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t2" to="t5" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t2" to="t3" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t5" to="t4" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
<connection from="t6" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
|
|
</flow>
|
|
</data> |