mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 17:36:01 +00:00
CUL_HM: fwupdate
git-svn-id: https://svn.fhem.de/fhem/trunk@10878 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5cabbfe993
commit
287b08c81d
@ -2031,7 +2031,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
|||||||
push @evtEt,[$mh{devH},1,"sabotageError:".(($err&0x04) ? "on":"off")];
|
push @evtEt,[$mh{devH},1,"sabotageError:".(($err&0x04) ? "on":"off")];
|
||||||
push @evtEt,[$mh{devH},1,"battery:".(($err&0x08)?"critical":($err&0x80?"low":"ok"))];
|
push @evtEt,[$mh{devH},1,"battery:".(($err&0x08)?"critical":($err&0x80?"low":"ok"))];
|
||||||
}
|
}
|
||||||
elsif ($mh{md} =~ m /HM-LC-SW.-BA-PCB/){
|
elsif ($mh{md} =~ m /(HM-LC-SW.-BA-PCB|HM-Dis-TD-T)/){
|
||||||
push @evtEt,[$mh{devH},1,"battery:" . (($err&0x80) ? "low" : "ok" )];
|
push @evtEt,[$mh{devH},1,"battery:" . (($err&0x80) ? "low" : "ok" )];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4998,6 +4998,12 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
elsif($cmd eq "fwUpdate") { #################################################
|
elsif($cmd eq "fwUpdate") { #################################################
|
||||||
|
if ($a[2] eq "onlyEnterBootLoader") {
|
||||||
|
Log3 $name,2,"CUL_HM entering bootloader for $name";
|
||||||
|
CUL_HM_SndCmd($hash, sprintf("%02X",$modules{CUL_HM}{helper}{updateNbr})
|
||||||
|
."3011$id${dst}CA");
|
||||||
|
return ("",1);
|
||||||
|
}
|
||||||
return "no filename given" if (!$a[2]);
|
return "no filename given" if (!$a[2]);
|
||||||
# return "only thru CUL " if (!$hash->{IODev}->{TYPE}
|
# return "only thru CUL " if (!$hash->{IODev}->{TYPE}
|
||||||
# ||($hash->{IODev}->{TYPE} ne "CUL"));
|
# ||($hash->{IODev}->{TYPE} ne "CUL"));
|
||||||
@ -8743,6 +8749,14 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
<li><B>deviceRename <newName></B><a name="CUL_HMdeviceRename"></a><br>
|
<li><B>deviceRename <newName></B><a name="CUL_HMdeviceRename"></a><br>
|
||||||
rename the device and all its channels.
|
rename the device and all its channels.
|
||||||
</li>
|
</li>
|
||||||
|
<li><B>fwUpdate [onlyEnterBootLoader] <filename> [<waitTime>]</B><br>
|
||||||
|
update Fw of the device. User must provide the appropriate file.
|
||||||
|
waitTime can be given optionally. In case the device needs to be set to
|
||||||
|
FW update mode manually this is the time the system will wait.<br>
|
||||||
|
"onlyEnterBootLoader" tells the device to enter the boot loader so it can be
|
||||||
|
flashed using the eq3 firmware update tool. Mainly useful for flush-mounted devices
|
||||||
|
in FHEM environments solely using HM-LAN adapters.
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
@ -9038,10 +9052,6 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
</li>
|
</li>
|
||||||
<li>Climate-Control (HM-CC-RT-DN|HM-CC-RT-DN-BoM)
|
<li>Climate-Control (HM-CC-RT-DN|HM-CC-RT-DN-BoM)
|
||||||
<ul>
|
<ul>
|
||||||
<li><B>fwUpdate <filename> [<waitTime>] </B><br>
|
|
||||||
update Fw of the device. User must provide the appropriate file.
|
|
||||||
waitTime can be given optional. In case the device needs to be set to
|
|
||||||
FW update mode manually this is the time the system will wait. </li>
|
|
||||||
<li><B>controlMode <auto|boost|day|night></B><br></li>
|
<li><B>controlMode <auto|boost|day|night></B><br></li>
|
||||||
<li><B>controlManu <temp></B><br></li>
|
<li><B>controlManu <temp></B><br></li>
|
||||||
<li><B>controlParty <temp><startDate><startTime><endDate><endTime></B><br>
|
<li><B>controlParty <temp><startDate><startTime><endDate><endTime></B><br>
|
||||||
@ -10078,7 +10088,16 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
siehe auch <a href="#CUL_HMpress">press</a>
|
siehe auch <a href="#CUL_HMpress">press</a>
|
||||||
</li>
|
</li>
|
||||||
<li><B>deviceRename <newName></B><a name="CUL_HMdeviceRename"></a><br>
|
<li><B>deviceRename <newName></B><a name="CUL_HMdeviceRename"></a><br>
|
||||||
benennt das Device und alle seine Kanäle um.
|
benennt das Device und alle seine Kanäle um.
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li><B>fwUpdate [onlyEnterBootLoader] <filename> [<waitTime>]</B><br>
|
||||||
|
update Fw des Device. Der User muss das passende FW file bereitstellen.
|
||||||
|
waitTime ist optional. Es ist die Wartezeit, um das Device manuell in den FW-update-mode
|
||||||
|
zu versetzen.<br>
|
||||||
|
"onlyEnterBootLoader" schickt das Device in den Booloader so dass es vom eq3 Firmware Update
|
||||||
|
Tool geflashed werden kann. Hauptsächlich für Unterputz-Aktoren in Verbindung mit
|
||||||
|
FHEM Installationen die ausschliesslich HM-LANs nutzen interessant.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
@ -10293,10 +10312,6 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
</li>
|
</li>
|
||||||
<li>Climate-Control (HM-CC-TC)
|
<li>Climate-Control (HM-CC-TC)
|
||||||
<ul>
|
<ul>
|
||||||
<li><B>fwUpdate <filename> [<waitTime>] </B><br>
|
|
||||||
update Fw des Device. Der User muss das passende FW file bereitstellen.
|
|
||||||
waitTime ist optional. Es ist die Wartezeit, um das Device manuell in den FW-update-mode
|
|
||||||
zu versetzen.</li>
|
|
||||||
<li><B>desired-temp <temp></B><br>
|
<li><B>desired-temp <temp></B><br>
|
||||||
Setzt verschiedene Temperaturen. <temp> muss zwischen 6°C und 30°C liegen, die Auflösung beträgt 0.5°C.</li>
|
Setzt verschiedene Temperaturen. <temp> muss zwischen 6°C und 30°C liegen, die Auflösung beträgt 0.5°C.</li>
|
||||||
<li><B>tempListSat [prep|exec] HH:MM temp ... 24:00 temp</B><br></li>
|
<li><B>tempListSat [prep|exec] HH:MM temp ... 24:00 temp</B><br></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user