{"id":13118,"date":"2020-05-12T17:06:34","date_gmt":"2020-05-12T15:06:34","guid":{"rendered":"http:\/\/support.ilevia.com\/?p=13118"},"modified":"2025-07-28T15:00:23","modified_gmt":"2025-07-28T13:00:23","slug":"script","status":"publish","type":"post","link":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/","title":{"rendered":"Script"},"content":{"rendered":"[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;0px|||||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_padding=&#8221;0px|||||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]\n<h1><span style=\"color: #288eb2;\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-19447 alignleft\" src=\"http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/js.png\" alt=\"switch\" width=\"60\" height=\"60\" \/><\/span>Script<\/h1>\n<hr \/>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_padding=&#8221;0px|||||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h2><strong>INTRODUCTION<\/strong><\/h2>\n<\/blockquote>\n<p>Thanks to the Script component it is possible to implement new and customized logics, from the most simple ones to the most complex, through writing code lines using Javascript.<\/p>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.19.1&#8243; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h3><strong>USE CASES<\/strong><\/h3>\n<\/blockquote>\n<ul>\n<li>The user wants to create an additional rule customized on his necesities;<\/li>\n<li>The user wants to customize a rgb light to make it into a loop.<\/li>\n<li>The user wants to create a script that control a VMC device and record the max temperature and the date when the max temperature is reached. Click the <a href=\"https:\/\/support.ilevia.com\/configuration-software-en\/scrip-for-vmc\/\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a> to find out more about this script.<\/li>\n<li>The user wants to make a logic where if there is enaugh power, it will change the set point of a thermostat accordingly with the season selected in a drop down if there is enough power. Click the <a href=\"https:\/\/support.ilevia.com\/configuration-software-en\/power-redundancy-with-setpoint\/\">link<\/a>\u00a0to find out more about this script<\/li>\n<p><!--\n\n<li>The user wants to make a shutter logic which makes a scenario to starts based on external input such as the <a href=\"configuration-software-en\/sunset-sunrise\" target=\"_blank\" rel=\"noopener\">sunset sunrise somponent<\/a>. Click here to discover more about this script.<\/li>\n\n-->\n<\/ul>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,2_3&#8243; admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;||30px||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2021\/11\/Script_component-properties.png&#8221; title_text=&#8221;Script_component-properties&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;18px||-135px|||&#8221; box_shadow_style=&#8221;preset2&#8243; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;off&#8221; sticky=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;2_3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4 style=\"text-align: justify;\"><strong>COMPONENT&#8217;S PROPERTIES<\/strong><\/h4>\n<\/blockquote>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; text_font=&#8221;||||||||&#8221; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;||0px||false|false&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]\n<p style=\"text-align: justify;\">Customizable component\u2019s title and icon. Please refer to \u201c<a href=\"https:\/\/support.ilevia.com\/configuration-software\/eve-manager-pro\/common-properties\/\" target=\"_blank\" rel=\"noopener noreferrer\">Common properties<\/a>\u201d guide.<\/p>\n<p style=\"text-align: justify;\"><strong>Script editor: <\/strong>Once clicked it will pop up the script editor window, here you will be able to develoup your javasciript;<\/p>\n<blockquote>\n<h4 style=\"text-align: justify;\"><strong>Script commands (getValues)<br \/> <\/strong><\/h4>\n<\/blockquote>\n<p style=\"text-align: justify;\"><strong>getValueAsString<\/strong>(<strong><em><span style=\"color: #0000ff;\">IDComponent<\/span><\/em><\/strong>); this\u00a0method will\u00a0get the value of the component using the ID that you can find on EVE Manager as a String (&#8220;this is a string&#8221;.);<\/p>\n<p style=\"text-align: justify;\"><strong>getValueAsInt(<span style=\"color: #0000ff;\"><em><g class=\"gr_ gr_12 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace\" id=\"12\" data-gr-id=\"12\">IDComponent<\/g><\/em><\/span>);\u00a0<\/strong>\u00a0this\u00a0method will<strong>\u00a0<\/strong>get the value of the component using the ID that you can find on EVE Manager as an Integer (1,2,3,4,5 etc.);<\/p>\n<p style=\"text-align: justify;\"><span><strong>getValueAsDouble(<span style=\"color: #0000ff;\"><em>IDComponent<\/em><\/span>);\u00a0<\/strong>this\u00a0method will<strong>\u00a0<\/strong>get the value of the component using the ID that you can find on EVE Manager as a Float (1,5 2,4 3,7 ecc.);<\/span><\/p>\n<p style=\"text-align: justify;\"><strong>getValueAsBoolean(<span style=\"color: #0000ff;\"><em><g class=\"gr_ gr_13 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace\" id=\"13\" data-gr-id=\"13\">IDComponent<\/g><\/em><\/span>);\u00a0<\/strong>this\u00a0method will<strong>\u00a0<\/strong>get the value of the component as a boolean that represents\u00a0 one of two value:<strong> true<\/strong> or <strong>false<\/strong> you can find the ID of the component on EVE Manager;<\/p>\n[\/et_pb_text][et_pb_text module_id=&#8221;setTriggerInfo&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;0%&#8221; max_width=&#8221;0%&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_text][et_pb_text module_id=&#8221;setVars&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||30px||false|false&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]\n<blockquote>\n<h4><strong>Script commands (setValues)<\/strong><\/h4>\n<\/blockquote>\n<p><strong>setValue(<span style=\"color: #0000ff;\"><em><g class=\"gr_ gr_14 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace\" id=\"14\" data-gr-id=\"14\">IDComponent<\/g><\/em>,<em>ValueoftheComponent<\/em><\/span>):<\/strong> This\u00a0method will let you set the value (for example a Switch that have\u00a0 0\/1 values) of your desired component;<\/p>\n<p><strong>setTrigger<\/g>(<span style=\"color: #0000ff;\"><em>IDComponent<\/em>,&#8221;<em>function&#8221;<\/em><\/span>):<\/strong> This method triggers the specified event and the default behavior of an event, it&#8217;s really important to remember that the setTrigger will not work without a component ID and a&#8221;<em>function&#8221;<\/em>;<\/p>\n<p><p><strong>removeTrigger<\/strong>(<span style=\"color: #0000ff;\"><strong><em>component ID<\/em><\/strong><\/span>): This method will let you remove the specified trigger set for the specific component ID.<\/p>\n<p><strong>setTimeout<\/strong>(<span style=\"color: #0000ff;\"><strong><em>component ID<\/em><\/strong><\/span>): This method allows to apply a time out time to the specified function.<\/p>\n<p><strong>setInterval(<span style=\"color: #0000ff;\"><em>seconds<\/em>, &#8220;<em>function&#8221;<\/em><\/span>)<\/strong>: This<strong>\u00a0<\/strong>method will continue calling the function every X seconds set by the user.<\/p>\n<p><strong>removeInterval<\/strong>(<span style=\"color: #0000ff;\">&#8220;<strong><em>function<\/em><\/strong>&#8220;<\/span>): This method will let you remove the specified function that you previously used inside the setInterval.\u00a0object can be used to request data from a web server.<\/p>\n<p><strong>setTriggerEdge(<span style=\"color: #0000ff;\">Component ID,&#8221;value change from state&#8221;, &#8220;function&#8221;<\/span>)<\/strong>:\u00a0This method will trigger the <b>function<\/b> only when the <b>status<\/b> of the <b>component<\/b> changes to the status that we specified as rising or falling in the field &#8220;<b>Value change from state<\/b>&#8221; of a <a href=\"\/configuration-software\/switch\/\" target=\"_blank\" rel=\"noopener\">Switch<\/a>. This statement comes handy in case of function that requires an inversion of the trigger&#8217;s value.<\/p>\n[\/et_pb_text][et_pb_text module_id=&#8221;setVars&#8221; _builder_version=&#8221;4.25.1&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||30px||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4><strong>Additional script functions<br \/>\n<\/strong><\/h4>\n<\/blockquote>\n<p><strong>log<\/strong>:<strong> <\/strong>allows the user to keep tracking of what is happening inside the script. This functionality&#8217;s not still present and it will be available on the next release of the EVE Manager.<\/p>\n<p><strong>HTTPRequest<\/strong>: This method can be used to request data from a web server.\u00a0 An example can be:<\/p>\n<p><span><strong><em>var x<\/em><\/strong><\/span> =HTTPRequest(&#8220;URL&#8221;);<\/p>\n<p><strong>HTTPPost<\/strong>: The POST method is widely implemented in HTML files (Web pages) for sending filled-in forms to the server<strong><em>var x<\/em><\/strong>: HTTPPost(&#8220;URL&#8221;, data);<\/p>\n<p><strong>Note<\/strong>:<strong> <\/strong><em>for any requests \/ suggestions please contact the <a href=\"https:\/\/www.ilevia.com\/support\/\" target=\"_blank\" rel=\"noopener noreferrer\">technical support<\/a>.<\/em>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]\n<p><strong>Reminder before continuing:<\/strong><\/p>\n<div class=\"et_pb_text et_pb_module et_pb_bg_layout_light et_pb_text_align_left et_pb_text_2\">\n<ul>\n<li>Download and Install EVE Logic plugin to enable plugins (<a href=\"https:\/\/support.ilevia.com\/all\/configuration-software\/plugin-installation\/\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a>);<\/li>\n<li>After loading .eve project to the server, run EVE Remote app, log in and then wait a couple of minutes for logics activation.<\/li>\n<\/ul>\n<\/div>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;0px||5px||false|&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]\n<h4 style=\"text-align: center;\"><strong>If&#8230;Else Statement<\/strong><\/h4>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||0px||false|false&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b01<\/h4>\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.16&#8243; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2022\/01\/Script_function_changeWhenReached.png&#8221; alt=&#8221;Javascript code that willl turn on a light once the changeable value reach the value 10 &#8221; title_text=&#8221;Script_function_changeWhenReached&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; custom_margin=&#8221;7px||||false|false&#8221; border_width_all=&#8221;1px&#8221; border_width_right=&#8221;1px&#8221; border_width_bottom=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/change_value.gif&#8221; alt=&#8221;Javascript example where once the changeable value hit the value 10, this will turn on the light within the ilevia&#8217;s app EVE Remote Plus&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example we are using a Switch with the ID &#8220;12&#8221; and a &#8220;Changeable Value&#8221; with the ID &#8220;14&#8221;.\u00a0 Using an <span style=\"color: #800080;\"><em><strong>if statement<\/strong><\/em><\/span> we will able to tell to EVE Manager to enable the Switch when the Changeable Value reaches the number 10 or higher. A perfect use for this script is when you need something to happen when a certain value is reached.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b01 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script-example-n1.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b02<\/h4>\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.18.0&#8243; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2021\/11\/Script_function_changeSeason.png&#8221; alt=&#8221;Javascript code that turn on the air conditioning once the drop down component is set to summer&#8221; title_text=&#8221;Script_function_changeSeason&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; custom_margin=&#8221;7px||||false|false&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Scirpt_summer-winter.png&#8221; alt=&#8221;Drop down season configuration within the Ilevia0s conifguration software EVE Manager&#8221; title_text=&#8221;Scirpt_summer-winter&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.20.4&#8243; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/drop_down_javascript.gif&#8221; alt=&#8221;Javascript season changer trigger within the Ilevia&#8217;s app EVE Remote Plus&#8221; title_text=&#8221;Javascript season changin&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example we are using a Switch with the ID &#8220;14&#8221; and a &#8220;Drop Down&#8221; with the ID &#8220;13&#8221;.\u00a0 Using an <span style=\"color: #800080;\"><em><strong>if statement<\/strong><\/em><\/span> we will able to tell to EVE Manager to enable the Switch when the Drop Down reaches the number 0 of the index, this mean that if it reach the value 1 the &#8220;Air Conditioner&#8221; will turn off. A perfect use for this script is when you need something to happen a value of the Drop Down is chosen.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b02 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script-example-n2.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;0px||4px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;30px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<h4 style=\"text-align: center;\"><strong>Javascript Functions<\/strong><\/h4>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||0px||false|false&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b03<\/h4>\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.16&#8243; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2021\/11\/Script_function_executeAdd.png&#8221; title_text=&#8221;Script_function_executeAdd&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;7px||||false|false&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/CLICK_FUNCTION_add.gif&#8221; alt=&#8221;Javascript test cycle within the Ilevia app EVE Remote Plus&#8221; title_text=&#8221;Javascript cycle test&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example we are using an Info component with the ID &#8220;12&#8221;.\u00a0 <strong>Using a function<\/strong>\u00a0we will able to\u00a0 increase the Info value by 1 every 2 seconds.\u00a0 In this case to <strong>call the function<\/strong> we have to put it inside the method <span style=\"color: #800080;\"><em><strong>setInterval<\/strong><\/em><\/span>(2,&#8221;executeAdd&#8221;); as you can see the first argument inside the parenthesis is for how long in seconds we should increment by 1 (++) the value of the <strong>variable a<\/strong>, in the second argument\u00a0 we simply <strong>call the function<\/strong>.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b03 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script-example-n3.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b04<\/h4>\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.18.0&#8243; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2021\/11\/Script_function_executeEvery.png&#8221; alt=&#8221;Java script executeevery applied in a EVE Manager Project&#8221; title_text=&#8221;Script_function_executeEvery&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; custom_margin=&#8221;7px||||false|false&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2019\/02\/CLICK_FUNCTION_add_2sec.gif&#8221; alt=&#8221;Javascript test printing seconds in infos within the Ilevia app EVE Remote Plus&#8221; title_text=&#8221;Javascript printig seconds&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.27.3&#8243; custom_margin=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example we are using two Info components with the ID &#8220;11&#8221; and &#8220;12&#8221;.\u00a0 <strong>Using a function<\/strong>\u00a0we will able to increase the first Info value by 1 every 2 seconds and the second Info by 1 every 10 seconds. In this case to call the <strong>function<\/strong> we have to put it inside the method\u00a0<span style=\"color: #800080;\"><em><strong>setInterval<\/strong><\/em><\/span>(2,&#8221;executeAddEvery2S&#8221;) and <span style=\"color: #800080;\"><em><strong>setInterval<\/strong><\/em><\/span>(10,&#8221;executeAddEvery10S&#8221;); as you can see the first argument inside the parenthesis is for how long in seconds we should increment by 1 (++) the value of the <strong>variable<\/strong> <strong>a<\/strong>, in the second argument we simply <strong>call the function<\/strong> that will, as said before, <strong>add 1<\/strong> to the <strong>variable a<\/strong>.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b04 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script-example-n4.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b05<\/h4>\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.20.4&#8243; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2021\/11\/Script_function_executeWhenClicked.png&#8221; title_text=&#8221;Script_function_executeWhenClicked&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;7px||||false|false&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2019\/02\/CLICK_FUNCTION_increase.gif&#8221; alt=&#8221;Funzione conteggio click all&#8217;interno dell&#8217;applicazione di Ilevia per il controllo della domotica EVE Remote Plus&#8221; title_text=&#8221;Javascript_test_calcolo-click&#8221; show_in_lightbox=&#8221;on&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.18.0&#8243; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.18.0&#8243; custom_margin=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example we are using two Switch components with the ID &#8220;12&#8221; and &#8220;13&#8221; and two Info components with the ID &#8220;14&#8221; and &#8220;15&#8221;.\u00a0 <strong>Using a function<\/strong>\u00a0we will able to increase the first Info value by 1 every click on the Switch the same happens if we click the second Switch with the other Info. A perfect use of functions is when you need to execute some code when something happens.\u00a0 In this case to call the <strong>function<\/strong> we have put it inside the method\u00a0<span style=\"color: #800080;\"><em><strong>setTrigger<\/strong><\/em><\/span>(11,&#8221;executeWhen12Clicked&#8221;) and <span style=\"color: #800080;\"><em><strong>setTrigger<\/strong><\/em><\/span>(12,&#8221;executeWhen13Clicked&#8221;); as you can see the first argument inside the parenthesis is the component that we should increase by 1 (++) the value of the <strong>variable<\/strong> <strong>a<\/strong>, in the second argument we simply <strong>call the function<\/strong> that will, as said before,\u00a0 add 1 to the <strong>variable a<\/strong> after clicking the component 12 or 13.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b05 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script-example-n5.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b06<\/h4>\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.18.0&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script_settriggeronedge_v3.png&#8221; alt=&#8221;Script example on how to setup the setTriggetEdge statement in the Ilevia system&#8221; title_text=&#8221;Script_settriggeronedge_v3&#8243; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2022\/10\/Script_setTriggerEdge_test.gif&#8221; alt=&#8221;Test of the setTriggerEdge statement within the Ilevia&#8217;s App EVE Remote Plus&#8221; title_text=&#8221;Script_setTriggerEdge_test&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example we are using a <a href=\"\/configuration-software\/switch\" target=\"_blank\" rel=\"noopener\">Switch<\/a> component ID &#8220;26&#8221; and an <a href=\"\/configuration-softwarer\/info\" target=\"_target\" rel=\"noopener\">info<\/a> component with component ID &#8220;12&#8221;. The function in this case will print a value to the <a href=\"\/configuration-softwarer\/info\" target=\"_target\" rel=\"noopener\">info<\/a> once the <a href=\"\/configuration-software\/switch\" target=\"_blank\" rel=\"noopener\">Switch<\/a> value goes to On. The statement <strong><em><span style=\"color: #800080;\">setTriggerEdge<\/span><\/em><\/strong> will determine the condition of trigging of the function <strong>number_counter<\/strong>.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b06 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/04\/Script-example-n6.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b07<\/h4>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Script_javascript-example-7.png&#8221; alt=&#8221;Script code exampe 7 motion sensor turn on a light, then turns off after a count down in the Ilevia&#8217;s configuration software EVE Manager.&#8221; title_text=&#8221;Script_javascript-example-7&#8243; show_in_lightbox=&#8221;on&#8221; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Script_example7-interface.gif&#8221; alt=&#8221;How the motion sensor script works within the Ilevia&#8217;s app EVE Remote Plus.&#8221; title_text=&#8221;Script_example7-interface&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example it is explained how to set a time interval to a light when a motion is detected by a motion sensor. The first <a href=\"\/configuration-software-en\/switch\" target=\"_blank\" rel=\"noopener\">switch<\/a> will be our <em>motion sensor<\/em> with &#8220;12&#8221; as component ID. The second <a href=\"\/configuration-software-en\/switch\" target=\"_blank\" rel=\"noopener\">switch<\/a> component with &#8220;15&#8221; as its component ID. The last component we need is the <a href=\"\/configuration-software-en\/changeable-value\" target=\"_blank\" rel=\"noopener\">Changeable value<\/a> with &#8220;14&#8221; as componet ID, this component will contain the time value.<\/p>\n<p><strong>For further information about this script, consult the full explanatory guide <a href=\"\/configuration-software-en\/custom-widget-motion-sensor-scritp\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/strong>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b07 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/configuration-software-en\/custom-widget-motion-sensor-scritp\/\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b08<\/h4>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2024\/11\/Script-example8_script.png&#8221; alt=&#8221;Example 8 script structure within the ilevia&#8217;s configuration softrware. &#8221; title_text=&#8221;Script-example8_script&#8221; show_in_lightbox=&#8221;on&#8221; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2024\/11\/Script-example8_example.gif&#8221; alt=&#8221;Script example of the sunset sunrise.&#8221; title_text=&#8221;Script-example8_example&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example it is explaned how to gather online information about the sunset and Sunrise times and the current to,e from specific coordinates from online APIs through the <span style=\"color: #800080;\"><em><strong>HTTPrequest<\/strong><\/em><\/span> method and then finally elaborate the current time and check if it is <b>AM<\/b> or <b>PM<\/b> and at the same time transform the time from 24 h clock to 12 h clock.<\/p>\n<p><strong>For further information about this script, consult the full explanatory guide <a href=\"\/configuration-software-en\/script-sunset-sunrise-times-with-online-api\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/strong>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b08 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2024\/11\/Sunrise_sunset_script-example.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][et_pb_row disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; custom_padding=&#8221;||0px|||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h4>EXAMPLE N\u00b09<\/h4>\n<\/blockquote>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_5,3_5&#8243; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_5&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2025\/02\/Script-example9_script.png&#8221; alt=&#8221;Struttura dello script dell&#8217;esempio 9 all&#8217;interno del software di configurazione Ilevia.&#8221; title_text=&#8221;Script-example9_script&#8221; show_in_lightbox=&#8221;on&#8221; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; border_width_all=&#8221;1px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_image src=&#8221;https:\/\/support.ilevia.com\/wp-content\/uploads\/2025\/02\/Script-example9_decimal-convertion.gif&#8221; alt=&#8221;Rappresentazione della funzione dello script esempio 9&#8243; title_text=&#8221;Script-example9_decimal-convertion&#8221; show_in_lightbox=&#8221;on&#8221; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;3_5&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<p>In this example it is explained how to build a script that will process the characters entered from a user through a <a href=\"\/configuration-software\/text-entry\" target=\"_blank\" rel=\"noopener\">text entry<\/a>, then take those characters and transforming the <b>decimal<\/b> numbers to <b>hexadecimal<\/b> and finally triggering a scenario that will send the processed characters on the bus.<\/p>\n<p><strong>For further information about this script, consult the full explanatory guide <a href=\"https:\/\/support.ilevia.com\/configuration-software-en\/script-decimal-to-hexadecimal-characters-convertion\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/strong>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||30px||false|false&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.3&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_testimonial portrait_url=&#8221;data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDUwMCA1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNFQkVCRUIiIGQ9Ik0wIDBoNTAwdjUwMEgweiIvPgogICAgICAgIDxyZWN0IGZpbGwtb3BhY2l0eT0iLjEiIGZpbGw9IiMwMDAiIHg9IjY4IiB5PSIzMDUiIHdpZHRoPSIzNjQiIGhlaWdodD0iNTY4IiByeD0iMTgyIi8+CiAgICAgICAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4xIiBmaWxsPSIjMDAwIiBjeD0iMjQ5IiBjeT0iMTcyIiByPSIxMDAiLz4KICAgIDwvZz4KPC9zdmc+Cg==&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; disabled_on=&#8221;off|off|off&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]<strong>EXAMPLE N\u00b09 PROJECT DOWNLOAD<\/strong><\/p>\n<p>Click <a href=\"https:\/\/support.ilevia.com\/wp-content\/uploads\/2025\/03\/Script_dectohex-knx.zip\">here<\/a> to download the project and test it your self!<\/p>\n[\/et_pb_testimonial][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; inner_shadow=&#8221;on&#8221; _builder_version=&#8221;4.16&#8243; background_color=&#8221;#fafafa&#8221; parallax=&#8221;on&#8221; min_height=&#8221;280px&#8221; locked=&#8221;off&#8221; collapsed=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;91%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;off|desktop&#8221; max_width=&#8221;90%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_phone=&#8221;&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_padding=&#8221;30px|0px|22.8594px|0px|false|false&#8221; make_fullwidth=&#8221;on&#8221; collapsed=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<h1 style=\"text-align: center;\">Still Need Help? Our Customer Service Is Here For You.<\/h1>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_button button_url=&#8221;https:\/\/support.ilevia.com\/contacts\/&#8221; button_text=&#8221;Ask For Help&#8221; button_alignment=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; custom_button=&#8221;on&#8221; button_text_size=&#8221;20px&#8221; button_text_color=&#8221;#1e84f4&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_border_width=&#8221;2px&#8221; button_border_color=&#8221;#1e84f4&#8243; button_font=&#8221;||||||||&#8221; button_use_icon=&#8221;off&#8221; custom_margin=&#8221;||||false|false&#8221; custom_margin_tablet=&#8221;&#8221; custom_margin_phone=&#8221;|0px|||false|false&#8221; custom_margin_last_edited=&#8221;on|phone&#8221; box_shadow_style=&#8221;preset2&#8243; box_shadow_spread=&#8221;-80px&#8221; global_colors_info=&#8221;{}&#8221; box_shadow_spread__hover=&#8221;0px&#8221; box_shadow_spread__hover_enabled=&#8221;on&#8221;][\/et_pb_button][et_pb_button button_url=&#8221;https:\/\/support.ilevia.com\/contacts\/&#8221; button_text=&#8221;Make a suggestion&#8221; button_alignment=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; custom_button=&#8221;on&#8221; button_text_size=&#8221;20px&#8221; button_text_color=&#8221;#1e84f4&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_border_width=&#8221;2px&#8221; button_border_color=&#8221;#1e84f4&#8243; button_use_icon=&#8221;off&#8221; custom_margin=&#8221;|||0px|false|false&#8221; custom_margin_tablet=&#8221;&#8221; custom_margin_phone=&#8221;|||0px|false|false&#8221; custom_margin_last_edited=&#8221;on|phone&#8221; custom_padding=&#8221;|||25px|false|false&#8221; box_shadow_style=&#8221;preset2&#8243; box_shadow_spread=&#8221;-80px&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; box_shadow_spread__hover=&#8221;0px&#8221; box_shadow_spread__hover_enabled=&#8221;on&#8221;][\/et_pb_button][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>Script INTRODUCTION Thanks to the Script component it is possible to implement new and customized logics, from the most simple ones to the most complex, through writing code lines using Javascript. USE CASES The user wants to create an additional rule customized on his necesities; The user wants to customize a rgb light to make [&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,72,18,30],"tags":[],"class_list":["post-13118","post","type-post","status-publish","format-standard","hentry","category-all","category-archivi","category-configuration-software-en","category-software-configurazione"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Script Ilevia Support |<\/title>\n<meta name=\"description\" content=\"Complete guide how to set up the Script component to tailor your own ideas and codes inside the Home automation software EVE Manager.\" \/>\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\/script\/\" \/>\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=\"29 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\\\/script\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/\"},\"author\":{\"name\":\"Filippo Amabilia\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#\\\/schema\\\/person\\\/08a8d13dee0bc9f160da55efe97b7959\"},\"headline\":\"Script\",\"datePublished\":\"2020-05-12T15:06:34+00:00\",\"dateModified\":\"2025-07-28T13:00:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/\"},\"wordCount\":5774,\"publisher\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.ilevia.com\\\/wordpress\\\/wp-content\\\/uploads\\\/js.png\",\"articleSection\":[\"All Archives\",\"Archivi\",\"Configuration Software\",\"Software Configurazione\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/\",\"url\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/\",\"name\":\"Script Ilevia Support |\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.ilevia.com\\\/wordpress\\\/wp-content\\\/uploads\\\/js.png\",\"datePublished\":\"2020-05-12T15:06:34+00:00\",\"dateModified\":\"2025-07-28T13:00:23+00:00\",\"description\":\"Complete guide how to set up the Script component to tailor your own ideas and codes inside the Home automation software EVE Manager.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.ilevia.com\\\/wordpress\\\/wp-content\\\/uploads\\\/js.png\",\"contentUrl\":\"http:\\\/\\\/www.ilevia.com\\\/wordpress\\\/wp-content\\\/uploads\\\/js.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/script\\\/#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\":\"Script\"}]},{\"@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":"Script Ilevia Support |","description":"Complete guide how to set up the Script component to tailor your own ideas and codes inside the Home automation software EVE Manager.","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\/script\/","twitter_misc":{"Written by":"Filippo Amabilia","Est. reading time":"29 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#article","isPartOf":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/"},"author":{"name":"Filippo Amabilia","@id":"https:\/\/support.ilevia.com\/en\/#\/schema\/person\/08a8d13dee0bc9f160da55efe97b7959"},"headline":"Script","datePublished":"2020-05-12T15:06:34+00:00","dateModified":"2025-07-28T13:00:23+00:00","mainEntityOfPage":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/"},"wordCount":5774,"publisher":{"@id":"https:\/\/support.ilevia.com\/en\/#organization"},"image":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#primaryimage"},"thumbnailUrl":"http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/js.png","articleSection":["All Archives","Archivi","Configuration Software","Software Configurazione"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/","url":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/","name":"Script Ilevia Support |","isPartOf":{"@id":"https:\/\/support.ilevia.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#primaryimage"},"image":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#primaryimage"},"thumbnailUrl":"http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/js.png","datePublished":"2020-05-12T15:06:34+00:00","dateModified":"2025-07-28T13:00:23+00:00","description":"Complete guide how to set up the Script component to tailor your own ideas and codes inside the Home automation software EVE Manager.","breadcrumb":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#primaryimage","url":"http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/js.png","contentUrl":"http:\/\/www.ilevia.com\/wordpress\/wp-content\/uploads\/js.png"},{"@type":"BreadcrumbList","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/script\/#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":"Script"}]},{"@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\/13118","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=13118"}],"version-history":[{"count":220,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/13118\/revisions"}],"predecessor-version":[{"id":80986,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/13118\/revisions\/80986"}],"wp:attachment":[{"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/media?parent=13118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/categories?post=13118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/tags?post=13118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}