70_PylonLowVoltage: contrib V0.1.9

git-svn-id: https://svn.fhem.de/fhem/trunk@27995 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2023-09-25 09:04:12 +00:00
parent 980694a9b0
commit 5a534b267e

View File

@@ -122,7 +122,8 @@ BEGIN {
# Versions History intern (Versions history by Heiko Maaz) # Versions History intern (Versions history by Heiko Maaz)
my %vNotesIntern = ( my %vNotesIntern = (
"0.1.8" => "23.09.2023 new Attr userBatterytype, change manufacturerInfo command hash to LENID=0 ", "0.1.9" => "25.09.2023 fix possible bat adresses ",
"0.1.8" => "23.09.2023 new Attr userBatterytype, change manufacturerInfo, protocolVersion command hash to LENID=0 ",
"0.1.7" => "20.09.2023 extend possible number of bats from 6 to 8 ", "0.1.7" => "20.09.2023 extend possible number of bats from 6 to 8 ",
"0.1.6" => "19.09.2023 rework of _callAnalogValue, support of more than 15 cells ", "0.1.6" => "19.09.2023 rework of _callAnalogValue, support of more than 15 cells ",
"0.1.5" => "19.09.2023 internal code change ", "0.1.5" => "19.09.2023 internal code change ",
@@ -374,8 +375,8 @@ sub Define {
($hash->{HOST}, $hash->{PORT}) = split ":", $args[2]; ($hash->{HOST}, $hash->{PORT}) = split ":", $args[2];
$hash->{BATADDRESS} = $args[3] // 1; $hash->{BATADDRESS} = $args[3] // 1;
if ($hash->{BATADDRESS} !~ /[123456]/xs) { if ($hash->{BATADDRESS} !~ /[12345678]/xs) {
return "Define: bataddress must be a value between 1 and 6"; return "Define: bataddress must be a value between 1 and 8";
} }
my $params = { my $params = {
@@ -1670,7 +1671,7 @@ Batteriemanagementsystem über die RS485-Schnittstelle zur Verfügung stellt.
<a id="PylonLowVoltage-attr-userBatterytype"></a> <a id="PylonLowVoltage-attr-userBatterytype"></a>
<li><b>userBatterytype</b><br> <li><b>userBatterytype</b><br>
Der automatisch ermittelte Batterietyp (Reading batteryType) durch die angegebene Zeichenfolge ersetzt. Der automatisch ermittelte Batterietyp (Reading batteryType) wird durch die angegebene Zeichenfolge ersetzt.
</li> </li>
<br> <br>
</ul> </ul>