{"id":336205,"date":"2022-07-26T15:00:05","date_gmt":"2022-07-26T15:00:05","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=336205"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=336205","title":{"rendered":"<span>\u0427\u0442\u043e \u0443\u043c\u0435\u0435\u0442 \u0443\u043c\u043d\u044b\u0439 \u0418\u0422-\u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0438 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438 \u0432 \u043a\u043e\u043b\u043b-\u0446\u0435\u043d\u0442\u0440\u0430\u0445, \u0438 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435, \u0438 \u0434\u043e\u043c\u0430. \u0422\u0430\u043a\u0436\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d \u0442\u0440\u0435\u043d\u0434\u00a0\u2013 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430, \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0438\u00a0\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f\u00a0\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0438\u0437\u00a0\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432\u00a0UC \u0438\u00a0IoT \u2013 \u044d\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u0432\u0438\u0442\u043e\u043a \u0432\u00a0\u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0438 \u043e\u0431\u043e\u0438\u0445 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u043a\u043e\u0433\u0434\u0430 \u0443\u043c\u043d\u044b\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441\u043e\u00a0\u0441\u0442\u0430\u0442\u0443\u0441\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043e\u043f\u043e\u0432\u0435\u0449\u0430\u044e\u0442 \u043e\u00a0\u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043a\u0430\u0445, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u043c\u0430\u0441\u0441\u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u00ab\u0437\u0430\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445\u00bb \u043d\u0430\u00a0\u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043a\u0430\u043d\u0430\u043b\u044b. \u0420\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0430\u043a\u0438\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439 \u2013 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0435\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0447\u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043e\u043d\u00a0\u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u041d\u0430\u00a0\u043d\u0430\u0448\u0438\u0445 \u0433\u043b\u0430\u0437\u0430\u0445 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0446\u0435\u043b\u0430\u044f \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u00a0\u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u043e\u0432\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c. \u00a0<\/p>\n<p><strong>\u041a\u0430\u043a\u043e\u0439 \u043e\u043d, \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c \u0432 \u00ab\u041e\u0444\u0438\u0441\u0435 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e\u00bb? <\/strong><\/p>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0441\u0438\u043c\u0431\u0438\u043e\u0437\u0443 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0432\u0435\u0449\u0435\u0439 CTI IoT Platform \u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0445 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u043e\u0432 \u0441 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0443\u043c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043d\u044b\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u044b, \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f. <\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u043c\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c \u043e\u0442 CTI \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438 \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043d\u043e\u0439 \u043a\u043e\u043c\u043d\u0430\u0442\u0435: \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u043c\u0430\u0442, \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u0437\u0430\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0442\u043a\u0438, \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0440\u0430\u043d\u0438\u044f, \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0432 \u0440\u0430\u0437\u0440\u043e\u0437\u043d\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u0432\u044b\u0441\u043e\u043a\u043e\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0444\u043e\u0440\u0442 \u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c.<\/p>\n<p><strong>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043e \u043d\u0430\u0448\u0438\u0445 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0445 <\/strong>\u00a0<\/p>\n<p>\u041c\u044b \u0432 CTI \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. \u0414\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0435\u0449\u0451 \u0441 \u0442\u0435\u0445 \u0432\u0440\u0435\u043c\u0451\u043d, \u043a\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u00ab\u0410\u043b\u0438\u0441\u044b\u00bb \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 \u0443\u043c\u043d\u044b\u0435 \u0440\u043e\u0437\u0435\u0442\u043a\u0438 \u043d\u0430 \u0431\u0430\u0437\u0435 ESP8266 \u0438\u043b\u0438 Arduino, \u0430 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 Internet of Things (IoT) \u043d\u0435 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u043b\u043e \u0448\u0438\u0440\u043e\u043a\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c, \u2014 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 (UC), \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u044f \u0438 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0432\u0435\u0449\u0435\u0439 (IoT). \u0412 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u043e\u0444\u0438\u0441\u043d\u0430\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0441\u0432\u044f\u0437\u044c, \u0442\u0430\u043a \u0438 \u0443\u043c\u043d\u044b\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0438. \u00a0\u0412 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u0444\u0438\u0441\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\u0445 \u043d\u0430 \u0441\u0442\u0435\u043d\u0430\u0445 \u043f\u0435\u0440\u0435\u0434 \u0432\u0445\u043e\u0434\u043e\u043c \u0432 \u043a\u0430\u0431\u0438\u043d\u0435\u0442 \u0432\u0435\u0448\u0430\u044e\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0430\u0447\u043f\u0430\u043d\u0435\u043b\u0438 \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0442\u043e\u044f\u0442 \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435. \u041d\u0430 \u0442\u0430\u043a\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u044e\u0431\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (\u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u043e\u043d\u0434\u0438\u0446\u0438\u043e\u043d\u0435\u0440, \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0442\u043a\u0438, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440, \u043f\u0440\u0438\u0433\u043b\u0443\u0448\u0438\u0442\u044c \u0441\u0432\u0435\u0442 \u0438 \u0442.\u0434.). \u041d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0443\u043d\u043a\u0442 \u0438\u0437 \u043c\u0435\u043d\u044e. \u0410 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0432\u0435\u0434\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u2026<\/p>\n<h3>\u0414\u0432\u0430 \u043a\u043e\u0444\u0435 \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043a\u0443<\/h3>\n<p>\u042d\u0442\u0430 \u0438\u0434\u0435\u044f \u0437\u0430\u0440\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u0432 CTI \u0432 \u043e\u0442\u0434\u0435\u043b\u0435 \u00ab\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b\u00bb \u0434\u0430\u0432\u043d\u043e \u0438 \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u2014 \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0432\u043d\u0451\u0441 \u0441\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434. \u041c\u044b \u0445\u043e\u0442\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043a\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0433 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0443\u043c\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u0441\u0432\u043e\u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f \u043f\u043e \u043d\u0430\u043f\u0438\u0442\u043a\u0430\u043c \u0438 \u0437\u0430\u043a\u0430\u0437 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0445\u043e\u0434\u0438\u043b \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044e \u0438\u043b\u0438 \u00ab\u0445\u043e\u0437\u044f\u0439\u043a\u0435 \u043e\u0444\u0438\u0441\u0430\u00bb. <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0432\u0437\u044f\u043b\u0438 \u043a\u043e\u043b\u043e\u043d\u043a\u0443 \u00ab\u042f\u043d\u0434\u0435\u043a\u0441.\u0410\u043b\u0438\u0441\u0430\u00bb \u0438 \u043f\u043e\u0434 \u043d\u0435\u0451 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043d\u0430\u0432\u044b\u043a \u043d\u0430 Python 3, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0432 \u043e\u0444\u0438\u0441\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043e\u043a. \u0417\u0430\u043a\u0430\u0437 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0432 Telegram-\u0431\u043e\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442 \u00ab\u0445\u043e\u0437\u044f\u0439\u043a\u0430 \u043e\u0444\u0438\u0441\u0430\u00bb. \u0412 \u0431\u043e\u0442\u0435 \u0434\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437 \u0438\u043b\u0438 \u043d\u0435\u0442.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/332\/32c\/881\/33232c8812645a24b1965a8a38a14f00.png\" width=\"1150\" height=\"1174\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/332\/32c\/881\/33232c8812645a24b1965a8a38a14f00.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u043e\u0444\u043e\u0440\u043c\u044b, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043c\u043e\u0436\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u043a \u00ab\u0437\u0435\u043b\u0451\u043d\u044b\u0439 \u0447\u0430\u0439\u00bb, \u0442\u0430\u043a \u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u00ab\u0447\u0430\u0448\u043a\u0443 \u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e \u0447\u0430\u044f\u00bb. \u0412\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u042f\u043d\u0434\u0435\u043a\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u043d\u0442\u043e\u0432, \u043a\u0443\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043b\u0435\u043c\u043c\u044b.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/851\/953\/33a\/85195333ad4d630561c7b5033cfe0832.png\" width=\"1107\" height=\"813\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/851\/953\/33a\/85195333ad4d630561c7b5033cfe0832.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u043d\u0430\u0447\u0430\u043b\u0443 \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u043e \u0432\u0441\u0435\u043c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u044f: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u0438\u043f \u043d\u0430\u043f\u0438\u0442\u043a\u0430 \u0441 \u0434\u043e\u0431\u0430\u0432\u043a\u043e\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u043b\u043e\u043a\u043e \u043a \u043a\u043e\u0444\u0435. \u0418\u043d\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043d\u0435 \u043d\u0430\u0437\u0432\u0430\u043b: \u0442\u043e\u0442 \u0436\u0435 \u0447\u0430\u0439 \u0431\u044b\u0432\u0430\u0435\u0442 \u0447\u0451\u0440\u043d\u044b\u043c \u0438\u043b\u0438 \u0437\u0435\u043b\u0451\u043d\u044b\u043c. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u0445 \u0431\u043e\u0442\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u043e\u0442\u043e\u0432 (slot-filling). \u0412 \u0434\u0432\u0438\u0436\u043a\u0435 Amazon Alexa \u043e\u043d, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438: \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0435 \u0441\u043b\u043e\u0442\u044b \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043d\u0430\u0432\u044b\u043a\u0430, \u0438 Alexa \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041d\u043e \u0443 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435\u0442 \u2014 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0434\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code># coding: utf-8 # \u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 UTF-8. \"\"\"  \u041c\u041e\u0414\u0423\u041b\u042c  DrinksIntent \u0437\u0430\u043a\u0430\u0437 \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432  \u041c\u0415\u0422\u041e\u0414 - \u041d\u041e\u0412\u042b\u0419 NLP \u043c\u0435\u0442\u043e\u0434  https:\/\/yandex.ru\/dev\/dialogs\/alice\/doc\/nlu-docpage\/ \"\"\" from __future__ import unicode_literals from superIntent import superIntent from utils import * import random  #  \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 import requests # \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 HTTP GET\/POST  \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432   class Intent(superIntent):     intent_name = \"DrinksIntent\"     slot_dict = {                  'water': '\u0432\u043e\u0434\u0430',                  'tea': '\u0447\u0430\u0439',                  'coffee': '\u043a\u043e\u0444\u0435',                  'black': '\u0447\u0451\u0440\u043d\u044b\u0439',                  'green': '\u0437\u0435\u043b\u0451\u043d\u044b\u0439',                  'milk': '\u0441 \u043c\u043e\u043b\u043e\u043a\u043e\u043c',                  'pure': '\u043d\u0435\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430\u044f',                  'spring':'\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430\u044f'                  }           def __init__(self, log, config,enable=True):         super().__init__(self.intent_name, log, config, enable)  #\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430         self.user_id = \"\"         self.lastmsg = False         self.order_id = 0 # \u043d\u043e\u043c\u0435\u0440 \u0437\u0430\u043a\u0430\u0437\u0430          def slot(self,req,slot):         return super().getSlot(req,self.intent_name,slot)             def Run(self, req, res, tbot,params=False):         self.DisambiguationCheck(req,res)                  if self.intent_name in req['request']['nlu']['intents']:             self.log.debug(\"Request has this intent!\")         else:             return False                  if super().preRun(req,res):             self.log.debug(\"Start proceed\")             room = self.last_room                 if len(room) and self.config.has_option('rooms',room) and self.config.has_option(room,'chat_id'):  #\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0441\u0432\u043e\u0439 \u0447\u0430\u0442                 self.log.debug(\"room: %s what: %s sort: %s qnt: %s\" % (room,self.slot(req,'what'),self.slot(req,'sort'), self.slot(req,'qnt')))                 if self.slot(req,'what'):                     what = self.slot(req,'what')['value']                     if self.slot(req,'qnt') and self.slot(req,'sort'):                         qnt = self.slot(req,'qnt')['value']                         if  what == 'water'  and self.slot(req,'sort')['value']=='spring' and self.slot(req,'prep') and self.slot(req,'prep')['value'] == 'without':                             sort = self.slot_dict['pure']                         else:                             sort = self.slot_dict[self.slot(req,'sort')['value']]                         self.lastmsg = tbot.send_text(self.config[room]['chat_id'],\"\u0417\u0430\u043a\u0430\u0437 \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f '%s' \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443: &lt;b>%s&lt;\/b>\\n %s %s : &lt;b>%d&lt;\/b>\"   % (self.getAuthName(), self.config['rooms'][room], self.slot_dict[what], sort, qnt ), buttons_type = False )                         tbot.setLastMsg(self.lastmsg)                         if self.config.has_option(room,'drinks_chat_id'): #\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0434\u043e\u043f. \u0447\u0430\u0442 \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432                             tbot.send_text(self.config[room]['drinks_chat_id'],\"\u0417\u0430\u043a\u0430\u0437 \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f '%s' \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443: &lt;b>%s&lt;\/b>\\n %s %s : &lt;b>%d&lt;\/b>\"   % (self.getAuthName(), self.config['rooms'][room], self.slot_dict[what], sort, qnt ) , buttons_type =1 )                         super().setRes(res, text=\"%s, \u041d\u0430\u043f\u0438\u0442\u043e\u043a %s  %s  - \u0437\u0430\u043a\u0430\u0437\u0430\u043d, \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 %d \" % (self.getAuthName(), self.slot_dict[what], sort, qnt)  )                         self.order_id += 1                         self.log.info( \"New order: %d\" % self.order_id )                     elif self.slot(req,'qnt') and not self.slot(req,'sort'): #  \u043d\u0435\u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f-\u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430 \u043d\u0430\u043f\u0438\u0442\u043a\u0430, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435                         qnt = self.slot(req,'qnt')['value']                         if what=='water':                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0430\u043c \u0432\u043e\u0434\u0443 \u0441 \u0433\u0430\u0437\u043e\u043c \u0438\u043b\u0438 \u0431\u0435\u0437?\" )                         elif what =='tea':                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0447\u0430\u0439 \u0447\u0451\u0440\u043d\u044b\u0439 \u0438\u043b\u0438 \u0437\u0435\u043b\u0435\u043d\u044b\u0439?\" )                         else:                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043a\u043e\u0444\u0435 \u0447\u0451\u0440\u043d\u044b\u0439 \u0438\u043b\u0438 \u0441 \u043c\u043e\u043b\u043e\u043a\u043e\u043c?\" )                         super().saveSlot( 'what',what )  # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                         super().saveSlot( 'qnt', qnt ) # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                         super().createDisambiguation('sort',2)                     else:  # \u041d\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u043e\u043b-\u0432\u043e \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432, \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e -  \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435                         if self.slot(req,'sort'):                              super().saveSlot('sort', self.slot(req,'sort')['value'] )  # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u043e?\" )                         super().saveSlot('what',what )  # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                         super().createDisambiguation('qnt',2)                                              return True                              return False             #self.log.info(\"Request tokens Matched!\")             # TODO HERE:             # room = self.last_room             # if len(room) and self.config.has_option('rooms',room) and self.config.has_option(room,'Tea-URL'):             # url = self.config[room]['Tea-URL']                          else:                 return False          def DisambiguationCheck(self, req, res):          self.log.debug(req)          qnt = find_yandexnumber(req['request']['nlu']['entities'])          sort = \"\"          if  check_needles( req['request']['nlu']['tokens'],['\u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e','\u0437\u0435\u043b\u0451\u043d\u044b\u0439', '\u0437\u0435\u043b\u0451\u043d\u044b\u0435','\u0437\u0435\u043b\u0451\u043d\u044b\u0445' ,'\u0437\u0435\u043b\u0435\u043d\u043e\u0433\u043e','\u0437\u0435\u043b\u0435\u043d\u044b\u0439', '\u0437\u0435\u043b\u0435\u043d\u044b\u0435','\u0437\u0435\u043b\u0435\u043d\u044b\u0445'  ] ):             sort = 'green'          if  check_needles( req['request']['nlu']['tokens'],['\u0447\u0451\u0440\u043d\u043e\u0433\u043e','\u0447\u0451\u0440\u043d\u044b\u0439', '\u0447\u0451\u0440\u043d\u044b\u0435','\u0447\u0451\u0440\u043d\u044b\u0445' ,'\u0447\u0435\u0440\u043d\u043e\u0433\u043e','\u0447\u0435\u0440\u043d\u044b\u0439', '\u0447\u0435\u0440\u043d\u044b\u0435','\u0447\u0435\u0440\u043d\u044b\u0445'  ] ):             sort = 'black'          if  check_needles( req['request']['nlu']['tokens'],['\u043c\u043e\u043b\u043e\u043a\u043e\u043c','\u043c\u043e\u043b\u043e\u043a\u043e','\u043c\u043e\u043b\u043e\u043a\u0430' ] ):             sort = 'milk'          if check_needles( req['request']['nlu']['tokens'],['\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f','\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e'] ) or ( check_needles( req['request']['nlu']['tokens'],['\u0433\u0430\u0437\u043e\u043c'] ) and check_needles( req['request']['nlu']['tokens'],['\u0441'] ) ):             sort = 'spring'          if check_needles( req['request']['nlu']['tokens'],['\u043d\u0435\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f','\u0431\u0435\u0437','\u043d\u0435\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e', '\u0431\u0435\u0441', '\u0432\u0435\u0441' ] ) or ( check_needles( req['request']['nlu']['tokens'],['\u0433\u0430\u0437\u0430'] ) and check_needles( req['request']['nlu']['tokens'],['\u0431\u0435\u0437','\u0431\u0435\u0441','\u0432\u0435\u0441'] ) ):             sort = 'pure'          dis  = self.getDisambiguation()          if dis:             self.log.debug(dis)             dis['attempts'] -= 1             if super().getSavedSlot('what'):                 req['request']['nlu']['intents'][self.intent_name] = {                     'slots': {                         'what':{ 'value': super().getSavedSlot('what')  }                     }                 }             for s in ('sort','qnt' ):                 if super().getSavedSlot(s):                     req['request']['nlu']['intents'][self.intent_name]['slots'][s] = { 'value': super().getSavedSlot(s) }                                                   if qnt and int(qnt['value']) > 0  and dis['slot']=='qnt':                     req['request']['nlu']['intents'][self.intent_name]['slots']['qnt'] = { 'value': int(qnt['value']) }                  if sort:                     req['request']['nlu']['intents'][self.intent_name]['slots']['sort'] = { 'value': sort }                              self.flushSession()<\/code><\/pre>\n<h3>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h3>\n<p>\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u044f\u0435\u0442 \u0433\u043e\u0441\u0442\u0435\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u0444\u0438\u0441\u0430: \u043b\u044e\u0434\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439, \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u0443 \u043d\u0438\u0445 \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 (\u0441\u043f\u043e\u0439\u043b\u0435\u0440: \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e).<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/62dff333ab111334724405fc\" data-style=\"\" id=\"62dff333ab111334724405fc\" width=\"\"><\/div>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u0435\u0441\u0442\u044c \u0438 \u0447\u0438\u0441\u0442\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439: \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u0440\u0435\u0430\u043a\u0446\u0438\u0438 \u0438 \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u0438\u044e \u0437\u0430\u043a\u0430\u0437\u0430. \u042d\u0442\u043e\u0442 \u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0440\u043e\u0434\u0438\u043b \u0438 \u0434\u0440\u0443\u0433\u0438\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u043d\u0430\u0448\u0438 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u0441 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u043e-\u0445\u043e\u0437\u044f\u0439\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0442\u0434\u0435\u043b\u043e\u043c (\u0437\u0430\u043a\u0430\u0437 \u0443\u0431\u043e\u0440\u043a\u0438 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0439), \u0441 \u043a\u0430\u0434\u0440\u0430\u043c\u0438 (\u0437\u0430\u043a\u0430\u0437 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043f\u0440\u0430\u0432\u043e\u043a, \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u043d\u0435\u0439 \u043e\u0442\u043f\u0443\u0441\u043a\u0430). \u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u0437\u0430\u044f\u0432\u043a\u0438, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u043e \u0441\u0442\u0430\u0442\u0443\u0441\u0435 \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0410 \u043d\u0430\u0448\u0438\u043c \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430\u043c \u043c\u044b \u043f\u043e\u043c\u043e\u0433\u043b\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043a\u0435\u0439\u0441 \u0432 \u043a\u0430\u0444\u0435, \u0433\u0434\u0435 \u0437\u0430\u043a\u0430\u0437 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c, \u0430 \u0440\u0430\u0437\u0432\u043e\u0437\u0438\u0442\u0441\u044f \u0440\u043e\u0431\u043e\u0442\u043e\u043c. \u041c\u044b \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b\u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0437\u0430\u043a\u0430\u0437 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0433\u0435\u0439\u0442\u043a\u0438\u043f\u0435\u0440 \u0438 \u043d\u0430 \u043a\u0443\u0445\u043d\u044e, \u0430 \u0434\u0430\u043b\u0435\u0435 \u0440\u0430\u0437\u0432\u043e\u0437\u0438\u0442\u044c \u0440\u043e\u0431\u043e\u0442\u043e\u043c. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043a\u0430\u0444\u0435 \u2013 \u00ab\u043a\u0430\u0444\u0435 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e\u00bb.<\/p>\n<h3>\u0410\u043b\u0438\u0441\u0430, \u043e\u0442\u043a\u0440\u043e\u0439 \u043e\u043a\u043d\u043e<\/h3>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043a\u0435\u0439\u0441 \u2014 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0442\u0440\u0438\u0432\u0430\u043d\u0438\u044f. \u041f\u043e\u043c\u043e\u0437\u0433\u043e\u0432\u0430\u043b\u0438, \u043e\u0442 \u043a\u0430\u043a\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043e\u0442\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438.<\/p>\n<p>\u041d\u0430\u0447\u0430\u043b\u0438 \u0441 \u0432\u044b\u0431\u043e\u0440\u0430 \u0436\u0435\u043b\u0435\u0437\u0430. \u0412\u043e\u043e\u0431\u0449\u0435, \u043d\u0430 \u0440\u044b\u043d\u043a\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u0430\u043a \u0441 \u0434\u043e\u0440\u043e\u0433\u0438\u043c\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 (Crestron, AMX \u0438 \u0442. \u043f.), \u0442\u0430\u043a \u0438 \u0441 \u0431\u044e\u0434\u0436\u0435\u0442\u043d\u044b\u043c\u0438 DIY \u043d\u0430 Arduino \u0438 Raspberry Pi. \u041e\u043f\u044b\u0442 \u0438 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u043e\u0431\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u043e\u0435 \u043c\u043d\u043e\u0433\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0431\u044e\u0434\u0436\u0435\u0442\u043e\u043c, \u0448\u0438\u0440\u043e\u043a\u0438\u043c\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438, \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438, \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043b\u0435\u0433 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043b\u044f \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0439 \u0438 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Wiren Board. \u041e\u043d \u043e\u0447\u0435\u043d\u044c \u0433\u0438\u0431\u043e\u043a \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cdc\/469\/ac6\/cdc469ac663d68a312d543ce5d50a3aa.png\" width=\"1120\" height=\"447\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cdc\/469\/ac6\/cdc469ac663d68a312d543ce5d50a3aa.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0423 Wiren Board \u0435\u0441\u0442\u044c \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a WB-MSW, \u0438\u0437\u043c\u0435\u0440\u044f\u044e\u0449\u0438\u0439 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c, \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0443\u0433\u043b\u0435\u043a\u0438\u0441\u043b\u043e\u0433\u043e \u0433\u0430\u0437\u0430 \u0438 \u0435\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u2014 \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u043d\u0435\u0433\u043e \u0441\u0442\u0430\u043b\u0438 \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0440\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u041f\u043e\u0437\u0436\u0435, \u043f\u043e\u043c\u0438\u043c\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b, \u043c\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0438 \u0432\u0438\u0434\u0435\u043e\u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u044e\u0434\u0435\u0439 \u0432 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0442\u0440\u0438\u0432\u0430\u043d\u0438\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043a\u0435 \u043d\u0435\u0442 \u043b\u044e\u0434\u0435\u0439 \u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u0438\u0445 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e. \u041d\u0430 \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u0435\u0441\u0435\u0442\u044b. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u044d\u0442\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043e\u043a\u043d\u0430 \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0434\u0438\u0446\u0438\u043e\u043d\u0435\u0440\u0430, \u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043a\u0435\u0439\u0441 \u0441 \u043e\u043a\u043d\u043e\u043c. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f6e\/5f0\/2c5\/f6e5f02c5085c807a3ead29b3b3f3d77.png\" width=\"1520\" height=\"719\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f6e\/5f0\/2c5\/f6e5f02c5085c807a3ead29b3b3f3d77.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043f\u0440\u0438\u0432\u043e\u0434\u043e\u0432 \u043e\u043a\u043e\u043d \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0443\u0442\u044c \u043b\u0438 \u043d\u0435 \u043f\u043e\u0434 \u0437\u0430\u043a\u0430\u0437. \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0441 \u0441\u043f\u0430\u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0441\u0442\u0430\u0440\u0442\u0430\u043f Drivent.ru. \u0420\u0435\u0431\u044f\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u0434 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e\u043c, \u0447\u0435\u043c \u043d\u0430\u0434 \u043c\u0430\u0441\u0441\u043e\u0432\u043e\u0441\u0442\u044c\u044e. \u0418\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 Wi-Fi \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 MQTT. \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f: \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u043a\u043d\u043e \u043d\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043f\u0440\u043e\u0432\u0435\u0442\u0440\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u043d\u0430 \u043f\u043e\u043b\u043d\u044b\u0439.<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/62dff5ca09459f343c8c1b59\" data-style=\"\" id=\"62dff5ca09459f343c8c1b59\" width=\"\"><\/div>\n<p>\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u0432\u0441\u0451 \u044d\u0442\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 \u043d\u0430\u0448\u0443 IoT-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u043a\u043b\u0438\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430. \u0413\u043b\u0430\u0432\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043d\u0430 Wiren Board: \u044d\u0442\u043e MQTT-\u0431\u0440\u043e\u043a\u0435\u0440 Mosquitto, Node-RED (\u0447\u0442\u043e\u0431\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c MQTT \u0438 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435), Zigbee2MQTT (\u0434\u043b\u044f \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432) \u2014 \u0441\u0442\u0430\u0440\u0430\u043b\u0438\u0441\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435, \u043d\u0435 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0439 \u0438\u043b\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f NDA. \u0412 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0443 \u043d\u0430\u0441 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b WB-MSW v.3, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u043f\u043e Modbus \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443. \u041a\u043b\u0438\u043c\u0430\u0442-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c, \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u043e\u0431\u043e\u0433\u0440\u0435\u0432\u043e\u043c \u0438 \u043e\u0445\u043b\u0430\u0436\u0434\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0442\u0440\u0438\u0432\u0430\u043d\u0438\u044f: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u043a\u043d\u0430 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u0430\u0434\u0435\u043d\u0438\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u043d\u0438\u0436\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u0430, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0446\u0435\u043b\u0435\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 CO2 \u043d\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u043e. \u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u0442\u043e\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u0435\u0441\u0435\u0442\u0435.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a38\/f6f\/08c\/a38f6f08c3882443762698f04da86a8e.png\" width=\"1280\" height=\"800\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a38\/f6f\/08c\/a38f6f08c3882443762698f04da86a8e.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0451 \u044d\u0442\u043e \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0410\u043b\u0438\u0441\u0443: \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u043c \u0446\u0435\u043b\u0435\u0432\u0443\u044e \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c\/\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0442\u0440\u0438\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0448\u0430\u0435\u0442, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u042d\u0442\u043e \u043b\u0438\u0448\u044c \u0434\u0432\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u0443\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u00ab\u041e\u0444\u0438\u0441\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e\u00bb \u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0443\u043c\u043d\u043e\u0433\u043e \u0438 \u0441\u0433\u043e\u0432\u043e\u0440\u0447\u0438\u0432\u043e\u0433\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044f. \u041f\u0440\u0438\u0447\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u0431\u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c \u2013 \u043e\u0442 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f. \u041d\u0430\u0448 \u0443\u043c\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0440\u0435\u0447\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0437\u0430 \u0441\u0447\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u0447\u0438 (Automatic Speech Recognition, ASR) \u0438 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u0438\u044f, \u043d\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0442\u0440\u0443\u0434\u043e\u043c, \u043e\u0431\u0449\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u043e\u043b\u043e\u0441\u0430 \u0437\u0430 \u0441\u0447\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u0441\u0438\u043d\u0442\u0435\u0437\u0430 \u0440\u0435\u0447\u0438 (\u0422ext To Speech, TTS), \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0410\u0422\u0421 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u0430\u043a \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 \u0430\u0431\u043e\u043d\u0435\u043d\u0442 \u0441 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u043d\u043e\u043c\u0435\u0440\u043e\u043c, \u043c\u043e\u0436\u0435\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u043a\u0438, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u0443\u043c\u0435\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0437\u0432\u043e\u043d\u043a\u0430 (\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\/\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0410\u0422\u0421 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u043f\u043e \u043f\u0438\u043d-\u043a\u043e\u0434\u0443 \u0432 IVR. <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430\u0448 \u0443\u043c\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0442\u0447\u0435\u0442\u044b, \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u044f \u0438\u0445 \u0433\u043e\u043b\u043e\u0441\u043e\u043c \u0438\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0430 e-mail \u0438 \u0432 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b, \u0447\u0435\u0440\u0435\u0437 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043d\u044b\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u044b, \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c \u0441\u043e\u0432\u0435\u0449\u0430\u043d\u0438\u044f, \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0442\u044c \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0443, \u0437\u0430\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0442\u043a\u0438, \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0438 \u0434\u043b\u044f \u0441\u043b\u0443\u0436\u0431 \u0410\u0425\u041e, HR \u0438 \u0442.\u0434.\u00a0<\/p>\n<p>\u0410 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u043e\u0441\u044c \u0432\u0441\u0435 \u0441 \u0437\u0430\u043a\u0430\u0437\u0430 \u043a\u043e\u0444\u0435 \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043a\u0443. <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/cti\/blog\/679160\/\"> https:\/\/habr.com\/ru\/company\/cti\/blog\/679160\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0438 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438 \u0432 \u043a\u043e\u043b\u043b-\u0446\u0435\u043d\u0442\u0440\u0430\u0445, \u0438 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435, \u0438 \u0434\u043e\u043c\u0430. \u0422\u0430\u043a\u0436\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d \u0442\u0440\u0435\u043d\u0434\u00a0\u2013 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430, \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0438\u00a0\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f\u00a0\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0438\u0437\u00a0\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432\u00a0UC \u0438\u00a0IoT \u2013 \u044d\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u0432\u0438\u0442\u043e\u043a \u0432\u00a0\u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0438 \u043e\u0431\u043e\u0438\u0445 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u043a\u043e\u0433\u0434\u0430 \u0443\u043c\u043d\u044b\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441\u043e\u00a0\u0441\u0442\u0430\u0442\u0443\u0441\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043e\u043f\u043e\u0432\u0435\u0449\u0430\u044e\u0442 \u043e\u00a0\u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043a\u0430\u0445, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u043c\u0430\u0441\u0441\u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u00ab\u0437\u0430\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445\u00bb \u043d\u0430\u00a0\u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043a\u0430\u043d\u0430\u043b\u044b. \u0420\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0430\u043a\u0438\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439 \u2013 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0435\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0447\u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043e\u043d\u00a0\u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u041d\u0430\u00a0\u043d\u0430\u0448\u0438\u0445 \u0433\u043b\u0430\u0437\u0430\u0445 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0446\u0435\u043b\u0430\u044f \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u00a0\u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u043e\u0432\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c. \u00a0<\/p>\n<p><strong>\u041a\u0430\u043a\u043e\u0439 \u043e\u043d, \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c \u0432 \u00ab\u041e\u0444\u0438\u0441\u0435 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e\u00bb? <\/strong><\/p>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0441\u0438\u043c\u0431\u0438\u043e\u0437\u0443 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0432\u0435\u0449\u0435\u0439 CTI IoT Platform \u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0445 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u043e\u0432 \u0441 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0443\u043c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043d\u044b\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u044b, \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f. <\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u043c\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044c \u043e\u0442 CTI \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438 \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043d\u043e\u0439 \u043a\u043e\u043c\u043d\u0430\u0442\u0435: \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u043c\u0430\u0442, \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u0437\u0430\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0442\u043a\u0438, \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0440\u0430\u043d\u0438\u044f, \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0432 \u0440\u0430\u0437\u0440\u043e\u0437\u043d\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u0432\u044b\u0441\u043e\u043a\u043e\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0444\u043e\u0440\u0442 \u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c.<\/p>\n<p><strong>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043e \u043d\u0430\u0448\u0438\u0445 \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0445 <\/strong>\u00a0<\/p>\n<p>\u041c\u044b \u0432 CTI \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. \u0414\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0435\u0449\u0451 \u0441 \u0442\u0435\u0445 \u0432\u0440\u0435\u043c\u0451\u043d, \u043a\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u00ab\u0410\u043b\u0438\u0441\u044b\u00bb \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 \u0443\u043c\u043d\u044b\u0435 \u0440\u043e\u0437\u0435\u0442\u043a\u0438 \u043d\u0430 \u0431\u0430\u0437\u0435 ESP8266 \u0438\u043b\u0438 Arduino, \u0430 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 Internet of Things (IoT) \u043d\u0435 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u043b\u043e \u0448\u0438\u0440\u043e\u043a\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c, \u2014 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 (UC), \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u044f \u0438 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0432\u0435\u0449\u0435\u0439 (IoT). \u0412 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u043e\u0444\u0438\u0441\u043d\u0430\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0441\u0432\u044f\u0437\u044c, \u0442\u0430\u043a \u0438 \u0443\u043c\u043d\u044b\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0438. \u00a0\u0412 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u0444\u0438\u0441\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\u0445 \u043d\u0430 \u0441\u0442\u0435\u043d\u0430\u0445 \u043f\u0435\u0440\u0435\u0434 \u0432\u0445\u043e\u0434\u043e\u043c \u0432 \u043a\u0430\u0431\u0438\u043d\u0435\u0442 \u0432\u0435\u0448\u0430\u044e\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0430\u0447\u043f\u0430\u043d\u0435\u043b\u0438 \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0442\u043e\u044f\u0442 \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435. \u041d\u0430 \u0442\u0430\u043a\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u044e\u0431\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (\u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u043e\u043d\u0434\u0438\u0446\u0438\u043e\u043d\u0435\u0440, \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0442\u043a\u0438, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440, \u043f\u0440\u0438\u0433\u043b\u0443\u0448\u0438\u0442\u044c \u0441\u0432\u0435\u0442 \u0438 \u0442.\u0434.). \u041d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0443\u043d\u043a\u0442 \u0438\u0437 \u043c\u0435\u043d\u044e. \u0410 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0432\u0435\u0434\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u2026<\/p>\n<h3>\u0414\u0432\u0430 \u043a\u043e\u0444\u0435 \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043a\u0443<\/h3>\n<p>\u042d\u0442\u0430 \u0438\u0434\u0435\u044f \u0437\u0430\u0440\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u0432 CTI \u0432 \u043e\u0442\u0434\u0435\u043b\u0435 \u00ab\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b\u00bb \u0434\u0430\u0432\u043d\u043e \u0438 \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u2014 \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0432\u043d\u0451\u0441 \u0441\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434. \u041c\u044b \u0445\u043e\u0442\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0432 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043a\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0433 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0443\u043c\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u0441\u0432\u043e\u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f \u043f\u043e \u043d\u0430\u043f\u0438\u0442\u043a\u0430\u043c \u0438 \u0437\u0430\u043a\u0430\u0437 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0445\u043e\u0434\u0438\u043b \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u0440\u044e \u0438\u043b\u0438 \u00ab\u0445\u043e\u0437\u044f\u0439\u043a\u0435 \u043e\u0444\u0438\u0441\u0430\u00bb. <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0432\u0437\u044f\u043b\u0438 \u043a\u043e\u043b\u043e\u043d\u043a\u0443 \u00ab\u042f\u043d\u0434\u0435\u043a\u0441.\u0410\u043b\u0438\u0441\u0430\u00bb \u0438 \u043f\u043e\u0434 \u043d\u0435\u0451 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043d\u0430\u0432\u044b\u043a \u043d\u0430 Python 3, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0432 \u043e\u0444\u0438\u0441\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 \u043f\u0435\u0440\u0435\u0433\u043e\u0432\u043e\u0440\u043e\u043a. \u0417\u0430\u043a\u0430\u0437 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0432 Telegram-\u0431\u043e\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442 \u00ab\u0445\u043e\u0437\u044f\u0439\u043a\u0430 \u043e\u0444\u0438\u0441\u0430\u00bb. \u0412 \u0431\u043e\u0442\u0435 \u0434\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437 \u0438\u043b\u0438 \u043d\u0435\u0442.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u043e\u0444\u043e\u0440\u043c\u044b, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043c\u043e\u0436\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u043a \u00ab\u0437\u0435\u043b\u0451\u043d\u044b\u0439 \u0447\u0430\u0439\u00bb, \u0442\u0430\u043a \u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u00ab\u0447\u0430\u0448\u043a\u0443 \u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e \u0447\u0430\u044f\u00bb. \u0412\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u042f\u043d\u0434\u0435\u043a\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u043d\u0442\u043e\u0432, \u043a\u0443\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043b\u0435\u043c\u043c\u044b.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u043d\u0430\u0447\u0430\u043b\u0443 \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u043e \u0432\u0441\u0435\u043c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u044f: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u0438\u043f \u043d\u0430\u043f\u0438\u0442\u043a\u0430 \u0441 \u0434\u043e\u0431\u0430\u0432\u043a\u043e\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u043b\u043e\u043a\u043e \u043a \u043a\u043e\u0444\u0435. \u0418\u043d\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043d\u0435 \u043d\u0430\u0437\u0432\u0430\u043b: \u0442\u043e\u0442 \u0436\u0435 \u0447\u0430\u0439 \u0431\u044b\u0432\u0430\u0435\u0442 \u0447\u0451\u0440\u043d\u044b\u043c \u0438\u043b\u0438 \u0437\u0435\u043b\u0451\u043d\u044b\u043c. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u0445 \u0431\u043e\u0442\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u043e\u0442\u043e\u0432 (slot-filling). \u0412 \u0434\u0432\u0438\u0436\u043a\u0435 Amazon Alexa \u043e\u043d, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438: \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0435 \u0441\u043b\u043e\u0442\u044b \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043d\u0430\u0432\u044b\u043a\u0430, \u0438 Alexa \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041d\u043e \u0443 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435\u0442 \u2014 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0434\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code># coding: utf-8 # \u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 UTF-8. \"\"\"  \u041c\u041e\u0414\u0423\u041b\u042c  DrinksIntent \u0437\u0430\u043a\u0430\u0437 \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432  \u041c\u0415\u0422\u041e\u0414 - \u041d\u041e\u0412\u042b\u0419 NLP \u043c\u0435\u0442\u043e\u0434  https:\/\/yandex.ru\/dev\/dialogs\/alice\/doc\/nlu-docpage\/ \"\"\" from __future__ import unicode_literals from superIntent import superIntent from utils import * import random  #  \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 import requests # \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 HTTP GET\/POST  \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432   class Intent(superIntent):     intent_name = \"DrinksIntent\"     slot_dict = {                  'water': '\u0432\u043e\u0434\u0430',                  'tea': '\u0447\u0430\u0439',                  'coffee': '\u043a\u043e\u0444\u0435',                  'black': '\u0447\u0451\u0440\u043d\u044b\u0439',                  'green': '\u0437\u0435\u043b\u0451\u043d\u044b\u0439',                  'milk': '\u0441 \u043c\u043e\u043b\u043e\u043a\u043e\u043c',                  'pure': '\u043d\u0435\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430\u044f',                  'spring':'\u0433\u0430\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430\u044f'                  }           def __init__(self, log, config,enable=True):         super().__init__(self.intent_name, log, config, enable)  #\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430         self.user_id = \"\"         self.lastmsg = False         self.order_id = 0 # \u043d\u043e\u043c\u0435\u0440 \u0437\u0430\u043a\u0430\u0437\u0430          def slot(self,req,slot):         return super().getSlot(req,self.intent_name,slot)             def Run(self, req, res, tbot,params=False):         self.DisambiguationCheck(req,res)                  if self.intent_name in req['request']['nlu']['intents']:             self.log.debug(\"Request has this intent!\")         else:             return False                  if super().preRun(req,res):             self.log.debug(\"Start proceed\")             room = self.last_room                 if len(room) and self.config.has_option('rooms',room) and self.config.has_option(room,'chat_id'):  #\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0441\u0432\u043e\u0439 \u0447\u0430\u0442                 self.log.debug(\"room: %s what: %s sort: %s qnt: %s\" % (room,self.slot(req,'what'),self.slot(req,'sort'), self.slot(req,'qnt')))                 if self.slot(req,'what'):                     what = self.slot(req,'what')['value']                     if self.slot(req,'qnt') and self.slot(req,'sort'):                         qnt = self.slot(req,'qnt')['value']                         if  what == 'water'  and self.slot(req,'sort')['value']=='spring' and self.slot(req,'prep') and self.slot(req,'prep')['value'] == 'without':                             sort = self.slot_dict['pure']                         else:                             sort = self.slot_dict[self.slot(req,'sort')['value']]                         self.lastmsg = tbot.send_text(self.config[room]['chat_id'],\"\u0417\u0430\u043a\u0430\u0437 \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f '%s' \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443: &lt;b>%s&lt;\/b>\\n %s %s : &lt;b>%d&lt;\/b>\"   % (self.getAuthName(), self.config['rooms'][room], self.slot_dict[what], sort, qnt ), buttons_type = False )                         tbot.setLastMsg(self.lastmsg)                         if self.config.has_option(room,'drinks_chat_id'): #\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0434\u043e\u043f. \u0447\u0430\u0442 \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432                             tbot.send_text(self.config[room]['drinks_chat_id'],\"\u0417\u0430\u043a\u0430\u0437 \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f '%s' \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443: &lt;b>%s&lt;\/b>\\n %s %s : &lt;b>%d&lt;\/b>\"   % (self.getAuthName(), self.config['rooms'][room], self.slot_dict[what], sort, qnt ) , buttons_type =1 )                         super().setRes(res, text=\"%s, \u041d\u0430\u043f\u0438\u0442\u043e\u043a %s  %s  - \u0437\u0430\u043a\u0430\u0437\u0430\u043d, \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 %d \" % (self.getAuthName(), self.slot_dict[what], sort, qnt)  )                         self.order_id += 1                         self.log.info( \"New order: %d\" % self.order_id )                     elif self.slot(req,'qnt') and not self.slot(req,'sort'): #  \u043d\u0435\u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f-\u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430 \u043d\u0430\u043f\u0438\u0442\u043a\u0430, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435                         qnt = self.slot(req,'qnt')['value']                         if what=='water':                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0430\u043c \u0432\u043e\u0434\u0443 \u0441 \u0433\u0430\u0437\u043e\u043c \u0438\u043b\u0438 \u0431\u0435\u0437?\" )                         elif what =='tea':                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0447\u0430\u0439 \u0447\u0451\u0440\u043d\u044b\u0439 \u0438\u043b\u0438 \u0437\u0435\u043b\u0435\u043d\u044b\u0439?\" )                         else:                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043a\u043e\u0444\u0435 \u0447\u0451\u0440\u043d\u044b\u0439 \u0438\u043b\u0438 \u0441 \u043c\u043e\u043b\u043e\u043a\u043e\u043c?\" )                         super().saveSlot( 'what',what )  # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                         super().saveSlot( 'qnt', qnt ) # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                         super().createDisambiguation('sort',2)                     else:  # \u041d\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u043e\u043b-\u0432\u043e \u043d\u0430\u043f\u0438\u0442\u043a\u043e\u0432, \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e -  \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435                         if self.slot(req,'sort'):                              super().saveSlot('sort', self.slot(req,'sort')['value'] )  # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                             super().setRes(res, text=\"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u043e?\" )                         super().saveSlot('what',what )  # \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0442                         super().createDisambiguation('qnt',2)                                              return True                              return False             #self.log.info(\"Request tokens Matched!\")             # TODO HERE:             # room = self.last_room             # if len(room) and self.config.has_option('rooms',room) and self.config.has_option(room,'Tea-URL'):             # url = self.config[room]['Tea-URL']                          else:                 return False          def DisambiguationCheck(self, req, res):          self.log.debug(req)          qnt = find_yandexnumber(req['request']['nlu']['entities'])          sort = \"\"          if  check_needles( req['request']['nlu']['tokens'],['\u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e','\u0437\u0435\u043b\u0451\u043d\u044b\u0439', '\u0437\u0435\u043b\u0451\u043d\u044b\u0435','\u0437\u0435\u043b\u0451\u043d\u044b\u0445' ,'\u0437\u0435\u043b\u0435\u043d\u043e\u0433\u043e','\u0437\u0435\u043b\u0435\u043d\u044b\u0439', '\u0437\u0435\u043b\u0435\u043d\u044b\u0435','\u0437\u0435\u043b\u0435\u043d\u044b\u0445'  ] ):             sort = 'green'          if  check_needles(<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-336205","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/336205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=336205"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/336205\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=336205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=336205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=336205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}