{"id":65763,"date":"2023-07-18T18:34:08","date_gmt":"2023-07-18T16:34:08","guid":{"rendered":"http:\/\/support.ilevia.com\/?p=65763"},"modified":"2023-08-31T12:18:25","modified_gmt":"2023-08-31T10:18:25","slug":"custom-widget-motion-sensor-scritp","status":"publish","type":"post","link":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/","title":{"rendered":"Custom widget motion sensor scritp"},"content":{"rendered":"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px||0px||false|false&#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;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<h1 style=\"text-align:center\">MOTION SENSOR WITH COUNTDOWN WITH THE CUSTOM WIDGET<\/h1>\n[\/et_pb_text][et_pb_divider _builder_version=&#8221;4.20.4&#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.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_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h2>INTRODUCTION<\/h2>\n<\/blockquote>\n<p>In this guide it will be explained and shown how to configure a motion detection logic that, once triggered, will turn on a light and after a centrain period of time will turn it off automatically, This kind of logic is done using the <a href=\"\/configuration-software-en\/custom-widget\" target=\"_blank\" rel=\"noopener\">Custom widget<\/a> component. This logic exists already in the configuration among all the KNX motion sensor device parameters, in case the motion sensor device is not KNX, this logic could come in handy when the motion sensor device is not <a href=\"gateway-protocols\/knx-gateway\" target=\"_blank\" rel=\"noopener\">KNX<\/a>.<\/p>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;30px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h3>Components configuration<\/h3>\n<\/blockquote>\n<p><strong>Step 1:<\/strong><\/p>\n<p>Add these components within the project:<\/p>\n<p><\/p>\n<ul>\n<li>2 <a href=\"\/configuration-software-en\/switch\" target=\"_blanK\" rel=\"noopener\">switch<\/a> components. You can find this component inside the section called <em>Base<\/em> within the <b>Components library<\/b> tab;<\/li>\n<li>1 <a href=\"\/configuration-software-en\/info\" target=\"_blanK\" rel=\"noopener\">info<\/a> component. You can find this component inside the section called <em>Base<\/em> within the <b>Components library<\/b> tab;<\/li>\n<li>1 <a href=\"\/configuration-software-en\/custom-widget\" target=\"_blank\" rel=\"noopener\">Custom widget<\/a> component. You can find this component inside the section called <em>Interface design<\/em> within the <b>Components library<\/b> tab ;<\/li>\n<li>1 <a href=\"\/configuration-software-en\/changeable-value\" target=\"_blank\" rel=\"noopener\">Changeable Value<\/a> component. You can find this component inside the section called <em>Base<\/em> within the <b>Components library<\/b> tab.<\/li>\n<\/ul>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_adding-components.png&#8221; alt=&#8221;Adding the components needed to set up the Javascript within the ilevia&#8217;s EVE Manager.&#8221; title_text=&#8221;Motion-sensor-cw_adding-components&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Step 2:<\/strong><\/p>\n<p>Add the variables inside the Custom Widget&#8217;s <em>json text field<\/em>. Add the variables as it is shown below.<\/p>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_json-variables.png&#8221; alt=&#8221;Creating the variables within the json variables within the custom widget component within the Ilevia&#8217;s configuration software EVE manager.&#8221; title_text=&#8221;Motion-sensor-cw_json-variables&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h3>Javascript code configuration<\/h3>\n<\/blockquote>\n<p><strong>Step 3:<\/strong><\/p>\n<p>Within the <em>Javascript<\/em> text field you can add the code needed for the logic to work. The code is shown below:<\/p>\n<p>Click the following <a href=\"http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/motion-sensor.txt\" target=\"_blank\" rel=\"noopener\">link<\/a> to consul the full Javascript code<\/p>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_javascript.png&#8221; alt=&#8221;Where to add the javascript inside the Custom widgetcomponent in the Ilevia&#8217;s EVE Manager.&#8221; title_text=&#8221;Motion-sensor-cw_javascript&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Step 4:<\/strong><\/p>\n<p>First add the variable into the Code, this variables will get the values of the components specified within the <em>Json text field<\/em> inside the <a href=\"\/configuration-software-en\/custom-widget\/\" target=\"_blank\" rel=\"noopener\">Custom widget<\/a> component parameters.<\/p>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_javascritp-variables.png&#8221; alt=&#8221;Javascript variables within the motion sensor code within the custom widget component inside the Ilevia&#8217;s configuration software EVE Manager.&#8221; title_text=&#8221;Motion-sensor-cw_javascritp-variables&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Step 5:<\/strong><\/p>\n<p>The first code function called <em>countDown<\/em>. This function will take the time value set by the user in the <a href=\"\/configuration-software-en\/changeable-value\" target=\"_blank\" rel=\"noopener\">Changeable Value<\/a> component and will proceed with count down time that specify when the light will turn Off.<\/p>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_javascript-function1.png&#8221; alt=&#8221;Javascript first function within the motion sensor code within the custom widget component inside the Ilevia&#8217;s configuration software EVE Manager.&#8221; title_text=&#8221;Motion-sensor-cw_javascript-function1&#8243; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Step 6:<\/strong><\/p>\n<p>The second function will take the value coming from the <b>Motion sensor<\/b> component and turn On the light when the Motion sensor triggers. Once the Motion sensor state change to Off, this function, will start a time interval to the first funtion called &#8220;<b>countDown<\/b>&#8220;.[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_javascript-function2.png&#8221; alt=&#8221;Javascript second function within the motion sensor code within the custom widget component inside the Ilevia&#8217;s configuration software EVE Manager.&#8221; title_text=&#8221;Motion-sensor-cw_javascript-function2&#8243; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Step 7:<\/strong><\/p>\n<p>Finally set the <b>setTrigger<\/b>, this statement will get trigger the function called <b>motion_detection<\/b> each time the component <em>Motion sensor<\/em> change its state.[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_javascript-settrigger.png&#8221; alt=&#8221;Javascript settrigger statement within the motion sensor code within the custom widget component inside the Ilevia&#8217;s configuration software EVE Manager.&#8221; title_text=&#8221;Motion-sensor-cw_javascript-settrigger&#8221; show_in_lightbox=&#8221;on&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Step 8:<\/strong><\/p>\n<p>Add the components into the <a href=\"\/app-interfaces\/user-interface\" target=\"_blank\" rel=\"noopener\">User interface<\/a> and <a href=\"\/quick-start\/#upload-to-server\" target=\"_blank\" rel=\"noopener\">upload<\/a> the project to the server.<\/p>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion-sensor-cw_upload.gif&#8221; alt=&#8221;Uploading the project with the components needed to test the motion sensor logic within the Ilevia&#8217;s app EVE Remote Plus.&#8221; title_text=&#8221;Motion-sensor-cw_upload&#8221; show_in_lightbox=&#8221;on&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||50px||false|false&#8221; box_shadow_style=&#8221;preset2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]\n<blockquote>\n<h3>VISUAL RESULT<\/h3>\n<\/blockquote>\n<p>This is the final result of how the Motion Sensor logic works within the Ilevia app EVE Remote Plus.<\/p>\n[\/et_pb_text][et_pb_image src=&#8221;http:\/\/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; align=&#8221;center&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; max_width=&#8221;45%&#8221; max_width_tablet=&#8221;45%&#8221; max_width_phone=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_margin=&#8221;50px||50px||false|false&#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_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; quote_icon_color=&#8221;#000000&#8243; quote_icon_background_color=&#8221;#FFFFFF&#8221; font_icon=&#8221;&#xe092;||divi||400&#8243; portrait_width=&#8221;1px&#8221; portrait_height=&#8221;1px&#8221; _builder_version=&#8221;4.20.4&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||30px||false|false&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]<strong>Click the link below to download the Custom widget Motion sensor script project and try it your self.<\/strong><\/p>\n<p><a href=\"http:\/\/support.ilevia.com\/wp-content\/uploads\/2023\/07\/Motion_detection.zip\">Download the demo project here!<\/a>[\/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.20.4&#8243; background_color=&#8221;#fafafa&#8221; parallax=&#8221;on&#8221; min_height=&#8221;280px&#8221; custom_margin=&#8221;30px||||false|false&#8221; global_module=&#8221;59323&#8243; 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.20.4&#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.20.4&#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.20.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_button button_url=&#8221;http:\/\/support.ilevia.com\/support-request\/&#8221; button_text=&#8221;Ask For Help&#8221; button_alignment=&#8221;center&#8221; _builder_version=&#8221;4.19.1&#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;http:\/\/support.ilevia.com\/support-request\/&#8221; button_text=&#8221;Make a suggestion&#8221; button_alignment=&#8221;center&#8221; _builder_version=&#8221;4.19.1&#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>MOTION SENSOR WITH COUNTDOWN WITH THE CUSTOM WIDGET INTRODUCTION In this guide it will be explained and shown how to configure a motion detection logic that, once triggered, will turn on a light and after a centrain period of time will turn it off automatically, This kind of logic is done using the Custom widget [&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-65763","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>Custom widget motion sensor scritp Ilevia Support |<\/title>\n<meta name=\"description\" content=\"Guide that explains how to setup a Motion sensor logic with the Custom widget component with customizable turn off time of a light by the User.\" \/>\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\/custom-widget-motion-sensor-scritp\/\" \/>\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=\"9 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\\\/custom-widget-motion-sensor-scritp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/custom-widget-motion-sensor-scritp\\\/\"},\"author\":{\"name\":\"Filippo Amabilia\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#\\\/schema\\\/person\\\/08a8d13dee0bc9f160da55efe97b7959\"},\"headline\":\"Custom widget motion sensor scritp\",\"datePublished\":\"2023-07-18T16:34:08+00:00\",\"dateModified\":\"2023-08-31T10:18:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/custom-widget-motion-sensor-scritp\\\/\"},\"wordCount\":1750,\"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\\\/custom-widget-motion-sensor-scritp\\\/\",\"url\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/custom-widget-motion-sensor-scritp\\\/\",\"name\":\"Custom widget motion sensor scritp Ilevia Support |\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/#website\"},\"datePublished\":\"2023-07-18T16:34:08+00:00\",\"dateModified\":\"2023-08-31T10:18:25+00:00\",\"description\":\"Guide that explains how to setup a Motion sensor logic with the Custom widget component with customizable turn off time of a light by the User.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/custom-widget-motion-sensor-scritp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/custom-widget-motion-sensor-scritp\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/support.ilevia.com\\\/en\\\/configuration-software-en\\\/custom-widget-motion-sensor-scritp\\\/#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\":\"Custom widget motion sensor scritp\"}]},{\"@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":"Custom widget motion sensor scritp Ilevia Support |","description":"Guide that explains how to setup a Motion sensor logic with the Custom widget component with customizable turn off time of a light by the User.","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\/custom-widget-motion-sensor-scritp\/","twitter_misc":{"Written by":"Filippo Amabilia","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/#article","isPartOf":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/"},"author":{"name":"Filippo Amabilia","@id":"https:\/\/support.ilevia.com\/en\/#\/schema\/person\/08a8d13dee0bc9f160da55efe97b7959"},"headline":"Custom widget motion sensor scritp","datePublished":"2023-07-18T16:34:08+00:00","dateModified":"2023-08-31T10:18:25+00:00","mainEntityOfPage":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/"},"wordCount":1750,"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\/custom-widget-motion-sensor-scritp\/","url":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/","name":"Custom widget motion sensor scritp Ilevia Support |","isPartOf":{"@id":"https:\/\/support.ilevia.com\/en\/#website"},"datePublished":"2023-07-18T16:34:08+00:00","dateModified":"2023-08-31T10:18:25+00:00","description":"Guide that explains how to setup a Motion sensor logic with the Custom widget component with customizable turn off time of a light by the User.","breadcrumb":{"@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/support.ilevia.com\/en\/configuration-software-en\/custom-widget-motion-sensor-scritp\/#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":"Custom widget motion sensor scritp"}]},{"@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\/65763","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=65763"}],"version-history":[{"count":37,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/65763\/revisions"}],"predecessor-version":[{"id":66983,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/posts\/65763\/revisions\/66983"}],"wp:attachment":[{"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/media?parent=65763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/categories?post=65763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.ilevia.com\/en\/wp-json\/wp\/v2\/tags?post=65763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}