diff --git a/fhem/CHANGED b/fhem/CHANGED
index 51b727d2c..d38080b3f 100644
--- a/fhem/CHANGED
+++ b/fhem/CHANGED
@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
+ - change: 73_AMADCommBridge 74_AMADDevice: change commandref, change version
- feature: 70_ZoneMinder: introduced Attribute usePublicUrlForZmWeb
- bugfix 98_SmarterCoffee: fix fhem crash bug
- feature: 88_HMCCU: client device update optimized
diff --git a/fhem/FHEM/73_AMADCommBridge.pm b/fhem/FHEM/73_AMADCommBridge.pm
index 9cd887587..c1b6ff3a1 100644
--- a/fhem/FHEM/73_AMADCommBridge.pm
+++ b/fhem/FHEM/73_AMADCommBridge.pm
@@ -77,7 +77,7 @@ eval "use JSON;1" or $missingModul .= "JSON ";
my $modulversion = "4.2.2";
-my $flowsetversion = "4.2.3";
+my $flowsetversion = "4.2.4";
@@ -906,7 +906,8 @@ sub AMADCommBridge_ResponseProcessing($$) {
if( AttrVal( $bname, 'enableSubCalls', 0 ) == 1 ) {
- $response = AnalyzeCommand($bhash, '{'.$fhemCmd.'}');
+ #$response = AnalyzeCommand($bhash, '{'.$fhemCmd.'}');
+ $response = AnalyzePerlCommand($bhash, '{'.$fhemCmd.'}'); # AnalyzePerlCommand is new https://forum.fhem.de/index.php/topic,89619.msg820964.html#msg820964
} else {
diff --git a/fhem/FHEM/74_AMADDevice.pm b/fhem/FHEM/74_AMADDevice.pm
index cfafc0bb1..1f8761213 100644
--- a/fhem/FHEM/74_AMADDevice.pm
+++ b/fhem/FHEM/74_AMADDevice.pm
@@ -61,7 +61,7 @@ eval "use JSON;1" or $missingModul .= "JSON ";
my $modulversion = "4.2.5";
-my $flowsetversion = "4.2.3";
+my $flowsetversion = "4.2.4";
@@ -1110,7 +1110,7 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
screen - on locked,unlocked/off locked,unlocked, state of display
screenBrightness - 0-255, level of screen-brightness
screenBrightnessMode - Adaptive brightness on,off
- screenFullscreen - on/off, full screen mode (Automagic only)
+ screenFullscreen - on/off, full screen mode
screenOrientation - Landscape/Portrait, screen orientation (horizontal,vertical)
screenOrientationMode - auto/manual, mode for screen orientation
state - current state of AMAD device
@@ -1163,8 +1163,8 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
nfc - activate or deactivate the nfc Modul on/off. attribute root
openApp - start an app. attribute setOpenApp
openURL - opens a URLS in the standard browser as long as no other browser is set by the attribute setOpenUrlBrowser.Example: attr Tablet setOpenUrlBrowser de.ozerov.fully|de.ozerov.fully.MainActivity, first parameter: package name, second parameter: Class Name
- screen - on/off/lock/unlock, switch screen on/off or lock/unlock screen. In Automagic "Preferences" the "Device admin functions" need to be enabled, otherwise "Screen off" does not work. attribute setScreenOnForTimer changes the time the display remains switched on! (Tasker supports only "off" command)
- screenFullscreen - on/off, activates/deactivates full screen mode. attribute setFullscreen (Automagic only)
+ screen - on/off/lock/unlock, switch screen on/off or lock/unlock screen. In Automagic "Preferences" the "Device admin functions" need to be enabled, otherwise "Screen off" does not work. attribute setScreenOnForTimer changes the time the display remains switched on! (Tasker supports only "on/off" command)
+ screenFullscreen - on/off, activates/deactivates full screen mode. attribute setFullscreen
screenLock - Locks screen with request for PIN. attribute setScreenlockPIN - enter PIN here. Only use numbers, 4-16 numbers required. (Automagic only)
screenOrientation - Auto,Landscape,Portait, set screen orientation (automatic, horizontal, vertical). attribute setScreenOrientation
system - issue system command (only with rooted Android devices). reboot,shutdown,airplanemodeON (can only be switched ON) attribute root, in Automagic "Preferences" "Root functions" need to be enabled.
@@ -1298,7 +1298,7 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
screen - on locked/unlocked, off locked/unlocked gibt an ob der Bildschirm an oder aus ist und gleichzeitig gesperrt oder nicht gesperrt
screenBrightness - Bildschirmhelligkeit von 0-255
screenBrightnessMode - Adaptive Helligkeit on,off
- screenFullscreen - on/off, Vollbildmodus (An,Aus) (nur Automagic)
+ screenFullscreen - on/off, Vollbildmodus (An,Aus)
screenOrientation - Landscape,Portrait, Bildschirmausrichtung (Horizontal,Vertikal)
screenOrientationMode - auto/manual, Modus für die Ausrichtung (Automatisch, Manuell)
state - aktueller Status
@@ -1353,10 +1353,10 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
nfc - schaltet nfc an oder aus /on/offAttribut root
openApp - öffnet eine ausgewählte App. Attribut setOpenApp
openURL - öffnet eine URL im Standardbrowser, sofern kein anderer Browser über das Attribut setOpenUrlBrowser ausgewählt wurde. Bsp: attr Tablet setOpenUrlBrowser de.ozerov.fully|de.ozerov.fully.MainActivity, das erste ist der Package Name und das zweite der Class Name
- 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. Attribut setScreenOnForTimer ändert die Zeit wie lange das Display an bleiben soll! (Tasker unterstützt nur "screen off")
+ 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. Attribut setScreenOnForTimer ändert die Zeit wie lange das Display an bleiben soll! (Tasker unterstützt nur "screen on/off")
screenFullscreen - on/off, (aktiviert/deaktiviert) den Vollbildmodus. Attribut setFullscreen
screenLock - Sperrt den Bildschirm mit Pinabfrage. Attribut setScreenlockPIN - hier die Pin dafür eingeben. Erlaubt sind nur Zahlen. Es müßen mindestens 4, bis max 16 Zeichen verwendet werden.
- screenOrientation - Auto,Landscape,Portait, aktiviert die Bildschirmausrichtung (Automatisch,Horizontal,Vertikal). Attribut setScreenOrientation (Tasker unterstützt nur Auto on/off)
+ screenOrientation - Auto,Landscape,Portait, aktiviert die Bildschirmausrichtung (Automatisch,Horizontal,Vertikal). Attribut setScreenOrientation
system - setzt Systembefehle ab (nur bei gerootetet Geräen). reboot,shutdown,airplanemodeON (kann nur aktiviert werden) Attribut root, in den Automagic Einstellungen muss "Root Funktion" gesetzt werden
takePicture - löst die Kamera aus für ein Foto Attribut setTakePictureResolution
takeScreenshot - macht ein Screenshot Attribut setTakeScreenshotResolution
diff --git a/fhem/FHEM/lib/74_AMADautomagicFlowset_4.2.3.xml b/fhem/FHEM/lib/74_AMADautomagicFlowset_4.2.4.xml
similarity index 90%
rename from fhem/FHEM/lib/74_AMADautomagicFlowset_4.2.3.xml
rename to fhem/FHEM/lib/74_AMADautomagicFlowset_4.2.4.xml
index a88e55b0e..4d05d6c8e 100644
--- a/fhem/FHEM/lib/74_AMADautomagicFlowset_4.2.3.xml
+++ b/fhem/FHEM/lib/74_AMADautomagicFlowset_4.2.4.xml
@@ -1,5 +1,5 @@
-
+
true
Akku Ladestand: grösser als 0%
@@ -257,6 +257,7 @@ irname=getString("name")
/fhem-amad/deviceInfo/
8090
true
+ false
false
@@ -265,6 +266,7 @@ irname=getString("name")
/fhem-amad/setCommands/*
8090
true
+ false
false
@@ -1422,6 +1424,7 @@ or trigger == "HTTP Request: /fhem-amad/deviceInfo/"
true
de-DE
false
+ false
true
@@ -1765,6 +1768,7 @@ putString("{param_exkey2}", "{param_exval2}");
false
false
false
+ false
true
@@ -1784,6 +1788,7 @@ putString("{param_exkey2}", "{param_exval2}");
false
false
false
+ false
true
@@ -1803,6 +1808,7 @@ putString("{param_exkey2}", "{param_exval2}");
false
false
false
+ false
true
@@ -1822,6 +1828,7 @@ putString("{param_exkey2}", "{param_exval2}");
false
false
false
+ false
true
@@ -1841,6 +1848,7 @@ putString("{param_exkey2}", "{param_exval2}");
false
false
false
+ false
true
@@ -3374,7 +3382,7 @@ fhemcmd = "setreading";
false
Script: Set FHEMDATA JSON
-