mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +00:00
WS300: fix for device number 9
git-svn-id: https://svn.fhem.de/fhem/trunk@1945 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e35443b946
commit
9d3125cb39
@ -397,12 +397,12 @@ WS300_Parse($$)
|
||||
}
|
||||
else
|
||||
{
|
||||
readingsBeginUpdate($def);
|
||||
|
||||
$def = $modules{WS300}{defptr}{9};
|
||||
$def->{READINGS}{$txt[0]}{VAL} = 0 if(!$def->{READINGS});
|
||||
$ref = $def->{READINGS};
|
||||
|
||||
readingsBeginUpdate($def);
|
||||
|
||||
$t = hex($a[62+$offs].$a[63+$offs].$a[64+$offs].$a[65+$offs]);
|
||||
$t -= 65535 if( $t > 32767 );
|
||||
$t /= 10.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user