{"id":209,"date":"2018-04-18T16:53:46","date_gmt":"2018-04-18T08:53:46","guid":{"rendered":"http:\/\/www.kejidana.com\/?p=209"},"modified":"2018-04-18T16:53:46","modified_gmt":"2018-04-18T08:53:46","slug":"%e7%be%a4%e6%99%96docker%e5%ae%89%e8%a3%85homeassistant%e6%8e%a7%e5%88%b6%e5%8d%9a%e8%81%94spmini3","status":"publish","type":"post","link":"http:\/\/www.kejidana.com\/?p=209","title":{"rendered":"\u7fa4\u6656docker\u5b89\u88c5HomeAssistant\u63a7\u5236\u535a\u8054spmini3"},"content":{"rendered":"<ol>\n<li>\u5b89\u88c5 Docker<\/li>\n<li>\u542f\u52a8 Docker \u5e94\u7528\uff0c\u524d\u5f80 \u6ce8\u518c \u680f<\/li>\n<li>\u627e\u5230 &#8220;homeassistant\/home-assistant&#8221;\uff0c\u70b9\u51fb\u4e0b\u8f7d<\/li>\n<li>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u524d\u5f80 Image\uff08\u955c\u50cf\uff09\u680f<\/li>\n<li>\u70b9\u51fb Launch \u542f\u52a8<\/li>\n<li>\u968f\u4fbf\u53d6\u4e00\u4e2a\u5bb9\u5668\u540d\u79f0\uff08\u6bd4\u5982 homeassistant\uff09<\/li>\n<li>\u70b9\u51fb\u300e\u9ad8\u7ea7\u8bbe\u5b9a\u300f<\/li>\n<li>\u9009\u62e9\u300e\u5141\u8bb8\u81ea\u52a8\u542f\u52a8\u300f<\/li>\n<li>\u5728 Volume \u5185\u9009\u62e9 Add Folder \u6dfb\u52a0\u6587\u4ef6\u5939\uff0c\u65b0\u5efa\u6216\u8005\u9009\u62e9\u5df2\u6709\u6587\u4ef6\u5939\u3002 \u6620\u5c04\u4e3a\/config\u3002<\/li>\n<li>\u7f51\u7edc\u5185\uff0c\u9009\u62e9\u4f7f\u7528\u548c Docker \u5bbf\u4e3b\u76f8\u540c\u7684\u7f51\u7edc<\/li>\n<li>\u70b9\u51fb\u73af\u5883\uff0c\u52a0\u53f7\uff0c\u6dfb\u52a0 <code class=\"codehilite\">variable = TZ<\/code> \u548c <code class=\"codehilite\">value = Asia\/Shanghai<\/code><\/li>\n<li>\u786e\u8ba4\uff0c\u4e0b\u4e00\u6b65\uff0c\u5e94\u7528<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u914d\u7f6e\u4fe1\u606f<\/p>\n<pre class=\"lang:default decode:true \">switch:\n  - platform: broadlink\n    host: 192.168.2.236\n    mac: '34:EA:xx:xx:xx:xx'\n    timeout: 15\n    type:  sp2\n    friendly_name: 'SP-MINI3'<\/pre>\n<p>\u9700\u8981\u5728docker\u7ec8\u7aef\u6267\u884c\u00a0\u00a0 pip3 install pycrypto<\/p>\n<p>\u53e6\u6700\u65b0\u7248\u672c\u7684HomeAssistant\u8fd0\u884c\u535a\u8054\u7684\u5e93\u6709\u62a5\u9519\uff0c\u4f7f\u75280.6.6\u53ef\u4ee5\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5 Docker \u542f\u52a8 Docker \u5e94\u7528\uff0c\u524d\u5f80 \u6ce8\u518c \u680f \u627e\u5230 &#8220;homeassis [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,37],"tags":[],"class_list":["post-209","post","type-post","status-publish","format-standard","hentry","category-homeassistant","category-37"],"_links":{"self":[{"href":"http:\/\/www.kejidana.com\/index.php?rest_route=\/wp\/v2\/posts\/209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.kejidana.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kejidana.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kejidana.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kejidana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=209"}],"version-history":[{"count":0,"href":"http:\/\/www.kejidana.com\/index.php?rest_route=\/wp\/v2\/posts\/209\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.kejidana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kejidana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kejidana.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}