From 663f476b318e11d9ea234824a2b1fc04aca7949c Mon Sep 17 00:00:00 2001
From: mgehre <>
Date: Wed, 16 Oct 2013 19:12:00 +0000
Subject: [PATCH] MAX: add use v5.10.1 (thanks tybytyby), corrected
documentation
git-svn-id: https://svn.fhem.de/fhem/trunk@4054 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/10_MAX.pm | 5 +++--
fhem/FHEM/14_CUL_MAX.pm | 2 ++
fhem/FHEM/MaxCommon.pm | 2 ++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/fhem/FHEM/10_MAX.pm b/fhem/FHEM/10_MAX.pm
index f774eaff0..bf8971b58 100755
--- a/fhem/FHEM/10_MAX.pm
+++ b/fhem/FHEM/10_MAX.pm
@@ -4,6 +4,7 @@
#
package main;
+use v5.10.1;
use strict;
use warnings;
use MIME::Base64;
@@ -862,13 +863,13 @@ MAX_Parse($$)
For devices of type HeatingThermostat only. <value> maybe one of
- degree celcius between 3.5 and 30.5 in 0.5 degree steps
- - "on" or "off" correspondig to 30.5 and 4.5 degree celcius
+ - "on" or "off" set the thermostat to full or no heating, respectively
- "eco" or "comfort" using the eco/comfort temperature set on the device (just as the right-most physical button on the device itself does)
- "auto <temperature>". The weekly program saved on the thermostat is processed. If the optional <temperature> is given, it is set as desiredTemperature until the next switch point of the weekly program.
- "boost", activates the boost mode, where for boostDuration minutes the valve is opened up boostValveposition percent.
All values but "auto" maybe accompanied by the "until" clause, with <data> 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!
+ to set a temporary temperature until that date/time. Make sure that the cube/device has a correct system time.
groupid <id>
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.
diff --git a/fhem/FHEM/14_CUL_MAX.pm b/fhem/FHEM/14_CUL_MAX.pm
index 2daaa8003..54aeca24e 100644
--- a/fhem/FHEM/14_CUL_MAX.pm
+++ b/fhem/FHEM/14_CUL_MAX.pm
@@ -3,6 +3,8 @@
# Written by Matthias Gehre, M.Gehre@gmx.de, 2012-2013
package main;
+use v5.10.1;
+
use strict;
use warnings;
use MaxCommon;
diff --git a/fhem/FHEM/MaxCommon.pm b/fhem/FHEM/MaxCommon.pm
index 3269c069b..98a5e3aff 100644
--- a/fhem/FHEM/MaxCommon.pm
+++ b/fhem/FHEM/MaxCommon.pm
@@ -1,5 +1,7 @@
package MaxCommon;
+use v5.10.1;
+
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(%device_types %msgId2Cmd %msgCmd2Id $defaultWeekProfile MAX_ParseTemperature validTemperature);