add takePictureCamera Attribut, change Flowset for choose camera

This commit is contained in:
Marko Oldenburg 2018-01-11 08:29:32 +01:00
parent 3cd7ad2da2
commit 141a08c8c8
3 changed files with 1005 additions and 805 deletions

View File

@ -58,7 +58,7 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode ";
eval "use JSON;1" or $missingModul .= "JSON "; eval "use JSON;1" or $missingModul .= "JSON ";
my $modulversion = "4.1.99.30"; my $modulversion = "4.1.99.33";
my $flowsetversion = "4.1.99.5"; my $flowsetversion = "4.1.99.5";
@ -123,6 +123,7 @@ sub AMADDevice_Initialize($) {
"IODev ". "IODev ".
"remoteServer:Automagic,Autoremote,TNES,other ". "remoteServer:Automagic,Autoremote,TNES,other ".
"setTakePictureResolution:800x600,1024x768,1280x720,1600x1200,1920x1080 ". "setTakePictureResolution:800x600,1024x768,1280x720,1600x1200,1920x1080 ".
"setTakePictureCamera:Back,Front ".
$readingFnAttributes; $readingFnAttributes;
foreach my $d(sort keys %{$modules{AMADDevice}{defptr}}) { foreach my $d(sort keys %{$modules{AMADDevice}{defptr}}) {
@ -671,7 +672,11 @@ sub AMADDevice_Set($$@) {
return "Please set \"setTakePictureResolution\" Attribut first" return "Please set \"setTakePictureResolution\" Attribut first"
unless(AttrVal($name,'setTakePictureResolution','none') ne 'none'); unless(AttrVal($name,'setTakePictureResolution','none') ne 'none');
$path = "/fhem-amad/setCommands/takepicture?pictureresolution=" . AttrVal($name,'setTakePictureResolution','none');
return "Please set \"setTakePictureCamera\" Attribut first"
unless(AttrVal($name,'setTakePictureCamera','none') ne 'none');
$path = "/fhem-amad/setCommands/takepicture?pictureresolution=".AttrVal($name,'setTakePictureResolution','none')."&picturecamera=".AttrVal($name,'setTakePictureCamera','none');
$method = "POST"; $method = "POST";
} }
@ -1108,11 +1113,19 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
<li>screenLock - Locks screen with request for PIN. <b>attribute setScreenlockPIN - enter PIN here. Only use numbers, 4-16 numbers required.</b></li> <li>screenLock - Locks screen with request for PIN. <b>attribute setScreenlockPIN - enter PIN here. Only use numbers, 4-16 numbers required.</b></li>
<li>screenOrientation - Auto,Landscape,Portait, set screen orientation (automatic, horizontal, vertical). <b>attribute setScreenOrientation</b></li> <li>screenOrientation - Auto,Landscape,Portait, set screen orientation (automatic, horizontal, vertical). <b>attribute setScreenOrientation</b></li>
<li>system - issue system command (only with rooted Android devices). reboot,shutdown,airplanemodeON (can only be switched ON) <b>attribute root</b>, in Automagic "Preferences" "Root functions" need to be enabled.</li> <li>system - issue system command (only with rooted Android devices). reboot,shutdown,airplanemodeON (can only be switched ON) <b>attribute root</b>, in Automagic "Preferences" "Root functions" need to be enabled.</li>
<li>takePicture - take a camera picture <b>Attribut setTakePictureResolution</b></li>
</ul>
<br><br>
<a name="AMADDeviceattribut"></a>
<b>Attribut</b>
<ul>
<li>setAPSSID - set WLAN AccesPoint SSID to prevent WLAN sleeps</li> <li>setAPSSID - set WLAN AccesPoint SSID to prevent WLAN sleeps</li>
<li>setNotifySndFilePath - set systempath to notifyfile (default /storage/emulated/0/Notifications/</li> <li>setNotifySndFilePath - set systempath to notifyfile (default /storage/emulated/0/Notifications/</li>
<li>setTtsMsgSpeed - set speaking speed for TTS (Value between 0.5 - 4.0, 0.5 Step) default is 1.0</li> <li>setTtsMsgSpeed - set speaking speed for TTS (Value between 0.5 - 4.0, 0.5 Step) default is 1.0</li>
<li>setTtsMsgLang - set speaking language for TTS, de or en (default is de)</li> <li>setTtsMsgLang - set speaking language for TTS, de or en (default is de)</li>
<li>setTtsMsgVol - is set, change automatically the media audio end set it back</li> <li>setTtsMsgVol - is set, change automatically the media audio end set it back</li>
<li>set setTakePictureResolution - set the camera resolution for takePicture action (800x600,1024x768,1280x720,1600x1200,1920x1080)</li>
<li>setTakePictureCamera - which camera do you use (Back,Front).</li>
<br> <br>
To be able to use "openApp" the corresponding attribute "setOpenApp" needs to contain the app package name. To be able to use "openApp" the corresponding attribute "setOpenApp" needs to contain the app package name.
<br><br> <br><br>
@ -1277,12 +1290,17 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
<li>nfc - schaltet nfc an oder aus /on/off<b>Attribut root</b></li> <li>nfc - schaltet nfc an oder aus /on/off<b>Attribut root</b></li>
<li>openApp - &ouml;ffnet eine ausgew&auml;hlte App. <b>Attribut setOpenApp</b></li> <li>openApp - &ouml;ffnet eine ausgew&auml;hlte App. <b>Attribut setOpenApp</b></li>
<li>openURL - &ouml;ffnet eine URL im Standardbrowser, sofern kein anderer Browser &uuml;ber das <b>Attribut setOpenUrlBrowser</b> ausgew&auml;hlt wurde.<b> Bsp:</b><i> attr Tablet setOpenUrlBrowser de.ozerov.fully|de.ozerov.fully.MainActivity, das erste ist der Package Name und das zweite der Class Name</i></li> <li>openURL - &ouml;ffnet eine URL im Standardbrowser, sofern kein anderer Browser &uuml;ber das <b>Attribut setOpenUrlBrowser</b> ausgew&auml;hlt wurde.<b> Bsp:</b><i> attr Tablet setOpenUrlBrowser de.ozerov.fully|de.ozerov.fully.MainActivity, das erste ist der Package Name und das zweite der Class Name</i></li>
<li>setAPSSID - setzt die AccessPoint SSID um ein WLAN sleep zu verhindern</li>
<li>screen - on/off/lock/unlock schaltet den Bildschirm ein/aus oder sperrt/entsperrt ihn, in den Automagic Einstellungen muss "Admin Funktion" gesetzt werden sonst funktioniert "Screen off" nicht. <b>Attribut setScreenOnForTimer</b> &auml;ndert die Zeit wie lange das Display an bleiben soll!</li> <li>screen - on/off/lock/unlock schaltet den Bildschirm ein/aus oder sperrt/entsperrt ihn, in den Automagic Einstellungen muss "Admin Funktion" gesetzt werden sonst funktioniert "Screen off" nicht. <b>Attribut setScreenOnForTimer</b> &auml;ndert die Zeit wie lange das Display an bleiben soll!</li>
<li>screenFullscreen - on/off, (aktiviert/deaktiviert) den Vollbildmodus. <b>Attribut setFullscreen</b></li> <li>screenFullscreen - on/off, (aktiviert/deaktiviert) den Vollbildmodus. <b>Attribut setFullscreen</b></li>
<li>screenLock - Sperrt den Bildschirm mit Pinabfrage. <b>Attribut setScreenlockPIN - hier die Pin daf&uuml;r eingeben. Erlaubt sind nur Zahlen. Es m&uuml;&szlig;en mindestens 4, bis max 16 Zeichen verwendet werden.</b></li> <li>screenLock - Sperrt den Bildschirm mit Pinabfrage. <b>Attribut setScreenlockPIN - hier die Pin daf&uuml;r eingeben. Erlaubt sind nur Zahlen. Es m&uuml;&szlig;en mindestens 4, bis max 16 Zeichen verwendet werden.</b></li>
<li>screenOrientation - Auto,Landscape,Portait, aktiviert die Bildschirmausrichtung (Automatisch,Horizontal,Vertikal). <b>Attribut setScreenOrientation</b></li> <li>screenOrientation - Auto,Landscape,Portait, aktiviert die Bildschirmausrichtung (Automatisch,Horizontal,Vertikal). <b>Attribut setScreenOrientation</b></li>
<li>system - setzt Systembefehle ab (nur bei gerootetet Ger&auml;en). reboot,shutdown,airplanemodeON (kann nur aktiviert werden) <b>Attribut root</b>, in den Automagic Einstellungen muss "Root Funktion" gesetzt werden</li> <li>system - setzt Systembefehle ab (nur bei gerootetet Ger&auml;en). reboot,shutdown,airplanemodeON (kann nur aktiviert werden) <b>Attribut root</b>, in den Automagic Einstellungen muss "Root Funktion" gesetzt werden</li>
<li>takePicture - löst die Kamera aus für ein Foto <b>Attribut setTakePictureResolution</b></li>
</ul>
<br><br>
<a name="AMADDeviceattribute"></a>
<b>Attribute</b>
<ul>
<li>setNotifySndFilePath - setzt den korrekten Systempfad zur Notifydatei (default ist /storage/emulated/0/Notifications/</li> <li>setNotifySndFilePath - setzt den korrekten Systempfad zur Notifydatei (default ist /storage/emulated/0/Notifications/</li>
<li>setTtsMsgSpeed - setzt die Sprachgeschwindigkeit bei der Sprachausgabe(Werte zwischen 0.5 bis 4.0 in 0.5er Schritten) default ist 1.0</li> <li>setTtsMsgSpeed - setzt die Sprachgeschwindigkeit bei der Sprachausgabe(Werte zwischen 0.5 bis 4.0 in 0.5er Schritten) default ist 1.0</li>
<li>setTtsMsgLang - setzt die Sprache bei der Sprachausgabe, de oder en (default ist de)</li> <li>setTtsMsgLang - setzt die Sprache bei der Sprachausgabe, de oder en (default ist de)</li>
@ -1291,6 +1309,9 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
<li>setVolMax - setzt die maximale Volume Gr&uoml;e f&uuml;r den Slider</li> <li>setVolMax - setzt die maximale Volume Gr&uoml;e f&uuml;r den Slider</li>
<li>setNotifyVolMax - setzt den maximalen Lautst&auml;rkewert für Benachrichtigungslautst&auml;rke f&uuml;r den Slider</li> <li>setNotifyVolMax - setzt den maximalen Lautst&auml;rkewert für Benachrichtigungslautst&auml;rke f&uuml;r den Slider</li>
<li>setRingSoundVolMax - setzt den maximalen Lautst&auml;rkewert für Klingellautst&auml;rke f&uuml;r den Slider</li> <li>setRingSoundVolMax - setzt den maximalen Lautst&auml;rkewert für Klingellautst&auml;rke f&uuml;r den Slider</li>
<li>setAPSSID - setzt die AccessPoint SSID um ein WLAN sleep zu verhindern</li>
<li>setTakePictureResolution - welche Kameraauflösung soll verwendet werden? (800x600,1024x768,1280x720,1600x1200,1920x1080)</li>
<li>setTakePictureCamera - welche Kamera soll verwendet werden (Back,Front).</li>
<br> <br>
Um openApp verwenden zu k&ouml;nnen, muss als Attribut der Package Name der App angegeben werden. Um openApp verwenden zu k&ouml;nnen, muss als Attribut der Package Name der App angegeben werden.
<br><br> <br><br>

View File

@ -843,6 +843,11 @@ irname=getString("name")</extras>
<name>Expression: param_orientation == "portrait"</name> <name>Expression: param_orientation == "portrait"</name>
<expression>param_orientation == "portrait"</expression> <expression>param_orientation == "portrait"</expression>
</condition> </condition>
<condition type="expression">
<useDefaultName>true</useDefaultName>
<name>Expression: param_picturecamera == "Back"</name>
<expression>param_picturecamera == "Back"</expression>
</condition>
<condition type="expression"> <condition type="expression">
<useDefaultName>true</useDefaultName> <useDefaultName>true</useDefaultName>
<name>Expression: param_pictureresolution == "1024x768"</name> <name>Expression: param_pictureresolution == "1024x768"</name>
@ -1895,6 +1900,24 @@ putString("{param_exkey2}", "{param_exval2}");</extras>
<blackPictureFixDuration>2000</blackPictureFixDuration> <blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery> <addToGallery>true</addToGallery>
</action> </action>
<action type="take_picture">
<useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1024x768 Front</name>
<useCameraApp>false</useCameraApp>
<path>/storage/emulated/0/AMADpicture.jpg</path>
<cameraId>1</cameraId>
<pictureSize>1024*768</pictureSize>
<zoom>100</zoom>
<sceneMode>auto</sceneMode>
<colorEffect>none</colorEffect>
<flashMode></flashMode>
<whiteBalance>auto</whiteBalance>
<focusMode>fixed</focusMode>
<awaitPreviewImages>false</awaitPreviewImages>
<blackPictureFix>true</blackPictureFix>
<blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery>
</action>
<action type="take_picture"> <action type="take_picture">
<useDefaultName>false</useDefaultName> <useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720</name> <name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720</name>
@ -1913,6 +1936,24 @@ putString("{param_exkey2}", "{param_exval2}");</extras>
<blackPictureFixDuration>2000</blackPictureFixDuration> <blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery> <addToGallery>true</addToGallery>
</action> </action>
<action type="take_picture">
<useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720 Front</name>
<useCameraApp>false</useCameraApp>
<path>/storage/emulated/0/AMADpicture.jpg</path>
<cameraId>1</cameraId>
<pictureSize>1280*720</pictureSize>
<zoom>100</zoom>
<sceneMode>auto</sceneMode>
<colorEffect>none</colorEffect>
<flashMode></flashMode>
<whiteBalance>auto</whiteBalance>
<focusMode>fixed</focusMode>
<awaitPreviewImages>false</awaitPreviewImages>
<blackPictureFix>true</blackPictureFix>
<blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery>
</action>
<action type="take_picture"> <action type="take_picture">
<useDefaultName>false</useDefaultName> <useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200</name> <name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200</name>
@ -1931,6 +1972,24 @@ putString("{param_exkey2}", "{param_exval2}");</extras>
<blackPictureFixDuration>2000</blackPictureFixDuration> <blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery> <addToGallery>true</addToGallery>
</action> </action>
<action type="take_picture">
<useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200 Front</name>
<useCameraApp>false</useCameraApp>
<path>/storage/emulated/0/AMADpicture.jpg</path>
<cameraId>1</cameraId>
<pictureSize>176*144</pictureSize>
<zoom>100</zoom>
<sceneMode>auto</sceneMode>
<colorEffect>none</colorEffect>
<flashMode></flashMode>
<whiteBalance>auto</whiteBalance>
<focusMode>fixed</focusMode>
<awaitPreviewImages>false</awaitPreviewImages>
<blackPictureFix>true</blackPictureFix>
<blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery>
</action>
<action type="take_picture"> <action type="take_picture">
<useDefaultName>false</useDefaultName> <useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080</name> <name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080</name>
@ -1949,6 +2008,24 @@ putString("{param_exkey2}", "{param_exval2}");</extras>
<blackPictureFixDuration>2000</blackPictureFixDuration> <blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery> <addToGallery>true</addToGallery>
</action> </action>
<action type="take_picture">
<useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080 Front</name>
<useCameraApp>false</useCameraApp>
<path>/storage/emulated/0/AMADpicture.jpg</path>
<cameraId>1</cameraId>
<pictureSize>176*144</pictureSize>
<zoom>100</zoom>
<sceneMode>auto</sceneMode>
<colorEffect>none</colorEffect>
<flashMode></flashMode>
<whiteBalance>auto</whiteBalance>
<focusMode>fixed</focusMode>
<awaitPreviewImages>false</awaitPreviewImages>
<blackPictureFix>true</blackPictureFix>
<blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery>
</action>
<action type="take_picture"> <action type="take_picture">
<useDefaultName>false</useDefaultName> <useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600</name> <name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600</name>
@ -1967,6 +2044,24 @@ putString("{param_exkey2}", "{param_exval2}");</extras>
<blackPictureFixDuration>2000</blackPictureFixDuration> <blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery> <addToGallery>true</addToGallery>
</action> </action>
<action type="take_picture">
<useDefaultName>false</useDefaultName>
<name>Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600 Front</name>
<useCameraApp>false</useCameraApp>
<path>/storage/emulated/0/AMADpicture.jpg</path>
<cameraId>1</cameraId>
<pictureSize>800*600</pictureSize>
<zoom>100</zoom>
<sceneMode>auto</sceneMode>
<colorEffect>none</colorEffect>
<flashMode></flashMode>
<whiteBalance>auto</whiteBalance>
<focusMode>fixed</focusMode>
<awaitPreviewImages>false</awaitPreviewImages>
<blackPictureFix>true</blackPictureFix>
<blackPictureFixDuration>2000</blackPictureFixDuration>
<addToGallery>true</addToGallery>
</action>
<action type="lock_device"> <action type="lock_device">
<useDefaultName>true</useDefaultName> <useDefaultName>true</useDefaultName>
<name>Gerät sperren</name> <name>Gerät sperren</name>
@ -3067,6 +3162,11 @@ fhemcmd = "setreading";</script>
<name>Script: notification_text = "not supported from your device"</name> <name>Script: notification_text = "not supported from your device"</name>
<script>notification_text = "not supported from your device"</script> <script>notification_text = "not supported from your device"</script>
</action> </action>
<action type="script">
<useDefaultName>true</useDefaultName>
<name>Script: notification_text = "Take Picture: can not save camerapicture, path does not exist"</name>
<script>notification_text = "Take Picture: can not save camerapicture, path does not exist"</script>
</action>
<action type="script"> <action type="script">
<useDefaultName>true</useDefaultName> <useDefaultName>true</useDefaultName>
<name>Script: powerinfo = "\"powerLevel\":" + " \"" + "{battery_percentage,numberformat,0}" + "\"" + "," + "\"powerPlugged\":" + " \"" + {battery_plugged} + "\"" + "," + "\"batteryTemperature\":" + " \"" + "{battery_temperature/10.0,numberformat.0.0}" + "\"" + "," + "\"batteryHealth\":" + " \"" + {battery_health} + "\""; fhemcmd = "setreading";</name> <name>Script: powerinfo = "\"powerLevel\":" + " \"" + "{battery_percentage,numberformat,0}" + "\"" + "," + "\"powerPlugged\":" + " \"" + {battery_plugged} + "\"" + "," + "\"batteryTemperature\":" + " \"" + "{battery_temperature/10.0,numberformat.0.0}" + "\"" + "," + "\"batteryHealth\":" + " \"" + {battery_health} + "\""; fhemcmd = "setreading";</name>
@ -4799,30 +4899,43 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<conditioncontainer id="t169" x="-6475.0" y="-122.5">Expression: showhomescreen"</conditioncontainer> <conditioncontainer id="t169" x="-6475.0" y="-122.5">Expression: showhomescreen"</conditioncontainer>
<actioncontainer id="t170" x="-6475.0" y="892.5">Zeige Home Screen</actioncontainer> <actioncontainer id="t170" x="-6475.0" y="892.5">Zeige Home Screen</actioncontainer>
<conditioncontainer id="t171" x="-805.0" y="-2047.5">Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"</conditioncontainer> <conditioncontainer id="t171" x="-805.0" y="-2047.5">Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"</conditioncontainer>
<conditioncontainer id="t172" x="-7000.0" y="-122.5">Expression: takepicture</conditioncontainer> <conditioncontainer id="t172" x="-5845.0" y="577.5">Expression: param_button == "stop"</conditioncontainer>
<conditioncontainer id="t173" x="-5845.0" y="577.5">Expression: param_button == "stop"</conditioncontainer> <actioncontainer id="t173" x="-5215.0" y="892.5">Vibrieren: Pattern 2 (-- --)</actioncontainer>
<actioncontainer id="t174" x="-7140.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1024x768</actioncontainer> <actioncontainer id="t174" x="-805.0" y="2152.5">Flows ausführen: Send Data to AMADCommBridge</actioncontainer>
<actioncontainer id="t175" x="-7000.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720</actioncontainer> <conditioncontainer id="t175" x="-805.0" y="-2572.5">Host erreichbar: {global_fhemip}:{global_bridgeport}</conditioncontainer>
<actioncontainer id="t176" x="-6860.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200</actioncontainer> <triggercontainer id="t176" x="-805.0" y="-3062.5">
<actioncontainer id="t177" x="-6720.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080</actioncontainer>
<conditioncontainer id="t178" x="-7280.0" y="367.5">Expression: param_pictureresolution == "800x600"</conditioncontainer>
<conditioncontainer id="t179" x="-7140.0" y="367.5">Expression: param_pictureresolution == "1024x768"</conditioncontainer>
<conditioncontainer id="t180" x="-7000.0" y="367.5">Expression: param_pictureresolution == "1280x720"</conditioncontainer>
<conditioncontainer id="t181" x="-6860.0" y="367.5">Expression: param_pictureresolution == "1600x1200"</conditioncontainer>
<conditioncontainer id="t182" x="-6720.0" y="367.5">Expression: param_pictureresolution == "1920x1080"</conditioncontainer>
<actioncontainer id="t183" x="-7280.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600</actioncontainer>
<actioncontainer id="t184" x="-5215.0" y="892.5">Vibrieren: Pattern 2 (-- --)</actioncontainer>
<actioncontainer id="t185" x="-805.0" y="2152.5">Flows ausführen: Send Data to AMADCommBridge</actioncontainer>
<actioncontainer id="t186" x="-3115.0" y="892.5">Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading";</actioncontainer>
<conditioncontainer id="t187" x="-805.0" y="-2572.5">Host erreichbar: {global_fhemip}:{global_bridgeport}</conditioncontainer>
<triggercontainer id="t188" x="-805.0" y="-3062.5">
<trigger>HTTP Request: /fhem-amad/deviceInfo/</trigger> <trigger>HTTP Request: /fhem-amad/deviceInfo/</trigger>
<trigger>Sprachbefehl angefordert</trigger> <trigger>Sprachbefehl angefordert</trigger>
<trigger>HTTP Request: /fhem-amad/setCommands/*</trigger> <trigger>HTTP Request: /fhem-amad/setCommands/*</trigger>
<trigger>Periodischer Timer: alle 120s</trigger> <trigger>Periodischer Timer: alle 120s</trigger>
</triggercontainer> </triggercontainer>
<conditioncontainer id="t189" x="-805.0" y="-2712.5">Expression: global_fhemip != null or global_bridgeport != null</conditioncontainer> <conditioncontainer id="t177" x="-805.0" y="-2712.5">Expression: global_fhemip != null or global_bridgeport != null</conditioncontainer>
<conditioncontainer id="t190" x="-805.0" y="-2887.5">Expression: header_amadid == {global_amadid}</conditioncontainer> <conditioncontainer id="t178" x="-805.0" y="-2887.5">Expression: header_amadid == {global_amadid}</conditioncontainer>
<actioncontainer id="t179" x="-7280.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600</actioncontainer>
<actioncontainer id="t180" x="-7140.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1024x768</actioncontainer>
<actioncontainer id="t181" x="-7000.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720</actioncontainer>
<actioncontainer id="t182" x="-6860.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200</actioncontainer>
<actioncontainer id="t183" x="-6720.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080</actioncontainer>
<actioncontainer id="t184" x="-7455.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1920x1080 Front</actioncontainer>
<actioncontainer id="t185" x="-7595.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1600x1200 Front</actioncontainer>
<actioncontainer id="t186" x="-7875.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1024x768 Front</actioncontainer>
<actioncontainer id="t187" x="-8015.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 800x600 Front</actioncontainer>
<actioncontainer id="t188" x="-7735.0" y="892.5">Foto aufnehmen: /storage/emulated/0/AMADpicture.jpg (ohne Benutzeroberfläche) 1280x720 Front</actioncontainer>
<conditioncontainer id="t189" x="-7665.0" y="367.5">Expression: param_pictureresolution == "800x600"</conditioncontainer>
<conditioncontainer id="t190" x="-7525.0" y="367.5">Expression: param_pictureresolution == "1024x768"</conditioncontainer>
<conditioncontainer id="t191" x="-7385.0" y="367.5">Expression: param_pictureresolution == "1280x720"</conditioncontainer>
<conditioncontainer id="t192" x="-7245.0" y="367.5">Expression: param_pictureresolution == "1600x1200"</conditioncontainer>
<conditioncontainer id="t193" x="-7105.0" y="367.5">Expression: param_pictureresolution == "1920x1080"</conditioncontainer>
<conditioncontainer id="t194" x="-7665.0" y="577.49994">Expression: param_picturecamera == "Back"</conditioncontainer>
<conditioncontainer id="t195" x="-7525.0" y="577.49994">Expression: param_picturecamera == "Back"</conditioncontainer>
<conditioncontainer id="t196" x="-7385.0" y="577.49994">Expression: param_picturecamera == "Back"</conditioncontainer>
<conditioncontainer id="t197" x="-7245.0" y="577.49994">Expression: param_picturecamera == "Back"</conditioncontainer>
<conditioncontainer id="t198" x="-7105.0" y="577.49994">Expression: param_picturecamera == "Back"</conditioncontainer>
<actioncontainer id="t199" x="-3115.0" y="892.5">Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading";</actioncontainer>
<conditioncontainer id="t200" x="-7385.0" y="-122.5">Expression: takepicture</conditioncontainer>
<conditioncontainer id="t201" x="-7385.0" y="87.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/storage/emulated/0)</conditioncontainer>
<actioncontainer id="t202" x="-6860.0" y="577.5001">Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading";</actioncontainer>
<actioncontainer id="t203" x="-6860.0" y="367.5">Script: notification_text = "Take Picture: can not save camerapicture, path does not exist"</actioncontainer>
<connection from="t1" to="t33" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t1" to="t33" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t2" to="t57" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t2" to="t57" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t2" to="t13" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t2" to="t13" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
@ -4885,7 +4998,7 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<connection from="t68" to="t69" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t68" to="t69" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t69" to="t71" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t69" to="t71" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t70" to="t122" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t70" to="t122" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t75" to="t186" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t75" to="t199" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t76" to="t77" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t76" to="t77" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t77" to="t74" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t77" to="t74" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t78" to="t76" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t78" to="t76" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
@ -4918,7 +5031,7 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<connection from="t104" to="t72" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t104" to="t72" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t105" to="t99" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t105" to="t99" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t105" to="t98" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t105" to="t98" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t106" to="t184" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t106" to="t173" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t108" to="t112" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t108" to="t112" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t109" to="t107" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t109" to="t107" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t113" to="t114" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t113" to="t114" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
@ -4937,8 +5050,8 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<connection from="t128" to="t83" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t128" to="t83" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t128" to="t83" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t128" to="t83" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t129" to="t80" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t129" to="t80" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t130" to="t185" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t130" to="t174" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t131" to="t185" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t131" to="t174" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t132" to="t42" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t132" to="t42" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t133" to="t135" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t133" to="t135" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t133" to="t134" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t133" to="t134" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
@ -4961,7 +5074,7 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<connection from="t154" to="t160" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t154" to="t160" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t155" to="t156" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t155" to="t156" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t156" to="t154" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t156" to="t154" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t157" to="t173" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t157" to="t172" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t157" to="t125" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t157" to="t125" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t157" to="t108" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t157" to="t108" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t157" to="t109" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t157" to="t109" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
@ -5008,27 +5121,41 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<connection from="t171" to="t148" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t171" to="t148" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t171" to="t169" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t171" to="t169" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t171" to="t166" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t171" to="t166" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t171" to="t172" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t171" to="t200" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t172" to="t178" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t172" to="t139" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t172" to="t179" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t175" to="t133" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t172" to="t180" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t175" to="t137" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t172" to="t181" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t175" to="t137" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t172" to="t182" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t175" to="t133" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t173" to="t139" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t175" to="t37" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t178" to="t183" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t176" to="t178" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t179" to="t174" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t177" to="t175" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t180" to="t175" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t178" to="t177" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t181" to="t176" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t189" to="t194" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t182" to="t177" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t190" to="t195" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t186" to="t185" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t191" to="t196" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t187" to="t133" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t192" to="t197" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t187" to="t137" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t193" to="t198" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t187" to="t137" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t194" to="t187" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t187" to="t133" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t194" to="t179" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t187" to="t37" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t195" to="t186" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t188" to="t190" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t195" to="t180" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t189" to="t187" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t196" to="t188" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t190" to="t189" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t196" to="t181" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t197" to="t185" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t197" to="t182" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t198" to="t184" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t198" to="t183" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t199" to="t174" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t200" to="t201" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t201" to="t190" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t201" to="t191" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t201" to="t192" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t201" to="t193" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t201" to="t189" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t201" to="t203" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t202" to="t174" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t203" to="t202" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow> </flow>
<flow type="flow"> <flow type="flow">
<name>Update AMAD Flowset</name> <name>Update AMAD Flowset</name>
@ -5036,63 +5163,63 @@ Soll der Assistent gelöscht werden?</actioncontainer>
<enabled>true</enabled> <enabled>true</enabled>
<executionPolicy>QUEUE</executionPolicy> <executionPolicy>QUEUE</executionPolicy>
<actioncontainer id="t1" x="630.0" y="787.5">Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}</actioncontainer> <actioncontainer id="t1" x="630.0" y="787.5">Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}</actioncontainer>
<actioncontainer id="t2" x="875.0" y="367.5">Script: notification_text = "Flowset Update: path for download not exist"</actioncontainer> <actioncontainer id="t2" x="875.0" y="787.5">Flows ausführen: Send Data to AMADCommBridge</actioncontainer>
<actioncontainer id="t3" x="875.0" y="577.5">Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading";</actioncontainer> <conditioncontainer id="t3" x="420.0" y="1277.5">Flow Aktiv: First Run Assistant</conditioncontainer>
<actioncontainer id="t4" x="875.0" y="787.5">Flows ausführen: Send Data to AMADCommBridge</actioncontainer> <actioncontainer id="t4" x="420.0" y="1487.5">Setze Flow Status: Deaktivieren First Run Assistant</actioncontainer>
<conditioncontainer id="t5" x="420.0" y="1277.5">Flow Aktiv: First Run Assistant</conditioncontainer> <actioncontainer id="t5" x="420.0" y="-367.5">Prüfe und setze Bridgeport Variable</actioncontainer>
<actioncontainer id="t6" x="420.0" y="1487.5">Setze Flow Status: Deaktivieren First Run Assistant</actioncontainer> <actioncontainer id="t6" x="420.0" y="157.5">Verzeichnisse erstellen: /storage/sdcard0/AMADNG_FlowsetUpdate</actioncontainer>
<actioncontainer id="t7" x="420.0" y="-367.5">Prüfe und setze Bridgeport Variable</actioncontainer> <conditioncontainer id="t7" x="420.0" y="-52.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/storage/sdcard0)</conditioncontainer>
<conditioncontainer id="t8" x="210.0" y="-52.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/storage/emulated/0)</conditioncontainer> <actioncontainer id="t8" x="630.0" y="157.5">Verzeichnisse erstellen: /sdcard/AMADNG_FlowsetUpdate</actioncontainer>
<actioncontainer id="t9" x="420.0" y="157.5">Verzeichnisse erstellen: /storage/sdcard0/AMADNG_FlowsetUpdate</actioncontainer> <conditioncontainer id="t9" x="630.0" y="-52.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/sdcard)</conditioncontainer>
<conditioncontainer id="t10" x="420.0" y="-52.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/storage/sdcard0)</conditioncontainer> <actioncontainer id="t10" x="210.0" y="157.5">Verzeichnisse erstellen: /storage/emulated/0/AMADNG_FlowsetUpdate</actioncontainer>
<actioncontainer id="t11" x="630.0" y="157.5">Verzeichnisse erstellen: /sdcard/AMADNG_FlowsetUpdate</actioncontainer> <actioncontainer id="t11" x="210.0" y="367.5">Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/emulated/0/AMADNG_FlowsetUpdate</actioncontainer>
<conditioncontainer id="t12" x="630.0" y="-52.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/sdcard)</conditioncontainer> <actioncontainer id="t12" x="420.0" y="367.5">Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/sdcard0/AMADNG_FlowsetUpdate</actioncontainer>
<actioncontainer id="t13" x="210.0" y="157.5">Verzeichnisse erstellen: /storage/emulated/0/AMADNG_FlowsetUpdate</actioncontainer> <actioncontainer id="t13" x="630.0" y="367.5">Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /sdcard/AMADNG_FlowsetUpdate</actioncontainer>
<actioncontainer id="t14" x="210.0" y="367.5">Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/emulated/0/AMADNG_FlowsetUpdate</actioncontainer> <actioncontainer id="t14" x="210.0" y="577.5">Flows/Widgets importieren: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t15" x="420.0" y="367.5">Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /storage/sdcard0/AMADNG_FlowsetUpdate</actioncontainer> <actioncontainer id="t15" x="420.0" y="577.5">Flows/Widgets importieren: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t16" x="630.0" y="367.5">Download URL: http://{global_fhemip}:{global_bridgeport}/currentFlowsetUpdate.xml nach /sdcard/AMADNG_FlowsetUpdate</actioncontainer> <actioncontainer id="t16" x="630.0" y="577.5">Flows/Widgets importieren: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t17" x="210.0" y="577.5">Flows/Widgets importieren: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer> <actioncontainer id="t17" x="210.0" y="787.5">Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}</actioncontainer>
<actioncontainer id="t18" x="420.0" y="577.5">Flows/Widgets importieren: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer> <actioncontainer id="t18" x="420.0" y="787.5">Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}</actioncontainer>
<actioncontainer id="t19" x="630.0" y="577.5">Flows/Widgets importieren: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer> <actioncontainer id="t19" x="210.0" y="997.5">Dateien löschen: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t20" x="210.0" y="787.5">Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}</actioncontainer> <actioncontainer id="t20" x="630.0" y="997.5">Dateien löschen: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t21" x="420.0" y="787.5">Setze Flow Status: Aktivieren {imported_flow_names,listformat,comma}</actioncontainer> <actioncontainer id="t21" x="420.0" y="997.5">Dateien löschen: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t22" x="210.0" y="997.5">Dateien löschen: /storage/emulated/0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer> <triggercontainer id="t22" x="420.0" y="-752.5">
<actioncontainer id="t23" x="630.0" y="997.5">Dateien löschen: /sdcard/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<actioncontainer id="t24" x="420.0" y="997.5">Dateien löschen: /storage/sdcard0/AMADNG_FlowsetUpdate/currentFlowsetUpdate.xml</actioncontainer>
<triggercontainer id="t25" x="420.0" y="-752.5">
<trigger>HTTP Request: /fhem-amad/currentFlowsetUpdate</trigger> <trigger>HTTP Request: /fhem-amad/currentFlowsetUpdate</trigger>
</triggercontainer> </triggercontainer>
<conditioncontainer id="t26" x="420.00006" y="-577.5">Expression: header_amadid == {global_amadid}</conditioncontainer> <conditioncontainer id="t23" x="420.00006" y="-577.5">Expression: header_amadid == {global_amadid}</conditioncontainer>
<connection from="t1" to="t23" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <conditioncontainer id="t24" x="210.0" y="-52.5">Gerätespeicherplatz: Freier Speicherplatz &gt; 1kb (/storage/emulated/0)</conditioncontainer>
<connection from="t2" to="t3" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <actioncontainer id="t25" x="875.0" y="577.5">Script: automagicState = "\"automagicState\":" + " \"" + replaceAll({notification_text}, "\\n", " ") + "\""; fhemcmd = "setreading";</actioncontainer>
<connection from="t3" to="t4" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <actioncontainer id="t26" x="875.0" y="367.5">Script: notification_text = "Flowset Update: path for download not exist"</actioncontainer>
<connection from="t5" to="t6" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t1" to="t20" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t7" to="t8" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t3" to="t4" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t8" to="t10" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t5" to="t24" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t8" to="t10" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t6" to="t12" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t8" to="t13" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t7" to="t9" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t9" to="t15" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t7" to="t9" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t10" to="t12" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t7" to="t6" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t10" to="t12" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t8" to="t13" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t10" to="t9" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t9" to="t26" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t11" to="t16" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t9" to="t26" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t12" to="t2" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t9" to="t8" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t12" to="t2" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t10" to="t11" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t12" to="t11" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t11" to="t14" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t13" to="t14" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t12" to="t15" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t13" to="t16" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t14" to="t17" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t14" to="t17" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t15" to="t18" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t15" to="t18" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t16" to="t19" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t16" to="t1" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t17" to="t20" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t17" to="t19" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t18" to="t21" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t18" to="t21" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t19" to="t1" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t19" to="t3" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t20" to="t22" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t20" to="t3" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t21" to="t24" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t21" to="t3" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t22" to="t5" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t22" to="t23" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t23" to="t5" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t23" to="t5" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t24" to="t5" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t24" to="t7" type="EXCEPTION" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t25" to="t26" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t24" to="t7" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t26" to="t7" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" /> <connection from="t24" to="t10" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t25" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t26" to="t25" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow> </flow>
<flow type="flow"> <flow type="flow">
<name>VoiceControl</name> <name>VoiceControl</name>