{"id":25297,"date":"2020-10-15T17:43:50","date_gmt":"2020-10-15T15:43:50","guid":{"rendered":"http:\/\/support.ilevia.com\/?p=25297"},"modified":"2021-06-23T11:59:55","modified_gmt":"2021-06-23T09:59:55","slug":"scrip-for-vmc","status":"publish","type":"post","link":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/","title":{"rendered":"Scrip for VMC"},"content":{"rendered":"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221;][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<h1 style=\"text-align: center;\">SCRIPT FOR VMC DEVICES<\/h1>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<blockquote>\n<h2><strong>INTRODUCTION<\/strong><\/h2>\n<\/blockquote>\n<p>This scrpt will set the value coming from a set point considered as a Max temperature and set inside a info component, that will be taken and considered in a function. At the same time the hour of the max temperature will be recorded in turn inside an another info that will be considered to activate the VMC the next day at the hour that has been recorded to set the Machine at the specific max temperature.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px||0px|||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<blockquote>\n<h3><strong>SCRIPT EXPLANATION<\/strong><\/h3>\n<\/blockquote>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<h3 style=\"text-align: center;\"><strong>VARIABLES<\/strong><\/h3>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/variables_VMC.png&#8221; alt=&#8221;Types of variables that are going to define the component inside the Home automatio software EVE Manager Pro&#8221; title_text=&#8221;variables_VMC&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; max_width=&#8221;100%&#8221; min_height=&#8221;100%&#8221; height=&#8221;150px&#8221; max_height=&#8221;150%&#8221; custom_padding=&#8221;|0px||||&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-12px|||||&#8221;]\n<p>First lets create the <strong>variables<\/strong> for the elements that we are going to use inside the Functions.<\/p>\n<p><strong>var setpoint<\/strong>: This first variable is the one that will contain the value of the component set point, so set with the component ID 13;<\/p>\n<p><strong>var tempmax<\/strong>: This second Variable will take care about the value of the first info component that contain&#8217;s the max temperature that the set point reaches with the component ID 12;<\/p>\n<p><strong>var time<\/strong>: This third variable will contain the hour of the day with the component ID 14;<\/p>\n<p><strong>var enable:\u00a0<\/strong>This fourth variable will allow the user to enable or disable the function at his desires, with the component ID 16;<\/p>\n<p><strong>var reset: <\/strong>This fifth variable will allow the user to reset the recorded time at his desires, with the component ID 17;<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||||false|false&#8221; custom_padding=&#8221;0px||1px|||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<h3 style=\"text-align: center;\"><strong>SCRIPTS EXECUTION<\/strong><\/h3>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||-10px|||&#8221;]\n<blockquote>\n<h3 style=\"text-align: left;\"><strong>FIRST FUNCTION<\/strong><\/h3>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/function_setpointchangeg.png&#8221; alt=&#8221;This function rappresents the action that will happen when the function is triggered&#8221; title_text=&#8221;function_setpointchangeg&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;10px||||false|false&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-3px||||false|false&#8221;]\n<p><strong>Function setpointchanged()<\/strong>: This function will record the current value of the set point and the current value of the time. Both these variables will be processed in the second part of the function, the if will consider that, if the current max temperature is minor of the current value of the set point the temperature will be set to the info component that corrispond to the variable temp_max.<\/p>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<p>There are other variable in this function, these other variable are set to get the time that will be considered as the time that is set to the info 12 to save the hour when the temp_max reaches its peak.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/function_variable.png&#8221; alt=&#8221;what does each variable inside the function do&#8221; title_text=&#8221;function_variable&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||||false|false&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-22px||0px||false|false&#8221; custom_padding=&#8221;2px|||||&#8221;]\n<blockquote>\n<h4><strong>Function&#8217;s variable<\/strong><\/h4>\n<\/blockquote>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-16px|||||&#8221;]\n<p><strong>var d = new date()<\/strong>; This variable will get the date from the 1 jannuary form 1970.<\/p>\n<p><strong>var t = d.getTime()<\/strong>: This variable get the live time of your current position.<\/p>\n<p><strong>var minutes = d.getMinutes()<\/strong>: This variable the live minutes of your position.<\/p>\n<p><strong>var hour = d.getthours()<\/strong>:\u00a0 This variable the live hour of your position.<\/p>\n<p><strong>setValue(time,hour+&#8221;:&#8221;+minutes)<\/strong>: This &#8220;setValue&#8221; funciton will set the current time inside the info component ID 12 eahter known as <strong>var time<\/strong>.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;||0px|||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<blockquote>\n<h3><strong>SECOND FUNCTION<\/strong><\/h3>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/function_timechanged.png&#8221; alt=&#8221;This function rappresents what will happen when the action Check Time is triggered&#8221; title_text=&#8221;function_timechanged&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-10px|||||&#8221;]\n<p><strong>Function checkTime()<\/strong>: This function will get the current system time and the current Temp_max, these two values will be set to the setpoint and to the info component of the max temperature with ID 13.\u00a0<\/p>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-22px||0px||false|false&#8221; custom_padding=&#8221;2px|||||&#8221; locked=&#8221;off&#8221;]\n<blockquote>\n<h4><strong>Function&#8217;s variable<\/strong><\/h4>\n<\/blockquote>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<p><strong>var d = new date()<\/strong>; This variable will get the date from the 1 jannuary form 1970.<\/p>\n<p><strong>var t = d.getTime()<\/strong>: This variable get the live time of your current position.<\/p>\n<p><strong>var minutes = d.getMinutes()<\/strong>: This variable the live minutes of your position.<\/p>\n<p><strong>var hour = d.getthours()<\/strong>:\u00a0 This variable the live hour of your position.<\/p>\n<p><strong>var maxTime = getValueAsString(time)<\/strong>: This variable will record the current maxTime value as text.<\/p>\n<p><strong>var currentTempMax = getValueAsDouble(temp_Max)<\/strong>: This variable will record the current value written with decimal from inside the variable called temp_max.<\/p>\n<p><strong>setValue(setpoint, currentTempMax)<\/strong>: This setValue will set the values to the setpoint and the temperautre to the variable currentTempMax.<\/p>\n<p>&nbsp;<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;||0px|||&#8221; locked=&#8221;off&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<blockquote>\n<h3><strong>THIRD FUNCTION<\/strong><\/h3>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/function_resetTime.png&#8221; alt=&#8221;This function rappresents what will happen when the action Reset changed is triggered&#8221; title_text=&#8221;function_resetTime&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-14px||||false|false&#8221;]\n<p><strong>Function resetChanged()<\/strong>:\u00a0 This function if needed will reset the time set in the max time variable, this is linked to the variable called &#8220;var reset&#8221;,\u00a0 this function as said will reset the time of the maxTime set.<\/p>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-22px||0px||false|false&#8221; custom_padding=&#8221;2px|||||&#8221; locked=&#8221;off&#8221;]\n<blockquote>\n<h4><strong>Function&#8217;s variable<\/strong><\/h4>\n<\/blockquote>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<p><strong>var currentSetPoint = getValueAsDouble(setpoint)<\/strong>: This variable will get the current value of the setpoint component with decimals.<\/p>\n<p><strong>var d = new date()<\/strong>; This variable will get the date from the 1 jannuary form 1970.<\/p>\n<p><strong>var t = d.getTime()<\/strong>: This variable get the live time of your current position.<\/p>\n<p><strong>var minutes = d.getMinutes()<\/strong>: This variable the live minutes of your position.<\/p>\n<p><strong>var hour = d.getthours()<\/strong>:\u00a0 This variable the live hour of your position.<\/p>\n<p><strong>setValue(time,hour+&#8221;:&#8221;+minutes)<\/strong>: This &#8220;setValue&#8221; funciton will set the current time inside the info component ID 12 eahter known as <strong>var time<\/strong>.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;||0px|||&#8221; locked=&#8221;off&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<blockquote>\n<h3><strong>SET TRIGGERS<\/strong><\/h3>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/settriggers.png&#8221; alt=&#8221;How does the setTriggers works to trigger the function &#8221; title_text=&#8221;settriggers&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.7.5&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-15px||||false|false&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]\n<p><strong><a href=\"http:\/\/support.ilevia.com\/configuration-software-en\/script\/#setVars\" target=\"_blank\" rel=\"noopener noreferrer\">setTrigger<\/a>(setpoint,&#8221;setpointchanged&#8221;)<\/strong>:\u00a0 This action will execute the <strong>setpointchanged<\/strong> function to the component setpoint.<\/p>\n<p><strong><a href=\"http:\/\/support.ilevia.com\/configuration-software-en\/script\/#setVars\" target=\"_blank\" rel=\"noopener noreferrer\">setTriggerEdge<\/a>(reset,&#8221;on&#8221;,&#8221;resetChanged&#8221;)<\/strong>: This action will execute the reset of the time component once the pulse component is pressed allowing the record of another time value.<\/p>\n<p><strong><a href=\"http:\/\/support.ilevia.com\/configuration-software-en\/script\/#setVars\" target=\"_blank\" rel=\"noopener noreferrer\">setInterval<\/a>(10,&#8221;checkTime&#8221;)<\/strong>: This action will add an interval of 10 seconds to the checkTime function.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;]\n<h2 style=\"text-align: center;\">USER INTERFACE\u00a0<\/h2>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;f069e280-95aa-444f-b65b-f33082ca48d8&#8243;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/script_VMC_enable.gif&#8221; alt=&#8221;This is how the script works inside the User interface within the Home automation App EVE Remote Plus&#8221; title_text=&#8221;script_VMC_enable&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-17px|||||&#8221;]\n<blockquote>\n<p>This is how the entire script works inside the User interface of the EVE Remote plus when enabled.<\/p>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2020\/10\/script_VMC_disable.gif&#8221; title_text=&#8221;script_VMC_disable&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.5.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-21px||||false|false&#8221;]\n<blockquote>\n<p>This is how the script should behave when the switch is set to OFF.<\/p>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>SCRIPT FOR VMC DEVICES INTRODUCTION This scrpt will set the value coming from a set point considered as a Max temperature and set inside a info component, that will be taken and considered in a function. At the same time the hour of the max temperature will be recorded in turn inside an another info [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[1,18],"tags":[],"class_list":["post-25297","post","type-post","status-publish","format-standard","hentry","category-all","category-configuration-software-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scrip for VMC Ilevia Support |<\/title>\n<meta name=\"description\" content=\"Compete guide how to set up a script in order to control a VMC device.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Filippo Amabilia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/\"},\"author\":{\"name\":\"Filippo Amabilia\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#\\\/schema\\\/person\\\/08a8d13dee0bc9f160da55efe97b7959\"},\"headline\":\"Scrip for VMC\",\"datePublished\":\"2020-10-15T15:43:50+00:00\",\"dateModified\":\"2021-06-23T09:59:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/\"},\"wordCount\":2147,\"publisher\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#organization\"},\"articleSection\":[\"All Archives\",\"Configuration Software\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/\",\"url\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/\",\"name\":\"Scrip for VMC Ilevia Support |\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#website\"},\"datePublished\":\"2020-10-15T15:43:50+00:00\",\"dateModified\":\"2021-06-23T09:59:55+00:00\",\"description\":\"Compete guide how to set up a script in order to control a VMC device.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/scrip-for-vmc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Software Configurazione\",\"item\":\"https:\\\/\\\/support.ilevia.com\\\/it\\\/archivi\\\/software-configurazione\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Scrip for VMC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/\",\"name\":\"Ilevia Support\",\"description\":\"Assistance &amp; Technical Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#organization\",\"name\":\"Ilevia\",\"url\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/support.ilevia.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/ilevia.png\",\"contentUrl\":\"http:\\\/\\\/support.ilevia.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/ilevia.png\",\"width\":500,\"height\":500,\"caption\":\"Ilevia\"},\"image\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ileviaofficial\\\/\",\"https:\\\/\\\/www.instagram.com\\\/ilevia_official\\\/\",\"https:\\\/\\\/it.linkedin.com\\\/company\\\/ilevia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/ilevia\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#\\\/schema\\\/person\\\/08a8d13dee0bc9f160da55efe97b7959\",\"name\":\"Filippo Amabilia\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0e396093874891309dc46571e6eec478bc2a5080be4f76a70e1ca9deb9f99eec?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0e396093874891309dc46571e6eec478bc2a5080be4f76a70e1ca9deb9f99eec?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0e396093874891309dc46571e6eec478bc2a5080be4f76a70e1ca9deb9f99eec?s=96&d=mm&r=g\",\"caption\":\"Filippo Amabilia\"},\"url\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/author\\\/filippo-amabilia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scrip for VMC Ilevia Support |","description":"Compete guide how to set up a script in order to control a VMC device.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/","twitter_misc":{"Written by":"Filippo Amabilia","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/#article","isPartOf":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/"},"author":{"name":"Filippo Amabilia","@id":"https:\/\/support.ilevia.com\/en\/#\/schema\/person\/08a8d13dee0bc9f160da55efe97b7959"},"headline":"Scrip for VMC","datePublished":"2020-10-15T15:43:50+00:00","dateModified":"2021-06-23T09:59:55+00:00","mainEntityOfPage":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/"},"wordCount":2147,"publisher":{"@id":"https:\/\/support.ilevia.com\/en\/#organization"},"articleSection":["All Archives","Configuration Software"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/","url":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/","name":"Scrip for VMC Ilevia Support |","isPartOf":{"@id":"https:\/\/support.ilevia.com\/en\/#website"},"datePublished":"2020-10-15T15:43:50+00:00","dateModified":"2021-06-23T09:59:55+00:00","description":"Compete guide how to set up a script in order to control a VMC device.","breadcrumb":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/scrip-for-vmc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/support.ilevia.com\/en\/"},{"@type":"ListItem","position":2,"name":"Software Configurazione","item":"https:\/\/support.ilevia.com\/it\/archivi\/software-configurazione\/"},{"@type":"ListItem","position":3,"name":"Scrip for VMC"}]},{"@type":"WebSite","@id":"https:\/\/support.ilevia.com\/en\/#website","url":"https:\/\/support.ilevia.com\/en\/","name":"Ilevia Support","description":"Assistance &amp; Technical Guides","publisher":{"@id":"https:\/\/support.ilevia.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/support.ilevia.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/support.ilevia.com\/en\/#organization","name":"Ilevia","url":"https:\/\/support.ilevia.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.ilevia.com\/en\/#\/schema\/logo\/image\/","url":"http:\/\/support.ilevia.com\/wp-content\/uploads\/2018\/12\/ilevia.png","contentUrl":"http:\/\/support.ilevia.com\/wp-content\/uploads\/2018\/12\/ilevia.png","width":500,"height":500,"caption":"Ilevia"},"image":{"@id":"https:\/\/support.ilevia.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ileviaofficial\/","https:\/\/www.instagram.com\/ilevia_official\/","https:\/\/it.linkedin.com\/company\/ilevia\/","https:\/\/www.youtube.com\/ilevia\/"]},{"@type":"Person","@id":"https:\/\/support.ilevia.com\/en\/#\/schema\/person\/08a8d13dee0bc9f160da55efe97b7959","name":"Filippo Amabilia","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0e396093874891309dc46571e6eec478bc2a5080be4f76a70e1ca9deb9f99eec?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0e396093874891309dc46571e6eec478bc2a5080be4f76a70e1ca9deb9f99eec?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e396093874891309dc46571e6eec478bc2a5080be4f76a70e1ca9deb9f99eec?s=96&d=mm&r=g","caption":"Filippo Amabilia"},"url":"https:\/\/support.ilevia.com\/en\/author\/filippo-amabilia\/"}]}},"_links":{"self":[{"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/25297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/comments?post=25297"}],"version-history":[{"count":80,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/25297\/revisions"}],"predecessor-version":[{"id":37838,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/25297\/revisions\/37838"}],"wp:attachment":[{"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/media?parent=25297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/categories?post=25297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/tags?post=25297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}