mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
write str registers to log file
git-svn-id: https://svn.fhem.de/fhem/trunk@5422 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
43660b1925
commit
f2016a0f49
@ -816,6 +816,7 @@ SWAP_updateReadings($$$)
|
|||||||
for( my $i = 0; $i < length($value)-6; $i+=2 ) {
|
for( my $i = 0; $i < length($value)-6; $i+=2 ) {
|
||||||
$v .= sprintf( "%c", hex(substr($value, $i, 2)) );
|
$v .= sprintf( "%c", hex(substr($value, $i, 2)) );
|
||||||
}
|
}
|
||||||
|
Log3 $name, 4, "$endpoint->{name}: $v";
|
||||||
#$value = $v;
|
#$value = $v;
|
||||||
readingsBulkUpdate($hash, lc($endpoint->{name}), $v);
|
readingsBulkUpdate($hash, lc($endpoint->{name}), $v);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user