{"id":234,"date":"2026-08-02T19:20:12","date_gmt":"2026-08-02T11:20:12","guid":{"rendered":"https:\/\/www.taodajiang.cn\/?p=234"},"modified":"2026-08-02T19:20:12","modified_gmt":"2026-08-02T11:20:12","slug":"%e6%99%ba%e8%83%bd%e5%ae%b6%e5%b1%85-%e5%b9%b3%e6%b0%91home-assistant-%e7%a7%81%e4%ba%ba%e7%ae%a1%e5%ae%b6","status":"publish","type":"post","link":"https:\/\/www.taodajiang.cn\/?p=234","title":{"rendered":"\u667a\u80fd\u5bb6\u5c45 | \u5e73\u6c11Home Assistant \u79c1\u4eba\u7ba1\u5bb6"},"content":{"rendered":"<h2 style='font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;margin: 32px 0px 16px;color: rgb(15, 17, 21);letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;\">\u4ec0\u4e48\u662f Home Assistant<\/span><\/span><\/h2>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">Home Assistant \u662f\u4e00\u4e2a\u5b8c\u5168\u5f00\u6e90\u7684\u667a\u80fd\u5bb6\u5c45\u5e73\u53f0\uff0c\u4f60\u53ef\u4ee5\u628a\u5b83\u5b89\u88c5\u5728\u6811\u8393\u6d3e\u3001\u8ff7\u4f60\u4e3b\u673a\u6216\u4efb\u4f55\u957f\u671f\u5f00\u673a\u7684\u8bbe\u5907\u4e0a\u3002\u5b83\u7684\u6838\u5fc3\u5b9a\u4f4d\u662f\u6210\u4e3a\u5bb6\u5ead\u7684\u201c\u6700\u5f3a\u5927\u8111\u201d\u2014\u2014\u5c06\u4e0d\u540c\u54c1\u724c\u3001\u4e0d\u540c\u901a\u4fe1\u534f\u8bae\u7684\u667a\u80fd\u8bbe\u5907\u6574\u5408\u5230\u7edf\u4e00\u5e73\u53f0\u4e0a\u8fdb\u884c\u96c6\u4e2d\u7ba1\u7406\u548c\u81ea\u52a8\u5316\u63a7\u5236<\/span><span leaf=\"\">\u3002<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u4e0e\u5e02\u9762\u4e0a\u5404\u7c7b\u667a\u80fd\u5bb6\u5c45 App \u4e0d\u540c\uff0cHome Assistant \u6700\u5927\u7684\u7279\u70b9\u662f<\/span><strong style=\"font-weight: 600;\"><span leaf=\"\">\u672c\u5730\u5316\u8fd0\u884c<\/span><\/strong><span leaf=\"\">\uff1a\u6240\u6709\u81ea\u52a8\u5316\u90fd\u5728\u5bb6\u91cc\u672c\u5730\u6267\u884c\uff0c\u5373\u4f7f\u65ad\u7f51\uff0c\u5bb6\u91cc\u7684\u81ea\u52a8\u5316\u573a\u666f\u4f9d\u65e7\u5982\u5e38\u8fd0\u884c\u3002\u6ca1\u6709\u4e91\u670d\u52a1\u5668\uff0c\u6ca1\u6709\u9690\u85cf\u8ba2\u9605\uff0c\u4f60\u7684\u6570\u636e\u59cb\u7ec8\u7559\u5728\u4f60\u81ea\u5df1\u5bb6\u91cc\u3002<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u7b80\u5355\u6765\u8bf4\uff0cHome Assistant \u89e3\u51b3\u7684\u662f\u667a\u80fd\u5bb6\u5c45\u7684\u201c\u5b64\u5c9b\u201d\u95ee\u9898\u2014\u2014\u4e0d\u7528\u5728\u7c73\u5bb6\u3001Apple Home\u3001\u6d82\u9e26\u7b49\u591a\u4e2a App \u4e4b\u95f4\u6765\u56de\u5207\u6362\uff0c\u4e00\u4e2a\u5e73\u53f0\u7edf\u4e00\u7ba1\u7406\u6240\u6709\u8bbe\u5907<\/span><\/p>\n<h2 style='font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;margin: 32px 0px 16px;color: rgb(15, 17, 21);letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;\">\u4e3a\u4ec0\u4e48\u9009\u62e9 Docker \u90e8\u7f72<\/span><\/span><\/h2>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">Home Assistant \u652f\u6301\u591a\u79cd\u5b89\u88c5\u65b9\u5f0f\uff0c\u5305\u62ec\u76f4\u63a5\u5728 Python \u73af\u5883\u4e2d\u8fd0\u884c\u3001\u4ee5\u64cd\u4f5c\u7cfb\u7edf\u5f62\u5f0f\u5b89\u88c5 HA OS\uff0c\u4ee5\u53ca\u901a\u8fc7 Docker \u5bb9\u5668\u90e8\u7f72\u3002\u672c\u9879\u76ee\u4ece\u4e00\u5f00\u59cb\u5c31\u786e\u5b9a\u91c7\u7528 Docker \u65b9\u6848\uff0c\u539f\u56e0\u5982\u4e0b\uff1a<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><strong style=\"font-weight: 600;\"><span leaf=\"\">1. \u7701\u5fc3\uff0c\u65e0\u9700\u5904\u7406\u73af\u5883\u4f9d\u8d56<\/span><\/strong><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u7528 Docker \u90e8\u7f72 Home Assistant\uff0c\u4f60\u4e0d\u7528\u53bb\u5b98\u7f51\u4e0b\u8f7d\u4e00\u5806\u5b89\u88c5\u5305\uff0c\u4e5f\u4e0d\u7528\u89e3\u51b3 Python \u7248\u672c\u51b2\u7a81\u3001\u4f9d\u8d56\u7f3a\u5931\u8fd9\u4e9b\u8ba9\u4eba\u5934\u75bc\u7684\u95ee\u9898<\/span><span leaf=\"\">\u3002\u5b98\u65b9\u63d0\u4f9b\u4e86\u73b0\u6210\u7684 Docker \u955c\u50cf\uff0c\u62c9\u4e0b\u6765\u5c31\u80fd\u7528\u3002<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><strong style=\"font-weight: 600;\"><span leaf=\"\">2. \u914d\u7f6e\u6301\u4e45\u5316\uff0c\u8fc1\u79fb\u96f6\u6210\u672c<\/span><\/strong><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u6240\u6709\u914d\u7f6e\u3001\u63d2\u4ef6\u90fd\u4fdd\u5b58\u5728\u4e00\u4e2a\u56fa\u5b9a\u7684\u6302\u8f7d\u76ee\u5f55\u4e2d\u3002\u54ea\u6015 Docker \u5bb9\u5668\u5d29\u6e83\u4e86\u6216\u8005\u60f3\u6362\u53f0\u673a\u5668\uff0c\u53ea\u8981\u628a\u8fd9\u4e2a\u76ee\u5f55\u5907\u4efd\u597d\uff0c\u5728\u65b0\u673a\u5668\u4e0a\u91cd\u65b0\u542f\u52a8\u4e00\u4e2a\u5bb9\u5668\uff0c\u6240\u6709\u8bbe\u7f6e\u77ac\u95f4\u6062\u590d<\/span><span leaf=\"\">\u3002<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><strong style=\"font-weight: 600;\"><span leaf=\"\">3. \u9694\u79bb\u5e72\u51c0\uff0c\u5378\u8f7d\u65e0\u6b8b\u7559<\/span><\/strong><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u5bb9\u5668\u4e0e\u5bbf\u4e3b\u673a\u7cfb\u7edf\u662f\u9694\u79bb\u7684\uff0c\u4e0d\u4f1a\u6c61\u67d3\u7cfb\u7edf\u73af\u5883\uff0c\u5378\u8f7d\u65f6\u76f4\u63a5\u5220\u9664\u5bb9\u5668\u548c\u955c\u50cf\u5373\u53ef\uff0c\u5e72\u51c0\u5229\u843d<\/span><span leaf=\"\">\u3002<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><strong style=\"font-weight: 600;\"><span leaf=\"\">4. \u7ba1\u7406\u65b9\u4fbf\uff0c\u5347\u7ea7\u56de\u6eda\u7b80\u5355<\/span><\/strong><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u914d\u5408\u00a0<\/span><code style=\"box-sizing: border-box;font-family: var(--ds-font-family-code);background-color: var(--dsw-alias-markdown-inline-code);border-radius: 6px;align-items: center;padding: 0px 5px;display: inline-flex;font-size: 0.875em !important;\"><span leaf=\"\">docker-compose<\/span><\/code><span leaf=\"\">\uff0c\u53ef\u4ee5\u7528\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u5b9a\u4e49\u6574\u4e2a\u670d\u52a1\u7684\u7aef\u53e3\u3001\u73af\u5883\u53d8\u91cf\u3001\u5b58\u50a8\u8def\u5f84\u7b49\u3002\u60f3\u5347\u7ea7\uff1f\u6539\u4e00\u4e0b\u955c\u50cf\u7248\u672c\u53f7\uff0c\u91cd\u542f\u670d\u52a1\u5c31\u884c\u3002\u60f3\u56de\u6eda\uff1f\u540c\u6837\u7b80\u5355<\/span><\/p>\n<h2 style='font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;margin: 32px 0px 16px;color: rgb(15, 17, 21);letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;\">\u90e8\u7f72\u5b9e\u8df5<\/span><\/span><\/h2>\n<h3 style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"box-sizing: border-box;font-family: var(--ds-font-family-code);background-color: var(--dsw-alias-markdown-inline-code);border-radius: 6px;align-items: center;padding: 0px 5px;display: inline-flex;font-size: 0.875em !important;\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(0, 0, 0);font-weight: normal;text-decoration: none;\">\u73af\u5883\u51c6\u5907<\/span><\/span><\/h3>\n<h2 style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"box-sizing: border-box;font-family: var(--ds-font-family-code);background-color: var(--dsw-alias-markdown-inline-code);border-radius: 6px;align-items: center;padding: 0px 5px;display: inline-flex;font-size: 0.875em !important;\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(0, 0, 0);font-weight: normal;text-decoration: none;\">\u76f4\u63a5\u90e8\u7f72\u5728\u98de\u725bOS NAS\u4e3b\u673a\uff0c\u98de\u725bOS\u672c\u8eab\u81ea\u5e26Docker\u8f6f\u4ef6<\/span><\/span><\/h2>\n<h2 style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"box-sizing: border-box;font-family: var(--ds-font-family-code);background-color: var(--dsw-alias-markdown-inline-code);border-radius: 6px;align-items: center;padding: 0px 5px;display: inline-flex;font-size: 0.875em !important;\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(0, 0, 0);font-weight: normal;text-decoration: none;\">Home Assistant\u76f4\u63a5\u4f7f\u7528docker-compose\u9879\u76ee\u7ba1\u7406\u90e8\u7f72<\/span><\/span><\/h2>\n<h2 style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"box-sizing: border-box;font-family: var(--ds-font-family-code);background-color: var(--dsw-alias-markdown-inline-code);border-radius: 6px;align-items: center;padding: 0px 5px;display: inline-flex;font-size: 0.875em !important;\"><span textstyle=\"\" style=\"font-size: 14px;color: rgb(0, 0, 0);font-weight: bold;text-decoration: none;\">1\u3001\u6253\u5f00docker\u9009\u62e9Compose,\u65b0\u5efa\u9879\u76ee<\/span><\/span><\/h2>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" src=\"https:\/\/www.taodajiang.cn\/wp-content\/uploads\/2026\/08\/frc-21aa91af800b1ff70c7fa030a9e77d09.png\"><\/section>\n<h2 style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"box-sizing: border-box;font-family: var(--ds-font-family-code);background-color: var(--dsw-alias-markdown-inline-code);border-radius: 6px;align-items: center;padding: 0px 5px;display: inline-flex;font-size: 0.875em !important;\"><span textstyle=\"\" style=\"font-weight: bold;\">2\u3001\u521b\u5efadocker-compose.yaml\uff0c\u4fee\u6539\u5bf9\u5e94\u7684\u5bc6\u7801<\/span><\/span><\/h2>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"diff\"><code><span leaf=\"\"><span class=\"code-snippet__deletion\">- MYSQL_ROOT_PASSWORD=xxxxx<\/span><\/span><\/code><\/pre>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"\"><code><span leaf=\"\">\u00a0 \u00a0- MYSQL_PASSWORD=xxxx<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" src=\"https:\/\/www.taodajiang.cn\/wp-content\/uploads\/2026\/08\/frc-a85c1334165b9ef8a2cfa3a18ec9b111.png\"><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<li>\n<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"ruby\"><code><span leaf=\"\"><span class=\"code-snippet__symbol\">version:<\/span>\u00a0<span class=\"code-snippet__string\">'3.8'<\/span><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__symbol\">services:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0\u00a0<span class=\"code-snippet__symbol\">homeassistant:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">image:<\/span>\u00a0homeassistant\/home-<span class=\"code-snippet__symbol\">assistant:<\/span>latest<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">container_name:<\/span>\u00a0homeassistant<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">privileged:<\/span>\u00a0<span class=\"code-snippet__literal\">true<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">network_mode:<\/span>\u00a0host<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">restart:<\/span>\u00a0<span class=\"code-snippet__keyword\">unless<\/span>-stopped<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">volumes:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__regexp\">\/vol1\/<\/span><span class=\"code-snippet__number\">1000<\/span>\/<span class=\"code-snippet__title\">Docker<\/span>\/<span class=\"code-snippet__title\">Homeassistant<\/span>\/<span class=\"code-snippet__symbol\">config:<\/span>\/config<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__regexp\">\/etc\/localtime<\/span><span class=\"code-snippet__symbol\">:\/etc\/localtime:ro<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__regexp\">\/run\/dbus<\/span><span class=\"code-snippet__symbol\">:\/run\/dbus:ro<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">environment:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__variable\">TZ<\/span>=<span class=\"code-snippet__title\">Asia<\/span>\/<span class=\"code-snippet__title\">Shanghai<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">ports:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__string\">\"8123:8123\"<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">depends_on:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 - mariadb<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\">\u00a0\u00a0<span class=\"code-snippet__comment\"># \u6570\u636e\u5e93\u670d\u52a1\uff08\u66ff\u4ee3\u9ed8\u8ba4SQLite\uff09<\/span><\/span><\/code><code><span leaf=\"\">\u00a0\u00a0<span class=\"code-snippet__symbol\">mariadb:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">image:<\/span>\u00a0<span class=\"code-snippet__symbol\">mariadb:<\/span><span class=\"code-snippet__number\">10.11<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">container_name:<\/span>\u00a0homeassistant_db<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">restart:<\/span>\u00a0<span class=\"code-snippet__keyword\">unless<\/span>-stopped<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">volumes:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__regexp\">\/vol1\/<\/span><span class=\"code-snippet__number\">1000<\/span>\/<span class=\"code-snippet__title\">Docker<\/span>\/<span class=\"code-snippet__title\">Homeassistant<\/span>\/<span class=\"code-snippet__symbol\">mariadb_data:<\/span>\/var\/lib\/mysql<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__symbol\">environment:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__variable\">MYSQL_ROOT_PASSWORD<\/span>=xxxxx<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__variable\">MYSQL_DATABASE<\/span>=homeassistant<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__variable\">MYSQL_USER<\/span>=hass<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -\u00a0<span class=\"code-snippet__variable\">MYSQL_PASSWORD<\/span>=xxxx<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__symbol\">volumes:<\/span><\/span><\/code><code><span leaf=\"\">\u00a0\u00a0<span class=\"code-snippet__symbol\">mariadb_data:<\/span><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" src=\"https:\/\/www.taodajiang.cn\/wp-content\/uploads\/2026\/08\/frc-ffad0932ab33f998c4ede5e04a3a2e0e.png\"><\/section>\n<h3 style='font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;margin: 32px 0px 16px;color: rgb(15, 17, 21);letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 17px;color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;\">\u573a\u666f\u7b80\u5355\u793a\u4f8b<\/span><\/span><\/h3>\n<h3 style='font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;margin: 32px 0px 16px;color: rgb(15, 17, 21);letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;' data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-weight: bold;\">\u628a\u5c0f\u7231\u540c\u5b66\u63a5\u5165 Home Assistant<\/span><\/span><\/h3>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\">\u63a5\u5165\u5c0f\u7231\u540c\u5b66\uff0c\u6838\u5fc3\u662f\u8ba9 Home Assistant \u80fd\u201c\u542c\u61c2\u201d\u4f60\u7684\u8bed\u97f3\u6307\u4ee4\uff0c\u5e76\u8ba9\u97f3\u7bb1\u80fd\u201c\u8bf4\u8bdd\u201d\u53cd\u9988\u3002\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\uff1a<\/span><\/p>\n<p style=\"margin-top: 0px !important;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;\"><strong style=\"font-weight: 600;\"><span leaf=\"\">\u65b9\u6848\uff1a\u4f7f\u7528\u201cXiaomi Home\u201d\u5b98\u65b9\u96c6\u6210\uff08\u63a8\u8350\uff09<\/span><\/strong><span leaf=\"\"><br \/><\/span><span leaf=\"\">\u8fd9\u662f\u76ee\u524d\u6700\u63a8\u8350\u7684\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u7531\u5c0f\u7c73\u5b98\u65b9\u7ef4\u62a4\uff0c\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027\u90fd\u6700\u597d\u3002<\/span><\/p>\n<p style=\"margin-top: 0px !important;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;\"><strong style=\"font-weight: 600;\"><span leaf=\"\">\u51c6\u5907\u5de5\u4f5c<\/span><\/strong><span leaf=\"\">\uff1a\u5728 Home Assistant \u4e2d\u901a\u8fc7 HACS (Home Assistant Community Store) \u5b89\u88c5\u201cXiaomi Home\u201d\u96c6\u6210<\/span><span style=\"font: var(--dsw-font-xxxs-strong-11);color: var(--dsw-alias-label-secondary);user-select: none;cursor: pointer;min-width: 18px;margin: 0px 3px;display: inline;top: -2px;padding: 2.33333px 0px 2.33333px;\"><span style=\"opacity: 0;margin: 0px 6.4566px;\"><span leaf=\"\">&#8211;<\/span><\/span><span style=\"left: 8.97569px;top: 8.99306px;\"><span style=\"background: var(--dsw-alias-markdown-citation);border-radius: 12px;justify-content: center;align-items: center;width: 18px;height: 18px;display: flex;top: 0px;left: 0px;\"><svg width=\"14\" height=\"14\" viewbox=\"0 0 14 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M8.19727 5.86969C9.2092 6.90067 9.20969 8.55271 8.19727 9.58338L6.88871 10.8919C5.85801 11.9039 4.20584 11.9037 3.17502 10.8919L3.10873 10.8243C2.09622 9.7934 2.09626 8.14148 3.10873 7.11058L4.36757 5.85174C4.28261 6.33758 4.30355 6.84354 4.44077 7.33362L3.89249 7.88053C3.30043 8.48348 3.30108 9.4507 3.89318 10.0536L3.94566 10.1061C4.54861 10.698 5.51521 10.6981 6.11808 10.1061L7.41283 8.81275C8.00484 8.21002 8.00504 7.24267 7.41352 6.63964L7.35966 6.58716C7.21975 6.44976 7.05995 6.34434 6.89009 6.27089L7.70009 5.4609C7.85176 5.55768 7.99607 5.67091 8.1296 5.80202L8.19727 5.86969Z\" fill=\"currentColor\"><\/path><path d=\"M5.80913 8.12648C4.79584 7.09547 4.79591 5.44245 5.80913 4.41141C5.81733 4.40304 5.82707 4.39209 5.8409 4.37826L7.07833 3.14082C7.09224 3.12693 7.10311 3.11729 7.11148 3.10906C8.14253 2.09591 9.79557 2.09579 10.8266 3.10906L10.8908 3.17328C11.9041 4.20425 11.9039 5.85727 10.8908 6.88835L9.63193 8.14581C9.70566 7.66581 9.67564 7.16895 9.53456 6.68948L10.1063 6.11772C10.6989 5.51458 10.6992 4.54691 10.1063 3.94391L10.0552 3.8942C9.45215 3.30157 8.48446 3.30151 7.88142 3.8942L6.59358 5.18204C6.00081 5.78507 6.00092 6.75274 6.59358 7.35584L6.6433 7.40694C6.77998 7.54132 6.93555 7.64528 7.10112 7.71837L6.29251 8.52699C6.14446 8.43127 6.00395 8.31906 5.87335 8.1907L5.80913 8.12648Z\" fill=\"currentColor\"><\/path><\/svg><\/span><\/span><\/span><span leaf=\"\">\u3002<\/span><\/p>\n<p style=\"margin-top: 0px !important;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;\"><strong style=\"font-weight: 600;\"><span leaf=\"\">\u914d\u7f6e\u6b65\u9aa4<\/span><\/strong><span leaf=\"\">\uff1a\u5728 Home Assistant \u7684\u201c\u8bbe\u7f6e\u201d -&gt; \u201c\u8bbe\u5907\u4e0e\u670d\u52a1\u201d\u4e2d\uff0c\u6dfb\u52a0\u201cXiaomi Home\u201d\u96c6\u6210\uff0c\u5e76\u767b\u5f55\u4f60\u7684\u5c0f\u7c73\u8d26\u53f7\u6388\u6743\u3002\u5b8c\u6210\u540e\uff0c\u4f60\u7684\u5c0f\u7231\u97f3\u7bb1\u548c\u76f8\u5173\u7c73\u5bb6\u8bbe\u5907\u4f1a\u81ea\u52a8\u51fa\u73b0\u5728 Home Assistant \u4e2d\u3002<\/span><\/p>\n<p style='margin: 16px 0px;color: rgb(15, 17, 21);font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\"><br \/><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;\">\u89e3\u9501\u98de\u725b NAS \u7684 AI \u80fd\u529b<\/span><\/span><\/p>\n<p><span leaf=\"\">\u98de\u725b NAS \u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u5b58\u50a8\u4e2d\u5fc3\uff0c\u901a\u8fc7\u96c6\u6210\uff0c\u5b83\u53ef\u4ee5\u6210\u4e3a Home Assistant \u7684\u201cAI \u5927\u8111\u201d\u548c\u201c\u76d1\u63a7\u4e2d\u5fc3\u201d\u3002<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;text-decoration: underline;\">\u57fa\u7840\u76d1\u63a7\uff1a\u98de\u725b NAS \u96c6\u6210<\/span><\/span><\/p>\n<p><span leaf=\"\">\u9996\u5148\uff0c\u4f60\u53ef\u4ee5\u5728 Home Assistant \u4e2d\u5b89\u88c5\u201c\u98de\u725bNAS\u96c6\u6210\u201d\u63d2\u4ef6\uff0c\u5c06 NAS \u7684\u7cfb\u7edf\u72b6\u6001\u7eb3\u5165\u76d1\u63a7\u3002<\/span><\/p>\n<p><span leaf=\"\">\u5b9e\u73b0\u65b9\u5f0f\uff1a\u5728 HACS \u4e2d\u6dfb\u52a0\u81ea\u5b9a\u4e49\u5b58\u50a8<\/span><\/p>\n<p><span leaf=\"\">https:\/\/github.com\/xiaochao99\/fn_nas\uff0c<\/span><\/p>\n<p><span leaf=\"\">\u7136\u540e\u641c\u7d22\u5e76\u5b89\u88c5\u201c\u98de\u725bNAS\u201d\u96c6\u6210\u3002<\/span><\/p>\n<p><span leaf=\"\">\u76d1\u63a7\u5185\u5bb9\uff1a\u914d\u7f6e\u540e\uff0c\u4f60\u53ef\u4ee5\u5728 Home Assistant \u4e2d\u5b9e\u65f6\u67e5\u770b NAS \u7684\u786c\u76d8\u6e29\u5ea6\u3001\u5065\u5eb7\u72b6\u6001\u3001\u7cfb\u7edf\u8fd0\u884c\u72b6\u6001\u3001CPU\u6e29\u5ea6\u7b49\u4fe1\u606f\uff0c\u751a\u81f3\u53ef\u4ee5\u901a\u8fc7 Home Assistant \u5bf9 NAS \u8fdb\u884c\u91cd\u542f\u3001\u5173\u673a\u7b49\u64cd\u4f5c\u3002<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;text-decoration: underline;\">2. AI \u6838\u5fc3\uff1a\u90e8\u7f72\u672c\u5730 AI \u6444\u50cf\u5934\u7cfb\u7edf (SkyView\/Frigate)<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;\">\u8fd9\u662f\u5b9e\u73b0\u201cAI \u8054\u52a8\u201d\u7684\u5173\u952e\u3002\u4f60\u53ef\u4ee5\u5728\u98de\u725b NAS \u4e0a\u90e8\u7f72\u4e00\u4e2a\u672c\u5730 AI \u89c6\u89c9\u7cfb\u7edf\uff0c\u5982 SkyView\u6216 Frigate\uff0c\u8ba9\u6444\u50cf\u5934\u53d8\u5f97\u201c\u667a\u80fd\u201d\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\">AI \u80fd\u529b\uff1a\u8fd9\u4e9b\u7cfb\u7edf\u80fd\u5229\u7528 NAS \u7684\u7b97\u529b\uff08\u7279\u522b\u662f Intel \u6838\u663e\uff09\u8fdb\u884c\u672c\u5730 AI \u68c0\u6d4b\uff0c\u8bc6\u522b\u4eba\u3001\u8f66\u3001\u732b\u72d7\u3001\u5305\u88f9\u3001\u751a\u81f3\u8dcc\u5012\u548c\u5a74\u513f\u54ed\u58f0\u7b49\u4e8b\u4ef6\u3002<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;text-decoration: underline;\">\u90e8\u7f72\u65b9\u5f0f\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\">SkyView\uff1a\u63d0\u4f9b\u4e86\u98de\u725b\u4e13\u7528\u7684 .fpk \u5b89\u88c5\u5305\uff0c\u53ef\u5728\u5e94\u7528\u4e2d\u5fc3\u76f4\u63a5\u5b89\u88c5\uff0c\u975e\u5e38\u65b9\u4fbf\u3002\u5b83\u4e5f\u652f\u6301 Docker \u90e8\u7f72\u3002<\/span><\/p>\n<p><span leaf=\"\">Frigate\uff1a\u540c\u6837\u53ef\u4ee5\u901a\u8fc7 Docker \u5728\u98de\u725b\u4e0a\u90e8\u7f72\u3002<\/span><\/p>\n<p><span leaf=\"\">\u4e0e Home Assistant \u8054\u52a8\uff1a\u8fd9\u4e9b\u7cfb\u7edf\u539f\u751f\u652f\u6301 Home Assistant\u3002\u4e00\u65e6\u8bc6\u522b\u5230\u7279\u5b9a\u4e8b\u4ef6\uff08\u5982\u201c\u68c0\u6d4b\u5230\u964c\u751f\u4eba\u201d\uff09\uff0c\u5b83\u5c31\u80fd\u901a\u8fc7 MQTT \u6216 Webhook \u5411 Home Assistant \u53d1\u9001\u4fe1\u53f7<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;\">\u8fdb\u9636\u73a9\u6cd5\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\">\u5728\u98de\u725bNAS\u4e0a\u90e8\u7f72\u4e00\u4e2a\u201c\u4e2d\u95f4\u4eba\u201d\u670d\u52a1\uff0c\u622a\u83b7\u5c0f\u7231\u97f3\u7bb1\u7684\u6307\u4ee4\uff0c\u8f6c\u4ea4\u7ed9NAS\u4e0a\u7684AI\u6a21\u578b\u5904\u7406\uff0c\u518d\u5c06\u7ed3\u679c\u901a\u8fc7\u5c0f\u7231\u97f3\u7bb1\u53cd\u9988\u7ed9\u4f60\u3002<\/span><\/p>\n<p><span leaf=\"\">\u5b9e\u73b0\u8fd9\u4e2a\u76ee\u6807\u4e3b\u8981\u6709\u4e24\u79cd\u8def\u5f84\uff0c\u5927\u5bb6\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u6765\u9009\u62e9\uff1a<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(10, 140, 241);font-weight: bold;text-decoration: underline;\">\u601d\u8def\u4e00\uff1a\u7ed9\u5c0f\u7231\u97f3\u7bb1\u201c\u6362\u8111\u201d\uff08MiGPT\u65b9\u6848\uff09<\/span><\/span><\/p>\n<p><span leaf=\"\">\u8fd9\u4e2a\u65b9\u6848\u9002\u5408\u60f3\u8ba9\u5c0f\u7231\u97f3\u7bb1\u672c\u8eab\u53d8\u5f97\u66f4\u806a\u660e\uff0c\u80fd\u8fdb\u884c\u590d\u6742\u5bf9\u8bdd\u548c\u95ee\u7b54\u7684\u573a\u666f\u3002\u5b83\u7684\u539f\u7406\u662f\u5728NAS\u4e0a\u90e8\u7f72\u4e00\u4e2a\u53eb MiGPT \u7684\u5f00\u6e90\u9879\u76ee\uff0c\u5f53\u4f60\u8bf4\u51fa\u7279\u5b9a\u7684\u201c\u5524\u9192\u8bcd\u201d\u540e\uff0c\u5c0f\u7231\u97f3\u7bb1\u4f1a\u5c06\u95ee\u9898\u4ea4\u7ed9MiGPT\uff0c\u518d\u7531\u5b83\u8c03\u7528\u4f60\u914d\u7f6e\u7684AI\u5927\u6a21\u578b\u6765\u751f\u6210\u56de\u7b54\u3002<\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" src=\"https:\/\/www.taodajiang.cn\/wp-content\/uploads\/2026\/08\/frc-ac5a8300f2965f05c100dbd0562889ca.png\"><\/section>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;\">\u51c6\u5907\u5de5\u4f5c\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\">API\u5bc6\u94a5\uff1a\u4f60\u9700\u8981\u63d0\u524d\u5728\u4f60\u60f3\u7528\u7684AI\u5927\u6a21\u578b\u5e73\u53f0\uff08\u5982DeepSeek\u3001\u901a\u4e49\u5343\u95ee\u3001Kimi\u3001\u8c46\u5305\u7b49\uff09\u6ce8\u518c\u8d26\u53f7\uff0c\u7533\u8bf7\u4e00\u4e2aAPI\u5bc6\u94a5\u3002\u8fd9\u901a\u5e38\u9700\u8981\u4ed8\u8d39\uff0c\u4f46\u7528\u91cf\u4e0d\u5927\u65f6\u6210\u672c\u5f88\u4f4e\u3002<\/span><\/p>\n<p><span leaf=\"\">\u5c0f\u7c73\u8d26\u53f7\uff1a\u51c6\u5907\u597d\u4f60\u7ed1\u5b9a\u5c0f\u7231\u97f3\u7bb1\u7684\u5c0f\u7c73\u8d26\u53f7\u548c\u5bc6\u7801\u3002<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;\">\u90e8\u7f72\u6b65\u9aa4\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\">\u5728\u98de\u725bNAS\u7684Docker\u4e2d\uff0c\u641c\u7d22\u5e76\u4e0b\u8f7d idootop\/mi-gpt \u955c\u50cf\u3002<\/span><\/p>\n<p><span leaf=\"\">\u8fd0\u884c\u8be5\u955c\u50cf\u7684\u5bb9\u5668\uff0c\u5e76\u8bbf\u95ee\u5176Web\u7ba1\u7406\u754c\u9762\uff08\u901a\u5e38\u662f http:\/\/\u4f60\u7684NAS_IP:\u7aef\u53e3\u53f7\uff09\u3002<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(136, 136, 136);font-style: italic;\">\u5728\u754c\u9762\u4e2d\u914d\u7f6e\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(136, 136, 136);font-style: italic;\">\u4f60\u7684\u5c0f\u7231\u97f3\u7bb1\u578b\u53f7\u3002\u4f60\u7684\u5c0f\u7c73\u8d26\u53f7\u548c\u5bc6\u7801\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(136, 136, 136);font-style: italic;\">\u4f60\u7533\u8bf7\u7684AI\u5927\u6a21\u578bAPI\u5bc6\u94a5\u3002\u8bbe\u7f6e\u4e00\u4e2a\u5524\u9192\u8bcd\uff0c\u6bd4\u5982\u201c\u8bf7\u201d\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(136, 136, 136);font-style: italic;\">\u4fdd\u5b58\u914d\u7f6e\u5e76\u542f\u52a8\u670d\u52a1\u3002\u4e4b\u540e\uff0c\u5f53\u4f60\u8bf4\u201c\u5c0f\u7231\u540c\u5b66\uff0c\u8bf7 [\u4f60\u7684\u95ee\u9898]\u201d\u65f6\uff0c\u5c31\u4f1a\u89e6\u53d1AI\u6765\u56de\u7b54\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"color: rgb(10, 140, 241);font-weight: bold;text-decoration: underline;\">\u601d\u8def\u4e8c\uff1a\u8ba9Home Assistant\u62e5\u6709\u201cAI\u5927\u8111\u201d\uff08OpenClaw\u65b9\u6848\uff09<\/span><\/span><\/p>\n<p><span leaf=\"\">\u8fd9\u4e2a\u65b9\u6848\u66f4\u9002\u5408\u4f60\u4e4b\u524d\u63d0\u5230\u7684\u201c\u667a\u80fd\u5bb6\u5c45\u63a7\u5236\u201d\u573a\u666f\u3002\u5b83\u7684\u539f\u7406\u662f\u5728NAS\u4e0a\u90e8\u7f72\u4e00\u4e2a\u53eb OpenClaw \u7684AI\u7f51\u5173\uff0c\u5b83\u4f5c\u4e3aHome Assistant\u7684\u201c\u5927\u8111\u201d\uff0c\u8ba9\u4f60\u53ef\u4ee5\u7528\u81ea\u7136\u8bed\u8a00\u63a7\u5236\u5168\u5c4b\u8bbe\u5907\uff0c\u5e76\u6267\u884c\u590d\u6742\u7684\u81ea\u52a8\u5316\u573a\u666f\u3002<\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;\">\u51c6\u5907\u5de5\u4f5c\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u5728\u98de\u725bNAS\u4e0a\u901a\u8fc7\u5e94\u7528\u4e2d\u5fc3\u6216Docker\u5b89\u88c5\u597dHome Assistant\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u5728Home Assistant\u4e2d\u521b\u5efa\u4e00\u4e2a\u957f\u671f\u8bbf\u95ee\u4ee4\u724c\uff08\u8bbe\u7f6e \u2192 \u7528\u6237\u8d44\u6599 \u2192 \u5b89\u5168 \u2192 \u521b\u5efa\u4ee4\u724c\uff09\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;font-weight: bold;\">\u90e8\u7f72\u6b65\u9aa4\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u5728\u98de\u725bNAS\u7684Docker\u4e2d\uff0c\u62c9\u53d6 openclaw\/openclaw:latest \u955c\u50cf\uff08\u5e94\u7528\u4e2d\u5fc3\u81ea\u5e26\uff09<\/span><\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" src=\"https:\/\/www.taodajiang.cn\/wp-content\/uploads\/2026\/08\/frc-d8792bfc7408ba17f18624ebffa43624.png\"><\/section>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u521b\u5efa\u5bb9\u5668\uff0c\u5173\u952e\u914d\u7f6e\u5982\u4e0b\uff1a<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: rgb(136, 136, 136);font-style: italic;\">\u7aef\u53e3\u6620\u5c04\uff1a3000:3000\uff08\u6216\u5176\u4ed6\u7a7a\u95f2\u7aef\u53e3\uff09\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: rgb(136, 136, 136);font-style: italic;\">\u73af\u5883\u53d8\u91cf\uff1a\u586b\u5165\u4f60Home Assistant\u7684\u5730\u5740\u548c\u521a\u624d\u521b\u5efa\u7684\u8bbf\u95ee\u4ee4\u724c\uff0c\u4ee5\u53caAI\u5927\u6a21\u578b\u7684API\u5bc6\u94a5\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u542f\u52a8\u5bb9\u5668\u540e\uff0c\u8bbf\u95eeOpenClaw\u7684\u7ba1\u7406\u754c\u9762\uff0c\u5b83\u901a\u5e38\u4f1a\u81ea\u52a8\u540c\u6b65\u4f60\u5728Home Assistant\u4e2d\u7684\u6240\u6709\u8bbe\u5907\u3002<\/span><\/span><\/p>\n<p><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u4e4b\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u5728OpenClaw\u7684\u804a\u5929\u7a97\u53e3\uff0c\u751a\u81f3\u901a\u8fc7\u540e\u7eed\u914d\u7f6e\uff0c\u7528\u8bed\u97f3\u76f4\u63a5\u8bf4\u201c\u6253\u5f00\u5ba2\u5385\u706f\u201d\u6216\u201c\u542f\u52a8\u79bb\u5bb6\u6a21\u5f0f\u201d\u4e86\u3002<\/span><\/span><\/p>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662f Home Assistant Home Assistant \u662f\u4e00\u4e2a\u5b8c\u5168\u5f00\u6e90\u7684\u667a\u80fd\u5bb6\u5c45\u5e73\u53f0\uff0c\u4f60\u53ef\u4ee5\u628a\u5b83\u5b89\u88c5\u5728\u6811\u8393\u6d3e\u3001\u8ff7\u4f60\u4e3b\u673a\u6216\u4efb\u4f55\u957f\u671f\u5f00\u673a\u7684\u8bbe\u5907\u4e0a\u3002\u5b83\u7684\u6838&hellip;<\/p>\n","protected":false},"author":1,"featured_media":235,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-234","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234"}],"version-history":[{"count":0,"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=\/wp\/v2\/media\/235"}],"wp:attachment":[{"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taodajiang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}