mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 20:06:18 +00:00
MAX: update commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@2732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5e9f17e51b
commit
4d0a47712a
@ -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.</li>
|
||||
<li>deassociate <value><br>
|
||||
Removes the association set by associate.</li>
|
||||
<li>fake <device> <parameters...><br>
|
||||
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.</li>
|
||||
<li>weekProfile [<day> <temp1>,<until1>,<temp2>,<until2>] [<day> <temp1>,<until1>,<temp2>,<until2>] ...<br>
|
||||
Allows setting the week profile. For devices of type HeatingThermostat or WallMountedThermostat only. Example:<br>
|
||||
<code>set MAX_12345 weekProfile Fri 24.5,6:00,12,15:00,5 Sat 7,4:30,19,12:55,6</code><br>
|
||||
|
@ -494,7 +494,16 @@ CUL_MAX_BroadcastTime(@)
|
||||
<br>
|
||||
|
||||
<a name="CUL_MAXset"></a>
|
||||
<b>Set</b> <ul>N/A</ul><br>
|
||||
<b>Set</b>
|
||||
<ul>
|
||||
<li>pairmode<br>
|
||||
Sets the CUL_MAX into pairing mode for 60 seconds where it can be paired with other devices (Thermostats, Buttons, etc.). You also have to set the other device into pairing mode manually. (For Thermostats, this is pressing the "Boost" button for 3 seconds, for example).</li>
|
||||
<li>fakeSC <device> <open><br>
|
||||
Sends a fake ShutterContactState message; <open> must be 0 or 1 for "window closed" or "window opened". Make sure you associate the target device with fakeShutterContact beforehand.</li>
|
||||
<li>fakeWT <device> <desiredTemperature> <measuredTemperature><br>
|
||||
Sends a fake WallThermostatControl message (parameters 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 fakeWallThermostat beforehand.</li>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<a name="CUL_MAXget"></a>
|
||||
<b>Get</b> <ul>N/A</ul><br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user