mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
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:
parent
2e56ddc0b9
commit
943255d7ba
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user