fix Commandref, add allowfrom support
This commit is contained in:
		@@ -76,7 +76,7 @@ eval "use JSON;1" or $missingModul .= "JSON ";
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
my $modulversion = "4.2.1";
 | 
					my $modulversion = "4.2.2";
 | 
				
			||||||
my $flowsetversion = "4.2.0";
 | 
					my $flowsetversion = "4.2.0";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -122,7 +122,7 @@ sub AMADCommBridge_Initialize($) {
 | 
				
			|||||||
                          "debugJSON:0,1 ".
 | 
					                          "debugJSON:0,1 ".
 | 
				
			||||||
                          "enableSubCalls:0,1 ".
 | 
					                          "enableSubCalls:0,1 ".
 | 
				
			||||||
                          "disable:1 ".
 | 
					                          "disable:1 ".
 | 
				
			||||||
                          "allowFrom ".
 | 
					                          "allowfrom ".
 | 
				
			||||||
                          $readingFnAttributes;
 | 
					                          $readingFnAttributes;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    foreach my $d(sort keys %{$modules{AMADCommBridge}{defptr}}) {
 | 
					    foreach my $d(sort keys %{$modules{AMADCommBridge}{defptr}}) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1021,7 +1021,7 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
 | 
				
			|||||||
  <b>How to use AMADDevice?</b>
 | 
					  <b>How to use AMADDevice?</b>
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
    <li>first, make sure that the AMADCommBridge in FHEM was defined</li>
 | 
					    <li>first, make sure that the AMADCommBridge in FHEM was defined</li>
 | 
				
			||||||
    <li><b>Using Autoremote</b></li>
 | 
					    <li><b>Using Automagic</b></li>
 | 
				
			||||||
        <ul>
 | 
					        <ul>
 | 
				
			||||||
        <li>install the "Automagic Premium" app from the PlayStore</li>
 | 
					        <li>install the "Automagic Premium" app from the PlayStore</li>
 | 
				
			||||||
        <li>install the flowset 74_AMADDeviceautomagicFlowset$VERSION.xml file from the $INSTALLFHEM/FHEM/lib/ directory on the Android device</li>
 | 
					        <li>install the flowset 74_AMADDeviceautomagicFlowset$VERSION.xml file from the $INSTALLFHEM/FHEM/lib/ directory on the Android device</li>
 | 
				
			||||||
@@ -1207,7 +1207,7 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
 | 
				
			|||||||
  <b>Wie genau verwendet man nun AMADDevice?</b>
 | 
					  <b>Wie genau verwendet man nun AMADDevice?</b>
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
    <li>stelle sicher das als aller erstes die AMADCommBridge in FHEM definiert wurde</li>
 | 
					    <li>stelle sicher das als aller erstes die AMADCommBridge in FHEM definiert wurde</li>
 | 
				
			||||||
    <li><b>Bei verwendung von Autoremote</b></li>
 | 
					    <li><b>Bei verwendung von Automagic</b></li>
 | 
				
			||||||
        <ul>
 | 
					        <ul>
 | 
				
			||||||
        <li>installiere die App "Automagic Premium" aus dem PlayStore.</li>
 | 
					        <li>installiere die App "Automagic Premium" aus dem PlayStore.</li>
 | 
				
			||||||
        <li>installiere das Flowset 74_AMADDeviceautomagicFlowset$VERSION.xml aus dem Ordner $INSTALLFHEM/FHEM/lib/ auf dem Androidgerät</li>
 | 
					        <li>installiere das Flowset 74_AMADDeviceautomagicFlowset$VERSION.xml aus dem Ordner $INSTALLFHEM/FHEM/lib/ auf dem Androidgerät</li>
 | 
				
			||||||
@@ -1227,11 +1227,11 @@ sub AMADDevice_CreateChangeBtDeviceValue($$) {
 | 
				
			|||||||
  <b>Define</b>
 | 
					  <b>Define</b>
 | 
				
			||||||
  <ul><br>
 | 
					  <ul><br>
 | 
				
			||||||
  10.6.9.10 1496497380000 IODev=AMADBridge
 | 
					  10.6.9.10 1496497380000 IODev=AMADBridge
 | 
				
			||||||
    <code>define <name> AMADDevice <IP-ADRESSE> <AMAD_ID> IODev=<IODEVICE></code>
 | 
					    <code>define <name> AMADDevice <IP-ADRESSE> <AMAD_ID> <REMOTESERVER></code>
 | 
				
			||||||
    <br><br>
 | 
					    <br><br>
 | 
				
			||||||
    Beispiel:
 | 
					    Beispiel:
 | 
				
			||||||
    <ul><br>
 | 
					    <ul><br>
 | 
				
			||||||
      <code>define WandTabletWohnzimmer AMADDevice 192.168.0.23 123456 IODev=NAME_des_AMADCommBridge_Devices</code><br>
 | 
					      <code>define WandTabletWohnzimmer AMADDevice 192.168.0.23 123456 Automagic</code><br>
 | 
				
			||||||
    </ul>
 | 
					    </ul>
 | 
				
			||||||
    <br>
 | 
					    <br>
 | 
				
			||||||
    In diesem Fall wird ein AMADDevice von Hand angelegt. Die AMAD_ID, hier 123456, muß auch exakt so als globale Variable in Automagic/Tasker eingetragen sein.
 | 
					    In diesem Fall wird ein AMADDevice von Hand angelegt. Die AMAD_ID, hier 123456, muß auch exakt so als globale Variable in Automagic/Tasker eingetragen sein.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user