diff --git a/fhem/FHEM/10_MAX.pm b/fhem/FHEM/10_MAX.pm index 4684f2570..5a18c02fb 100755 --- a/fhem/FHEM/10_MAX.pm +++ b/fhem/FHEM/10_MAX.pm @@ -3,8 +3,6 @@ # Written by Matthias Gehre, M.Gehre@gmx.de, 2012-2013 # # TODO: -# - Bounds checking in "fake", allow temperature above 25.5 -# - Defer updating of state until Ack # - Send RemoveGroupId packet if groupid is set to 0 package main; @@ -333,7 +331,7 @@ MAX_Set($@) return ($hash->{IODev}{Send})->($hash->{IODev},"SetDisplayActualTemperature",$hash->{addr}, sprintf("%02x",$args[0] ? 4 : 0), callbackParam => "$setting,$args[0]"); - } elsif($setting eq "fake") { + } elsif($setting eq "fake") { #Deprecated, use fakeWT and fakeSC of CUL_MAX #Resolve first argument to address return "Invalid number of arguments" if(@args == 0); my $dest = $args[0]; @@ -839,10 +837,6 @@ MAX_Parse($$) WallMountedThermostat for control.
  • deassociate <value>
    Removes the association set by associate.
  • -
  • fake <device> <parameters...>
    - Sends a fake state message of this device over the air to <device>. Works only with CUL_MAX as IODev. For ShutterContacts, sends - a ShutterContactState message; <parameters...> must be 0 or 1 for "window closed" or "window opened". For WallMountedThermostats. - sends a WallThermostatControl message; <parameters...> must be "$desiredTemperature $measuredTemperature" (both may have one digit after the decimal point, for desiredTemperature it may only by 0 or 5). Make sure you associate the target device with the source device beforehand.
  • weekProfile [<day> <temp1>,<until1>,<temp2>,<until2>] [<day> <temp1>,<until1>,<temp2>,<until2>] ...
    Allows setting the week profile. For devices of type HeatingThermostat or WallMountedThermostat only. Example:
    set MAX_12345 weekProfile Fri 24.5,6:00,12,15:00,5 Sat 7,4:30,19,12:55,6
    diff --git a/fhem/FHEM/14_CUL_MAX.pm b/fhem/FHEM/14_CUL_MAX.pm index cc5c3cb2d..a391ca573 100644 --- a/fhem/FHEM/14_CUL_MAX.pm +++ b/fhem/FHEM/14_CUL_MAX.pm @@ -494,7 +494,16 @@ CUL_MAX_BroadcastTime(@)
    - Set
    + Set + +
    Get