{"id":543,"date":"2023-09-14T13:46:47","date_gmt":"2023-09-14T13:46:47","guid":{"rendered":"https:\/\/iotmanager.org\/?page_id=543"},"modified":"2023-09-15T17:55:48","modified_gmt":"2023-09-15T17:55:48","slug":"settingup","status":"publish","type":"page","link":"https:\/\/iotmanager.org\/en\/instructions\/settingup\/","title":{"rendered":"Configuring your device"},"content":{"rendered":"<p>The device is configured on the configurator page in the web interface. You can read the general description of this page <a href=\"https:\/\/iotmanager.org\/en\/instructions\/webintrface\/\" data-type=\"link\" data-id=\"https:\/\/iotmanager.org\/instructions\/webintrface\/\">here.<\/a><\/p>\n\n\n\n<div class=\"wp-block-media-text is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" loading=\"lazy\" width=\"1919\" height=\"933\" src=\"https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127.jpg\" alt=\"\" class=\"wp-image-548 size-full\" srcset=\"https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127.jpg 1919w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127-600x292.jpg 600w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127-300x146.jpg 300w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127-1024x498.jpg 1024w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127-768x373.jpg 768w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127-1536x747.jpg 1536w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-155127-18x9.jpg 18w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>The first step is to add <strong>elements of an automation system<\/strong> necessary for you to solve the task. The element ID must be <strong>unique<\/strong>, and not only on this ESP, but also on all others within your project. This is necessary for network scripts to work correctly. There are restrictions on writing an ID: All IDs must start with a Latin letter. They are case-sensitive. Only the characters [a-zA-Z][a-zA-Z0-9]*, you can also use the &#034; _ &#034; character (underscore).<\/p>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What is the element id and what is it used for?<\/strong><\/h3>\n\n\n\n<p><strong>Item ID<\/strong> \u2014 a unique identifier of the element that stores its base parameter. For example, if it is a temperature sensor, its id will store the temperature value. This is the ID that we will use in scripts for <strong>readings<\/strong>, <strong>records<\/strong> and <strong>calling certain methods<\/strong> inherent to this element. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Table of elements<\/strong><\/h3>\n\n\n\n<div class=\"wp-block-media-text is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" loading=\"lazy\" width=\"857\" height=\"621\" src=\"https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160737.jpg\" alt=\"\" class=\"wp-image-556 size-full\" srcset=\"https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160737.jpg 857w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160737-600x435.jpg 600w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160737-300x217.jpg 300w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160737-768x557.jpg 768w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160737-18x12.jpg 18w\" sizes=\"(max-width: 857px) 100vw, 857px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p><strong>Item Type <\/strong>\u2014 english abbreviated name of the element<\/p>\n\n\n\n<p><strong>The widget<\/strong> \u2014 for each element, you can assign it a widget-a visual display option on the dashboard. <\/p>\n\n\n\n<p><strong>Tab or card<\/strong> - elements with the same tab (card) names will be displayed on the same tab (card), even if these elements are located on different devices.<\/p>\n\n\n\n<p><strong>Title <\/strong>\u2014 this is the main name of the element.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile\"><div class=\"wp-block-media-text__content\">\n<p>The image on the right shows how the parameters of the element table affect the display of the name on the dashboard<\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" loading=\"lazy\" width=\"1142\" height=\"338\" src=\"https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801.jpg\" alt=\"\" class=\"wp-image-562 size-full\" srcset=\"https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801.jpg 1142w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801-600x178.jpg 600w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801-300x89.jpg 300w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801-1024x303.jpg 1024w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801-768x227.jpg 768w, https:\/\/iotmanager.org\/wp-content\/uploads\/2023\/09\/\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-14-09-2023-160801-18x5.jpg 18w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" \/><\/figure><\/div>\n\n\n\n<p>Each element has additional parameters. If you click on the three-dot button, the settings menu for these parameters opens. These parameters can be divided into two categories: \u2014 <strong>permanent users<\/strong>present in all elements, and <strong>individual orders<\/strong>that are unique to certain elements only. <\/p>\n\n\n\n<p><strong>Table of constant parameters:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>global<\/strong><\/td><td>If it is equal to 1, then the events of this element will be transmitted to other devices on the network. <br>Read more here.<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>0 or 1<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>map<\/strong><\/td><td>Converting ranges. For example, if you write 1,1024,0,100, it means that you are converting the range from 1 to 1024 to the range from 0 to 100, and the output is a range from 0 to 100<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>1,1024,0,100<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>plus<\/strong><\/td><td>Adding a constant value  <\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>any number<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>multiply<\/strong><\/td><td>Multiplication by a constant value<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>any number<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>int<\/strong><\/td><td>The interval in seconds after which the element will update its value. For example, if you set the update interval to 10, the sensor will be read every 10 seconds, and its value will be updated in the web interface and in the application every 10 seconds.<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>any number<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>needSave<\/strong><\/td><td>If this parameter is set to 1, the value will always be stored in the device&#039;s memory, and if the device is rebooted, the value will remain saved.<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>0 or 1<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440 \u0432 \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u041e\u0431\u0449\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0412\u0430\u043c \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. ID \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c, \u043f\u0440\u0438\u0447\u0435\u043c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u0439 ESP \u043d\u043e \u0438 \u043d\u0430 \u0432\u0441\u0435\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0412\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b &#8230; <a title=\"Configuring your device\" class=\"read-more\" href=\"https:\/\/iotmanager.org\/en\/instructions\/settingup\/\" aria-label=\"More on \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\">Read more<\/a><\/p>","protected":false},"author":1,"featured_media":0,"parent":388,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/pages\/543"}],"collection":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/comments?post=543"}],"version-history":[{"count":14,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/pages\/543\/revisions"}],"predecessor-version":[{"id":600,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/pages\/543\/revisions\/600"}],"up":[{"embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/pages\/388"}],"wp:attachment":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/media?parent=543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}