Homematic devices - accessing parameters


#1

I am using PI & COC to talk with Homematic radiator valves (HM-CC-RT-DN). I can issue simple commands. E.g.
print_r($Client->send(“getValue”, array(1, 4, “SET_TEMPERATURE”)));
print_r($Client->send(“getValue”, array(1, 2, “BATTERY_STATE”)));
print_r($Client->send(“setValue”, array(1, 4, “SET_TEMPERATURE”)));
print_r($Client->send(“getValue”, array(4, 4, “VALVE_STATE” )));
These work ok.

The configs within the valves are able to store 13 time / temperature programs per day (i.e. 7 x 13 times, and 7 x 13 temperatures), and also COMFORT_TEMPORATURE and ECO_TEMPORATURE, (and others). These allow the valves to continue to operate to a pre-program even if they lost the link to central.

I can see the parameters in the xml files but cannot work out the syntax for the print_r($Client command to read & write to them. They seem to be in a different (MASTER?) section from the more basic settings above which I can access.

Can anyone give me an example of the syntax?

Ultimately I would like to send to all the valves (and any wall-thermostats) an updated ‘pre-program set’ maybe once a month to reflect the general heating requirement at that particular time of year.

Thanks.


#2

If I issue this command all the parameters are returned as an array, but I cannot read them individually and cannot set them individually.
print_r($Client->send(“getParamset”, array(2, -1, “MASTER”)));

Can anyone suggest the syntax?


#3

Found how to set individually:-
print_r($Client->send(“putParamset”, array(2, -1, “MASTER”, array(“TEMPERATURE_FRIDAY_1” => 25.0))));

Would still like to know how to read an individual element without having to parse the whole MASTER table ?


#4

Hey,

currently that’s not possible - I just added a GitHub issue though to add that feature :wink: [1].

Cheers,

Sathya

[1] https://github.com/Homegear/Homegear/issues/187


#5

Thank you for your answers.

I am still confused by the parameters (data points) of Homematic devices (in particular the radiator valve HM-CC-RT-DN).
The detailed document from eq-3 at
http://www.eq-3.de/Downloads/PDFs/Dokumentation_und_Tutorials/HM_Script_Teil_4_Datenpunkte_1_503.pdf
lists various primary (‘well-known’) parameters that are accessible via a channel/name pair.

HM-CC-RT-DN
1 WEATHER_RECEIVER
2 CLIMATECONTROL_RECEIVER
3 WINDOW_SWITCH_RECEIVER
4 CLIMATECONTROL_RT_TRANSCEIVER
5 CLIMATECONTROL_RT_RECEIVER
6 REMOTECONTROL_RECEIVER

Channel 4 = CLIMATECONTROL_RT_TRANSCEIVER
CONTROL_MODE
FAULT_REPORTING
BATTERY_STATE
VALVE_STATE
BOOST_STATE
ACTUAL_TEMPERATURE
SET_TEMPERATURE
AUTO_MODE
MANU_MODE
BOOST_MODE
COMFORT_MODE
LOWERING_MODE

I can access these in Homegear like this:
READ
print_r($Client->send(“getValue”, array(1, 4, “SET_TEMPERATURE”)));
WRITE
print_r($Client->send(“setValue”, array(1, 4, “SET_TEMPERATURE”,14.0)));

From openHAB I can access by
READ
(items:) Number Valve_set_temp_item “Temp [%.1f °C]” {homematic=“address=LEQ1344150, channel=4, parameter=SET_TEMPERATURE”}
WRITE
(rules:) sendCommand(Valve_set_temp_item, 14.0)

So far, so good!

But there are other parameters (parameter-sets?) in the device that are desirable to read & write to that are held within a ‘MASTER’ table and a ‘VALUES’. These are documented in the XML files and are returned by issuing these commands.
print_r($Client->send(“getParamset”, array(4, -1, “MASTER”)));
print_r($Client->send(“getParamset”, array(4, -1, “VALUES”)));

I particularly want to access the weekly time/temp profile entries in the MASTER table.
I can only read the whole table at the moment by
print_r($Client->send(“getParamset”, array(4, -1, “MASTER”)));

but can write an individual value
print_r($Client->send(“putParamset”, array(4, -1, “MASTER”, array(“ENDTIME_FRIDAY_1” => 440))));

I would like to read/write to/from the MASTER table from openHAB but cannot work out the syntax.
How can I write to the MASTER table of a device from openHAB?

If it is not possible to access the MASTER table from openHAB, can I define a script in homegear and execute that script from openHAB?

Using the above example (“ENDTIME_FRIDAY_1” => 440) how would I create such a script to do that in homegear & openHAB?

Thank you in advance.


#6

You could create a Pushbutton in openHAB that calls a php Script in Homegears scripts folder (/var/lib/homegear/scripts/) that updates the paramSets.

EDIT:
Here’s my script, setting the weekplan for the childrens room (i’m using MAX!). paste.debian.net/162597/


#7

Thanks Vrob01,

That was what I wanted (and of course I found it buried in the openHAB wiki as well now!!). I have set-up broadly the same switch as your example. It seems you are doing the same as I am trying to do.

Are you comfortable that your script runs completely each time? I was wondering whether it was necessary to issue separate send commands for each endtime with a small spacing delay inbetween. At an extreme I might need to do this x20 times (for 20 radiators!).

Ultimately I would like several pre-prepared profiles that could be uploaded depending on the weather (normal-profile, cold-profile, very-cold-profile etc). As the weather gets colder over the season I would like the radiators to heat slightly earlier and maybe a degree or so higher.

Sathya could you confirm if you are aware of an openHAB syntax that would read/write to the Master/Values Paramset of a device. i.e. the openHAB equivalent of:

Kind regards.


#8

I needed multiple, easily switchable weekplans for serveral rooms in our flat, since our kids stay half of the month at their biological dads place and therefore I don’t want to heat the room just to keep their toys warm :wink:

[quote=“riverjet”]
Are you comfortable that your script runs completely each time? I was wondering whether it was necessary to issue separate send commands for each endtime with a small spacing delay inbetween. At an extreme I might need to do this x20 times (for 20 radiators!). [/quote]
As I said I only need to switch the plans every other or every second week so I don’t really care how long execution takes, as long as all the parameters are set, but that is something Homegear takes care of. When I started working on that, I discovered a bug in Homegear that made it impossible to set such large weekplans (or to be more precise: if your script would cause more pending packages than allowed by the 1% rule, Homegear would fail to continue where it had to stop and wait for the timeout but instead start over and over again and therefore entering an infinite loop). But thanks to sathyas lightning fast bug fixing this was gone in like 2 days or so… So now everything is working as intended.
Here’s the thread (in german though): viewtopic.php?f=11&t=202

I’d rather let homegear take care of timing, timeouts and so on and just call the RPC-methods as far as needed and let Homegear figure out everything else. Thus, if something needs to be fixed or changed, you can just file a bug/request, make it available for everyone and have an easy upgrade procedure.

Only thing you might consider is that if you program 20 radiators at once with a sophisticated week plan at once, your package queues might get pretty full. I’m not sure how programming works with HomeMatic, but with MAX! devices the aforementioned weekplan takes more than the couple of packages the CUL allows to be sent in 15 mins (which is the makers interpretation of the 1% rule) and so the system gets stalled until the next 15 min window opens and sending is allowed again. Packages that could not be sent due to 1% rule will be kept and sent later, so you don’t really loose them, it just makes bugfixing sometimes really annyoing :wink:
Anyway, with that many radiators to be programmed, your system could become blocked for quite some time (all under the premise that HomeMatics radio protocoll sucks as much as MAX!s does :wink:).

Greets,
Markus


#9

Hey riverjet,

No, I’m sorry, there is currently no direct way to set configuration parameters through openHAB. There is a more complex way, which would enable you to set the individual parameters from openHAB: In the device’s XML file you could create a copy of all configuration parameters of the “MASTER” parameter set in the “VALUES” parameter set. These variables then are settable through openHAB. Additionally create a “SUBMIT” parameter (to not cause huge amounts of traffic). Then add a Homegear event which is triggered when “SUBMIT” is updated and executes a script which calls “putParamset”.

Cheers,

Sathya


#10

Entry not found any more at the link paste.debian.net/162597/ . Can you post the script directly here?
Thanks


#11

Here is mine.

The number arrays are the device ids. First one are all my hm-cc-rt-dn, the second array consists of my wall thermostats (hm-tc-it-wm-w-eu).

#!/usr/bin/env php
<?php
//Wochenprogramm fuer hm-cc-rt-dn                                                                                                                                        
$hg = new \Homegear\Homegear();
print_r("1");
$hg->setScriptLogLevel(5);
$hk = array(6,10,15,16,17,36,38,40,45,48,50,52,54,55,57);

$i=0;
foreach ($hk as &$device) {
    $hg->putParamset($device, -1, "MASTER", array("TEMPERATURE_LOWERING" => 19.0, 
                                                  "TEMPERATURE_COMFORT" => 22.0,
                                                  "BOOST_TIME_PERIOD" => 3,
                                                  "DECALCIFICATION_TIME" => 14 + $i,

                                                  "TEMPERATURE_MONDAY_1"=> 17.0,
                                                  "ENDTIME_MONDAY_1"=> 375,
                                                  "TEMPERATURE_MONDAY_2"=> 21.0,
                                                  "ENDTIME_MONDAY_2"=> 540,
                                                  "TEMPERATURE_MONDAY_3"=> 19.0,
                                                  "ENDTIME_MONDAY_3"=> 1005,
                                                  "TEMPERATURE_MONDAY_4"=> 21.0,
                                                  "ENDTIME_MONDAY_4"=> 1230,
                                                  "TEMPERATURE_MONDAY_5"=> 17.0,
                                                  "ENDTIME_MONDAY_5"=> 1440,
                                                  "TEMPERATURE_MONDAY_6"=> 17.0,
                                                  "ENDTIME_MONDAY_6"=> 1440,
                                                  "TEMPERATURE_MONDAY_7"=> 17.0,
                                                  "ENDTIME_MONDAY_7"=> 1440,
                                                  "TEMPERATURE_MONDAY_8"=> 17.0,
                                                  "ENDTIME_MONDAY_8"=> 1440,
                                                  "TEMPERATURE_MONDAY_9"=> 17.0,
                                                  "ENDTIME_MONDAY_9"=> 1440,
                                                  "TEMPERATURE_MONDAY_10"=> 17.0,
                                                  "ENDTIME_MONDAY_10"=> 1440,
                                                  "TEMPERATURE_MONDAY_11"=> 17.0,
                                                  "ENDTIME_MONDAY_11"=> 1440,
                                                  "TEMPERATURE_MONDAY_12"=> 17.0,
                                                  "ENDTIME_MONDAY_12"=> 1440,
                                                  "TEMPERATURE_MONDAY_13"=> 17.0,
                                                  "ENDTIME_MONDAY_13"=> 1440,
                                             
                                             
                                                  "TEMPERATURE_TUESDAY_1"=> 17.0,
                                                  "ENDTIME_TUESDAY_1"=> 375,
                                                  "TEMPERATURE_TUESDAY_2"=> 21.0,
                                                  "ENDTIME_TUESDAY_2"=> 540,
                                                  "TEMPERATURE_TUESDAY_3"=> 19.0,
                                                  "ENDTIME_TUESDAY_3"=> 1005,
                                                  "TEMPERATURE_TUESDAY_4"=> 21.0,
                                                  "ENDTIME_TUESDAY_4"=> 1230,
                                                  "TEMPERATURE_TUESDAY_5"=> 17.0,
                                                  "ENDTIME_TUESDAY_5"=> 1440,
                                                  "TEMPERATURE_TUESDAY_6"=> 17.0,
                                                  "ENDTIME_TUESDAY_6"=> 1440,
                                                  "TEMPERATURE_TUESDAY_7"=> 17.0,
                                                  "ENDTIME_TUESDAY_7"=> 1440,
                                                  "TEMPERATURE_TUESDAY_8"=> 17.0,
                                                  "ENDTIME_TUESDAY_8"=> 1440,
                                                  "TEMPERATURE_TUESDAY_9"=> 17.0,
                                                  "ENDTIME_TUESDAY_9"=> 1440,
                                                  "TEMPERATURE_TUESDAY_10"=> 17.0,
                                                  "ENDTIME_TUESDAY_10"=> 1440,
                                                  "TEMPERATURE_TUESDAY_11"=> 17.0,
                                                  "ENDTIME_TUESDAY_11"=> 1440,
                                                  "TEMPERATURE_TUESDAY_12"=> 17.0,
                                                  "ENDTIME_TUESDAY_12"=> 1440,
                                                  "TEMPERATURE_TUESDAY_13"=> 17.0,
                                                  "ENDTIME_TUESDAY_13"=> 1440,
                                             
                                                  "TEMPERATURE_WEDNESDAY_1"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_1"=> 375,
                                                  "TEMPERATURE_WEDNESDAY_2"=> 21.0,
                                                  "ENDTIME_WEDNESDAY_2"=> 540,
                                                  "TEMPERATURE_WEDNESDAY_3"=> 19.0,
                                                  "ENDTIME_WEDNESDAY_3"=> 1005,
                                                  "TEMPERATURE_WEDNESDAY_4"=> 21.0,
                                                  "ENDTIME_WEDNESDAY_4"=> 1230,
                                                  "TEMPERATURE_WEDNESDAY_5"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_5"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_6"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_6"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_7"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_7"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_8"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_8"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_9"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_9"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_10"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_10"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_11"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_11"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_12"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_12"=> 1440,
                                                  "TEMPERATURE_WEDNESDAY_13"=> 17.0,
                                                  "ENDTIME_WEDNESDAY_13"=> 1440,
                                             
                                                  "TEMPERATURE_THURSDAY_1"=> 17.0,
                                                  "ENDTIME_THURSDAY_1"=> 375,
                                                  "TEMPERATURE_THURSDAY_2"=> 21.0,
                                                  "ENDTIME_THURSDAY_2"=> 540,
                                                  "TEMPERATURE_THURSDAY_3"=> 19.0,
                                                  "ENDTIME_THURSDAY_3"=> 1005,
                                                  "TEMPERATURE_THURSDAY_4"=> 21.0,
                                                  "ENDTIME_THURSDAY_4"=> 1230,
                                                  "TEMPERATURE_THURSDAY_5"=> 17.0,
                                                  "ENDTIME_THURSDAY_5"=> 1440,
                                                  "TEMPERATURE_THURSDAY_6"=> 17.0,
                                                  "ENDTIME_THURSDAY_6"=> 1440,
                                                  "TEMPERATURE_THURSDAY_7"=> 17.0,
                                                  "ENDTIME_THURSDAY_7"=> 1440,
                                                  "TEMPERATURE_THURSDAY_8"=> 17.0,
                                                  "ENDTIME_THURSDAY_8"=> 1440,
                                                  "TEMPERATURE_THURSDAY_9"=> 17.0,
                                                  "ENDTIME_THURSDAY_9"=> 1440,
                                                  "TEMPERATURE_THURSDAY_10"=> 17.0,
                                                  "ENDTIME_THURSDAY_10"=> 1440,
                                                  "TEMPERATURE_THURSDAY_11"=> 17.0,
                                                  "ENDTIME_THURSDAY_11"=> 1440,
                                                  "TEMPERATURE_THURSDAY_12"=> 17.0,
                                                  "ENDTIME_THURSDAY_12"=> 1440,
                                                  "TEMPERATURE_THURSDAY_13"=> 17.0,
                                                  "ENDTIME_THURSDAY_13"=> 1440,
                                             
                                                  "TEMPERATURE_FRIDAY_1"=> 17.0,
                                                  "ENDTIME_FRIDAY_1"=> 375,
                                                  "TEMPERATURE_FRIDAY_2"=> 21.0,
                                                  "ENDTIME_FRIDAY_2"=> 540,
                                                  "TEMPERATURE_FRIDAY_3"=> 21.0,
                                                  "ENDTIME_FRIDAY_3"=> 1305,
                                                  "TEMPERATURE_FRIDAY_4"=> 17.0,
                                                  "ENDTIME_FRIDAY_4"=> 1440,
                                                  "TEMPERATURE_FRIDAY_5"=> 17.0,
                                                  "ENDTIME_FRIDAY_5"=> 1440,
                                                  "TEMPERATURE_FRIDAY_6"=> 17.0,
                                                  "ENDTIME_FRIDAY_6"=> 1440,
                                                  "TEMPERATURE_FRIDAY_7"=> 17.0,
                                                  "ENDTIME_FRIDAY_7"=> 1440,
                                                  "TEMPERATURE_FRIDAY_8"=> 17.0,
                                                  "ENDTIME_FRIDAY_8"=> 1440,
                                                  "TEMPERATURE_FRIDAY_9"=> 17.0,
                                                  "ENDTIME_FRIDAY_9"=> 1440,
                                                  "TEMPERATURE_FRIDAY_10"=> 17.0,
                                                  "ENDTIME_FRIDAY_10"=> 1440,
                                                  "TEMPERATURE_FRIDAY_11"=> 17.0,
                                                  "ENDTIME_FRIDAY_11"=> 1440,
                                                  "TEMPERATURE_FRIDAY_12"=> 17.0,
                                                  "ENDTIME_FRIDAY_12"=> 1440,
                                                  "TEMPERATURE_FRIDAY_13"=> 17.0,
                                                  "ENDTIME_FRIDAY_13"=> 1440,
                                             
                                                  "TEMPERATURE_SATURDAY_1"=> 17.0,
                                                  "ENDTIME_SATURDAY_1"=> 495,
                                                  "TEMPERATURE_SATURDAY_2"=> 21.0,
                                                  "ENDTIME_SATURDAY_2"=> 540,
                                                  "TEMPERATURE_SATURDAY_3"=> 21.0,
                                                  "ENDTIME_SATURDAY_3"=> 1305,
                                                  "TEMPERATURE_SATURDAY_4"=> 17.0,
                                                  "ENDTIME_SATURDAY_4"=> 1440,
                                                  "TEMPERATURE_SATURDAY_5"=> 17.0,
                                                  "ENDTIME_SATURDAY_5"=> 1440,
                                                  "TEMPERATURE_SATURDAY_6"=> 17.0,
                                                  "ENDTIME_SATURDAY_6"=> 1440,
                                                  "TEMPERATURE_SATURDAY_7"=> 17.0,
                                                  "ENDTIME_SATURDAY_7"=> 1440,
                                                  "TEMPERATURE_SATURDAY_8"=> 17.0,
                                                  "ENDTIME_SATURDAY_8"=> 1440,
                                                  "TEMPERATURE_SATURDAY_9"=> 17.0,
                                                  "ENDTIME_SATURDAY_9"=> 1440,
                                                  "TEMPERATURE_SATURDAY_10"=> 17.0,
                                                  "ENDTIME_SATURDAY_10"=> 1440,
                                                  "TEMPERATURE_SATURDAY_11"=> 17.0,
                                                  "ENDTIME_SATURDAY_11"=> 1440,
                                                  "TEMPERATURE_SATURDAY_12"=> 17.0,
                                                  "ENDTIME_SATURDAY_12"=> 1440,
                                                  "TEMPERATURE_SATURDAY_13"=> 17.0,
                                                  "ENDTIME_SATURDAY_13"=> 1440,
                                             
                                                  "TEMPERATURE_SUNDAY_1"=> 17.0,
                                                  "ENDTIME_SUNDAY_1"=> 555,
                                                  "TEMPERATURE_SUNDAY_2"=> 21.0,
                                                  "ENDTIME_SUNDAY_2"=> 600,
                                                  "TEMPERATURE_SUNDAY_3"=> 21.0,
                                                  "ENDTIME_SUNDAY_3"=> 1230,
                                                  "TEMPERATURE_SUNDAY_4"=> 17.0,
                                                  "ENDTIME_SUNDAY_4"=> 1440,
                                                  "TEMPERATURE_SUNDAY_5"=> 17.0,
                                                  "ENDTIME_SUNDAY_5"=> 1440,
                                                  "TEMPERATURE_SUNDAY_6"=> 17.0,
                                                  "ENDTIME_SUNDAY_6"=> 1440,
                                                  "TEMPERATURE_SUNDAY_7"=> 17.0,
                                                  "ENDTIME_SUNDAY_7"=> 1440,
                                                  "TEMPERATURE_SUNDAY_8"=> 17.0,
                                                  "ENDTIME_SUNDAY_8"=> 1440,
                                                  "TEMPERATURE_SUNDAY_9"=> 17.0,
                                                  "ENDTIME_SUNDAY_9"=> 1440,
                                                  "TEMPERATURE_SUNDAY_10"=> 17.0,
                                                  "ENDTIME_SUNDAY_10"=> 1440,
                                                  "TEMPERATURE_SUNDAY_11"=> 17.0,
                                                  "ENDTIME_SUNDAY_11"=> 1440,
                                                  "TEMPERATURE_SUNDAY_12"=> 17.0,
                                                  "ENDTIME_SUNDAY_12"=> 1440,
                                                  "TEMPERATURE_SUNDAY_13"=> 17.0,
                                                  "ENDTIME_SUNDAY_13"=> 1440
                                                 )
                    );
    $i = $i+1;

   
}

$wt = array(35,37,43,56,70,71);
foreach ($wt as &$device) {
    $hg->putParamset($device, -1, "MASTER", array("TEMPERATURE_LOWERING" => 19.0, 
                                                  "TEMPERATURE_COMFORT" => 22.0,
                                                  "BOOST_TIME_PERIOD" => 3,

                                                  "P1_TEMPERATURE_MONDAY_1"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_1"=> 375,
                                                  "P1_TEMPERATURE_MONDAY_2"=> 21.0,
                                                  "P1_ENDTIME_MONDAY_2"=> 540,
                                                  "P1_TEMPERATURE_MONDAY_3"=> 19.0,
                                                  "P1_ENDTIME_MONDAY_3"=> 1005,
                                                  "P1_TEMPERATURE_MONDAY_4"=> 21.0,
                                                  "P1_ENDTIME_MONDAY_4"=> 1230,
                                                  "P1_TEMPERATURE_MONDAY_5"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_6"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_7"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_8"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_9"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_10"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_11"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_12"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_MONDAY_13"=> 17.0,
                                                  "P1_ENDTIME_MONDAY_13"=> 1440,
                                             
                                             
                                                  "P1_TEMPERATURE_TUESDAY_1"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_1"=> 375,
                                                  "P1_TEMPERATURE_TUESDAY_2"=> 21.0,
                                                  "P1_ENDTIME_TUESDAY_2"=> 540,
                                                  "P1_TEMPERATURE_TUESDAY_3"=> 19.0,
                                                  "P1_ENDTIME_TUESDAY_3"=> 1005,
                                                  "P1_TEMPERATURE_TUESDAY_4"=> 21.0,
                                                  "P1_ENDTIME_TUESDAY_4"=> 1230,
                                                  "P1_TEMPERATURE_TUESDAY_5"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_6"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_7"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_8"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_9"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_10"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_11"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_12"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_TUESDAY_13"=> 17.0,
                                                  "P1_ENDTIME_TUESDAY_13"=> 1440,
                                             
                                                  "P1_TEMPERATURE_WEDNESDAY_1"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_1"=> 375,
                                                  "P1_TEMPERATURE_WEDNESDAY_2"=> 21.0,
                                                  "P1_ENDTIME_WEDNESDAY_2"=> 540,
                                                  "P1_TEMPERATURE_WEDNESDAY_3"=> 19.0,
                                                  "P1_ENDTIME_WEDNESDAY_3"=> 1005,
                                                  "P1_TEMPERATURE_WEDNESDAY_4"=> 21.0,
                                                  "P1_ENDTIME_WEDNESDAY_4"=> 1230,
                                                  "P1_TEMPERATURE_WEDNESDAY_5"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_6"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_7"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_8"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_9"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_10"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_11"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_12"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_WEDNESDAY_13"=> 17.0,
                                                  "P1_ENDTIME_WEDNESDAY_13"=> 1440,
                                             
                                                  "P1_TEMPERATURE_THURSDAY_1"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_1"=> 375,
                                                  "P1_TEMPERATURE_THURSDAY_2"=> 21.0,
                                                  "P1_ENDTIME_THURSDAY_2"=> 540,
                                                  "P1_TEMPERATURE_THURSDAY_3"=> 19.0,
                                                  "P1_ENDTIME_THURSDAY_3"=> 1005,
                                                  "P1_TEMPERATURE_THURSDAY_4"=> 21.0,
                                                  "P1_ENDTIME_THURSDAY_4"=> 1230,
                                                  "P1_TEMPERATURE_THURSDAY_5"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_6"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_7"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_8"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_9"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_10"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_11"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_12"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_THURSDAY_13"=> 17.0,
                                                  "P1_ENDTIME_THURSDAY_13"=> 1440,
                                             
                                                  "P1_TEMPERATURE_FRIDAY_1"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_1"=> 375,
                                                  "P1_TEMPERATURE_FRIDAY_2"=> 21.0,
                                                  "P1_ENDTIME_FRIDAY_2"=> 540,
                                                  "P1_TEMPERATURE_FRIDAY_3"=> 21.0,
                                                  "P1_ENDTIME_FRIDAY_3"=> 1305,
                                                  "P1_TEMPERATURE_FRIDAY_4"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_4"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_5"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_6"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_7"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_8"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_9"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_10"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_11"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_12"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_FRIDAY_13"=> 17.0,
                                                  "P1_ENDTIME_FRIDAY_13"=> 1440,
                                             
                                                  "P1_TEMPERATURE_SATURDAY_1"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_1"=> 495,
                                                  "P1_TEMPERATURE_SATURDAY_2"=> 21.0,
                                                  "P1_ENDTIME_SATURDAY_2"=> 540,
                                                  "P1_TEMPERATURE_SATURDAY_3"=> 21.0,
                                                  "P1_ENDTIME_SATURDAY_3"=> 1305,
                                                  "P1_TEMPERATURE_SATURDAY_4"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_4"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_5"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_6"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_7"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_8"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_9"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_10"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_11"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_12"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_SATURDAY_13"=> 17.0,
                                                  "P1_ENDTIME_SATURDAY_13"=> 1440,
                                             
                                                  "P1_TEMPERATURE_SUNDAY_1"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_1"=> 555,
                                                  "P1_TEMPERATURE_SUNDAY_2"=> 21.0,
                                                  "P1_ENDTIME_SUNDAY_2"=> 600,
                                                  "P1_TEMPERATURE_SUNDAY_3"=> 21.0,
                                                  "P1_ENDTIME_SUNDAY_3"=> 1230,
                                                  "P1_TEMPERATURE_SUNDAY_4"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_4"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_5"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_5"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_6"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_6"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_7"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_7"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_8"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_8"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_9"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_9"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_10"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_10"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_11"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_11"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_12"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_12"=> 1440,
                                                  "P1_TEMPERATURE_SUNDAY_13"=> 17.0,
                                                  "P1_ENDTIME_SUNDAY_13"=> 1440,

                                                  "P2_TEMPERATURE_MONDAY_1"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_1"=> 375,
                                                  "P2_TEMPERATURE_MONDAY_2"=> 21.0,
                                                  "P2_ENDTIME_MONDAY_2"=> 540,
                                                  "P2_TEMPERATURE_MONDAY_3"=> 19.0,
                                                  "P2_ENDTIME_MONDAY_3"=> 1005,
                                                  "P2_TEMPERATURE_MONDAY_4"=> 21.0,
                                                  "P2_ENDTIME_MONDAY_4"=> 1230,
                                                  "P2_TEMPERATURE_MONDAY_5"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_6"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_7"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_8"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_9"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_10"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_11"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_12"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_MONDAY_13"=> 17.0,
                                                  "P2_ENDTIME_MONDAY_13"=> 1440,
                                             
                                             
                                                  "P2_TEMPERATURE_TUESDAY_1"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_1"=> 375,
                                                  "P2_TEMPERATURE_TUESDAY_2"=> 21.0,
                                                  "P2_ENDTIME_TUESDAY_2"=> 540,
                                                  "P2_TEMPERATURE_TUESDAY_3"=> 19.0,
                                                  "P2_ENDTIME_TUESDAY_3"=> 1005,
                                                  "P2_TEMPERATURE_TUESDAY_4"=> 21.0,
                                                  "P2_ENDTIME_TUESDAY_4"=> 1230,
                                                  "P2_TEMPERATURE_TUESDAY_5"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_6"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_7"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_8"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_9"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_10"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_11"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_12"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_TUESDAY_13"=> 17.0,
                                                  "P2_ENDTIME_TUESDAY_13"=> 1440,
                                             
                                                  "P2_TEMPERATURE_WEDNESDAY_1"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_1"=> 375,
                                                  "P2_TEMPERATURE_WEDNESDAY_2"=> 21.0,
                                                  "P2_ENDTIME_WEDNESDAY_2"=> 540,
                                                  "P2_TEMPERATURE_WEDNESDAY_3"=> 19.0,
                                                  "P2_ENDTIME_WEDNESDAY_3"=> 1005,
                                                  "P2_TEMPERATURE_WEDNESDAY_4"=> 21.0,
                                                  "P2_ENDTIME_WEDNESDAY_4"=> 1230,
                                                  "P2_TEMPERATURE_WEDNESDAY_5"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_6"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_7"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_8"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_9"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_10"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_11"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_12"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_WEDNESDAY_13"=> 17.0,
                                                  "P2_ENDTIME_WEDNESDAY_13"=> 1440,
                                             
                                                  "P2_TEMPERATURE_THURSDAY_1"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_1"=> 375,
                                                  "P2_TEMPERATURE_THURSDAY_2"=> 21.0,
                                                  "P2_ENDTIME_THURSDAY_2"=> 540,
                                                  "P2_TEMPERATURE_THURSDAY_3"=> 19.0,
                                                  "P2_ENDTIME_THURSDAY_3"=> 1005,
                                                  "P2_TEMPERATURE_THURSDAY_4"=> 21.0,
                                                  "P2_ENDTIME_THURSDAY_4"=> 1230,
                                                  "P2_TEMPERATURE_THURSDAY_5"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_6"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_7"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_8"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_9"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_10"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_11"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_12"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_THURSDAY_13"=> 17.0,
                                                  "P2_ENDTIME_THURSDAY_13"=> 1440,
                                             
                                                  "P2_TEMPERATURE_FRIDAY_1"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_1"=> 375,
                                                  "P2_TEMPERATURE_FRIDAY_2"=> 21.0,
                                                  "P2_ENDTIME_FRIDAY_2"=> 540,
                                                  "P2_TEMPERATURE_FRIDAY_3"=> 21.0,
                                                  "P2_ENDTIME_FRIDAY_3"=> 1305,
                                                  "P2_TEMPERATURE_FRIDAY_4"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_4"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_5"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_6"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_7"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_8"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_9"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_10"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_11"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_12"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_FRIDAY_13"=> 17.0,
                                                  "P2_ENDTIME_FRIDAY_13"=> 1440,
                                             
                                                  "P2_TEMPERATURE_SATURDAY_1"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_1"=> 495,
                                                  "P2_TEMPERATURE_SATURDAY_2"=> 21.0,
                                                  "P2_ENDTIME_SATURDAY_2"=> 540,
                                                  "P2_TEMPERATURE_SATURDAY_3"=> 21.0,
                                                  "P2_ENDTIME_SATURDAY_3"=> 1305,
                                                  "P2_TEMPERATURE_SATURDAY_4"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_4"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_5"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_6"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_7"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_8"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_9"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_10"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_11"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_12"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_SATURDAY_13"=> 17.0,
                                                  "P2_ENDTIME_SATURDAY_13"=> 1440,
                                             
                                                  "P2_TEMPERATURE_SUNDAY_1"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_1"=> 555,
                                                  "P2_TEMPERATURE_SUNDAY_2"=> 21.0,
                                                  "P2_ENDTIME_SUNDAY_2"=> 600,
                                                  "P2_TEMPERATURE_SUNDAY_3"=> 21.0,
                                                  "P2_ENDTIME_SUNDAY_3"=> 1230,
                                                  "P2_TEMPERATURE_SUNDAY_4"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_4"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_5"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_5"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_6"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_6"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_7"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_7"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_8"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_8"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_9"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_9"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_10"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_10"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_11"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_11"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_12"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_12"=> 1440,
                                                  "P2_TEMPERATURE_SUNDAY_13"=> 17.0,
                                                  "P2_ENDTIME_SUNDAY_13"=> 1440,
                                                  
                                                  "P3_TEMPERATURE_MONDAY_1"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_1"=> 375,
                                                  "P3_TEMPERATURE_MONDAY_2"=> 21.0,
                                                  "P3_ENDTIME_MONDAY_2"=> 540,
                                                  "P3_TEMPERATURE_MONDAY_3"=> 19.0,
                                                  "P3_ENDTIME_MONDAY_3"=> 1005,
                                                  "P3_TEMPERATURE_MONDAY_4"=> 21.0,
                                                  "P3_ENDTIME_MONDAY_4"=> 1230,
                                                  "P3_TEMPERATURE_MONDAY_5"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_6"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_7"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_8"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_9"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_10"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_11"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_12"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_MONDAY_13"=> 17.0,
                                                  "P3_ENDTIME_MONDAY_13"=> 1440,
                                             
                                             
                                                  "P3_TEMPERATURE_TUESDAY_1"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_1"=> 375,
                                                  "P3_TEMPERATURE_TUESDAY_2"=> 21.0,
                                                  "P3_ENDTIME_TUESDAY_2"=> 540,
                                                  "P3_TEMPERATURE_TUESDAY_3"=> 19.0,
                                                  "P3_ENDTIME_TUESDAY_3"=> 1005,
                                                  "P3_TEMPERATURE_TUESDAY_4"=> 21.0,
                                                  "P3_ENDTIME_TUESDAY_4"=> 1230,
                                                  "P3_TEMPERATURE_TUESDAY_5"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_6"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_7"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_8"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_9"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_10"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_11"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_12"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_TUESDAY_13"=> 17.0,
                                                  "P3_ENDTIME_TUESDAY_13"=> 1440,
                                             
                                                  "P3_TEMPERATURE_WEDNESDAY_1"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_1"=> 375,
                                                  "P3_TEMPERATURE_WEDNESDAY_2"=> 21.0,
                                                  "P3_ENDTIME_WEDNESDAY_2"=> 540,
                                                  "P3_TEMPERATURE_WEDNESDAY_3"=> 19.0,
                                                  "P3_ENDTIME_WEDNESDAY_3"=> 1005,
                                                  "P3_TEMPERATURE_WEDNESDAY_4"=> 21.0,
                                                  "P3_ENDTIME_WEDNESDAY_4"=> 1230,
                                                  "P3_TEMPERATURE_WEDNESDAY_5"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_6"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_7"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_8"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_9"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_10"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_11"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_12"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_WEDNESDAY_13"=> 17.0,
                                                  "P3_ENDTIME_WEDNESDAY_13"=> 1440,
                                             
                                                  "P3_TEMPERATURE_THURSDAY_1"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_1"=> 375,
                                                  "P3_TEMPERATURE_THURSDAY_2"=> 21.0,
                                                  "P3_ENDTIME_THURSDAY_2"=> 540,
                                                  "P3_TEMPERATURE_THURSDAY_3"=> 19.0,
                                                  "P3_ENDTIME_THURSDAY_3"=> 1005,
                                                  "P3_TEMPERATURE_THURSDAY_4"=> 21.0,
                                                  "P3_ENDTIME_THURSDAY_4"=> 1230,
                                                  "P3_TEMPERATURE_THURSDAY_5"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_6"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_7"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_8"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_9"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_10"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_11"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_12"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_THURSDAY_13"=> 17.0,
                                                  "P3_ENDTIME_THURSDAY_13"=> 1440,
                                             
                                                  "P3_TEMPERATURE_FRIDAY_1"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_1"=> 375,
                                                  "P3_TEMPERATURE_FRIDAY_2"=> 21.0,
                                                  "P3_ENDTIME_FRIDAY_2"=> 540,
                                                  "P3_TEMPERATURE_FRIDAY_3"=> 21.0,
                                                  "P3_ENDTIME_FRIDAY_3"=> 1305,
                                                  "P3_TEMPERATURE_FRIDAY_4"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_4"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_5"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_6"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_7"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_8"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_9"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_10"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_11"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_12"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_FRIDAY_13"=> 17.0,
                                                  "P3_ENDTIME_FRIDAY_13"=> 1440,
                                             
                                                  "P3_TEMPERATURE_SATURDAY_1"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_1"=> 495,
                                                  "P3_TEMPERATURE_SATURDAY_2"=> 21.0,
                                                  "P3_ENDTIME_SATURDAY_2"=> 540,
                                                  "P3_TEMPERATURE_SATURDAY_3"=> 21.0,
                                                  "P3_ENDTIME_SATURDAY_3"=> 1305,
                                                  "P3_TEMPERATURE_SATURDAY_4"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_4"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_5"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_6"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_7"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_8"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_9"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_10"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_11"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_12"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_SATURDAY_13"=> 17.0,
                                                  "P3_ENDTIME_SATURDAY_13"=> 1440,
                                             
                                                  "P3_TEMPERATURE_SUNDAY_1"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_1"=> 555,
                                                  "P3_TEMPERATURE_SUNDAY_2"=> 21.0,
                                                  "P3_ENDTIME_SUNDAY_2"=> 600,
                                                  "P3_TEMPERATURE_SUNDAY_3"=> 21.0,
                                                  "P3_ENDTIME_SUNDAY_3"=> 1230,
                                                  "P3_TEMPERATURE_SUNDAY_4"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_4"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_5"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_5"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_6"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_6"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_7"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_7"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_8"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_8"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_9"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_9"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_10"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_10"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_11"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_11"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_12"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_12"=> 1440,
                                                  "P3_TEMPERATURE_SUNDAY_13"=> 17.0,
                                                  "P3_ENDTIME_SUNDAY_13"=> 1440
                                                  

                                                 )
                    );
}