diff --git a/74_AMADautomagicFlowset_4.0.13.xml b/74_AMADautomagicFlowset_4.0.13.xml deleted file mode 100755 index 2ec2bd3..0000000 --- a/74_AMADautomagicFlowset_4.0.13.xml +++ /dev/null @@ -1,5127 +0,0 @@ - - - - true - Akku Ladestand: grösser als 0% - true - 0 - HIGHER_THAN - true - true - - - false - App Task Beendet - true - CLASSIC - * - - - true - App Task Beendet: ch.gridvision.ppam.androidautomagic - false - CLASSIC - ch.gridvision.ppam.androidautomagic - - - false - App Task Gestartet - true - CLASSIC - * - - - 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 angezeigt: org.telegram.messenger - true - org.telegram.messenger - 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 Gerät getrennt: Alle Geräte - true - true - - - - - true - Bluetooth Gerät verbunden: Alle Geräte - true - true - - - - - true - Bluetooth Status: Schaltet aus, Aus - true - false - false - true - true - - - true - Bluetooth Status: Schaltet ein, Ein - true - true - true - false - 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 - - - false - Kabelgebundenes Headset Getrennt - true - false - - - false - Kabelgebundenes Headset Verbunden - true - true - - - false - Medien Session verändert - true - com.amazon.mp3,com.audible.application,com.rhapsody.alditalk,com.sec.android.app.music,com.spotify.music,de.maxdome.app.android,com.google.android.videos,com.google.android.music,org.smblott.intentradioio,com.amazon.avod.thirdpartyclient,tunein.player,org.videolan.vlc,com.google.android.youtube,com.google.android.apps.youtube.kids - - - false - NFC State - true - true - true - true - true - - - false - NFC TagIDs - true - false - TAG_123 - - - - false - Periodischer Timer: alle 120s - true - 120000 - true - false - false - Mon - Tue - Wed - Thu - Fri - Sat - Sun - 8 - 0 - 17 - 0 - true - false - - - false - SMS Empfangen: Alle - true - true - - - false - - - 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 - - - false - Systemeinstellung verändert: System volume_music_headset - true - SYSTEM - volume_music_headset - volume - - - true - Systemeinstellung verändert: System volume_music_speaker - true - SYSTEM - volume_music_speaker - volume - - - true - Systemeinstellung verändert: System volume_ring - true - SYSTEM - volume_ring - volumeRingSound - - - true - Systemeinstellung verändert: System volume_ring_speaker - true - SYSTEM - volume_ring_speaker - volumeNotification - - - true - Unterbrechnungen-Modus: Alle / Immer unterbrechen - true - OFF - - - true - Unterbrechnungen-Modus: Keine / Nicht unterbrechen - true - NO_INTERRUPTIONS - - - true - Unterbrechnungen-Modus: Nur Wecker (Android 6+) - true - ALARMS_ONLY - - - true - Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen - true - IMPORTANT_INTERRUPTIONS - - - false - WLAN Getrennt: toGo - true - false - {global_apssid} - - - false - WLAN Verbunden: toGo - true - false - {global_apssid} - - - false - App Task läuft: App (neuster) - CLASSIC - {param_app} - true - - - true - App Task läuft: {global_activetask} (neuster) - CLASSIC - {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: Telegram Messenger - org.telegram.messenger - 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" - - - true - Expression: amadcmd == "firstrun" - amadcmd == "firstrun" - - - false - Expression: Automagic - param_app == "Automagic" - - - false - Expression: Clear Automagic Meldungen" - request_path == "/fhem-amad/setCommands/clearnotificationbar" - - - false - Expression: closeCall" - request_path == "/fhem-amad/setCommands/closeCall" - - - true - Expression: contains(value, " und ") - contains(value, " und ") - - - false - Expression: do not Disturb" - request_path == "/fhem-amad/setCommands/donotdisturb" - - - true - Expression: fhemcmd == "fhemfunc" - fhemcmd == "fhemfunc" - - - true - Expression: fhemcmd == "readingsval" - fhemcmd == "readingsval" - - - true - Expression: fhemcmd == "set" - fhemcmd == "set" - - - true - Expression: fhemcmd == "setreading" - fhemcmd == "setreading" - - - true - Expression: fhemcmd == "voiceinputvalue" - fhemcmd == "voiceinputvalue" - - - false - Expression: flowRun" - request_path == "/fhem-amad/setCommands/flowRun" - - - false - Expression: flowState" - request_path == "/fhem-amad/setCommands/flowState" - - - true - Expression: getAndroidSDKVersion() >= "16" - getAndroidSDKVersion() >= "16" - - - true - Expression: getAndroidSDKVersion() >= "19" - getAndroidSDKVersion() >= "19" - - - true - Expression: getAndroidSDKVersion() >= "21" - getAndroidSDKVersion() >= "21" - - - true - Expression: global_activetask != null - global_activetask != null - - - true - Expression: global_fhemctlmode != "thirdPartControl" - global_fhemctlmode != "thirdPartControl" - - - true - Expression: global_fhemip != null or global_bridgeport != null - global_fhemip != null or global_bridgeport != null - - - true - Expression: global_userflowstate != "none" - global_userflowstate != "none" - - - false - Expression: installFlow" - request_path == "/fhem-amad/setCommands/installFlow" - - - true - Expression: keyguard == "locked" - keyguard == "locked" - - - true - Expression: Leon == "Gaultier" - Leon == "Gaultier" - - - false - Expression: multimediaControl" - request_path == "/fhem-amad/setCommands/multimediaControl" - - - false - Expression: nfc" - request_path == "/fhem-amad/setCommands/setnfc" - - - false - Expression: notifysnd" - request_path == "/fhem-amad/setCommands/playnotifysnd" - - - false - Expression: openApp" - request_path == "/fhem-amad/setCommands/openApp" - - - false - Expression: openCall" - request_path == "/fhem-amad/setCommands/openCall" - - - false - Expression: openURL" - request_path == "/fhem-amad/setCommands/openURL" - - - true - Expression: package_name == {global_activetask} - package_name == {global_activetask} - - - 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/pause" - param_button == "play/pause" - - - true - Expression: param_button == "stop" - param_button == "stop" - - - true - Expression: param_disturbmod == "alarmClockOnly" - param_disturbmod == "alarmClockOnly" - - - true - Expression: param_disturbmod == "always" - param_disturbmod == "always" - - - true - Expression: param_disturbmod == "never" - param_disturbmod == "never" - - - true - Expression: param_disturbmod == "onlyImportant" - param_disturbmod == "onlyImportant" - - - true - Expression: param_flowstate == "active" - param_flowstate == "active" - - - true - Expression: param_flowstate == "active" or param_flowstate == "inactive" - param_flowstate == "active" or param_flowstate == "inactive" - - - true - Expression: param_fullscreen == "off" - param_fullscreen == "off" - - - true - Expression: param_fullscreen == "on" - param_fullscreen == "on" - - - true - Expression: param_lockmod == "lock" - param_lockmod == "lock" - - - false - Expression: param_msgvol == "none" - param_msgvol == "none" - - - true - Expression: param_nfc == "off" - param_nfc == "off" - - - true - Expression: param_nfc == "on" - param_nfc == "on" - - - true - Expression: param_notifyfile == "RedAlert.mp3" - param_notifyfile == "RedAlert.mp3" - - - false - Expression: param_option - param_hanguptime != "none" - - - 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_pictureresolution == "1024x768" - param_pictureresolution == "1024x768" - - - true - Expression: param_pictureresolution == "1280x720" - param_pictureresolution == "1280x720" - - - true - Expression: param_pictureresolution == "1600x1200" - param_pictureresolution == "1600x1200" - - - true - Expression: param_pictureresolution == "1920x1080" - param_pictureresolution == "1920x1080" - - - true - Expression: param_pictureresolution == "800x600" - param_pictureresolution == "800x600" - - - true - Expression: param_screen=="off" - param_screen=="off" - - - true - Expression: param_screen=="on" - param_screen=="on" - - - false - Expression: Reboot - param_syscmd == "reboot" - - - true - Expression: respreadingsval != "kaputt" and respreadingsval != "none" - respreadingsval != "kaputt" and respreadingsval != "none" - - - true - Expression: respreadingsval == "online" - respreadingsval == "online" - - - 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: sendSms" - request_path == "/fhem-amad/setCommands/sendSms" - - - 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: setRingSoundVolume" - request_path == "/fhem-amad/setCommands/setRingSoundVolume" - - - 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: showhomescreen" - request_path == "/fhem-amad/setCommands/showhomescreen" - - - false - Expression: Shutdown - param_syscmd == "shutdown" - - - true - Expression: sprachassi == "ja" - sprachassi == "ja" - - - true - Expression: sprachassi == "nein" - sprachassi == "nein" - - - false - Expression: startDaydream" - request_path == "/fhem-amad/setCommands/startDaydream" - - - false - Expression: System Command" - request_path == "/fhem-amad/setCommands/systemcommand" - - - false - Expression: takepicture - request_path == "/fhem-amad/setCommands/takepicture" - - - true - Expression: togocount < 6 - togocount < 6 - - - true - Expression: trigger == "Akku Ladestand: grösser als 0%" - trigger == "Akku Ladestand: grösser als 0%" - - - true - Expression: trigger == "App Task Beendet" or trigger == "App Task Gestartet" - trigger == "App Task Beendet" or trigger == "App Task Gestartet" - - - true - Expression: trigger == "App Task Gestartet" or trigger == "Periodischer Timer: alle 120s" - trigger == "App Task Gestartet" or trigger == "Periodischer Timer: alle 120s" - - - true - Expression: trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" - or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "Benachrichtigung in Statusbar angezeigt: com.whatsapp" - trigger == "Benachrichtigung in Statusbar angezeigt: com.whatsapp" - - - true - Expression: trigger == "Benachrichtigung in Statusbar angezeigt: org.telegram.messenger" - trigger == "Benachrichtigung in Statusbar angezeigt: org.telegram.messenger" - - - true - Expression: trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Gerät verbunden: Alle Geräte" or trigger == "Bluetooth Gerät getrennt: Alle Geräte" or trigger == "Bluetooth Status: Schaltet ein, Ein" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Bluetooth Status: Schaltet aus, Aus" - or trigger == "Bluetooth Gerät verbunden: Alle Geräte" - or trigger == "Bluetooth Gerät getrennt: Alle Geräte" - or trigger == "Bluetooth Status: Schaltet ein, Ein" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - 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" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Display Orientierung: Landscape" - or trigger == "Display Orientierung: Portrait" - or trigger == "Display Status: Ein" - or trigger == "Display Status: Aus" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Display Status: Aus" - or trigger == "Display Status: Ein" - or udef_trigger == "setLockPin" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "Dock Event: Docked" or trigger == "Dock Event: Undocked" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Dock Event: Docked" - or trigger == "Dock Event: Undocked" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "Eingehender Anruf. Status: Klingelt, Nummern: Alle" - trigger == "Eingehender Anruf. Status: Klingelt, Nummern: Alle" - - - true - Expression: trigger == "Flugmodus: Aus" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Flugmodus: Aus" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - 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" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - 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" -or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - 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 == "Kabelgebundenes Headset Verbunden" or trigger == "Kabelgebundenes Headset Getrennt" - trigger == "Kabelgebundenes Headset Verbunden" or trigger == "Kabelgebundenes Headset Getrennt" - - - true - Expression: trigger == "Medien Session verändert" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Medien Session verändert" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "Periodischer Timer: alle 120s" - trigger == "Periodischer Timer: alle 120s" - - - true - Expression: trigger == "Periodischer Timer: alle 120s" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Periodischer Timer: alle 120s" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "SMS Empfangen: Alle" - trigger == "SMS Empfangen: Alle" - - - true - Expression: trigger == "Sprachbefehl angefordert" - trigger == "Sprachbefehl angefordert" - - - true - Expression: trigger == "Systemeinstellung verändert: System next_alarm" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Systemeinstellung verändert: System next_alarm" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - 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" or trigger == "Systemeinstellung verändert: System volume_music_headset" - 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" - or trigger == "Systemeinstellung verändert: System volume_music_headset" - - - true - Expression: trigger == "Systemeinstellung verändert: System volume_ring" - trigger == "Systemeinstellung verändert: System volume_ring" - - - true - Expression: trigger == "Systemeinstellung verändert: System volume_ring_speaker" - trigger == "Systemeinstellung verändert: System volume_ring_speaker" - - - true - Expression: trigger == "Unterbrechnungen-Modus: Alle / Immer unterbrechen" or trigger == "Unterbrechnungen-Modus: Keine / Nicht unterbrechen" or trigger == "Unterbrechnungen-Modus: Nur Wecker (Android 6+)" or trigger == "Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - trigger == "Unterbrechnungen-Modus: Alle / Immer unterbrechen" -or trigger == "Unterbrechnungen-Modus: Keine / Nicht unterbrechen" -or trigger == "Unterbrechnungen-Modus: Nur Wecker (Android 6+)" -or trigger == "Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen" -or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: trigger == "WLAN Getrennt: toGo" - trigger == "WLAN Getrennt: toGo" - - - true - Expression: trigger == "WLAN Verbunden: toGo" - trigger == "WLAN Verbunden: toGo" - - - false - Expression: ttsMsg" - request_path == "/fhem-amad/setCommands/ttsMsg" - - - false - Expression: ttsMsgLang" - param_msglang == "en" - - - true - Expression: udef_trigger == "setLockPin" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - udef_trigger == "setLockPin" - or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - - - true - Expression: value != "" - value != "" - - - true - Expression: value == "ja" - value == "ja" - - - true - Expression: value == "nein" - value == "nein" - - - true - Flow Aktiv: First Run Assistant - First Run Assistant - - - true - Flow Aktiv: Informations - Informations - - - true - Flow Aktiv: Send Data to AMADCommBridge - Send Data to AMADCommBridge - - - true - Flow Aktiv: SetCommands - SetCommands - - - true - Flow Aktiv: {global_userflowstate} - {global_userflowstate} - - - true - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/sdcard) - /sdcard - true - true - 1024 - - - true - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/storage/emulated/0) - /storage/emulated/0 - true - true - 1024 - - - true - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/storage/sdcard0) - /storage/sdcard0 - true - true - 1024 - - - true - Host erreichbar: {global_fhemip}:{global_bridgeport} - SOCKET - {global_fhemip} - {global_bridgeport} - - - true - Kabelgebundenes Headset verbunden - - - true - Keyguard gesperrt - - - true - Keyguard mit Sicherheit - - - true - Musik Aktiv - - - true - Stromversorgung: Angeschlossen - true - true - true - true - - - true - Unterbrechnungen-Modus: Alle / Immer unterbrechen - OFF - - - true - Unterbrechnungen-Modus: Keine / Nicht unterbrechen - NO_INTERRUPTIONS - - - true - Unterbrechnungen-Modus: Nur Wecker (Android 6+) - ALARMS_ONLY - - - true - Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen - IMPORTANT_INTERRUPTIONS - - - true - WLAN verfügbar: {global_apssid} - {global_apssid} - - - false - Abfrage - Send Data to AMADCommBridge - - false - true - true - - - false - AMAD First Run Assistent Begrüßung - MUSIC - Hallo und herzlich willkommen beim Einrichtungs Assistenten von Fhem Amaad. Wenn Du fortfahren möchtest antworte einfach mit ja. Wenn nicht mit nein. - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - false - AMAD Voice Control - true - - true - de-DE - false - - - true - Anruf beenden - - - false - App Starten: App - {param_app} - - - - true - Audio Player steuern: Medienknopf Play/Pause (/{kname}) - true - TOGGLE_PAUSE - KEYCODE_MEDIA_PLAY_PAUSE - true - {pname} - {kname} - - - - true - Audio Player steuern: Medienknopf Stopp ({pname}/{kname}) - true - STOP - KEYCODE_MEDIA_STOP - true - {pname} - {kname} - - - - true - Audio Player steuern: Medienknopf Weiter ({pname}/{kname}) - true - NEXT - KEYCODE_MEDIA_NEXT - true - {pname} - {kname} - - - - true - Audio Player steuern: Medienknopf Zurück ({pname}/{kname}) - true - PREVIOUS - KEYCODE_MEDIA_PREVIOUS - true - {pname} - {kname} - - - - true - Benachrichtigung auf Bildschirm: [AMAD2] Nicht mehr benötigte AMAD Flows wurden entfernt! (lange) - true - [AMAD2] Nicht mehr benötigte AMAD Flows wurden entfernt! - - 200 - 250 - false - 1.0 - true - false - TOP_LEFT - 0 - 0 - - - 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 - - - - 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 - - - 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 - - - - true - Dateien löschen: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - true - - - true - Dateien löschen: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - true - - - true - Dateien löschen: /storage/emulated/0/Download/installFlow_{param_flowname} - /storage/emulated/0/Download/installFlow_{param_flowname} - true - - - true - Dateien löschen: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - true - - - true - Dateien löschen: /storage/sdcard0/Download/installFlow_{param_flowname} - /storage/sdcard0/Download/installFlow_{param_flowname} - true - - - true - Display automatisch drehen ein-/ausschalten: Aus - false - - - true - Display automatisch drehen ein-/ausschalten: Ein - true - - - true - Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /sdcard/AMADNG_FlowsetUpdate - http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml - /sdcard/AMADNG_FlowsetUpdate - true - - - true - Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/emulated/0/AMADNG_FlowsetUpdate - http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml - /storage/emulated/0/AMADNG_FlowsetUpdate - true - - - true - Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/sdcard0/AMADNG_FlowsetUpdate - http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml - /storage/sdcard0/AMADNG_FlowsetUpdate - 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 - - - true - Download URL: http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} to /storage/sdcard0/Download - http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} - /storage/sdcard0/Download - true - - - true - Eingabedialog: AMADCommBridge Port Einzeiliger Text Bitte gebe den Port der AMADCommBridge vom FHEM Server an. - AMADCommBridge Port - SINGLE_LINE_TEXT - Bitte gebe den Port der AMADCommBridge vom FHEM Server an. - - 8090 - DEFAULT - DEFAULT - DEFAULT - false - 60000 - - false - false - false - false - - - true - Eingabedialog: Android Device IP Adresse Einzeiliger Text Bitte gebe die IP Adresse Deines Androidgerätes an. NUR IP kein FQDN!!! - Android Device IP Adresse - SINGLE_LINE_TEXT - Bitte gebe die IP Adresse Deines Androidgerätes an. NUR IP kein FQDN!!! - - 192.168.x.x - DEFAULT - DEFAULT - DEFAULT - false - 60000 - - false - false - false - false - - - true - Eingabedialog: FHEM Devicename Einzeiliger Text Wie soll das Device in FHEM heißen? - FHEM Devicename - SINGLE_LINE_TEXT - Wie soll das Device in FHEM heißen? - - TabletWohnzimmer - DEFAULT - DEFAULT - DEFAULT - false - 60000 - - false - false - false - false - - - true - Eingabedialog: FHEM Server IP Einzeiliger Text Bitte gebe die IP Adresse oder den FQDN Deines FHEM Servers an. - FHEM Server IP - SINGLE_LINE_TEXT - Bitte gebe die IP Adresse oder den FQDN Deines FHEM Servers an. - - 192.168.x.x - DEFAULT - DEFAULT - DEFAULT - false - 60000 - - false - false - false - false - - - true - Eingabedialog: Wünschst Du einen sprachgestützten oder dialoggestützten Installationsassistanten? Einfachauswahl Menü Sprache,Dialog (15s) - Wünschst Du einen sprachgestützten oder dialoggestützten Installationsassistanten? - SINGLE_CHOICE_MENU - - Sprache,Dialog - - DEFAULT - DEFAULT - DEFAULT - true - 15000 - Sprache - false - false - false - false - - - true - Flows ausführen: Send Data to AMADCommBridge - Send Data to AMADCommBridge - - false - false - false - - - false - Flows ausführen: Send Data to AMADCommBridge mit warten - Send Data to AMADCommBridge - - false - true - false - - - false - Flows ausführen: udef_trigger setLockPin - Informations - - false - true - false - - - true - Flows ausführen: VoiceControl - VoiceControl - - false - false - false - - - true - Flows ausführen: {param_flowname} - {param_flowname} - - false - false - false - - - true - Flows löschen: First Run Assistant - First Run Assistant - true - - - true - Flows löschen: MultimediaControl - MultimediaControl - true - - - true - Flows/Widgets importieren: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - true - - - true - Flows/Widgets importieren: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - true - - - true - Flows/Widgets importieren: /storage/emulated/0/Download/installFlow_{param_flowname} - /storage/emulated/0/Download/installFlow_{param_flowname} - true - - - true - Flows/Widgets importieren: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - true - - - true - Flows/Widgets importieren: /storage/sdcard0/Download/installFlow_{param_flowname} - /storage/sdcard0/Download/installFlow_{param_flowname} - true - - - true - Flugmodus ein-/ausschalten: Ein - SYSTEM_SETTING - true - - - false - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1024x768 - false - /storage/emulated/0/AMADpicture.jpg - 0 - 1024*768 - 100 - auto - none - - auto - auto - false - true - 2000 - true - - - false - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720 - false - /storage/emulated/0/AMADpicture.jpg - 0 - 1280*720 - 100 - auto - none - - auto - auto - false - true - 2000 - true - - - false - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200 - false - /storage/emulated/0/AMADpicture.jpg - 0 - 1600*1200 - 100 - auto - none - - auto - auto - false - true - 2000 - true - - - false - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080 - false - /storage/emulated/0/AMADpicture.jpg - 0 - 1920*1080 - 100 - auto - none - - auto - auto - false - true - 2000 - true - - - false - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600 - false - /storage/emulated/0/AMADpicture.jpg - 0 - 800*600 - 100 - auto - none - - auto - auto - false - true - 2000 - true - - - true - Gerät sperren - - - false - Get Android Version - - - - true - Herunterfahren - - - false - HTTP Request: send FHEMFUNC data to AMADCommBridge JSON - http://{global_fhemip}:{global_bridgeport} - false - false - - false - - POST - GENERAL_TEXT - application/json - {fhemfunc} - @@@@readingsNameXYZ@@readingsValueABC - upload_field - - 15000 - true - Connection: close - true - respfhemfunc - /storage/emulated/0/Download/file.bin - false - - - false - HTTP Request: send FIRSTRUN data to AMADCommBridge JSON - http://{global_fhemip}:{global_bridgeport} - false - false - - false - - POST - GENERAL_TEXT - application/json - {firstrundata} - @@@@readingsNameXYZ@@readingsValueABC - upload_field - - 15000 - true - Connection: close - true - respfirstrun - /storage/emulated/0/Download/file.bin - false - - - false - HTTP Request: send READINGS data to AMADCommBridge JSON - http://{global_fhemip}:{global_bridgeport} - false - false - - false - - POST - GENERAL_TEXT - application/json - {fhemdata} - @@@@readingsNameXYZ@@readingsValueABC - upload_field - - 15000 - true - Connection: close - true - respsetreading - /storage/emulated/0/Download/file.bin - false - - - false - HTTP Request: send READINGSVAL data to AMADCommBridge JSON - http://{global_fhemip}:{global_bridgeport} - false - false - - false - - POST - GENERAL_TEXT - application/json - {readingsvalcmd} - @@@@readingsNameXYZ@@readingsValueABC - upload_field - - 15000 - true - Connection: close - true - respreadingsval - /storage/emulated/0/Download/file.bin - false - - - false - HTTP Request: send SET data to AMADCommBridge JSON - http://{global_fhemip}:{global_bridgeport} - false - false - - false - - POST - GENERAL_TEXT - application/json - {setcmd} - @@@@readingsNameXYZ@@readingsValueABC - upload_field - - 15000 - true - Connection: close - true - respset - /storage/emulated/0/Download/file.bin - false - - - false - HTTP Request: send VOICEINPUTVALUE data to AMADCommBridge - http://{global_fhemip}:{global_bridgeport} - false - false - - false - - POST - GENERAL_TEXT - application/json - {voiceinputdata} - @@@@readingsNameXYZ@@readingsValueABC - upload_field - - 15000 - true - FHEMDEVICE: {global_fhemdevice} -FHEMCMD: voiceinputvalue -Connection: close - true - respvoiceinputvalue - /storage/emulated/0/Download/file.bin - true - - - true - In Datei Schreiben: Aktiviere Flows in /storage/emulated/0/file.txt (anhängen) - /storage/emulated/0/file.txt - Aktiviere Flows - true - - - true - In Datei Schreiben: Deaktiviere Flows in /storage/emulated/0/file.txt (anhängen) - /storage/emulated/0/file.txt - Deaktiviere Flows - true - - - 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 - Initialisiere Variable Systemeinstellung: volumeRingSound - SYSTEM - volume_ring - volumeRingSound - - - true - Lautstärke einstellen: Medien auf Level 8 - MUSIC - ADJUST_SET_ABSOLUTE - 8 - false - false - - - true - Lautstärke einstellen: Medien auf Level {param_msgvol} - MUSIC - ADJUST_SET_ABSOLUTE - {param_msgvol} - false - 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_ringsoundvolume - false - global_volume_alarm - false - global_volume_dtmf - false - param_volume - false - param_notifivolume - true - param_ringsoundvolume - 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 - - - false - Medianlautstärken Speichern - false - global_volume_alarm - false - global_volume_dtmf - true - global_volume_music - 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 - - - false - Medienlautstärke Wiederherstellen - false - global_volume_alarm - false - global_volume_dtmf - true - global_volume_music - 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 - Meldungsdialog: Alle Informationen wurden nun erfasst und zur Amaad Comm Bridge gesendet. Ich werde gleich einmal prüfen ob die Einrichtung des Devices in Fhem gelungen ist. Gib mir bitte bis zu einer Minute Zeit für die Prüfung. - - Alle Informationen wurden nun erfasst und zur Amaad Comm Bridge gesendet. Ich werde gleich einmal prüfen ob die Einrichtung des Devices in Fhem gelungen ist. Gib mir bitte bis zu einer Minute Zeit für die Prüfung. - Weiter - false - 60000 - - - true - Meldungsdialog: Die Einrichtung ist nun abgeschlossen und das Amaad Device wurde angelegt. Es scheint aber noch keine Verbindung zwischen Fhem und Deinem Amaad Device zu bestehen. Mache am besten einmal ein Status Request in Fhem für das Amaad Device. Ist der Status in Fhem weiterhin offline schaue bitte ob alle Am - - Die Einrichtung ist nun abgeschlossen und das Amaad Device wurde angelegt. Es scheint aber noch keine Verbindung zwischen Fhem und Deinem Amaad Device zu bestehen. Mache am besten einmal ein Status Request in Fhem für das Amaad Device. Ist der Status in Fhem weiterhin offline schaue bitte ob alle Amaad, Flows aktiv sind. - Weiter - false - 60000 - - - true - Meldungsdialog: Die Einrichtung ist nun abgeschlossen und das AMAD Device online. - - Die Einrichtung ist nun abgeschlossen und das AMAD Device online. - Weiter - false - 60000 - - - true - Meldungsdialog: Leider scheint es ein Problem beim Einrichten des FHEM Devices gegeben zu haben. Hast Du die AMADCommBridge definiert, und ist sie auch aktiv? Sollte es weiterhin Probleme geben, wende Dich bitte an CoolTux alias Leon, im FHEM Forum. - - Leider scheint es ein Problem beim Einrichten des FHEM Devices gegeben zu haben. Hast Du die AMADCommBridge definiert, und ist sie auch aktiv? Sollte es weiterhin Probleme geben, wende Dich bitte an CoolTux alias Leon, im FHEM Forum. - Weiter - false - 60000 - - - true - Meldungsdialog: Wunderbar. Bitte nimm Dir Zeit und lese Dir die Hilfe Dialoge genau durch. Wenn Du Dir unsicher bist, kannst Du die Standardeinstellung, sofern vorhanden, belassen. Lass uns nun mit der Einrichtung beginnen. - - Wunderbar. Bitte nimm Dir Zeit und lese Dir die Hilfe Dialoge genau durch. Wenn Du Dir unsicher bist, kannst Du die Standardeinstellung, sofern vorhanden, belassen. Lass uns nun mit der Einrichtung beginnen. - Weiter - false - 60000 - - - true - Neustart - - - - true - NFC ein-/ausschalten: Aus - false - - - true - NFC ein-/ausschalten: Ein - true - - - false - Notification Lautstärke Speichern - false - global_volume_alarm - false - global_volume_dtmf - false - global_volume_music - true - global_volume_notification - false - global_volume_ring - false - global_volume_system - false - global_volume_voice_call - false - global_ringer_mode - false - global_interruptions_mode - - - false - Notification Lautstärke Wiederherstellen - false - global_volume_alarm - false - global_volume_dtmf - false - param_volume - true - global_volume_notification - false - global_volume_ring - false - global_volume_system - false - global_volume_voice_call - false - global_ringer_mode - false - global_interruptions_mode - - - false - NotificationLautstärke auf Level 7 - NOTIFICATION - ADJUST_SET_ABSOLUTE - 7 - false - false - - - true - Nummer anrufen: {param_callnumber} - - {param_callnumber} - true - - - 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 - - - true - Pause: {param_hanguptime}s (Gerät wach halten) - {param_hanguptime}s - true - false - - - false - Prüfe und setze Bridgeport Variable - - - - false - Prüfe und setze globale Variable - - - - false - Schalte Display ein - false - 5s - true - - - true - Schalte Display ein: Hell für {param_screenontime}s - true - {param_screenontime}s - true - - - true - Script: airpcount = 0 - - - - true - Script: airpcount = airpcount + 1 - - - - true - Script: airplanemode = "\"airplanemode\":" + " \"" + {airplanemode} + "\""; fhemcmd = "setreading"; - - - - true - Script: airplanemode = "airplanemode@@on"; fhemcmd = "setreading"; - - - - true - Script: airplanemode = "off" - - - - true - Script: amadcmd = "firstrun" - - - - true - Script: amaddevice_ip = {value} - - - - true - Script: androidVersion = "\"androidVersion\":" + " \"" + {androidVersion} + "\""; fhemcmd = "setreading"; - - - - true - Script: androidVersion = "not supported funktion" - - - - true - Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - - - - true - Script: bluetooth = "\"bluetooth\":" + " \"" + {bluetooth_state} + "\""; fhemcmd = "setreading"; - - - - true - Script: bluetooth_state = "off" - - - - true - Script: bluetooth_state = "on" - - - - true - Script: btdeviceinfo = "\"connectedBTdevices\":" + " \"" + {connected_devices_names} + "\"" + "," + "\"connectedBTdevicesMAC\":" + " \"" + {connected_devices_addresses} + "\""; fhemcmd = "setreading"; - - - - true - Script: checkActiveTask = "\"checkActiveTask\":" + " \"" + {runTask} + "\""; fhemcmd = "setreading"; - - - - true - Script: connected_devices_names = "none"; connected_devices_addresses = "none" - - - - true - Script: currentMusic = "\"currentMusicTrack\":" + " \"" + {title} + "\"" + "," + "\"currentMusicAlbum\":" + " \"" + {description} + "\"" + "," + "\"currentMusicArtist\":" + " \"" + {subtitle} + "\"" + "," + "\"currentMusicApp\":" + " \"" + {musicapp} + "\"" + "," + "\"currentMusicIcon\":" + " \"" + {icon} + "\"" + "," + "\"currentMusicState\":" + " \"" + {playback_state} + "\""; fhemcmd = "setreading"; - - - - true - Script: daydream = "\"daydream\":" + " \"" + {daydream_state} + "\""; fhemcmd = "setreading"; - - - - true - Script: daydream_state = "off" - - - - true - Script: daydream_state = "on" - - - - true - Script: deviceState = "\"deviceState\": \"online\""; fhemcmd = "setreading"; - - - - true - Script: dndValue = "alarmClockOnly" - - - - true - Script: dndValue = "always" - - - - true - Script: dndValue = "never" - - - - true - Script: dndValue = "onlyImportant" - - - - true - Script: dock_state = "docked" - - - - true - Script: dock_state = "undocked" - - - - true - Script: dockingState = "\"dockingState\":" + " \"" + {dock_state} + "\""; fhemcmd = "setreading"; - - - - true - Script: doNotDisturb = "\"doNotDisturb\":" + " \"" + {dndValue} + "\""; fhemcmd = "setreading"; - - - - true - Script: flow_informations = "\"flow_informations\":" + " \"" + {informationFlow_state} + "\""; fhemcmd = "setreading"; - - - - true - Script: flow_informations = "\"userFlowState\":" + " \"" + {flowState} + "\""; fhemcmd = "setreading"; - - - - true - Script: flow_SetCommands = "\"flow_SetCommands\":" + " \"" + {setCommandFlow_state} + "\""; fhemcmd = "setreading"; - - - - true - Script: flowState = "active" - - - - true - Script: flowState = "inactive" - - - - true - Script: global_activetask = "none"; global_apssid = "none"; global_userflowstate = "none"; - - - - true - Script: global_amadid = getDate(); - - - - true - Script: global_bridgeport = {value} - - - - true - Script: global_fhemdevice = {value} - - - - true - Script: global_fhemip = {value} - - - - true - Script: headsetValue = 0 - - - - true - Script: headsetValue = 1 - - - - true - Script: if (trigger == "NFC TagIDs" ) { nfcLastTagID = "\"nfcLastTagID\":" + " \"" + {nfc_tag_ids} + "\""} if (trigger == "NFC State" ) { nfc = "\"nfc\":" + " \"" + {nfc_state} + "\""} fhemcmd = "setreading"; - - - - true - Script: if(index == 0) { sprachassi = "ja"; } else if(index == 1) { sprachassi = "nein"; } - - - - true - Script: if(package_name == "com.google.android.music") { musicapp = "Google Musik" } else if(package_name == "com.amazon.mp3") { musicapp = "Amazon Musik" } else if(package_name == "com.google.android.videos") { musicapp = "Google Video" } else if(package_name == "com.spotify.music") { musicapp = "Spotify Musik" } else if(package_name == "com.google.android.youtube") { musicapp = "YouTube" } else if(package_name == "com.google.android.apps.youtube.kids") { musicapp = "YouTube Kids" } else if(package_name == "tunein.player") { musicapp = "TuneIn Player" } else if(package_name == "com.rhapsody.alditalk") { musicapp = "Aldi Life Musik" } else if(package_name == "org.videolan.vlc") { musicapp = "VLC Player" } else if(package_name == "com.sec.android.app.music") { musicapp = "Samsung Music Player" } - - - - true - Script: if(playback_state == 0) { playback_state = "keiner" } else if(playback_state == 1) { playback_state = "gestoppt" } else if(playback_state == 2) { playback_state = "pausiert" } else if(playback_state == 3) { playback_state = "spielt ab" } else if(playback_state == 4) { playback_state = "spult vorwärts" } else if(playback_state == 5) { playback_state = "spült rückwärts" } else if(playback_state == 6) { playback_state = "buffert" } else if(playback_state == 7) { playback_state = "Fehler" } else if(playback_state == 8) { playback_state = "verbindet" } else if(playback_state == 9) { playback_state = "springt zum vorherigen" } else if(playback_state == 10) { playback_state = "springt zum nächsten" } else if(playback_state == 11) { playback_state = "springt zu Position in Wiedergabeliste" } - - - - true - Script: if(togocount > 0) { togocount = togocount + 1; } else { togocount = 0; togocount = togocount + 1; } - - - - 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: incomingCaller = "\"incomingCallerName\":" + " \"" + {contact_name} + "\"" + "," + "\"incomingCallerNumber\":" + " \"" + {incoming_number} + "\""; fhemcmd = "setreading"; - - - - true - Script: incommingSmsText = "\"incommingSmsText\":" + " \"" + replaceAll({sms_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - - - - true - Script: incommingTelegramMessage = "\"incommingTelegramMessageFrom\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - - - - true - Script: incommingWhatsAppMessage = "\"incommingWhatsAppMessageFrom\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - - - - true - Script: informationFlow_state = "aktiv" - - - - true - Script: informationFlow_state = "inaktiv" - - - - true - Script: intentRadioState = "\"intentRadioState\":" + " \"" + {irstate} + "\"" + "," + "\"intentRadioName\":" + " \"" + {irname} + "\""; fhemcmd = "setreading"; - - - - true - Script: keyguard = "locked" - - - - true - Script: keyguard = "unlocked" - - - - true - Script: keyguardset = "0" - - - - true - Script: keyguardset = "1" - - - - true - Script: keyguardSet = "\"keyguardSet\":" + " \"" + {keyguardset} + "\""; fhemcmd = "setreading"; - - - - true - Script: keyguardset = "not supported from your device" - - - - true - Script: next_alarmday = "{next_alarm,dateformat,c}" - - - - true - Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}" - - - - true - Script: nextAlarm = "\"nextAlarmTime\":" + " \"" + {next_alarmtime} + "\"" + "," + "\"nextAlarmDay\":" + " \"" + {next_alarmday} + "\""; fhemcmd = "setreading"; - - - - true - Script: nextAlarmState = "\"nextAlarmState\":" + " \"" + {nextalarmstate} + "\""; fhemcmd = "setreading"; - - - - true - Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" - - - - true - Script: notification_text = "Flow '{param_flowname}' has been set {param_flowstate}" - - - - true - Script: notification_text = "Flow install: path for download not exist" - - - - true - Script: notification_text = "Flowset Update: path for download not exist" - - - - true - Script: notification_text = "not supported from your device" - - - - true - Script: powerinfo = "\"powerLevel\":" + " \"" + "{battery_percentage,numberformat,0}" + "\"" + "," + "\"powerPlugged\":" + " \"" + {battery_plugged} + "\"" + "," + "\"batteryTemperature\":" + " \"" + "{battery_temperature/10.0,numberformat.0.0}" + "\"" + "," + "\"batteryHealth\":" + " \"" + {battery_health} + "\""; fhemcmd = "setreading"; - - - - true - Script: readingsvalcmd = "{global_fhemdevice} deviceState kaputt"; fhemcmd = "readingsval"; respfirstrun = "none"; - - - - 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 = "\"screen\":" + " \"" + {screen_state} + "\""; fhemcmd = "setreading"; - - - - 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 = "off" - - - - true - Script: screen_state = "on {keyguard}" - - - - true - Script: screen_state = "on" - - - - true - Script: screenBrightness = "\"screenBrightness\":" + " \"" + {screenBrightness} + "\""; fhemcmd = "setreading"; - - - - true - Script: screenOrientation = "\"screenOrientation\":" + " \"" + {screen_orientation} + "\"" + "," + "\"screenOrientationMode\":" + " \"" + {screen_orientation_mode} + "\""; fhemcmd = "setreading"; - - - - false - Script: Set FHEMCALLSUB JSON - - - - false - Script: Set FHEMDATA JSON - - - - false - Script: Set FHEMDATA JSON First Run Assistant - - - - false - Script: Set FHEMREADINGSVALCMD JSON - - - - false - Script: Set FHEMSETCMD JSON - - - - false - Script: Set FHEMVOICEINPUTDATA JSON - - - - true - Script: setCommandFlow_state = "aktiv" - - - - true - Script: setCommandFlow_state = "inaktiv" - - - - true - Script: subtitle = "no player active"; title = "no player active"; description = "no player active"; musicapp = "no player active"; icon = "no player active" - - - - true - Script: udef_trigger = "setLockPin" - - - - true - Script: voiceinputdata = value; fhemcmd = "voiceinputvalue"; - - - - true - Script: voiceinputdata = {left(value, (indexOf(value, " und ")))}; fhemcmd = "voiceinputvalue"; - - - - true - Script: volume = {volumeBT} - - - - true - Script: volume = {volumeSP} - - - - true - Script: volumeNotification = "\"volumeNotification\":" + " \"" + {volumeNotification} + "\""; fhemcmd = "setreading"; - - - - true - Script: volumeRingSound = "\"volumeRingSound\":" + " \"" + {volumeRingSound} + "\""; fhemcmd = "setreading"; - - - - true - Script: volumevalue = "\"volume\":" + " \"" + {volume} + "\""; fhemcmd = "setreading"; - - - - true - Script: wiredHeadsetPlugged = "\"wiredHeadsetPlugged\":" + " \"" + {headsetValue} + "\""; fhemcmd = "setreading"; - - - - false - Script: Zuordnung Mediaplayer - - - - 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 - - - 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 Informations,SetCommands - true - Informations,SetCommands - - - - true - Setze Flow Status: Aktivieren Send Data to AMADCommBridge - true - Send Data to AMADCommBridge - - - - true - Setze Flow Status: Aktivieren SetCommands - true - SetCommands - - - - true - Setze Flow Status: Aktivieren SetCommands,Update AMAD Flowset,VoiceControl - true - SetCommands,Update AMAD Flowset,VoiceControl - - - - true - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - true - {imported_flow_names,listformat,comma} - - - - true - Setze Flow Status: Aktivieren {param_flowname} - true - {param_flowname} - - - - true - Setze Flow Status: Deaktivieren First Run Assistant - false - First Run Assistant - - - - true - Setze Flow Status: Deaktivieren Informations,SetCommands - false - Informations,SetCommands - - - - true - Setze Flow Status: Deaktivieren {param_flowname} - false - {param_flowname} - - - - 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 - - - true - Setze Unterbrechnungen-Modus: Alle / Immer unterbrechen - NOTIFICATION_LISTENER - OFF - - - true - Setze Unterbrechnungen-Modus: Keine / Nicht unterbrechen - NOTIFICATION_LISTENER - NO_INTERRUPTIONS - - - true - Setze Unterbrechnungen-Modus: Nur Wecker (Android 6+) - NOTIFICATION_LISTENER - ALARMS_ONLY - - - true - Setze Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen - NOTIFICATION_LISTENER - IMPORTANT_INTERRUPTIONS - - - 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 - SMS senden an: an {param_smsnumber} '{param_smsmessage}' (10 in 12h) - - {param_smsnumber} - {param_smsmessage} - true - true - 10 - 43200000 - false - false - true - 600000 - - - true - Sound: {param_notifypath}{param_notifyfile} als Benachrichtigung - FILE - Lautlos - {param_notifypath}{param_notifyfile} - NOTIFICATION - - false - true - true - TRANSIENT - - - true - Sprachausgabe: Alle Informationen wurden nun erfasst und zur Amaad Comm Bridge gesendet. Ich werde gleich einmal prüfen ob die Einrichtung des Devices in Fhem gelungen ist. Gib mir bitte bis zu einer Minute Zeit für die Prüfung. - MUSIC - Alle Informationen wurden nun erfasst und zur Amaad Comm Bridge gesendet. Ich werde gleich einmal prüfen ob die Einrichtung des Devices in Fhem gelungen ist. Gib mir bitte bis zu einer Minute Zeit für die Prüfung. - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - false - Sprachausgabe: Deutsch - MUSIC - {param_message} - de_DE - true - 1.0 - true - {param_msgspeed} - true - false - false - true - TRANSIENT - - - true - Sprachausgabe: Die Einrichtung ist nun abgeschlossen und das Amaad Device online. -Soll der Assistent gelöscht werden? - MUSIC - Die Einrichtung ist nun abgeschlossen und das Amaad Device online. -Soll der Assistent gelöscht werden? - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - true - Sprachausgabe: Die Einrichtung ist nun abgeschlossen und das Amaad Device wurde angelegt. Es scheint aber noch keine Verbindung zwischen Fhem und Deinem Amaad Device zu bestehen. Mache am besten einmal ein Status Request in Fhem für das Amaad Device. Ist der Status in Fhem weiterhin offline schaue bitte ob alle Amaad, Flows aktiv sind. -Soll der Assistent gelöscht werden? - MUSIC - Die Einrichtung ist nun abgeschlossen und das Amaad Device wurde angelegt. Es scheint aber noch keine Verbindung zwischen Fhem und Deinem Amaad Device zu bestehen. Mache am besten einmal ein Status Request in Fhem für das Amaad Device. Ist der Status in Fhem weiterhin offline schaue bitte ob alle Amaad, Flows aktiv sind. -Soll der Assistent gelöscht werden? - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - true - Sprachausgabe: Du möchtest also nicht fortfahren. Das ist schade. Bitte bedenke das dieses Android Gerät somit nicht als Amaad Device in Fhem angelegt ist. Du kannst jeder Zeit den Assistenten Flow neu aktivieren und von vorn beginnen. -Auf Wiedersehen. - MUSIC - Du möchtest also nicht fortfahren. Das ist schade. Bitte bedenke das dieses Android Gerät somit nicht als Amaad Device in Fhem angelegt ist. Du kannst jeder Zeit den Assistenten Flow neu aktivieren und von vorn beginnen. -Auf Wiedersehen. - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - false - Sprachausgabe: Englisch - MUSIC - {param_message} - en_US - true - 1.0 - true - {param_msgspeed} - true - false - false - true - TRANSIENT - - - true - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent bleibt erhalten. Auf Wiedersehen. - MUSIC - In Ordnung. Der Einrichtungs Assistent bleibt erhalten. Auf Wiedersehen. - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - true - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent wird gelöscht. Auf Wiedersehen. - MUSIC - In Ordnung. Der Einrichtungs Assistent wird gelöscht. Auf Wiedersehen. - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - true - Sprachausgabe: Leider scheint es ein Problem beim einrichten des Fhem Devices gegeben zu haben. Hast Du die Amaad Comm Bridge definiert? Und ist sie auch aktiv? Sollte es weiterhin Probleme geben, wende Dich bitte an Cooltux alias Leon, im Fhem Forum. -Soll der Assistent gelöscht werden? - MUSIC - Leider scheint es ein Problem beim einrichten des Fhem Devices gegeben zu haben. Hast Du die Amaad Comm Bridge definiert? Und ist sie auch aktiv? Sollte es weiterhin Probleme geben, wende Dich bitte an Cooltux alias Leon, im Fhem Forum. -Soll der Assistent gelöscht werden? - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - true - Sprachausgabe: Oh das tut mir leid, da scheine ich Dich nicht verstanden zu haben. Bitte versuche es mit etwas Ruhe im Hintergrund noch einmal. - MUSIC - Oh das tut mir leid, da scheine ich Dich nicht verstanden zu haben. Bitte versuche es mit etwas Ruhe im Hintergrund noch einmal. - de_DE - true - 1.0 - true - 1.0 - false - true - false - true - TRANSIENT - - - true - Sprachausgabe: Wunderbar. Bitte nimm Dir Zeit und lese Dir die Hilfe Dialoge genau durch. Wenn Du Dir unsicher bist, kannst Du die Standardeinstellung, sofern vorhanden, belassen. Lass uns nun mit der Einrichtung beginnen. - MUSIC - Wunderbar. Bitte nimm Dir Zeit und lese Dir die Hilfe Dialoge genau durch. Wenn Du Dir unsicher bist, kannst Du die Standardeinstellung, sofern vorhanden, belassen. Lass uns nun mit der Einrichtung beginnen. - de_DE - true - 1.0 - true - 1.0 - false - true - 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 - - - true - Starte Daydream - - - true - URL in Browser öffnen: {param_url} (mit {param_browserapp}/{param_browserappclass}) - {param_url} - true - {param_browserapp} - {param_browserappclass} - - - - true - Verzeichnisse erstellen: /sdcard/AMADNG_FlowsetUpdate - /sdcard/AMADNG_FlowsetUpdate - - - true - Verzeichnisse erstellen: /storage/emulated/0/AMADNG_FlowsetUpdate - /storage/emulated/0/AMADNG_FlowsetUpdate - - - true - Verzeichnisse erstellen: /storage/sdcard0/AMADNG_FlowsetUpdate - /storage/sdcard0/AMADNG_FlowsetUpdate - - - true - Vibrieren: Pattern 2 (-- --) - false - vibrate_pattern_2 - 0,500 - - - true - WLAN Reassoziieren - - - true - Zeige Home Screen - false - 1 - - - First Run Assistant - AMADNG Info/Control Flowset v4.0.13 - false - PARALLEL - - App Task Beendet: ch.gridvision.ppam.androidautomagic - - AMAD Voice Control - AMAD Voice Control - AMAD Voice Control - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent bleibt erhalten. Auf Wiedersehen. - Abfrage - Script: amadcmd = "firstrun" - Script: amaddevice_ip = {value} - Eingabedialog: Android Device IP Adresse Einzeiliger Text Bitte gebe die IP Adresse Deines Androidgerätes an. NUR IP kein FQDN!!! - Script: global_fhemip = {value} - Eingabedialog: FHEM Server IP Einzeiliger Text Bitte gebe die IP Adresse oder den FQDN Deines FHEM Servers an. - Script: global_fhemdevice = {value} - Eingabedialog: FHEM Devicename Einzeiliger Text Wie soll das Device in FHEM heißen? - Script: global_bridgeport = {value} - Eingabedialog: AMADCommBridge Port Einzeiliger Text Bitte gebe den Port der AMADCommBridge vom FHEM Server an. - Sprachausgabe: Du möchtest also nicht fortfahren. Das ist schade. Bitte bedenke das dieses Android Gerät somit nicht als Amaad Device in Fhem angelegt ist. Du kannst jeder Zeit den Assistenten Flow neu aktivieren und von vorn beginnen. -Auf Wiedersehen. - AMAD Voice Control - Lautstärke einstellen: Medien auf Level 8 - Medianlautstärken Speichern - Setze Flow Status: Aktivieren Informations - Setze Flow Status: Aktivieren SetCommands,Update AMAD Flowset,VoiceControl - Pause: 2s (Gerät wach halten) - Script: readingsvalcmd = "{global_fhemdevice} deviceState kaputt"; fhemcmd = "readingsval"; respfirstrun = "none"; - Expression: value != "" - Sprachausgabe: Oh das tut mir leid, da scheine ich Dich nicht verstanden zu haben. Bitte versuche es mit etwas Ruhe im Hintergrund noch einmal. - Expression: value == "nein" - Expression: value == "ja" - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent wird gelöscht. Auf Wiedersehen. - Sprachausgabe: Oh das tut mir leid, da scheine ich Dich nicht verstanden zu haben. Bitte versuche es mit etwas Ruhe im Hintergrund noch einmal. - Expression: value != "" - Expression: value == "nein" - Expression: value != "" - Sprachausgabe: Oh das tut mir leid, da scheine ich Dich nicht verstanden zu haben. Bitte versuche es mit etwas Ruhe im Hintergrund noch einmal. - Expression: value == "nein" - Expression: value == "ja" - Flows löschen: First Run Assistant - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent wird gelöscht. Auf Wiedersehen. - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent bleibt erhalten. Auf Wiedersehen. - Expression: value != "" - Sprachausgabe: Oh das tut mir leid, da scheine ich Dich nicht verstanden zu haben. Bitte versuche es mit etwas Ruhe im Hintergrund noch einmal. - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent wird gelöscht. Auf Wiedersehen. - Sprachausgabe: In Ordnung. Der Einrichtungs Assistent bleibt erhalten. Auf Wiedersehen. - Expression: value == "ja" - Expression: value == "nein" - Sprachausgabe: Wunderbar. Bitte nimm Dir Zeit und lese Dir die Hilfe Dialoge genau durch. Wenn Du Dir unsicher bist, kannst Du die Standardeinstellung, sofern vorhanden, belassen. Lass uns nun mit der Einrichtung beginnen. - Flows ausführen: Send Data to AMADCommBridge - Sprachausgabe: Alle Informationen wurden nun erfasst und zur Amaad Comm Bridge gesendet. Ich werde gleich einmal prüfen ob die Einrichtung des Devices in Fhem gelungen ist. Gib mir bitte bis zu einer Minute Zeit für die Prüfung. - Expression: sprachassi == "ja" - Meldungsdialog: Alle Informationen wurden nun erfasst und zur Amaad Comm Bridge gesendet. Ich werde gleich einmal prüfen ob die Einrichtung des Devices in Fhem gelungen ist. Gib mir bitte bis zu einer Minute Zeit für die Prüfung. - Expression: respreadingsval != "kaputt" and respreadingsval != "none" - Expression: sprachassi == "ja" - Sprachausgabe: Leider scheint es ein Problem beim einrichten des Fhem Devices gegeben zu haben. Hast Du die Amaad Comm Bridge definiert? Und ist sie auch aktiv? Sollte es weiterhin Probleme geben, wende Dich bitte an Cooltux alias Leon, im Fhem Forum. -Soll der Assistent gelöscht werden? - Meldungsdialog: Leider scheint es ein Problem beim Einrichten des FHEM Devices gegeben zu haben. Hast Du die AMADCommBridge definiert, und ist sie auch aktiv? Sollte es weiterhin Probleme geben, wende Dich bitte an CoolTux alias Leon, im FHEM Forum. - Expression: sprachassi == "ja" - Sprachausgabe: Die Einrichtung ist nun abgeschlossen und das Amaad Device wurde angelegt. Es scheint aber noch keine Verbindung zwischen Fhem und Deinem Amaad Device zu bestehen. Mache am besten einmal ein Status Request in Fhem für das Amaad Device. Ist der Status in Fhem weiterhin offline schaue bitte ob alle Amaad, Flows aktiv sind. -Soll der Assistent gelöscht werden? - Meldungsdialog: Die Einrichtung ist nun abgeschlossen und das Amaad Device wurde angelegt. Es scheint aber noch keine Verbindung zwischen Fhem und Deinem Amaad Device zu bestehen. Mache am besten einmal ein Status Request in Fhem für das Amaad Device. Ist der Status in Fhem weiterhin offline schaue bitte ob alle Am - Expression: respreadingsval == "online" - Expression: sprachassi == "ja" - Sprachausgabe: Die Einrichtung ist nun abgeschlossen und das Amaad Device online. -Soll der Assistent gelöscht werden? - AMAD First Run Assistent Begrüßung - Expression: value == "ja" - Eingabedialog: Wünschst Du einen sprachgestützten oder dialoggestützten Installationsassistanten? Einfachauswahl Menü Sprache,Dialog (15s) - Expression: sprachassi == "ja" - Expression: sprachassi == "nein" - Script: if(index == 0) { sprachassi = "ja"; } else if(index == 1) { sprachassi = "nein"; } - Script: global_activetask = "none"; global_apssid = "none"; global_userflowstate = "none"; - Script: global_amadid = getDate(); - Setze Flow Status: Aktivieren Send Data to AMADCommBridge - Setze Flow Status: Deaktivieren First Run Assistant - Meldungsdialog: Wunderbar. Bitte nimm Dir Zeit und lese Dir die Hilfe Dialoge genau durch. Wenn Du Dir unsicher bist, kannst Du die Standardeinstellung, sofern vorhanden, belassen. Lass uns nun mit der Einrichtung beginnen. - Flows löschen: First Run Assistant - Flows löschen: First Run Assistant - Meldungsdialog: Die Einrichtung ist nun abgeschlossen und das AMAD Device online. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Informations - AMADNG Info/Control Flowset v4.0.13 - true - QUEUE - 900 - - Genereller Broadcast: wenn com.android.deskclock.ALARM_DONE - Kabelgebundenes Headset Verbunden - Genereller Broadcast: wenn org.smblott.intentradio.STATE - Systemeinstellung verändert: System volume_music_headphone - Medien Session verändert - Kabelgebundenes Headset Getrennt - Systemeinstellung verändert: System volume_music_headset - Stromversorgung: Angeschlossen - Bluetooth Status: Schaltet ein, Ein - Display Status: Aus - Display Orientierung: Portrait - Genereller Broadcast: wenn com.android.deskclock.ALARM_SNOOZE - Genereller Broadcast: wenn com.android.deskclock.ALARM_DISMISS - Bluetooth Status: Schaltet aus, Aus - Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen - Benachrichtigung in Statusbar angezeigt: com.whatsapp - Daydream Status: Gestoppt - Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic - Eingehender Anruf. Status: Klingelt, Nummern: Alle - Display Status: Ein - Systemeinstellung verändert: System volume_music_speaker - Systemeinstellung verändert: System screen_brightness - Daydream Status: Gestartet - Bluetooth Gerät verbunden: Alle Geräte - Bluetooth Gerät getrennt: Alle Geräte - Periodischer Timer: alle 120s - Dock Event: Docked - Systemeinstellung verändert: System volume_music_bt_a2dp - Akku Ladestand: grösser als 0% - App Task Beendet - Unterbrechnungen-Modus: Alle / Immer unterbrechen - HTTP Request: /fhem-amad/deviceInfo/ - Genereller Broadcast: wenn com.android.deskclock.ALARM_ALERT - Benachrichtigung in Statusbar angezeigt: org.telegram.messenger - Stromversorgung: Entfernt - Systemeinstellung verändert: System next_alarm - Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic - App Task Gestartet - Unterbrechnungen-Modus: Keine / Nicht unterbrechen - Dock Event: Undocked - Display Orientierung: Landscape - Unterbrechnungen-Modus: Nur Wecker (Android 6+) - Systemeinstellung verändert: System volume_ring - Flugmodus: Aus - Systemeinstellung verändert: System volume_ring_speaker - SMS Empfangen: Alle - - Script: daydream_state = "on" - Script: daydream_state = "off" - Display Orientierung: Portrait - Script: screen_orientation = "portrait" - Script: screen_orientation = "landscape" - Script: dock_state = "docked" - Script: dock_state = "undocked" - Script: screen_orientation_mode = "manual" - Expression: scrcount < 5 - Script: scrcount = scrcount + 1 - Pause: 2s (Gerät wach halten) - Dock Status: Docked - Display automatisch drehen eingeschaltet - Expression: trigger == "Daydream Status: Gestartet" - Bluetooth eingeschaltet - Keyguard gesperrt - Expression: keyguard == "locked" - Expression: getAndroidSDKVersion() >= "16" - Display eingeschaltet - Display eingeschaltet - Expression: getAndroidSDKVersion() >= "16" - Unterbrechnungen-Modus: Nur Wecker (Android 6+) - Unterbrechnungen-Modus: Keine / Nicht unterbrechen - Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen - Unterbrechnungen-Modus: Alle / Immer unterbrechen - Script: dndValue = "always" - Script: dndValue = "onlyImportant" - Script: dndValue = "never" - Script: dndValue = "alarmClockOnly" - Script: screen_state = "off" - Script: screen_state = "on {keyguard}" - Script: screen_state = "off {keyguard}" - Script: airplanemode = "off" - Script: bluetooth_state = "on" - Script: androidVersion = "not supported funktion" - App Task läuft: {global_activetask} (neuster) - Script: runTask = "1" - Script: runTask = "0" - Expression: getAndroidSDKVersion() >= "19" - Script: runTask = "not supported android version" - Script: runTask = "null" - Expression: global_activetask != null - Expression: trigger == "Display Status: Aus" or trigger == "Display Status: Ein" or udef_trigger == "setLockPin" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Expression: trigger == "Daydream Status: Gestartet" or trigger == "Daydream Status: Gestoppt" - Expression: trigger == "Display Orientierung: Landscape" or trigger == "Display Orientierung: Portrait" or trigger == "Display Status: Ein" or trigger == "Display Status: Aus" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Expression: trigger == "Akku Ladestand: grösser als 0%" - Stromversorgung: Angeschlossen - Script: screen_orientation_mode = "auto" - Script: bluetooth_state = "off" - Keyguard mit Sicherheit - Expression: trigger == "Eingehender Anruf. Status: Klingelt, Nummern: Alle" - Expression: trigger == "Flugmodus: Aus" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Expression: trigger == "Systemeinstellung verändert: System screen_brightness" - Bluetooth Gerät verbunden: Beliebiges Geräte (Advanced Audio Distribution) - Script: volume = {volumeBT} - Pause: 2s (Gerät wach halten) - Musik Aktiv - Benachrichtigung auf Bildschirm: [AMAD2] Nicht mehr benötigte AMAD Flows wurden entfernt! (lange) - 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" or trigger == "Systemeinstellung verändert: System volume_music_headset" - Initialisiere Variable Systemeinstellung: volumeMusikBluetooth.2 - Script: volume = {volumeSP} - Initialisiere Variable Systemeinstellung: volumeMusikSpeaker.2 - Expression: trigger == "Unterbrechnungen-Modus: Alle / Immer unterbrechen" or trigger == "Unterbrechnungen-Modus: Keine / Nicht unterbrechen" or trigger == "Unterbrechnungen-Modus: Nur Wecker (Android 6+)" or trigger == "Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Expression: getAndroidSDKVersion() >= "21" - Script: airpcount = 0 - Host erreichbar: {global_fhemip}:{global_bridgeport} - WLAN Reassoziieren - Expression: global_fhemip != null or global_bridgeport != null - Expression: getAndroidSDKVersion() >= "19" - Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" - Script: notification_text = "not supported from your device" - Expression: trigger == "Benachrichtigung in Statusbar angezeigt: com.whatsapp" - Benachrichtigung in Statusbar angezeigt: WhatsApp - Initialisiere Variable Systemeinstellung: screenBrightness - Initialisiere Variable Systemeinstellung: volumeNotification - Expression: trigger == "Medien Session verändert" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - WLAN verfügbar: {global_apssid} - Script: intentRadioState = "\"intentRadioState\":" + " \"" + {irstate} + "\"" + "," + "\"intentRadioName\":" + " \"" + {irname} + "\""; fhemcmd = "setreading"; - Script: dockingState = "\"dockingState\":" + " \"" + {dock_state} + "\""; fhemcmd = "setreading"; - Script: screenOrientation = "\"screenOrientation\":" + " \"" + {screen_orientation} + "\"" + "," + "\"screenOrientationMode\":" + " \"" + {screen_orientation_mode} + "\""; fhemcmd = "setreading"; - Script: screenBrightness = "\"screenBrightness\":" + " \"" + {screenBrightness} + "\""; fhemcmd = "setreading"; - Script: volumeNotification = "\"volumeNotification\":" + " \"" + {volumeNotification} + "\""; fhemcmd = "setreading"; - Script: airplanemode = "\"airplanemode\":" + " \"" + {airplanemode} + "\""; fhemcmd = "setreading"; - Script: checkActiveTask = "\"checkActiveTask\":" + " \"" + {runTask} + "\""; fhemcmd = "setreading"; - Expression: Leon == "Gaultier" - Flows löschen: MultimediaControl - Expression: trigger == "Benachrichtigung in Statusbar angezeigt: ch.gridvision.ppam.androidautomagic" or trigger == "Benachrichtigung in Statusbar entfernt: ch.gridvision.ppam.androidautomagic" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Expression: getAndroidSDKVersion() >= "19" - Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" - Benachrichtigung in Statusbar angezeigt: Automagic - Script: deviceState = "\"deviceState\": \"online\""; fhemcmd = "setreading"; - Expression: trigger == "Dock Event: Docked" or trigger == "Dock Event: Undocked" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Flows ausführen: Send Data to AMADCommBridge - Prüfe und setze globale Variable - Script: bluetooth = "\"bluetooth\":" + " \"" + {bluetooth_state} + "\""; fhemcmd = "setreading"; - Script: connected_devices_names = "none"; connected_devices_addresses = "none" - Script: btdeviceinfo = "\"connectedBTdevices\":" + " \"" + {connected_devices_names} + "\"" + "," + "\"connectedBTdevicesMAC\":" + " \"" + {connected_devices_addresses} + "\""; fhemcmd = "setreading"; - Bluetooth Gerät verbunden: Beliebiges Geräte - Expression: trigger == "Bluetooth Status: Schaltet aus, Aus" or trigger == "Bluetooth Gerät verbunden: Alle Geräte" or trigger == "Bluetooth Gerät getrennt: Alle Geräte" or trigger == "Bluetooth Status: Schaltet ein, Ein" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Script: flow_SetCommands = "\"flow_SetCommands\":" + " \"" + {setCommandFlow_state} + "\""; fhemcmd = "setreading"; - Setze Flow Status: Aktivieren SetCommands - Script: setCommandFlow_state = "aktiv" - Script: setCommandFlow_state = "inaktiv" - Flow Aktiv: SetCommands - Expression: trigger == "Periodischer Timer: alle 120s" - Expression: global_userflowstate != "none" - Flow Aktiv: {global_userflowstate} - Script: flowState = "inactive" - Script: flowState = "active" - Script: flow_informations = "\"userFlowState\":" + " \"" + {flowState} + "\""; fhemcmd = "setreading"; - Expression: trigger == "Periodischer Timer: alle 120s" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Flow Aktiv: Send Data to AMADCommBridge - Setze Flow Status: Aktivieren Send Data to AMADCommBridge - Expression: trigger == "Periodischer Timer: alle 120s" - Script: incomingCaller = "\"incomingCallerName\":" + " \"" + {contact_name} + "\"" + "," + "\"incomingCallerNumber\":" + " \"" + {incoming_number} + "\""; fhemcmd = "setreading"; - Script: incommingWhatsAppMessage = "\"incommingWhatsAppMessageFrom\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Pause: 2s (Gerät wach halten) - Script: airpcount = airpcount + 1 - Expression: airpcount < 11 - Script: notification_text = "not supported from your device" - Script: currentMusic = "\"currentMusicTrack\":" + " \"" + {title} + "\"" + "," + "\"currentMusicAlbum\":" + " \"" + {description} + "\"" + "," + "\"currentMusicArtist\":" + " \"" + {subtitle} + "\"" + "," + "\"currentMusicApp\":" + " \"" + {musicapp} + "\"" + "," + "\"currentMusicIcon\":" + " \"" + {icon} + "\"" + "," + "\"currentMusicState\":" + " \"" + {playback_state} + "\""; fhemcmd = "setreading"; - Script: volumevalue = "\"volume\":" + " \"" + {volume} + "\""; fhemcmd = "setreading"; - Script: nextAlarm = "\"nextAlarmTime\":" + " \"" + {next_alarmtime} + "\"" + "," + "\"nextAlarmDay\":" + " \"" + {next_alarmday} + "\""; fhemcmd = "setreading"; - Expression: trigger == "Systemeinstellung verändert: System volume_ring_speaker" - Expression: package_name == {global_activetask} - Expression: trigger == "Periodischer Timer: alle 120s" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Expression: trigger == "App Task Beendet" or trigger == "App Task Gestartet" - Expression: trigger == "App Task Gestartet" or trigger == "Periodischer Timer: alle 120s" - 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" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - 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" } - Expression: trigger == "Systemeinstellung verändert: System next_alarm" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Initialisiere Variable Nächster Alarm: next_alarm - Script: next_alarmtime = "{next_alarm,dateformat,HH:mm}" - Script: next_alarmday = "{next_alarm,dateformat,c}" - Script: volumeRingSound = "\"volumeRingSound\":" + " \"" + {volumeRingSound} + "\""; fhemcmd = "setreading"; - Script: wiredHeadsetPlugged = "\"wiredHeadsetPlugged\":" + " \"" + {headsetValue} + "\""; fhemcmd = "setreading"; - Expression: trigger == "Kabelgebundenes Headset Verbunden" or trigger == "Kabelgebundenes Headset Getrennt" - Expression: trigger == "Systemeinstellung verändert: System volume_ring" - Expression: trigger == "Genereller Broadcast: wenn org.smblott.intentradio.STATE" - Expression: trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Kabelgebundenes Headset verbunden - Script: headsetValue = 1 - Script: headsetValue = 0 - Initialisiere Variable Systemeinstellung: volumeRingSound - Script: subtitle = "no player active"; title = "no player active"; description = "no player active"; musicapp = "no player active"; icon = "no player active" - Script: if(playback_state == 0) { playback_state = "keiner" } else if(playback_state == 1) { playback_state = "gestoppt" } else if(playback_state == 2) { playback_state = "pausiert" } else if(playback_state == 3) { playback_state = "spielt ab" } else if(playback_state == 4) { playback_state = "spult vorwärts" } else if(playback_state == 5) { playback_state = "spült rückwärts" } else if(playback_state == 6) { playback_state = "buffert" } else if(playback_state == 7) { playback_state = "Fehler" } else if(playback_state == 8) { playback_state = "verbindet" } else if(playback_state == 9) { playback_state = "springt zum vorherigen" } else if(playback_state == 10) { playback_state = "springt zum nächsten" } else if(playback_state == 11) { playback_state = "springt zu Position in Wiedergabeliste" } - Script: if(package_name == "com.google.android.music") { musicapp = "Google Musik" } else if(package_name == "com.amazon.mp3") { musicapp = "Amazon Musik" } else if(package_name == "com.google.android.videos") { musicapp = "Google Video" } else if(package_name == "com.spotify.music") { musicapp = "Spotify Musik" } else if(package_name == "com.google.android.youtube") { musicapp = "YouTube" } else if(package_name == "com.google.android.apps.youtube.kids") { musicapp = "YouTube Kids" } else if(package_name == "tunein.player") { musicapp = "TuneIn Player" } else if(package_name == "com.rhapsody.alditalk") { musicapp = "Aldi Life Musik" } else if(package_name == "org.videolan.vlc") { musicapp = "VLC Player" } else if(package_name == "com.sec.android.app.music") { musicapp = "Samsung Music Player" } - Script: incommingTelegramMessage = "\"incommingTelegramMessageFrom\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Script: notification_text = "Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff" - Benachrichtigung in Statusbar angezeigt: Telegram Messenger - Script: notification_text = "not supported from your device" - Expression: getAndroidSDKVersion() >= "19" - Expression: trigger == "Benachrichtigung in Statusbar angezeigt: org.telegram.messenger" - Host erreichbar: {global_fhemip}:{global_bridgeport} - Expression: trigger == "SMS Empfangen: Alle" - Script: incommingSmsText = "\"incommingSmsText\":" + " \"" + replaceAll({sms_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Script: nextAlarmState = "\"nextAlarmState\":" + " \"" + {nextalarmstate} + "\""; fhemcmd = "setreading"; - Script: doNotDisturb = "\"doNotDisturb\":" + " \"" + {dndValue} + "\""; fhemcmd = "setreading"; - Script: screen_state = "on" - Script: keyguard = "locked" - Script: keyguard = "unlocked" - Script: scrcount = 0 - Script: screen = "\"screen\":" + " \"" + {screen_state} + "\""; fhemcmd = "setreading"; - Script: keyguardset = "1" - Script: keyguardset = "0" - Expression: udef_trigger == "setLockPin" or trigger == "HTTP Request: /fhem-amad/deviceInfo/" - Script: keyguardset = "not supported from your device" - Script: keyguardSet = "\"keyguardSet\":" + " \"" + {keyguardset} + "\""; fhemcmd = "setreading"; - Script: androidVersion = "\"androidVersion\":" + " \"" + {androidVersion} + "\""; fhemcmd = "setreading"; - Get Android Version - Script: powerinfo = "\"powerLevel\":" + " \"" + "{battery_percentage,numberformat,0}" + "\"" + "," + "\"powerPlugged\":" + " \"" + {battery_plugged} + "\"" + "," + "\"batteryTemperature\":" + " \"" + "{battery_temperature/10.0,numberformat.0.0}" + "\"" + "," + "\"batteryHealth\":" + " \"" + {battery_health} + "\""; fhemcmd = "setreading"; - Script: daydream = "\"daydream\":" + " \"" + {daydream_state} + "\""; fhemcmd = "setreading"; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NFC Tag Support - AMADNG Info/Control Flowset v4.0.13 - true - PARALLEL - - NFC State - NFC TagIDs - - Flows ausführen: Send Data to AMADCommBridge - Script: if (trigger == "NFC TagIDs" ) { nfcLastTagID = "\"nfcLastTagID\":" + " \"" + {nfc_tag_ids} + "\""} if (trigger == "NFC State" ) { nfc = "\"nfc\":" + " \"" + {nfc_state} + "\""} fhemcmd = "setreading"; - - - - - Send Data to AMADCommBridge - AMADNG Info/Control Flowset v4.0.13 - true - PARALLEL - 900 - - WLAN Getrennt: toGo - WLAN Verbunden: toGo - - Expression: fhemcmd == "set" - Expression: fhemcmd == "voiceinputvalue" - Script: Set FHEMSETCMD JSON - Script: Set FHEMVOICEINPUTDATA JSON - In Datei Schreiben: Deaktiviere Flows in /storage/emulated/0/file.txt (anhängen) - Setze Flow Status: Deaktivieren Informations,SetCommands - Flow Aktiv: Informations - Flow Aktiv: SetCommands - Expression: trigger == "WLAN Getrennt: toGo" - Expression: togocount < 6 - Pause: 1s (Gerät wach halten) - Setze Flow Status: Aktivieren Informations,SetCommands - Flow Aktiv: Informations - Flow Aktiv: SetCommands - Expression: trigger == "WLAN Verbunden: toGo" - In Datei Schreiben: Aktiviere Flows in /storage/emulated/0/file.txt (anhängen) - Script: if(togocount > 0) { togocount = togocount + 1; } else { togocount = 0; togocount = togocount + 1; } - Expression: amadcmd == "firstrun" - Expression: fhemcmd == "readingsval" - Script: Set FHEMREADINGSVALCMD JSON - Host erreichbar: {global_fhemip}:{global_bridgeport} - Expression: fhemcmd == "fhemfunc" - Script: Set FHEMCALLSUB JSON - HTTP Request: send FHEMFUNC data to AMADCommBridge JSON - HTTP Request: send FIRSTRUN data to AMADCommBridge JSON - HTTP Request: send READINGS data to AMADCommBridge JSON - HTTP Request: send SET data to AMADCommBridge JSON - HTTP Request: send READINGSVAL data to AMADCommBridge JSON - HTTP Request: send VOICEINPUTVALUE data to AMADCommBridge - Expression: fhemcmd == "setreading" - Script: Set FHEMDATA JSON First Run Assistant - Script: Set FHEMDATA JSON - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SetCommands - AMADNG Info/Control Flowset v4.0.13 - true - QUEUE - 900 - - HTTP Request: /fhem-amad/deviceInfo/ - Sprachbefehl angefordert - HTTP Request: /fhem-amad/setCommands/* - Periodischer Timer: alle 120s - - 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 - Setze Display Orientierung: Auf Default zurücksetzen - Display automatisch drehen ein-/ausschalten: Aus - Display automatisch drehen ein-/ausschalten: Ein - Expression: setScreenOrientation" - Expression: param_fullscreen == "off" - Expression: param_bluetooth == "off" - Expression: param_bluetooth == "on" - Bluetooth ein-/ausschalten: Ein - 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) - Expression: setBTDevice" - Bluetooth ein-/ausschalten: Aus - Expression: param_orientation == "portrait" - Expression: setVoiceCommand" - Setze Display Helligkeit: {param_brightness} - Expression: setScreenlock" - Expression: sendIntent" - Setze Lock PIN/Passwort: Setze PIN von Variable param_lockpin - Expression: trigger == "Sprachbefehl angefordert" - Expression: setAlarm" - Expression: screenMsg" - Benachrichtigung auf Bildschirm: {param_message} (lange) - Script: udef_trigger = "setLockPin" - Display eingeschaltet - Gerät sperren - Schalte Display ein - Gerät sperren - Expression: setTimer" - Expression: param_option - Pause: {param_hanguptime}s (Gerät wach halten) - Anruf beenden - Broadcast senden: {param_action} - URL in Browser öffnen: {param_url} (mit {param_browserapp}/{param_browserappclass}) - Setze Unterbrechnungen-Modus: Alle / Immer unterbrechen - Setze Unterbrechnungen-Modus: Wichtig / Nur wichtige Unterbrechnungen zulassen - Setze Unterbrechnungen-Modus: Keine / Nicht unterbrechen - Setze Unterbrechnungen-Modus: Nur Wecker (Android 6+) - Expression: openURL" - Expression: param_fullscreen == "on" - Expression: do not Disturb" - Expression: param_disturbmod == "always" - Expression: param_disturbmod == "onlyImportant" - Expression: param_disturbmod == "never" - Expression: param_disturbmod == "alarmClockOnly" - Expression: setBluetooth" - Expression: param_screen=="on" - Expression: setScreenOnOff" - Gerät sperren - Expression: param_screen=="off" - Expression: openApp" - App Task läuft: App (neuster) - Expression: setVolume" - App Starten: App - Dateien löschen: /storage/emulated/0/Download/installFlow_{param_flowname} - Dateien löschen: /storage/sdcard0/Download/installFlow_{param_flowname} - Dateien löschen: /storage/sdcard0/Download/installFlow_{param_flowname} - Script: notification_text = "Flow install: path for download not exist" - Flows/Widgets importieren: /storage/sdcard0/Download/installFlow_{param_flowname} - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - Download URL: http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} to /storage/sdcard0/Download - Download URL: http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} to /storage/sdcard0/Download - Flows/Widgets importieren: /storage/emulated/0/Download/installFlow_{param_flowname} - Flows/Widgets importieren: /storage/sdcard0/Download/installFlow_{param_flowname} - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/storage/sdcard0) - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/sdcard) - Expression: installFlow" - Neustart - Expression: Reboot - Expression: System Command" - Expression: Shutdown - Script: airplanemode = "airplanemode@@on"; fhemcmd = "setreading"; - Flows ausführen: Send Data to AMADCommBridge mit warten - Flugmodus ein-/ausschalten: Ein - Herunterfahren - Notification Lautstärke Wiederherstellen - Expression: param_notifyfile == "RedAlert.mp3" - Benachrichtigung aus Statusbar entfernen: Alle - Benachrichtigung aus Statusbar entfernen: Alle (Automagic) - Expression: Automagic - Expression: All - Expression: notifysnd" - NotificationLautstärke auf Level 7 - Notification Lautstärke Speichern - Expression: param_notifyfile == "RedAlert.mp3" - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - Expression: Clear Automagic Meldungen" - Expression: setVibrate" - Audio Player steuern: Medienknopf Zurück ({pname}/{kname}) - Expression: param_button == "next" - Expression: param_button == "back" - Schalte Display ein: Hell für {param_screenontime}s - Expression: global_fhemip != null or global_bridgeport != null - Setze Alarm: um {param_hour}:{param_minute} - Audio Player steuern: Medienknopf Weiter ({pname}/{kname}) - Expression: openCall" - Nummer anrufen: {param_callnumber} - Expression: param_flowstate == "active" or param_flowstate == "inactive" - Expression: param_flowstate == "active" - Setze Flow Status: Deaktivieren {param_flowname} - Script: notification_text = "Flow '{param_flowname}' has been set {param_flowstate}" - Expression: multimediaControl" - Starte Daydream - Expression: startDaydream" - Lautstärken setzen param_volume - Expression: setNotifiVolume" - Lautstärken setzen param_notifivolume - Expression: param_button == "play/pause" - Audio Player steuern: Medienknopf Play/Pause (/{kname}) - Sound: {param_notifypath}{param_notifyfile} als Benachrichtigung - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/storage/emulated/0) - Download URL: http://{global_fhemip}:{global_bridgeport}/installFlow_{param_flowname} to /storage/emulated/0/Download - Script: flow_informations = "\"flow_informations\":" + " \"" + {informationFlow_state} + "\""; fhemcmd = "setreading"; - Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Flows ausführen: Send Data to AMADCommBridge - Flows ausführen: udef_trigger setLockPin - Flow Aktiv: Informations - Script: informationFlow_state = "aktiv" - Script: informationFlow_state = "inaktiv" - Setze Flow Status: Aktivieren Informations - Host erreichbar: {global_fhemip}:{global_bridgeport} - Flow Aktiv: Send Data to AMADCommBridge - Setze Flow Status: Aktivieren Send Data to AMADCommBridge - Audio Player steuern: Medienknopf Stopp ({pname}/{kname}) - SMS senden an: an {param_smsnumber} '{param_smsmessage}' (10 in 12h) - Expression: param_lockmod == "lock" - Expression: Airplanemode - Expression: param_nfc == "on" - Expression: param_nfc == "off" - NFC ein-/ausschalten: Aus - Expression: sendSms" - Expression: closeCall" - Expression: nfc" - NFC ein-/ausschalten: Ein - Expression: setRingSoundVolume" - Lautstärken setzen param_ringsoundvolume - Setze Timer - Expression: ttsMsg" - Expression: ttsMsgLang" - Medianlautstärken Speichern - Lautstärke einstellen: Medien auf Level {param_msgvol} - Script: Zuordnung Mediaplayer - Expression: param_msgvol == "none" - Sprachausgabe: Englisch - Sprachausgabe: Deutsch - Expression: param_msgvol == "none" - Medienlautstärke Wiederherstellen - Expression: flowState" - Setze Flow Status: Aktivieren {param_flowname} - Flows ausführen: VoiceControl - Expression: flowRun" - Flows ausführen: {param_flowname} - Setze Lock PIN/Passwort: PIN/Passwort zurücksetzen - Expression: showhomescreen" - Zeige Home Screen - Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*" - Vibrieren: Pattern 2 (-- --) - Expression: takepicture - Expression: param_button == "stop" - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600 - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1024x768 - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720 - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200 - Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080 - Expression: param_pictureresolution == "800x600" - Expression: param_pictureresolution == "1024x768" - Expression: param_pictureresolution == "1280x720" - Expression: param_pictureresolution == "1600x1200" - Expression: param_pictureresolution == "1920x1080" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Update AMAD Flowset - AMADNG Info/Control Flowset v4.0.13 - true - QUEUE - - HTTP Request: /fhem-amad/currentFlowsetUpdate - - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - Script: notification_text = "Flowset Update: path for download not exist" - Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading"; - Flows ausführen: Send Data to AMADCommBridge - Flow Aktiv: First Run Assistant - Setze Flow Status: Deaktivieren First Run Assistant - Prüfe und setze Bridgeport Variable - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/storage/emulated/0) - Verzeichnisse erstellen: /storage/sdcard0/AMADNG_FlowsetUpdate - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/storage/sdcard0) - Verzeichnisse erstellen: /sdcard/AMADNG_FlowsetUpdate - Gerätespeicherplatz: Freier Speicherplatz > 1kb (/sdcard) - Verzeichnisse erstellen: /storage/emulated/0/AMADNG_FlowsetUpdate - Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/emulated/0/AMADNG_FlowsetUpdate - Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/sdcard0/AMADNG_FlowsetUpdate - Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /sdcard/AMADNG_FlowsetUpdate - Flows/Widgets importieren: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - Flows/Widgets importieren: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - Flows/Widgets importieren: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma} - Dateien löschen: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - Dateien löschen: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - Dateien löschen: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VoiceControl - AMADNG Info/Control Flowset v4.0.13 - true - QUEUE - - AMAD Voice Control - Expression: value != "" - Expression: contains(value, " und ") - Script: voiceinputdata = {left(value, (indexOf(value, " und ")))}; fhemcmd = "voiceinputvalue"; - Flows ausführen: Send Data to AMADCommBridge - Setze voice Variablen - Spracheingabe wurde nicht erkannt - Script: voiceinputdata = value; fhemcmd = "voiceinputvalue"; - Flows ausführen: Send Data to AMADCommBridge - Benachrichtigung auf Bildschirm: {value} (lange) - Expression: global_fhemctlmode != "thirdPartControl" - Script: voiceinputdata = value; fhemcmd = "voiceinputvalue"; - Flows ausführen: Send Data to AMADCommBridge - Benachrichtigung auf Bildschirm: {value} (lange) - - - - - - - - - - - - - - - - - \ No newline at end of file