{"id":299833,"date":"2020-03-07T21:00:12","date_gmt":"2020-03-07T21:00:12","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=299833"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=299833","title":{"rendered":"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Tion S3 \u0438 \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0443\u043c\u043d\u043e\u043c\u0443 \u0434\u043e\u043c\u0443"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/457670\/\">\n<p>\u0423 <a href=\"https:\/\/habr.com\/ru\/users\/tionofficial\/\" class=\"user_link\">TIONofficial<\/a> \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442: \u0431\u0440\u0438\u0437\u0435\u0440 \u2014 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0440\u0438\u0442\u043e\u0447\u043d\u043e\u0439 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u0438 \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c\u0438 <i>(\u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0441 \u043f\u043e\u0434\u043e\u0433\u0440\u0435\u0432\u043e\u043c \u0443\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0432\u043e\u0437\u0434\u0443\u0445\u0430)<\/i>. \u0422\u0430\u043a\u0438\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u044f\u0449\u0438\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0434\u044b\u0440\u043a\u0443 \u0432 \u0441\u0442\u0435\u043d\u0435 \u0437\u0430\u0441\u0430\u0441\u044b\u0432\u0430\u044e\u0442 \u0443\u043b\u0438\u0447\u043d\u044b\u0439 \u0432\u043e\u0437\u0434\u0443\u0445, \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u044e\u0442 \u0447\u0435\u0440\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440\u044b \u0438 \u0442\u0430\u0434\u0430\u043c: \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0447\u0438\u0441\u0442\u044b\u0439 \u0438 \u0441\u0432\u0435\u0436\u0438\u0439 \u0432\u043e\u0437\u0434\u0443\u0445. <\/p>\n<p>  <\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u044f \u043d\u0430\u0447\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0418\u041a \u043f\u0443\u043b\u044c\u0442\u043e\u043c \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c \u0431\u044b\u043b\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e: \u0443\u043c\u043d\u044b\u0439 \u0418\u041a \u043f\u0443\u043b\u044c\u0442 + \u0441\u0433\u0440\u0430\u0431\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041d\u043e\u0432\u044b\u0435 \u0436\u0435 \u0434\u0435\u0432\u0430\u0439\u0441\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u043e\u0434\u043d\u043e, \u0441\u043e \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430, \u0430 \u043f\u0443\u043b\u044c\u0442 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0431\u044b\u0442\u044c \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u0430 \u0432\u043e\u0442 \u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u0443\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0448\u044c.<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f Magic air \u0441 \u0432\u044b\u043d\u043e\u0441\u043d\u044b\u043c \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c CO2, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u0447\u0435\u0440\u0435\u0437 \u0442\u0430\u043a\u0443\u044e \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0441\u0442\u0430\u043d\u0446\u0438\u044e \u0442\u043e\u0436\u0435 \u0442\u043e\u0436\u0435 \u043f\u043e\u0434 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u0427\u0442\u043e \u0436, \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u0436\u0435 \u044d\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0443 \u0440\u0435\u0448\u0430\u0435\u0442 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0412 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441\u043a\u0430\u0437\u0430\u043d\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u0435\u043d \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0441 Bluetooth 4.0 \u0438 \u0432\u044b\u0448\u0435. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u0432\u0430: Magic air \u0438 Tion remote. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u043e\u0441\u044c \u0432\u0442\u043e\u0440\u043e\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u043e \u043f\u0440\u043e\u0449\u0435 \u0438 \u0432 \u043d\u0435\u043c \u043d\u0435\u0442 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0435\u0439.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0448\u043b\u0438\u0441\u044c \u043a\u043b\u0430\u0441\u0441\u044b, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0435 \u0437\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 <em>(\u043a\u0441\u0442\u0430\u0442\u0438, \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0438 S3 \u0438 S3 lite)<\/em>: \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0431\u0440\u0438\u0437\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c \u043f\u043e 20 \u0431\u0430\u0439\u0442, \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b (= \u0438 Z \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e), \u0432\u0442\u043e\u0440\u043e\u0439 \u0431\u0430\u0439\u0442 \u0432 \u043f\u0430\u043a\u0435\u0442\u0435 \u2014 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 (\u0438\u0437 enum).<\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0442\u0440\u0438: pair, decode \u0438 encode. \u0418\u043c\u0438 \u0438 \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f.<\/p>\n<p>  <\/p>\n<h1>pair<\/h1>\n<p>  <\/p>\n<p>\u0411\u0440\u0438\u0437\u0435\u0440 \u043d\u0435 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u0432\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u043c\u0438\u0440. \u0412 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u0447\u0442\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u0435\u0433\u043e \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043e\u043c \u0438\u043b\u0438 \u043f\u0443\u043b\u044c\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0430 5 \u0441\u0435\u043a\u0443\u043d\u0434 \u0437\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u0412 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u041d\u043e \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u0430\u0442\u044c BT \u043a\u043e\u043c\u0430\u043d\u0434\u0443 &quot;pair&quot;, \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430, \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u0431\u0440\u0438\u0437\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0442\u0443\u0442 \u0436\u0435 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.<\/p>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430 \u0432\u0440\u0435\u043c\u044f &quot;\u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u043e\u0433\u043e&quot; \u0440\u0435\u0436\u0438\u043c\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0435\u043c\u0443 pair \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0435\u0449\u0435 \u0438 \u0442\u0435\u043c, \u0447\u0442\u043e 3 \u0431\u0430\u0439\u0442 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">command_PAIR = 5 command_REQUEST_PARAMS = 1 command_SET_PARAMS = 2 command_prefix = 61 command_suffix = 90  def create_command(self, command: int) -&gt; bytearray:     command_special = 1 if command == self.command_PAIR else 0     return bytearray([self.command_prefix, command, command_special, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, self.command_suffix])<\/code><\/pre>\n<p>  <\/p>\n<p>\u0438 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u0430\u043a\u0435\u0442\u0430 \u0441 <strong>command_PAIR<\/strong>, \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442.<\/p>\n<p>  <\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043b\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u043a\u0443\u0434\u0430 \u0436\u0435 \u044d\u0442\u043e\u0442 \u043f\u0430\u043a\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c: \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0442\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e characteristic \u0438 \u0438\u0437 \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u043a\u0443\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u043e \u043d\u0430\u0448\u0435\u043b\u0441\u044f \u043a\u043b\u0430\u0441\u0441 \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c uuid \u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u044d\u0442\u0438\u0445 uuid<\/p>\n<p>  <\/p>\n<pre><code class=\"java\">public class BreezerUuids {     public static String getDeviceUuid(@NonNull BreezerType breezerType) {         return breezerType == BreezerType.BR_LITE ? &quot;98f00001-3788-83ea-453e-f52244709ddb&quot; : &quot;6e400001-b5a3-f393-e0a9-e50e24dcca9e&quot;;     }      public static String getWriteUuid(@NonNull BreezerType breezerType) {         return breezerType == BreezerType.BR_LITE ? &quot;98f00002-3788-83ea-453e-f52244709ddb&quot; : &quot;6e400002-b5a3-f393-e0a9-e50e24dcca9e&quot;;     }      public static String getNotifyUuid(@NonNull BreezerType breezerType) {         return breezerType == BreezerType.BR_LITE ? &quot;98f00003-3788-83ea-453e-f52244709ddb&quot; : &quot;6e400003-b5a3-f393-e0a9-e50e24dcca9e&quot;;     }      public static String getNotifyDescriptorUuid(@NonNull BreezerType breezerType) {         BreezerType breezerType2 = BreezerType.BR_LITE;         return &quot;00002902-0000-1000-8000-00805f9b34fb&quot;;     } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0432\u0441\u043a\u043e\u0440\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, pair-\u043f\u0430\u043a\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0432 DeviceUUID. \u0412 \u0438\u0442\u043e\u0433\u0435 pair \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">uuid = &quot;6e400001-b5a3-f393-e0a9-e50e24dcca9e&quot; def _get_pair_command(self) -&gt; bytearray:     return self.create_command(self.command_PAIR) def pair(self, mac: str):     self._btle.connect(mac, btle.ADDR_TYPE_RANDOM)     characteristic = self._btle.getServiceByUUID(self.uuid).getCharacteristics()[0]     characteristic.write(bytes(self._get_pair_command()))     self._btle.disconnect()<\/code><\/pre>\n<p>  <\/p>\n<h1>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445<\/h1>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0441\u0442\u0430\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043e\u0442 \u043d\u0435\u0433\u043e \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0440\u0430\u0437\u0443\u043c\u043d\u043e\u0435, \u0447\u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>  \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0437 \u0442\u043e\u0439 \u0436\u0435 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f pair.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">response =  self._btle.getServiceByUUID(self.uuid).getCharacteristics()[0].read()<\/code><\/pre>\n<p>  <\/p>\n<p>\u0410 \u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b 20 \u0431\u0430\u0439\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">statuses = [ 'off', 'on' ] modes = [ 'recirculation', 'mixed' ]  def _process_mode(self, mode_code: int) -&gt; str:     try:       result = self.modes[mode_code]     except IndexError:       result = 'outside'     return result  def _process_status(self, code: int) -&gt; str:     try:       result = self.statuses[code]     except IndexError:       result = 'unknown'     return result  def _decode_response(self, response: bytearray) -&gt; dict:     return {       &quot;heater&quot;: self._process_status(response[4] &amp; 1),       &quot;status&quot;: self._process_status(response[4] &gt;&gt; 1 &amp; 1),       &quot;sound&quot;: self._process_status(response[4] &gt;&gt; 3 &amp; 1),       &quot;mode&quot;: self._process_mode(int(list(&quot;{:02x}&quot;.format(response[2]))[0])),       &quot;fan_speed&quot;: int(list(&quot;{:02x}&quot;.format(response[2]))[1]),       &quot;heater_temp&quot;: response[3],       &quot;in_temp&quot;: response[8],       &quot;filter_remain&quot;: response[10]*256 + response[9],       &quot;time&quot;: &quot;{}:{}&quot;.format(response[11],response[12]),       &quot;request_error_code&quot;: response[13],       &quot;fw_version&quot;: &quot;{:02x}{:02x}&quot;.format(response[16],response[17])     }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u043e \u0442\u0443\u0442 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0442\u0435\u043d\u0438\u044f\u0445 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f. \u0427\u0442\u043e\u0431\u044b \u0438\u0445 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 notify \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0438 \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <strong>command_REQUEST_PARAMS<\/strong> \u0432 write \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0443. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0431\u0440\u0438\u0437\u0435\u0440\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">uuid_write = &quot;6e400002-b5a3-f393-e0a9-e50e24dcca9e&quot; uuid_notify = &quot;6e400003-b5a3-f393-e0a9-e50e24dcca9e&quot;  def _connect(self, mac: str,  new_connection = True):     if new_connection:       self._btle.connect(mac, btle.ADDR_TYPE_RANDOM)       for tc in self._btle.getCharacteristics():         if tc.uuid == self.uuid_notify:           self.notify = tc         if tc.uuid == self.uuid_write:           self.write = tc ... def get(self) -&gt; dict:     response = &quot;&quot;      self.notify.read()     self.write.write(self._get_status_command())     response =  self._btle.getServiceByUUID(self.uuid).getCharacteristics()[0].read()      return self._decode_response(response)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 get \u0432\u044b\u0434\u0430\u0435\u0442 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0431\u0440\u0438\u0437\u0435\u0440\u0430.<\/p>\n<p>  <\/p>\n<h1>\u0427\u0438\u0442\u0430\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c<\/h1>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0431\u0440\u0438\u0437\u0435\u0440\u0430 \u2014 \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u0446\u0435\u043b\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u043e\u0447\u044c\u044e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0442\u044c \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0442\u043e\u0440\u0430 (\u0441\u0438\u043b\u044c\u043d\u043e \u0448\u0443\u043c\u0438\u0442, \u0437\u0430\u0440\u0430\u0437\u0430), \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0431\u043e\u0440\u043e\u0442\u0430\u043c\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 mhz19 \u0438\u0442\u0434.<\/p>\n<p>  <\/p>\n<p>\u0417\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442 \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <strong>command_SET_PARAMS<\/strong>. \u0412 \u043f\u0430\u043a\u0435\u0442\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043e\u0434\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435, \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e, \u0438 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 \u0431\u0440\u0438\u0437\u0435\u0440.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">def _encode_mode(self, mode: str) -&gt; int:   return self.modes.index(mode) if mode in self.modes else 2  def _encode_status(self, status: str) -&gt; int:   return self.statuses.index(status) if status in self.statuses else 0  def _encode_request(self, request: dict) -&gt; bytearray:   settings = {**self.get(), **request}   new_settings = self.create_command(self.command_SET_PARAMS)   new_settings[2] = settings[&quot;fan_speed&quot;]   new_settings[3] = settings[&quot;heater_temp&quot;]   new_settings[4] = self._encode_mode(settings[&quot;mode&quot;])   new_settings[5] = self._encode_status(settings[&quot;heater&quot;]) | (self._encode_status(settings[&quot;status&quot;])&lt;&lt;1) | (self._encode_status(settings[&quot;sound&quot;])&lt;&lt;3)   return new_settings<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0438\u0448\u0435\u043c \u044d\u0442\u043e \u0432\u0441\u0435 \u0432 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0443 uuid == uuid_write.<br \/>  \u041d\u0435\u044f\u0441\u043d\u043e\u0439 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0441\u0443\u0434\u044c\u0431\u0430 \u0435\u0449\u0435 \u043f\u0430\u0440\u044b \u0431\u0430\u0439\u0442 \u043f\u0430\u043a\u0435\u0442\u0430, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"java\">public class Breezer3sSetParamsCommand extends BaseBreezerCommand { ...     public void createCommandData() { ... this.commandDataArr[i2 + 1] = (byte) 0;         if (this.f) {             byte[] bArr = this.commandDataArr;             bArr[7] = (byte) (bArr[7] | 2);         }         this.commandDataArr[10] = (byte) this.e;<\/code><\/pre>\n<p>  <\/p>\n<h1>\u041a\u0430\u043a \u044d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/h1>\n<p>  <\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u0439 \u0432\u044b\u0448\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432 <a href=\"https:\/\/github.com\/TionAPI\/python\" rel=\"nofollow\">\u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f python3<\/a>.<br \/>  \u041d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d <a href=\"https:\/\/github.com\/TionAPI\/python-server\" rel=\"nofollow\">\u043f\u0440\u043e\u0441\u0442\u043e\u0439 API \u0441\u0435\u0440\u0432\u0435\u0440<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u0442 json-\u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0432 \u0431\u0440\u0438\u0437\u0435\u0440 \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 json \u043e\u0442\u0432\u0435\u0442\u044b.<\/p>\n<p>  <\/p>\n<p>\u0412 Home assistant \u0441\u043a\u0430\u0437\u0430\u043d\u043e, \u0447\u0442\u043e \u0435\u0441\u0442\u044c: rest \u0441\u0435\u043d\u0441\u043e\u0440, rest \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 fan, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 rest \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<p>  <\/p>\n<p>\u0418 \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u043e\u0431\u0440\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043e \u043d\u0430 \u043c\u0430\u043b\u0438\u043d\u0435.<\/p>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0434\u043b\u044f Home assistant, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e API \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0447\u0435\u043d\u044c \u043d\u0443\u0436\u0435\u043d \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u0431\u0435\u0449\u0430\u043d\u0438\u044f\u043c\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u0432 \u0432 \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c \u0422\u0438\u043e\u043d \u043a\u043e\u0440\u043c\u0438\u0442 \u043f\u0443\u0431\u043b\u0438\u043a\u0443 \u0441 2016 \u0433\u043e\u0434\u0430 <i>(\u0435\u0441\u043b\u0438 \u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u043d\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 \u0412\u041a(<a href=\"https:\/\/vk.com\/tion_ru\" rel=\"nofollow\">https:\/\/vk.com\/tion_ru<\/a>))<\/i>, \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u043b\u0438\u043a\u043e\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e, \u0430 \u0441 rest API \u043c\u043e\u0433\u0443\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435.<\/p>\n<p>  <\/p>\n<p>\u041d\u0443 \u0438 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 lite \u0432\u0435\u0440\u0441\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u043c\u043e\u0433\u0443 \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u0418 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043b\u043e\u0436\u043a\u0430 \u0434\u0435\u0433\u0442\u044f: \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441 HomeAssist, \u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043f\u0443\u0441\u0442\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442 \u0443\u0441\u043f\u0435\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b. \u0412\u0438\u0434\u0438\u043c\u043e, HA \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>P.S.: Issue, PR \u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0432 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f: \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u2014 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043f\u043e\u043c\u043e\u0447\u044c \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439, \u0432 \u043c\u0435\u0440\u0443 \u0441\u0432\u043e\u0438\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<\/div>\n<p> \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\/457670\/\"> https:\/\/habr.com\/ru\/post\/457670\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/457670\/\">\n<p>\u0423 <a href=\"https:\/\/habr.com\/ru\/users\/tionofficial\/\" class=\"user_link\">TIONofficial<\/a> \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442: \u0431\u0440\u0438\u0437\u0435\u0440 \u2014 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0440\u0438\u0442\u043e\u0447\u043d\u043e\u0439 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u0438 \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c\u0438 <i>(\u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0441 \u043f\u043e\u0434\u043e\u0433\u0440\u0435\u0432\u043e\u043c \u0443\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0432\u043e\u0437\u0434\u0443\u0445\u0430)<\/i>. \u0422\u0430\u043a\u0438\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u044f\u0449\u0438\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0434\u044b\u0440\u043a\u0443 \u0432 \u0441\u0442\u0435\u043d\u0435 \u0437\u0430\u0441\u0430\u0441\u044b\u0432\u0430\u044e\u0442 \u0443\u043b\u0438\u0447\u043d\u044b\u0439 \u0432\u043e\u0437\u0434\u0443\u0445, \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u044e\u0442 \u0447\u0435\u0440\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440\u044b \u0438 \u0442\u0430\u0434\u0430\u043c: \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0447\u0438\u0441\u0442\u044b\u0439 \u0438 \u0441\u0432\u0435\u0436\u0438\u0439 \u0432\u043e\u0437\u0434\u0443\u0445. <\/p>\n<p>  <\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u044f \u043d\u0430\u0447\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0418\u041a \u043f\u0443\u043b\u044c\u0442\u043e\u043c \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c \u0431\u044b\u043b\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e: \u0443\u043c\u043d\u044b\u0439 \u0418\u041a \u043f\u0443\u043b\u044c\u0442 + \u0441\u0433\u0440\u0430\u0431\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041d\u043e\u0432\u044b\u0435 \u0436\u0435 \u0434\u0435\u0432\u0430\u0439\u0441\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u043e\u0434\u043d\u043e, \u0441\u043e \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430, \u0430 \u043f\u0443\u043b\u044c\u0442 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0431\u044b\u0442\u044c \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u0430 \u0432\u043e\u0442 \u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u0443\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0448\u044c.<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f Magic air \u0441 \u0432\u044b\u043d\u043e\u0441\u043d\u044b\u043c \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c CO2, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u0447\u0435\u0440\u0435\u0437 \u0442\u0430\u043a\u0443\u044e \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0441\u0442\u0430\u043d\u0446\u0438\u044e \u0442\u043e\u0436\u0435 \u0442\u043e\u0436\u0435 \u043f\u043e\u0434 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u0427\u0442\u043e \u0436, \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u0436\u0435 \u044d\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0443 \u0440\u0435\u0448\u0430\u0435\u0442 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0440\u0438\u0437\u0435\u0440\u043e\u043c.<\/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-299833","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299833","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=299833"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299833\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}