MAXLAN: add dutycycle as reading
git-svn-id: https://svn.fhem.de/fhem/trunk@4165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -445,6 +445,7 @@ MAXLAN_Parse($$)
|
|||||||
if(@args > 5){
|
if(@args > 5){
|
||||||
$dutycycle = hex($args[5]);
|
$dutycycle = hex($args[5]);
|
||||||
$hash->{dutycycle} = sprintf("%3.0f %%", $dutycycle);
|
$hash->{dutycycle} = sprintf("%3.0f %%", $dutycycle);
|
||||||
|
readingsSingleUpdate( $hash, 'dutycycle', $dutycycle, 1 );
|
||||||
}
|
}
|
||||||
my $freememory = 0;
|
my $freememory = 0;
|
||||||
if(@args > 6){
|
if(@args > 6){
|
||||||
|
|||||||
Reference in New Issue
Block a user