mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
MAX: Send broadcast flag if groupid != 0
git-svn-id: https://svn.fhem.de/fhem/trunk@2904 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4720a8ef84
commit
fd81cfcf57
@ -267,7 +267,7 @@ MAX_Set($@)
|
|||||||
|
|
||||||
my $payload = sprintf("%02x",int($temperature*2.0) | ($ctrlmode << 6));
|
my $payload = sprintf("%02x",int($temperature*2.0) | ($ctrlmode << 6));
|
||||||
$payload .= $until if(defined($until));
|
$payload .= $until if(defined($until));
|
||||||
return ($hash->{IODev}{Send})->($hash->{IODev},"SetTemperature",$hash->{addr},$payload);
|
return ($hash->{IODev}{Send})->($hash->{IODev},"SetTemperature",$hash->{addr},$payload, groupId => sprintf("%02x",$hash->{groupid}), flags => ( $hash->{groupid} ? "04" : "00" ));
|
||||||
|
|
||||||
}elsif($setting ~~ ["boostDuration", "boostValveposition", "decalcification","maxValveSetting","valveOffset"]
|
}elsif($setting ~~ ["boostDuration", "boostValveposition", "decalcification","maxValveSetting","valveOffset"]
|
||||||
and $hash->{type} =~ /HeatingThermostat.*/){
|
and $hash->{type} =~ /HeatingThermostat.*/){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user