{"id":328042,"date":"2022-01-14T21:00:53","date_gmt":"2022-01-14T21:00:53","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=328042"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=328042","title":{"rendered":"<span>\u0422\u043e\u043d\u043a\u0438\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 vs Orange Pi<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/g6\/mj\/un\/g6mjunm-8fnjm08kt-klvzloccw.png\"\/><\/p>\n<p>  \u042d\u0442\u043e \u043d\u0435 \u043f\u0440\u044f\u043c\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435, \u0430 \u0441\u043a\u043e\u0440\u0435\u0435 \u043e\u043f\u044b\u0442 \u0434\u0438\u043b\u0435\u0442\u0430\u043d\u0442\u0430 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u0432\u0443\u0445 \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432. \u0412\u043e\u043e\u0431\u0449\u0435 \u043c\u043e\u0439 \u0434\u0438\u043b\u0435\u0442\u0430\u043d\u0442\u0441\u043a\u0438\u0439 \u0441\u0442\u0430\u0436 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u0430\u043a \u043f\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043a \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c, \u0442\u0430\u043a \u0438 \u043a \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0435. <br \/>  <a name=\"habracut\"><\/a><br \/>  \u0427\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0438, \u0442\u043e \u0442\u044f\u043d\u0435\u0442\u0441\u044f \u043e\u043d \u0441 \u0432\u0440\u0435\u043c\u0435\u043d \u0421\u0421\u0421\u0420, \u043a\u043e\u0433\u0434\u0430 \u044f \u0435\u0449\u0435 \u0448\u043a\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u043c, \u043f\u043e\u0441\u0435\u0449\u0430\u043b \u0440\u0430\u0434\u0438\u043e\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u0440\u0443\u0436\u043e\u043a. \u041f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u043f\u043e\u0437\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u044b. \u0422\u0430\u043a \u043d\u0430 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0445 \u0434\u043e\u0432\u0435\u043b\u043e\u0441\u044c \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u0443\u044e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443. \u041a\u0430\u043a \u043e\u043d\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u043b\u0438\u0441\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0435 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u044b. <\/p>\n<p>  \u041f\u043e\u0442\u043e\u043c \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043b\u0441\u044f \u0441 \u0421\u041c \u042d\u0412\u041c \u0438 \u0441 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u043c\u0438 \u0441 IBM XT \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c\u0438. \u041d\u0430 \u0441\u0432\u043e\u0435\u043c \u0434\u0438\u043b\u0435\u0442\u0430\u043d\u0442\u0441\u043a\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u0438\u0441\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u044f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0424\u043e\u0440\u0442\u0440\u0430\u043d, \u041f\u0430\u0441\u043a\u0430\u043b\u044c, \u0421\u0438 \u0438 \u0434\u0440. \u0421\u0435\u0439\u0447\u0430\u0441 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 Python, \u043d\u0430\u0432\u0435\u0440\u043d\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043b\u0435\u043d\u0438\u0432 \u043f\u043e \u043f\u0440\u0438\u0440\u043e\u0434\u0435, \u0430 Python \u0441\u043f\u043e\u0441\u043e\u0431\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0435\u043d\u0438\u0432\u043e\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438\u043b\u0438 \u0432\u0435\u0440\u043d\u0435\u0435 \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u0435\u043d\u0438\u0432\u043e\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  \u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u0442\u0435\u043c\u0435. \u041d\u0430\u0447\u0430\u043b\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0435, \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0441\u043f\u0440\u043e\u0434\u0430\u0436\u0435 \u0431\u044b\u043b \u043a\u0443\u043f\u043b\u0435\u043d Orange Pi PC (OPi). \u041e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043d \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u0438 \u043f\u043e\u0442\u043e\u043c \u043b\u0435\u0436\u0430\u043b \u0431\u0435\u0437 \u0434\u0435\u043b\u0430. \u0422\u0443\u0442 \u0441\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c COVID \u043f\u0430\u043d\u0434\u0435\u043c\u0438\u044f. \u0418 \u043a\u0430\u043a \u043c\u043d\u043e\u0433\u0438\u0435, \u0443\u0435\u0445\u0430\u043b \u044f \u0441 \u0441\u0435\u043c\u044c\u0435\u0439 \u043d\u0430 \u0434\u0430\u0447\u0443. <\/p>\n<p>  \u0412 \u0433\u043e\u0440\u043e\u0434 \u0442\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u0442\u0430\u043b\u0438 \u043f\u0443\u0441\u043a\u0430\u0442\u044c. \u041d\u0430 \u0434\u0430\u0447\u0443 \u0445\u043e\u0440\u043e\u0448\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043a\u0430 \u043b\u0435\u0442\u043e \u0438 \u0442\u0435\u043f\u043b\u043e, \u043d\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043e\u0441\u0435\u043d\u044c \u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0443\u043f\u0430\u043b\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0435\u0437\u0434\u0438\u0442\u044c \u043d\u0430 \u0434\u0430\u0447\u0443, \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435, \u043d\u0435 \u043f\u0440\u043e\u043f\u0430\u043b\u043e. \u041d\u043e \u043f\u0440\u0438\u0435\u0437\u0436\u0430\u0442\u044c \u0432 \u0434\u043e\u043c, \u0433\u0434\u0435 \u0432\u0441\u0435\u0433\u043e +5 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432 \u043d\u0435 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e. \u0425\u043e\u0440\u043e\u0448\u043e \u0431\u044b \u043f\u0435\u0440\u0435\u0434 \u043f\u0440\u0438\u0435\u0437\u0434\u043e\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u0435, \u0432\u043e\u0442 \u043e\u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043b\u044f OPi. <\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0430\u0439\u043c\u0435\u0440, \u0447\u0442\u043e\u0431 \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u0435. \u0410 \u0435\u0441\u043b\u0438 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043f\u043e\u0435\u0434\u0435\u0442 \u0438\u043b\u0438 \u043f\u0440\u0438\u0435\u0434\u0435\u0442 \u0440\u0430\u043d\u044c\u0448\u0435? \u0415\u0441\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a \u0442\u043e: WiFi \u0440\u043e\u0437\u0435\u0442\u043a\u0438, GSM \u0440\u043e\u0437\u0435\u0442\u043a\u0438 \u0438 \u0442.\u043f. \u0412\u0441\u0435 \u044d\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0434\u0430\u0447\u0438. \u0412 \u0434\u0430\u0447\u043d\u044b\u0439 \u0441\u0435\u0437\u043e\u043d, \u0430 \u044d\u0442\u043e \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u043e\u043a\u0442\u044f\u0431\u0440\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0441\u043a\u043e\u0440\u0435\u0435 \u043c\u0435\u0440\u0442\u0432 \u0447\u0435\u043c \u0436\u0438\u0432. \u0414\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 GSM \u0441\u0438\u0433\u043d\u0430\u043b \u0441\u043b\u0430\u0431\u044b\u0439, \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043e\u043c \u043d\u0430\u0434\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c, \u0430 \u043d\u0430 \u043c\u043e\u0434\u0435\u043c \u0432\u0435\u0448\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u044e\u044e \u0430\u043d\u0442\u0435\u043d\u043d\u0443. <\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043b\u0443\u0447\u0448\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u043c\u0443. \u0417\u0430\u0434\u0430\u0447\u0430 \u0432\u0440\u043e\u0434\u0435 \u043f\u0440\u043e\u0441\u0442\u0430\u044f, \u043d\u0430\u0434\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a OPi USB \u043c\u043e\u0434\u0435\u043c \u0441 \u0430\u043d\u0442\u0435\u043d\u043d\u043e\u0439 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e SMS. \u0414\u043b\u044f \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u0441\u0438\u043b\u0438\u0439 \u0441\u0442\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u043e\u0435 \u041f\u041e. \u041f\u043e\u043f\u0430\u043b\u0441\u044f \u043d\u0430 \u0433\u043b\u0430\u0437\u0430 \u00abHome Assistant\u00bb(HA) \u0438 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u0430\u0447\u043d\u043e, \u043e\u043d \u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Python. \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, HA \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e, \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0432\u0441\u0451. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e SMS \u2014 \u0435\u0440\u0443\u043d\u0434\u0430, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u00ab\u0443\u043c\u043d\u044b\u0439\u00bb \u0434\u043e\u043c. \u0421\u0442\u0430\u043b \u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e. \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 HA \u0437\u043d\u0430\u0442\u044c Python \u043d\u0435 \u043d\u0430\u0434\u043e, \u043d\u0443\u0436\u0435\u043d YAML, \u0447\u0442\u043e \u043e\u0431\u0438\u0434\u043d\u043e. \u041d\u0435 \u0432\u0441\u0435 \u0440\u0430\u0434\u0443\u0436\u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0438 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 OPi. <\/p>\n<p>  \u041f\u0440\u043e\u0431\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c DHT22 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u043e\u043d \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u2026 \u041f\u0435\u0440\u0432\u0430\u044f \u043c\u044b\u0441\u043b\u044c, \u043c\u043e\u0436\u0435\u0442 \u043d\u0435\u0438\u0441\u043f\u0440\u0430\u0432\u0435\u043d, \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u0431\u0435\u0437\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043d\u043e. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0441\u0446\u0438\u043b\u043b\u043e\u0433\u0440\u0430\u0444, \u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043d\u0430 DHT22. \u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043b\u0438\u0448\u043d\u0438\u0439 \u0438\u043c\u043f\u0443\u043b\u044c\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0431\u0438\u0432\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0443 \u0434\u0430\u0442\u0447\u0438\u043a\u0430. \u0421\u0442\u0430\u043b \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c (\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Adafruit). \u041f\u043e\u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0434, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0442\u044b\u043a\u0430, \u0438 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. <\/p>\n<p>  \u041f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0432 30% \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0431\u044b\u043b\u043e \u0443\u0434\u0430\u0447\u043d\u044b\u043c. \u041d\u0430\u0432\u0435\u0440\u043d\u043e \u044d\u0442\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0434\u043b\u044f \u043d\u0435 Real Time OS, \u0434\u043b\u044f DHT22 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c\u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430\u043c\u0438. \u0412 \u0447\u0435\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430, \u0447\u0442\u043e \u043d\u0430 OPi \u0434\u0430\u0442\u0447\u0438\u043a \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b? \u041c\u043e\u0436\u0435\u0442 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b OPi. \u0423 DHT22 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u0430 \u0435\u0441\u043b\u0438 \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b I2C, SPI \u0438 \u0442.\u043f. \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u0431\u044b. \u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a, \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0434\u0430\u0442\u0447\u0438\u043a, \u043d\u0435 \u0437\u043d\u0430\u044e. <\/p>\n<p>  \u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0434\u0440\u0443\u0433\u0438\u0445 \u0436\u0430\u043b\u043e\u0431 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b. \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432\u044b\u0432\u043e\u0434, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 HA \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f OPi, \u0438 \u00ab\u0437\u0430\u0442\u043e\u0447\u0435\u043d\u044b\u00bb \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u043e\u0434 Raspberry. \u041d\u043e \u0432\u0441\u0435 \u0436\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e Raspberry \u043d\u0435 \u0441\u0442\u0430\u043b. <\/p>\n<p>  \u0420\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c, \u0438 \u0442\u0443\u0442 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0443 \u043d\u0430\u0441 \u0436\u0430\u0440\u043a\u043e\u0435 \u043b\u0435\u0442\u043e 2021 \u0433\u043e\u0434\u0430 \u0438 OPi \u043d\u0435 \u0432\u044b\u0434\u0435\u0440\u0436\u0430\u043b, \u0445\u043e\u0442\u044c \u0438 \u0431\u044b\u043b \u0441 \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440\u043e\u043c. \u0427\u0442\u043e-\u0442\u043e \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0441 \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0439. \u0427\u0442\u043e \u0436\u0435 \u043f\u043e\u0433\u043e\u0440\u0435\u0432\u0430\u043b \u0438 \u0441\u0442\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440. \u0414\u0430\u0436\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043d\u0430 Raspberry, \u043d\u043e \u0446\u0435\u043d\u0430 \u043d\u0435 \u0433\u0443\u043c\u0430\u043d\u043d\u0430\u044f. \u041f\u043e\u0442\u043e\u043c \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0430 \u0437\u0430\u0447\u0435\u043c \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u044d\u0442\u0438 \u00ab\u0444\u0440\u0443\u043a\u0442\u043e\u0432\u043e-\u044f\u0433\u043e\u0434\u043d\u044b\u0435\u00bb \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u044b, \u043c\u043e\u0436\u0435\u0442 \u0432\u0437\u044f\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u0439. <\/p>\n<p>  \u041d\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435 \u0433\u0434\u0435 \u0442\u043e\u0440\u0433\u0443\u044e\u0442 \u0432\u0441\u044f\u043a\u0438\u043c \u0440\u0430\u0437\u043d\u044b\u043c \u0431\/\u0443 \u2014 \u0431\u044b\u043b \u043a\u0443\u043f\u043b\u0435\u043d \u0422\u043e\u043d\u043a\u0438\u0439 \u041a\u043b\u0438\u0435\u043d\u0442 (\u0422\u041a) \u043c\u043e\u0434\u0435\u043b\u044c TONK1811 \u043f\u043e \u0446\u0435\u043d\u0435 1200 \u0440\u0443\u0431. \u0413\u0430\u0431\u0430\u0440\u0438\u0442\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u0443 OPi, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0422\u041a \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439.<\/p>\n<p>  <img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/od\/9_\/sr\/od9_sriaabdt8rix4bci8wo1ede.png\"\/><br \/>  \u0427\u0442\u043e \u0436 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0437\u0430 \u044d\u0442\u0438 \u0434\u0435\u043d\u044c\u0433\u0438:   <\/p>\n<ul>\n<li> \u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0440\u043f\u0443\u0441<\/li>\n<li> 5 \u0448\u0442. USB2 \u043f\u0440\u043e\u0442\u0438\u0432 3 \u0448\u0442.<\/li>\n<li> \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440, \u043f\u0430\u0441\u0441\u0438\u0432\u043d\u043e\u0435 \u043e\u0445\u043b\u0430\u0436\u0434\u0435\u043d\u0438\u0435<\/li>\n<li> \u0427\u0430\u0441\u044b \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/li>\n<li> \u0411\u043b\u043e\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/li>\n<li> \u041e\u0417\u0423 1 \u0413\u0431<\/li>\n<li> \u041e\u0434\u043d\u043e-\u044f\u0434\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 Atom N270<\/li>\n<li> 10\/100\/1000 Ethernet<\/li>\n<li> \u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u2014 1 x DVI-I (DB-15) \u2014 1 \u0445 PS\/2<\/li>\n<\/ul>\n<p>  \u0418\u0437 \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e\u2026 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u043b\u0441\u044f DOM \u0434\u0438\u0441\u043a 1\u0413\u0431 \u0441 WinXP. WiFi \u043d\u0435 \u0431\u044b\u043b\u043e, \u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u0437\u0430\u0432\u0430\u043b\u044f\u043b\u0441\u044f \u043c\u043e\u0434\u0443\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043e\u0448\u0435\u043b. \u0415\u0441\u0442\u044c \u0435\u0449\u0435 SATA \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c SSD \u0434\u043e 32\u0413\u0431. \u041f\u043e\u043a\u0430 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e \u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u0446\u0435\u043d\u0435 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b OS Debian \u043d\u0430 USB \u0444\u043b\u044d\u0448\u043a\u0443. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0448\u0443\u0441\u0442\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u0434\u0430\u0436\u0435 \u0448\u0443\u0441\u0442\u0440\u0435\u0435 OPi. <\/p>\n<p>  \u041c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0440\u0435\u0437\u043e\u043d\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u0443\u0434\u0430 \u0436\u0435 \u044f \u0432\u043e\u0442\u043a\u043d\u0443 \u0434\u0430\u0442\u0447\u0438\u043a DHT22, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0440\u0430\u043d\u0435\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u043b \u0441 \u0442\u0430\u043a\u0438\u043c \u0442\u0440\u0443\u0434\u043e\u043c, \u0442.\u00a0\u0435. \u0433\u0434\u0435 \u0436\u0435 GPIO? \u0415\u0441\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c FT232H (\u043c\u043e\u0436\u043d\u043e \u043a\u0443\u043f\u0438\u0442\u044c \u043d\u0430 \u0410\u043b\u0438). \u041c\u043e\u0434\u0443\u043b\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439, \u043d\u043e \u0435\u0433\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043a\u0430\u043a \u043c\u043e\u0441\u0442 USB-JTAG. FT232H \u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435, \u044d\u0442\u043e \u0435\u0449\u0435 \u043c\u043e\u0441\u0442 USB \u043d\u0430 I2C, SPI, UART \u0438 GPIO. <\/p>\n<p>  \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Python \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0443 <a href=\"https:\/\/github.com\/eblot\/pyftdi\/blob\/master\/pyftdi\/doc\/installation.rst\" rel=\"nofollow noopener noreferrer\">\u0410dafruit<\/a>. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432 HA \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043d\u0435\u0442. \u041c\u043e\u0436\u0435\u0442 \u0441\u0435\u0439\u0447\u0430\u0441 \u0443\u0436\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c, \u044f \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043a\u0430\u043f\u043b\u0435\u0439 \u0438 \u0440\u0435\u0448\u0438\u043b \u044f \u0441 HA \u0440\u0430\u0441\u0441\u0442\u0430\u0442\u044c\u0441\u044f. \u041c\u043d\u0435 \u0436 \u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u043d\u0430\u0434\u043e, \u043d\u0430\u043f\u0438\u0448\u0443 \u0432\u0441\u0435 \u0441\u0430\u043c \u043d\u0430 Python. \u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435, \u0447\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u00ab\u043a\u0438\u0440\u043f\u0438\u0447\u0438\u043a\u0438\u00bb \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0435\u0441\u0442\u044c. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u044f\u0437\u044b\u043a\u0430 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435 \u0443\u0436\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d\u043e \u0434\u043e \u043d\u0430\u0441, \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043d\u0430\u0439\u0442\u0438. \u041f\u043e \u0444\u0430\u043a\u0442\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0410dafruit \u0438 Gammu. <\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c FT232H. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u043b \u0434\u0430\u0442\u0447\u0438\u043a\u0438: HTU21d, BMP280, \u0442.\u00a0\u0435. \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b I2C, SPI \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442. \u041f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0439 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434, \u0434\u0430 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u2014 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u041c\u043d\u0435 \u0436\u0435 \u043d\u0430\u0434\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u2014 \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440\u044b \u043e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u044f, \u0442.\u00a0\u0435. \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e GPIO. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u0437\u044f\u043b, \u043f\u043e \u0447\u0438\u0441\u043b\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0435\u0439, 4-\u0445 \u043a\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0434\u0438\u043e\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a \u043d\u0430 433 \u041c\u0413\u0446 (TX118SA-4) \u0438 \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a\u0438 \u0441 \u0440\u0435\u043b\u0435. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/zi\/et\/0d\/ziet0ddheisdhgluddlxs6puzyk.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/zi\/et\/0d\/ziet0ddheisdhgluddlxs6puzyk.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/bz\/pk\/ya\/bzpkyarocyo-ovnuartcwcivh5c.png\"\/><\/p>\n<p>  \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0440\u0435\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 \u0442\u0430\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u0435 \u043d\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438, \u0442.\u00a0\u0435. \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0422\u041a \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0438\u043b\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0440\u0435\u043b\u0435. \u041f\u043e\u043b\u0443\u0447\u0438\u043b \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u0441\u0438\u0433\u043d\u0430\u043b \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u043b \u0441\u0445\u0435\u043c\u0443 \u0441\u0442\u043e\u0440\u043e\u0436\u0435\u0432\u044b\u043c \u0442\u0430\u0439\u043c\u0435\u0440\u043e\u043c, \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 7 \u043c\u0438\u043d. \u0417\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0432\u0437\u044f\u043b \u044d\u0442\u0443 \u0441\u0445\u0435\u043c\u0443, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u0443\u044e \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/uw\/fc\/q4\/uwfcq4d-az2kinb6g02eytj0rfc.jpeg\" alt=\"image\" data-src=\"https:\/\/habrastorage.org\/webt\/uw\/fc\/q4\/uwfcq4d-az2kinb6g02eytj0rfc.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u0441\u0445\u0435\u043c\u0435 \u0434\u0432\u0430 \u0440\u0435\u043b\u0435. \u041f\u0435\u0440\u0432\u043e\u0435 \u0440\u0435\u043b\u0435 \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a\u0430 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u0439\u043c\u0435\u0440, \u0430 \u0440\u0435\u043b\u0435 \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443. <\/p>\n<p>  <img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/kd\/hz\/n6\/kdhzn69qfwjygszlkz7txbty2lq.png\"\/><\/p>\n<p>  \u041d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u044d\u0442\u043e \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440\u044b \u043e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u0441 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043e\u043b\u043e 700 \u0412\u0442. \u0420\u0435\u043b\u0435 \u0434\u043e\u0431\u044b\u0442\u044b \u0438\u0437 \u0441\u0433\u043e\u0440\u0435\u0432\u0448\u0435\u0433\u043e \u0418\u0411\u041f. \u041f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a, \u0441 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 5 \u043c\u0438\u043d, \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u0438 \u0432\u0437\u0431\u0430\u0434\u0440\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u043e\u0440\u043e\u0436\u0435\u0432\u043e\u0439 \u0442\u0430\u0439\u043c\u0435\u0440. \u0415\u0441\u043b\u0438 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0448\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u043e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f. \u041f\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0435\u043c\u043d\u0438\u043a \u043e\u0442 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u043d\u043e\u0433\u043e \u043c\u0430\u043b\u043e\u043c\u043e\u0449\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043d\u0430 12\u0412. <\/p>\n<p>  <img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/wo\/rt\/mm\/wortmmblvmp5fcv2s17rnlryjfs.png\"\/><\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0441\u044f \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u043f\u043b\u0430\u0442\u0435 \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043a FT232H. <\/p>\n<p>  <img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/by\/qx\/ia\/byqxiaqo8vnxyuqvxlsnamuxrqm.png\"\/><\/p>\n<p>  \u041c\u043e\u0434\u0443\u043b\u044c \u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432 \u043a 3,3\u0412 \u0438 5\u0412.<\/p>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0432\u0441\u0435 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u0442\u044f\u043d\u0443\u043b\u043e\u0441\u044c \u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u0437\u0438\u043c\u0430. \u041f\u043e\u0435\u0437\u0434\u043a\u0438 \u043d\u0430 \u0434\u0430\u0447\u0443 \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u043b\u0438\u0441\u044c. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u0434\u043e\u0433\u0440\u0435\u0432\u0435 \u043e\u0442\u043f\u0430\u043b\u0430. \u041f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0435 \u0447\u0442\u043e \u0442\u043e. <br \/>  \u041c\u043e\u0436\u043d\u043e, \u043a\u0430\u043a \u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0430\u0442\u0447\u0438\u043a (\u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430, \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c, \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435) \u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0440\u044f\u0434\u043e\u043c \u0441 \u0422\u041a, \u043d\u043e \u044d\u0442\u043e \u043c\u0430\u043b\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u043e. \u041f\u043e\u0442\u043e\u043c \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0433\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f Oregon WMR88, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e USB. <\/p>\n<p>  <img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/ot\/sk\/6h\/otsk6hn50s_r6a4mzex67gcihyi.png\"\/><\/p>\n<p>  \u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u043d\u0430\u0439\u0442\u0438 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0447\u0442\u043e \u0442\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u043d\u0430 Python \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0430\u0441\u044c \u0443\u0441\u043f\u0435\u0445\u043e\u043c. \u0412\u0435\u0440\u043d\u0435\u0435 \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0430 \u0442\u0430\u043a \u0447\u0442\u043e\u0431 \u0433\u0434\u0435 \u0442\u043e \u0432\u0437\u044f\u0442\u044c python \u043a\u043e\u0434 \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u2014 \u043d\u0435\u0442. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u043c\u0443 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e. \u0414\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043e\u0431\u043c\u0435\u043d\u0430 \u0441 HID \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0435\u0441\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/pypi.org\/project\/hid\/\" rel=\"nofollow noopener noreferrer\">hid<\/a>. <\/p>\n<p>  \u0421\u043b\u043e\u0436\u043d\u0435\u0435 \u0441 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0430\u043c\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0442.\u043a. \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043d\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e, \u043d\u043e \u043d\u0430\u0440\u043e\u0434 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0447\u0442\u043e \u0442\u043e \u0440\u0430\u0441\u043a\u043e\u043f\u0430\u043b, \u0430 \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f. \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0432\u0437\u044f\u0442\u0430 <a href=\"https:\/\/github.com\/barnybug-archive\/wmr100\" rel=\"nofollow noopener noreferrer\">\u0442\u0443\u0442<\/a>. <\/p>\n<p>  \u041f\u0440\u0430\u0432\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u0430\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441\u043e \u0432\u0441\u0435\u0445 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043c\u0438\u043d\u0443\u0442 \u0434\u043e \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432. \u0417\u0430\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u043a\u0430\u043a \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u043a \u0438 \u0441 \u0432\u044b\u043d\u043e\u0441\u043d\u044b\u0445 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432. <\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0434\u043e\u0436\u0434\u044f \u0438 \u0432\u0435\u0442\u0440\u0430. \u041a\u043e\u0434 \u0432\u0441\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0435 \u043f\u0440\u0438\u0432\u043e\u0436\u0443, \u0442.\u00a0\u043a. \u044d\u0442\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c. \u0412 \u043e\u0431\u0449\u0435\u043c \u043a\u043e\u0434 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u0435\u0440\u043c\u0430\u043d\u0435\u043d\u0442\u043d\u043e\u0439 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u0431\u0435\u0437 \u0442\u043e\u043b\u043a\u043e\u0432\u044b\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0433\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0435\u0439, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u0442\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f python \u0432\u0435\u0440\u0441\u0438\u044f. \u041a\u043e\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0442\u0430\u043d\u0446\u0438\u0438.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">Python \u0432\u0435\u0440\u0441\u0438\u044f<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">#!\/usr\/bin\/env python3 # -*- coding: utf-8 -*- \"\"\" \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u0433\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 WMR88 \u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0432\u0437\u044f\u0442 \u043a\u043e\u0434 \u0438\u0437 https:\/\/github.com\/barnybug-archive\/wmr100 @author: jury \"\"\" import hid import time import timeit  def read_wmr88():         # \u041a\u043e\u0434 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f     vid = 0x0fde     pid = 0xca01          try:         device = hid.device()         device.open(vid, pid)         device.set_nonblocking(1)         # Init         init = [0x20, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00]         rw = device.write(bytes(init))         inp =  [0x01, 0xd0, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00]         time.sleep(0.05)         rw = device.write(bytes(inp))         dat = read_usb(device)     except IOError as ex:         device.close()         print(\"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\")     return dat  def read_usb(dev):     time_out = 10     print(\"Read the data\")     dd = []         tmi = timeit.default_timer()     while timeit.default_timer()-tmi &lt; time_out:         d = dev.read(8,10)         if len(d) != 0:             dd.append(d)             tmi = timeit.default_timer()         else:             time.sleep(0.5)     print(\"Closing the device\")     dev.close()     return dd  def parse_data(dat):     m1 = []     m2 = []     m3 = []     for i in dat:         for b in i[1:1+i[0]]:             m1.append(b)     for i in m1:         if i == 0xff:             if len(m2) > 1:                 if sum(m2[:-2]) == (m2[-2] + (m2[-1] &lt;&lt; 8)):                     m3.append(m2)                     m2 = []             continue         else:             m2.append(i)     return m3   def get_sensors(dat, full):     for i in dat:             if i[1] == 0x42: # Thermo-Hygrometer (10 bytes)             t = i[0] >> 4             battery = t >> 2             t_trend = t &amp; 0x03             sensor = i[2] &amp; 0x0f # \u043d\u043e\u043c\u0435\u0440 \u0441\u0435\u0441\u043e\u0440\u0430             st = i[2] >> 4             h_trend = (st >> 2) &amp; 0x03  # Humidity Trend             h_trend -= 1             temp = (i[3] + ((i[4] &amp; 0x0f) &lt;&lt; 8)) \/ 10.0             if ((i[4] >> 4) == 0x8):                 temp = -temp                     humidity = i[5]             dewpoint = (i[6] + ((i[7] &amp; 0x0f) &lt;&lt; 8)) \/ 10.0  # \u0442\u043e\u0447\u043a\u0430 \u0440\u043e\u0441\u044b             if ((i[7] >> 4) == 0x8):                 dewpoint = -dewpoint  # \u0442\u043e\u0447\u043a\u0430 \u0440\u043e\u0441\u044b             if sensor == 0:                 weather[\"Temperature\"][sensor] = (temp, dewpoint, trend[t_trend], lev_battery[battery])                 weather[\"Humidity\"][sensor] = (humidity, trend[h_trend])                 full |= 0x01             else:                 weather[\"Temperature\"][sensor] = (temp, dewpoint, trend[t_trend], lev_battery[battery])                 weather[\"Humidity\"][sensor] = (humidity, trend[h_trend])                 full |= 0x02             continue                      if i[1] == 0x46: # Barometer (6 bytes)             pressure = (i[2] &amp; 0x0f) + ((i[3] &amp; 0x0f) &lt;&lt; 8)             frcast = i[3] >> 4             alt_pressure = i[4] + ((i[5] &amp; 0x0f) &lt;&lt; 8)             pre_frcast = i[5] >> 4             weather[\"Pressure\"] = (pressure,forecast[pre_frcast],alt_pressure,forecast[frcast])             full |= 0x04             continue                      if i[1] == 0x60: # Clock (10 bytes)             power = i[0] >> 4             powered = power >> 3             battery = (power &amp; 0x4) >> 2             rf = (power &amp; 0x2) >> 1             level = power &amp; 0x1                     mi = i[4]             hr = i[5]             dy = i[6]             mo = i[7]             yr = i[8] + 2000             weather[\"Clock\"] = (hr,mi,dy,mo,yr,powered,level,rf)             full |= 0x08             continue                  if i[1] == 0x48: # Anemometer (9 bytes)             wind_dir = i[2] &amp; 0xf             power = i[2] >> 4             wind_speed = i[4] \/ 10.0             low_speed = i[5] >> 4             high_speed = i[6] &lt;&lt; 4             avg_speed = round((high_speed + low_speed) \/ 10.0,1)             weather[\"Wind\"] = (lev_battery[power],wind_speed,low_speed,high_speed,power,avg_speed,windies[wind_dir])             full |= 0x10             continue          if i[1] == 0x41: # Rain Gauge (15 bytes)                         sensor = i[2] &amp; 0x0f             power = i[2] >> 4             rate = i[3]                     hour = round(((i[5] &lt;&lt; 8) + i[4]) * 25.4 \/ 100.0,1) # \/* mm *\/             day = round(((i[7] &lt;&lt; 8) + i[6]) * 25.4 \/ 100.0,1) # \/* mm *\/             total = round(((i[9] &lt;&lt; 8) + i[8]) * 25.4 \/ 100.0,1) # \/* mm *\/             s_mi = i[10]             s_ho = i[11]             s_da = i[12]             s_mo = i[13]             s_yr = i[14] + 2000             weather[\"Rain\"] = (lev_battery[power],rate,hour,day,total,s_mi,s_ho,s_da,s_mo,s_yr)             full |= 0x20             continue              return full   ####### #  MAIN  #  full = 0 trend = [\"\u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0439\",\"\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0439\",\"\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439\"] lev_battery = [\"\u0437\u0430\u0440\u044f\u0436\u0435\u043d\u0430\",\"\u0440\u0430\u0437\u0440\u044f\u0436\u0435\u043d\u0430\"] weather = {'Pressure':[], 'Temperature':[[],[]], 'Humidity':[[],[]],'Clock':[],'Wind':[], \"Rain\":[]} forecast = [\"\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0441\u0442\u044c\",\"\u041e\u0431\u043b\u0430\u0447\u043d\u043e\",\"\u0414\u043e\u0436\u0434\u044c\",\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u043e\",\"\u042f\u0441\u043d\u043e\",\"\u0421\u043d\u0435\u0433\"]  windies = [\"\u0441\u0435\u0432\u0435\u0440\u043d\u044b\u0439\", \"\u0441\u0435\u0432\u0435\u0440\u043e-\u0441\u0435\u0432\u0435\u0440\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439\", \"\u0441\u0435\u0432\u0435\u0440\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439\", \"\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u043e-\u0441\u0435\u0432\u0435\u0440\u043d\u044b\u0439\", \"\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439\", \"\u043e\u0441\u0442\u043e\u0447\u043d\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u043e-\u044e\u0436\u043d\u044b\u0439\", \"\u044e\u0433\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439\", \"\u044e\u0433\u043e-\u044e\u0433\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439\", \"\u044e\u0436\u043d\u044b\u0439\", \"\u044e\u0433\u043e-\u044e\u0433\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439\", \"\u044e\u0433\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439\", \\            \"\u0437\u0430\u043f\u0430\u0434\u043d\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u043e-\u044e\u0436\u043d\u044b\u0439\", \"\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439\", \"\u0437\u0430\u043f\u0430\u0434\u043d\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u043e-\u0441\u0435\u0432\u0435\u0440\u043d\u044b\u0439\", \"\u0441\u0435\u0432\u0435\u0440\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439\", \"\u0441\u0435\u0432\u0435\u0440\u043e-\u0441\u0435\u0432\u0435\u0440\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439\"] tmi = timeit.default_timer() while full != 0x3f:     out = read_wmr88()         if out is not None:         dat = parse_data(out)             else:         break     full = get_sensors(dat, full)     print(\"\u041f\u0440\u043e\u0446\u0435\u043d\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f:\", round(100*full\/63,2))     time.sleep(5)      print(\"\u041e\u0431\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f:\",timeit.default_timer()-tmi)     print(weather)<\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041f\u043b\u0430\u043d\u044b \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435. \u0412\u0438\u0434\u0435\u043e \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0430 \u0443\u0437\u043d\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u043d\u0430 \u0443\u043b\u0438\u0446\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b. \u041c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0441\u0435\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 web server, \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u041d\u0410, \u043d\u043e \u043d\u0435\u0442\u2026 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u043e\u043c :). \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u043c\u044b\u0441\u043b\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 \u0447\u0435\u0440\u0435\u0437 SMS. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0442\u0435 \u043a\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0434\u0430\u0447\u0435. <\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435, \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0435\u0441\u0442\u044c \u0436\u0435 \u0435\u0449\u0435 \u0441\u043b\u0443\u0445. \u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440 \u0440\u0435\u0447\u0438. \u0412\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 RHVoice \u0438 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c <a href=\"https:\/\/github.com\/Aculeasis\/rhvoice-proxy\" rel=\"nofollow noopener noreferrer\">python \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/a>. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0438\u043d\u0442\u0435\u0437\u0430 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a\u043e\u0435 \u0442\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u0437\u0432\u043d\u0435. <\/p>\n<p>  \u042f \u0432\u044b\u0431\u0440\u0430\u043b IR \u043f\u0443\u043b\u044c\u0442, \u0441 \u043d\u0438\u043c \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e. \u0422\u0430\u043c \u0436\u0435 \u0433\u0434\u0435 \u0438 \u0422\u041a, \u0431\u044b\u043b \u043a\u0443\u043f\u043b\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c OVU4003\/00, \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u00abPhilips (or NXP) eHome Infrared Receiver\u00bb. \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0435\u0441\u0442\u044c LIRC, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e. \u041c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"https:\/\/python-evdev.readthedocs.io\/en\/latest\/\" rel=\"nofollow noopener noreferrer\">evdev<\/a>. \u041f\u043e\u043a\u0430 \u044d\u0442\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u00ab\u0431\u043e\u043b\u044c\u0448\u043e\u043c\u00bb \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u0441 Linux Mint, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0438 \u0441 \u0422\u041a \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442. \u041f\u043e\u043a\u0430 \u0441\u043c\u0443\u0449\u0430\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0430 \u0444\u043b\u044d\u0448\u043a\u0435. \u0415\u0449\u0435 USB \u043c\u043e\u0434\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043d\u043e\u0433\u0434\u0430 \u00ab\u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f\u00bb, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0438\u0437-\u0437\u0430 \u043d\u0435\u0445\u0432\u0430\u0442\u043a\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f. \u041f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0441 \u0434\u043e\u043f. \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c. <\/p>\n<p>  \u0412 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043c\u043e\u0433\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0422\u041a \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u0445\u0443\u0436\u0435 OPi, \u0430 \u043f\u043e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430\u0446\u0438\u0438 \u0434\u0430\u0436\u0435 \u043b\u0443\u0447\u0448\u0435. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0438 \u043c\u043e\u0433\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c, \u0447\u0442\u043e \u0438\u0437-\u0437\u0430 \u0434\u0430\u0432\u043d\u0435\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 x86 \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0434\u043b\u044f ARM. \u042f \u043d\u0430\u0432\u0435\u0440\u043d\u043e \u0440\u0435\u0442\u0440\u043e\u0433\u0440\u0430\u0434, \u043d\u043e \u043c\u043d\u0435 x86 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043a\u0430\u043a \u0442\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u0435\u0439.<\/p><\/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\/post\/645491\/\"> https:\/\/habr.com\/ru\/post\/645491\/<\/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_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"\/img\/image-loader.svg\" data-src=\"https:\/\/habrastorage.org\/webt\/g6\/mj\/un\/g6mjunm-8fnjm08kt-klvzloccw.png\"\/><\/p>\n<p>  \u042d\u0442\u043e \u043d\u0435 \u043f\u0440\u044f\u043c\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435, \u0430 \u0441\u043a\u043e\u0440\u0435\u0435 \u043e\u043f\u044b\u0442 \u0434\u0438\u043b\u0435\u0442\u0430\u043d\u0442\u0430 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u0432\u0443\u0445 \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432. \u0412\u043e\u043e\u0431\u0449\u0435 \u043c\u043e\u0439 \u0434\u0438\u043b\u0435\u0442\u0430\u043d\u0442\u0441\u043a\u0438\u0439 \u0441\u0442\u0430\u0436 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u0430\u043a \u043f\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043a \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u043c, \u0442\u0430\u043a \u0438 \u043a \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0435.   <\/p>\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-328042","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/328042","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=328042"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/328042\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=328042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=328042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=328042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}