mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
88_xs1Bridge: documentation | xs1 with password
git-svn-id: https://svn.fhem.de/fhem/trunk@16681 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2c4c1f2b6f
commit
02d3410e70
@ -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: 88_xs1Bridge: documentation | xs1 with password
|
||||
- bugfix: 36_Vallox: Fixed Multireadings. Added Legacy Mapping.
|
||||
added set commands
|
||||
- bugfix: 00_MQTT: topics and payload patch
|
||||
|
@ -87,7 +87,7 @@ sub xs1Bridge_Define($$) {
|
||||
|
||||
$hash->{STATE} = "Initialized"; ## Der Status des Modules nach Initialisierung.
|
||||
$hash->{TIME} = time(); ## Zeitstempel, derzeit vom anlegen des Moduls
|
||||
$hash->{VERSION} = "1.24"; ## Version
|
||||
$hash->{VERSION} = "1.26"; ## Version
|
||||
$hash->{BRIDGE} = 1;
|
||||
|
||||
# Attribut gesetzt
|
||||
@ -141,18 +141,18 @@ sub xs1Bridge_Attr(@) {
|
||||
### Ansicht xs1_Device_function ###
|
||||
}elsif ($attrName eq "view_Device_function") {
|
||||
if ($attrValue eq "1") { ## Handling view_Device_function 1
|
||||
Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue";
|
||||
#Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue";
|
||||
}
|
||||
elsif ($attrValue eq "0") { ## Handling view_Device_function 0
|
||||
Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue";
|
||||
#Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue";
|
||||
}
|
||||
### Ansicht xs1_Device_name ###
|
||||
}elsif ($attrName eq "view_Device_name") {
|
||||
if ($attrValue eq "1") { ## Handling view_Device_name 1
|
||||
Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue";
|
||||
#Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue";
|
||||
}
|
||||
elsif ($attrValue eq "0") { ## Handling view_Device_name 0
|
||||
Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue";
|
||||
#Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue";
|
||||
for my $i (0..64) {
|
||||
delete $hash->{READINGS}{"Aktor_".sprintf("%02d", $i)."_name"} if($hash->{READINGS});
|
||||
delete $hash->{READINGS}{"Sensor_".sprintf("%02d", $i)."_name"} if($hash->{READINGS});
|
||||
@ -161,10 +161,10 @@ sub xs1Bridge_Attr(@) {
|
||||
### Wertaenderung nur bei Difference ###
|
||||
}elsif ($attrName eq "update_only_difference") {
|
||||
if ($attrValue eq "1") { ## Handling update_only_difference 1
|
||||
Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue";
|
||||
#Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue";
|
||||
}
|
||||
elsif ($attrValue eq "0") { ## Handling update_only_difference 0
|
||||
Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue";
|
||||
#Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue";
|
||||
for my $i (0..64) {
|
||||
delete $hash->{READINGS}{"Aktor_".sprintf("%02d", $i)."_name"} if($hash->{READINGS});
|
||||
}
|
||||
@ -698,16 +698,20 @@ sub is_in_array($$$)
|
||||
<a name="xs1Bridge_define"></a>
|
||||
<b>Define</b><br>
|
||||
<ul>
|
||||
<code>define <NAME> xs1Bridge <IP></code>
|
||||
xs1 without password: <code>define <NAME> xs1Bridge <IP></code><br>
|
||||
xs1 with password: <code>define <NAME> xs1Bridge <User>:<Passwort>@<IP></code>
|
||||
<br><br>
|
||||
|
||||
The module can not create without the IP of the xs1. If the IP can not be reached during module definition, the Define process is aborted.
|
||||
<ul>
|
||||
<li><code><IP></code> is IP address in the local network.</li>
|
||||
<li><code><IP></code> is IP address in the local network</li>
|
||||
<li><code><User></code> is the administrator user admin (default)</li>
|
||||
<li><code><Password></code> is the assigned administrator password in xs1</li>
|
||||
</ul><br>
|
||||
example:
|
||||
examples:
|
||||
<ul>
|
||||
define EZcontrol_xs1 xs1Bridge 192.168.1.45
|
||||
define EZcontrol_xs1 xs1Bridge 192.168.1.45<br>
|
||||
define EZcontrol_xs1 xs1Bridge admin:secret@192.168.1.45<br>
|
||||
</ul>
|
||||
</ul><br>
|
||||
<b>Set</b>
|
||||
@ -796,16 +800,20 @@ sub is_in_array($$$)
|
||||
<a name="xs1Bridge_define"></a>
|
||||
<b>Define</b><br>
|
||||
<ul>
|
||||
<code>define <NAME> xs1Bridge <IP></code>
|
||||
xs1 ohne Passwortabfrage: <code>define <NAME> xs1Bridge <IP></code><br>
|
||||
xs1 mit Passwortabfrage: <code>define <NAME> xs1Bridge <User>:<Passwort>@<IP></code>
|
||||
<br><br>
|
||||
|
||||
Ein anlegen des Modules ohne Angabe der IP vom xs1 ist nicht möglich. Sollte die IP bei der Moduldefinierung nicht erreichbar sein, so bricht der Define Vorgang ab.
|
||||
<ul>
|
||||
<li><code><IP></code> ist IP-Adresse im lokalen Netzwerk.</li>
|
||||
<li><code><IP></code> ist IP-Adresse im lokalen Netzwerk</li>
|
||||
<li><code><User></code> ist der Administrator Benutzer admin (standard)</li>
|
||||
<li><code><Passwort></code> ist das vergebene Administrator Passwort im xs1.</li>
|
||||
</ul><br>
|
||||
Beispiel:
|
||||
Beispiele:
|
||||
<ul>
|
||||
define EZcontrol_xs1 xs1Bridge 192.168.1.45
|
||||
define EZcontrol_xs1 xs1Bridge 192.168.1.45<br>
|
||||
define EZcontrol_xs1 xs1Bridge admin:geheim@192.168.1.45<br>
|
||||
</ul>
|
||||
</ul><br>
|
||||
<b>Set</b>
|
||||
|
Loading…
Reference in New Issue
Block a user