mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
36_Vallox: Fixed MultiReading Issue
git-svn-id: https://svn.fhem.de/fhem/trunk@21377 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
de3be0367c
commit
c1f006afd3
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 36_Vallox: Fixed MultiReading Issue
|
||||
- feature: 70_BRAVIA: add requestReboot (thx schnakker)
|
||||
- change: 57_SSCal: commandref reviewed
|
||||
- feature: 98_RandomTimer: Add offState attribute to e.g. evaluate state
|
||||
|
@ -5,7 +5,7 @@
|
||||
#
|
||||
# @Author Skjall
|
||||
# @Created 21.07.2016 10:18:23
|
||||
# @Version 1.6.1
|
||||
# @Version 1.6.2
|
||||
#
|
||||
# The modul reads and writes parameters via RS485 from and to a Vallox
|
||||
# ventilation bus.
|
||||
@ -1734,7 +1734,7 @@ sub Vallox_Set($@) {
|
||||
{
|
||||
|
||||
# TODO: Integrate get before set;
|
||||
if ($hash->{ "MR_" . $Vallox_multiReadingTable_realcmd{$cmd} } ) {
|
||||
if (!$hash->{ "MR_" . $Vallox_multiReadingTable_realcmd{$cmd} } ) {
|
||||
return
|
||||
"Vallox: Internal "
|
||||
. $Vallox_multiReadingTable_realcmd{$cmd}
|
||||
@ -1745,11 +1745,11 @@ sub Vallox_Set($@) {
|
||||
. " first!";
|
||||
}
|
||||
|
||||
$arg = Vallox_ReplaceBit(
|
||||
$arg = sprintf("%02x", oct("0b".Vallox_ReplaceBit(
|
||||
$hash,
|
||||
$hash->{ "MR_" . $Vallox_multiReadingTable_realcmd{$cmd} },
|
||||
$Vallox_multiReadingTable_digit{$cmd}, $arg
|
||||
);
|
||||
)));
|
||||
$cmd = $Vallox_multiReadingTable_realcmd{$cmd};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user