MAX: add use v5.10.1 (thanks tybytyby), corrected documentation

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4054 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2013-10-16 19:12:00 +00:00
parent 7fd5b744f6
commit dac804d5e2
3 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,7 @@
# #
package main; package main;
use v5.10.1;
use strict; use strict;
use warnings; use warnings;
use MIME::Base64; use MIME::Base64;
@ -862,13 +863,13 @@ MAX_Parse($$)
For devices of type HeatingThermostat only. <value> maybe one of For devices of type HeatingThermostat only. <value> maybe one of
<ul> <ul>
<li>degree celcius between 3.5 and 30.5 in 0.5 degree steps</li> <li>degree celcius between 3.5 and 30.5 in 0.5 degree steps</li>
<li>"on" or "off" correspondig to 30.5 and 4.5 degree celcius</li> <li>"on" or "off" set the thermostat to full or no heating, respectively</li>
<li>"eco" or "comfort" using the eco/comfort temperature set on the device (just as the right-most physical button on the device itself does)</li> <li>"eco" or "comfort" using the eco/comfort temperature set on the device (just as the right-most physical button on the device itself does)</li>
<li>"auto &lt;temperature&gt;". The weekly program saved on the thermostat is processed. If the optional &lt;temperature&gt; is given, it is set as desiredTemperature until the next switch point of the weekly program.</li> <li>"auto &lt;temperature&gt;". The weekly program saved on the thermostat is processed. If the optional &lt;temperature&gt; is given, it is set as desiredTemperature until the next switch point of the weekly program.</li>
<li>"boost", activates the boost mode, where for boostDuration minutes the valve is opened up boostValveposition percent.</li> <li>"boost", activates the boost mode, where for boostDuration minutes the valve is opened up boostValveposition percent.</li>
</ul> </ul>
All values but "auto" maybe accompanied by the "until" clause, with &lt;data&gt; in format "dd.mm.yyyy HH:MM" (minutes may only be "30" or "00"!) All values but "auto" maybe accompanied by the "until" clause, with &lt;data&gt; in format "dd.mm.yyyy HH:MM" (minutes may only be "30" or "00"!)
to set a temporary temperature until that date/time. Make sure that the cube has valid system time!</li> to set a temporary temperature until that date/time. Make sure that the cube/device has a correct system time.</li>
<li>groupid &lt;id&gt;<br> <li>groupid &lt;id&gt;<br>
For devices of type HeatingThermostat only. For devices of type HeatingThermostat only.
Writes the given group id the device's memory. To sync all devices in one room, set them to the same groupid greater than zero.</li> Writes the given group id the device's memory. To sync all devices in one room, set them to the same groupid greater than zero.</li>

View File

@ -3,6 +3,8 @@
# Written by Matthias Gehre, M.Gehre@gmx.de, 2012-2013 # Written by Matthias Gehre, M.Gehre@gmx.de, 2012-2013
package main; package main;
use v5.10.1;
use strict; use strict;
use warnings; use warnings;
use MaxCommon; use MaxCommon;

View File

@ -1,5 +1,7 @@
package MaxCommon; package MaxCommon;
use v5.10.1;
require Exporter; require Exporter;
@ISA = qw(Exporter); @ISA = qw(Exporter);
@EXPORT = qw(%device_types %msgId2Cmd %msgCmd2Id $defaultWeekProfile MAX_ParseTemperature validTemperature); @EXPORT = qw(%device_types %msgId2Cmd %msgCmd2Id $defaultWeekProfile MAX_ParseTemperature validTemperature);