{"id":46010,"date":"2025-07-30T02:08:34","date_gmt":"2025-07-29T18:08:34","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/46010.html"},"modified":"2025-07-30T02:08:34","modified_gmt":"2025-07-29T18:08:34","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e3%80%81%e6%a0%91%e8%8e%93%e6%b4%be-%e9%a6%99%e6%a9%99%e6%b4%be%e9%83%a8%e7%bd%b2homeassistant%e4%b8%8e%e5%b0%8f%e7%88%b1%e9%9f%b3%e7%ae%b1%e8%81%94%e5%8a%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/46010.html","title":{"rendered":"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8"},"content":{"rendered":"<p>HomeAssistant\u529f\u80fd\u4ecb\u7ecd\u4e0e\u591a\u5e73\u53f0\u90e8\u7f72\u5b9e\u6218&#xff1a;CentOS\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\u3001\u9999\u6a59\u6d3e\u90e8\u7f72\u53ca\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8\u63a7\u5236<\/p>\n<p>\u4e00\u3001HomeAssistant\u7b80\u4ecb<\/p>\n<p>HomeAssistant\u662f\u4e00\u6b3e\u57fa\u4e8ePython\u5f00\u53d1\u7684\u5f00\u6e90\u667a\u80fd\u5bb6\u5c45\u81ea\u52a8\u5316\u5e73\u53f0&#xff0c;\u5b83\u6700\u5927\u7684\u7279\u70b9\u662f\u9ad8\u5ea6\u96c6\u6210\u548c\u81ea\u5b9a\u4e49\u3002\u901a\u8fc7HomeAssistant&#xff0c;\u7528\u6237\u53ef\u4ee5\u5c06\u4e0d\u540c\u54c1\u724c\u3001\u4e0d\u540c\u534f\u8bae\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907&#xff08;\u5982\u7a7a\u8c03\u3001\u7535\u706f\u3001\u4f20\u611f\u5668\u7b49&#xff09;\u6574\u5408\u5230\u4e00\u4e2a\u7edf\u4e00\u7684\u5e73\u53f0\u8fdb\u884c\u7ba1\u7406\u548c\u63a7\u5236&#xff0c;\u540c\u65f6\u8fd8\u652f\u6301\u901a\u8fc7\u81ea\u52a8\u5316\u89c4\u5219\u5b9e\u73b0\u8bbe\u5907\u7684\u667a\u80fd\u8054\u52a8\u3002\u4f8b\u5982&#xff0c;\u6839\u636e\u73af\u5883\u5149\u7ebf\u81ea\u52a8\u5f00\u5173\u706f&#xff0c;\u6839\u636e\u4eba\u4f53\u5b58\u5728\u81ea\u52a8\u8c03\u8282\u7a7a\u8c03\u6e29\u5ea6\u7b49\u3002<\/p>\n<p>\u76ee\u524d&#xff0c;HomeAssistant\u652f\u6301\u6570\u767e\u79cd\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\u548c\u670d\u52a1&#xff0c;\u6db5\u76d6\u4e86\u7167\u660e\u3001\u6e29\u63a7\u3001\u5b89\u9632\u3001\u5a31\u4e50\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u5e76\u4e14\u793e\u533a\u6d3b\u8dc3&#xff0c;\u6709\u4e30\u5bcc\u7684\u63d2\u4ef6\u548c\u81ea\u5b9a\u4e49\u811a\u672c\u53ef\u4f9b\u4f7f\u7528\u3002<\/p>\n<p>\u4e8c\u3001HomeAssistant\u90e8\u7f72\u73af\u5883\u8981\u6c42<\/p>\n<p>\u5e73\u53f0 \u786c\u4ef6\u8981\u6c42 \u7cfb\u7edf\u8981\u6c42<br \/>\nCentOS\u670d\u52a1\u5668 CPU&#xff1a;\u53cc\u6838\u53ca\u4ee5\u4e0a&#xff1b;\u5185\u5b58&#xff1a;2GB\u53ca\u4ee5\u4e0a&#xff1b;\u786c\u76d8&#xff1a;10GB\u53ef\u7528\u7a7a\u95f4 CentOS 7\u6216\u66f4\u9ad8\u7248\u672c<br \/>\n\u6811\u8393\u6d3e \u63a8\u8350\u6811\u8393\u6d3e3B&#043;\u6216\u6811\u8393\u6d3e4&#xff1b;\u5185\u5b58&#xff1a;1GB\u53ca\u4ee5\u4e0a&#xff1b;MicroSD\u5361&#xff1a;16GB\u53ca\u4ee5\u4e0a Raspbian\u7cfb\u7edf<br \/>\n\u9999\u6a59\u6d3e \u4ee5\u9999\u6a59\u6d3eOrange Pi 5\u4e3a\u4f8b&#xff0c;\u56db\u6838\u5904\u7406\u5668&#xff1b;\u5185\u5b58&#xff1a;2GB\u53ca\u4ee5\u4e0a&#xff1b;eMMC\/SD\u5361&#xff1a;16GB\u53ca\u4ee5\u4e0a Armbian\u7cfb\u7edf<\/p>\n<p>\u4e09\u3001\u5728CentOS\u670d\u52a1\u5668\u4e0a\u90e8\u7f72HomeAssistant<\/p>\n<li>\u5b89\u88c5\u7cfb\u7edf\u4f9d\u8d56<\/li>\n<p>sudo yum update -y<br \/>\nsudo yum install -y epel-release<br \/>\nsudo yum install -y python3 python3-pip python3-venv<\/p>\n<li>\u521b\u5efaPython\u865a\u62df\u73af\u5883<\/li>\n<p>mkdir homeassistant<br \/>\ncd homeassistant<br \/>\npython3 -m venv venv<br \/>\nsource venv\/bin\/activate<\/p>\n<li>\u5b89\u88c5HomeAssistant<\/li>\n<p>pip3 install wheel<br \/>\npip3 install homeassistant<\/p>\n<li>\u542f\u52a8HomeAssistant<\/li>\n<p>hass<\/p>\n<p>\u9996\u6b21\u542f\u52a8\u4f1a\u81ea\u52a8\u521b\u5efa\u914d\u7f6e\u76ee\u5f55&#xff08;\u9ed8\u8ba4\u4e3a\u00a0~\/.homeassistant\u00a0&#xff09;&#xff0c;\u7b49\u5f85\u521d\u59cb\u5316\u5b8c\u6210\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u00a0http:\/\/\u670d\u52a1\u5668IP:8123\u00a0&#xff0c;\u5373\u53ef\u8bbf\u95eeHomeAssistant\u7684Web\u754c\u9762\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<p>\u56db\u3001\u5728\u6811\u8393\u6d3e\u4e0a\u90e8\u7f72HomeAssistant<\/p>\n<li>\u5b89\u88c5\u7cfb\u7edf<\/li>\n<p>1.\u00a0\u4e0b\u8f7d\u6700\u65b0\u7248\u7684Raspbian\u7cfb\u7edf\u955c\u50cf&#xff0c;\u70e7\u5f55\u5230MicroSD\u5361\u3002<br \/>\n2.\u00a0\u5c06SD\u5361\u63d2\u5165\u6811\u8393\u6d3e&#xff0c;\u8fde\u63a5\u7535\u6e90\u3001\u7f51\u7edc\u548c\u663e\u793a\u5668&#xff0c;\u542f\u52a8\u6811\u8393\u6d3e\u3002<\/p>\n<li>\u5b89\u88c5HomeAssistant<\/li>\n<p>sudo apt update &amp;&amp; sudo apt upgrade -y<br \/>\nsudo apt install -y python3 python3-venv python3-pip<br \/>\nmkdir homeassistant<br \/>\ncd homeassistant<br \/>\npython3 -m venv venv<br \/>\nsource venv\/bin\/activate<br \/>\npip3 install wheel<br \/>\npip3 install homeassistant<\/p>\n<li>\u914d\u7f6e\u5f00\u673a\u81ea\u542f<\/li>\n<p>\u521b\u5efa\u670d\u52a1\u6587\u4ef6&#xff1a;<\/p>\n<p>sudo nano \/etc\/systemd\/system\/home-assistant&#064;pi.service<\/p>\n<p>\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;Home Assistant<br \/>\nAfter&#061;network-online.target<\/p>\n<p>[Service]<br \/>\nType&#061;simple<br \/>\nUser&#061;pi<br \/>\nWorkingDirectory&#061;\/home\/pi\/homeassistant<br \/>\nExecStart&#061;\/home\/pi\/homeassistant\/venv\/bin\/hass -c \u201c\/home\/pi\/.homeassistant\u201d<br \/>\nRestart&#061;always<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa&#xff0c;\u7136\u540e\u542f\u7528\u670d\u52a1&#xff1a;<\/p>\n<p>sudo systemctl enable home-assistant&#064;pi.service<br \/>\nsudo systemctl start home-assistant&#064;pi.service<\/p>\n<p>\u4e94\u3001\u5728\u9999\u6a59\u6d3e\u4e0a\u90e8\u7f72HomeAssistant<\/p>\n<li>\u5b89\u88c5\u7cfb\u7edf<\/li>\n<p>1.\u00a0\u4e0b\u8f7dArmbian\u7cfb\u7edf\u955c\u50cf&#xff0c;\u70e7\u5f55\u5230eMMC\u6216SD\u5361\u3002<br \/>\n2.\u00a0\u542f\u52a8\u9999\u6a59\u6d3e&#xff0c;\u914d\u7f6e\u7f51\u7edc\u548c\u57fa\u7840\u7cfb\u7edf\u8bbe\u7f6e\u3002<\/p>\n<li>\u5b89\u88c5HomeAssistant<\/li>\n<p>sudo apt update &amp;&amp; sudo apt upgrade -y<br \/>\nsudo apt install -y python3 python3-venv python3-pip<br \/>\nmkdir homeassistant<br \/>\ncd homeassistant<br \/>\npython3 -m venv venv<br \/>\nsource venv\/bin\/activate<br \/>\npip3 install wheel<br \/>\npip3 install homeassistant<\/p>\n<li>\u540e\u7eed\u914d\u7f6e<\/li>\n<p>\u4e0e\u6811\u8393\u6d3e\u7c7b\u4f3c&#xff0c;\u53ef\u53c2\u8003\u6811\u8393\u6d3e\u7684\u5f00\u673a\u81ea\u542f\u914d\u7f6e\u6b65\u9aa4&#xff0c;\u5c06HomeAssistant\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u52a8\u8fd0\u884c\u3002<\/p>\n<p>\u516d\u3001HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8<\/p>\n<li>\u5b89\u88c5\u5e76\u914d\u7f6eXiaomi Miio\u96c6\u6210<\/li>\n<p>1.\u00a0\u5728HomeAssistant\u7684Web\u754c\u9762\u4e2d&#xff0c;\u8fdb\u5165 \u201c\u914d\u7f6e\u201d -&gt; \u201c\u96c6\u6210\u201d\u3002<br \/>\n2.\u00a0\u70b9\u51fb \u201c\u6dfb\u52a0\u96c6\u6210\u201d&#xff0c;\u641c\u7d22\u5e76\u9009\u62e9 \u201cXiaomi Miio\u201d\u3002<br \/>\n3.\u00a0\u8f93\u5165\u5c0f\u7c73\u8d26\u53f7\u4fe1\u606f&#xff0c;\u6388\u6743HomeAssistant\u8bbf\u95ee\u5c0f\u7231\u97f3\u7bb1\u3002<\/p>\n<li>\u914d\u7f6e\u8bbe\u5907\u63a7\u5236<\/li>\n<p>1.\u00a0\u5c06\u7a7a\u8c03\u548c\u7535\u706f\u8bbe\u5907\u63a5\u5165HomeAssistant&#xff08;\u652f\u6301\u7684\u8bbe\u5907\u9700\u63d0\u524d\u5b8c\u6210HomeAssistant\u7684\u9a71\u52a8\u914d\u7f6e&#xff0c;\u4f8b\u5982\u901a\u8fc7MQTT\u3001Zigbee\u7b49\u534f\u8bae&#xff09;\u3002<br \/>\n2.\u00a0\u5728HomeAssistant\u4e2d\u521b\u5efa\u81ea\u52a8\u5316\u89c4\u5219&#xff1a;<\/p>\n<ul>\n<li>\u8fdb\u5165 \u201c\u914d\u7f6e\u201d -&gt; \u201c\u81ea\u52a8\u5316\u4e0e\u573a\u666f\u201d&#xff0c;\u70b9\u51fb \u201c\u521b\u5efa\u81ea\u52a8\u5316\u201d\u3002<\/li>\n<li>\u8bbe\u7f6e\u89e6\u53d1\u6761\u4ef6&#xff08;\u5982\u5c0f\u7231\u97f3\u7bb1\u8bed\u97f3\u6307\u4ee4&#xff09;\u3001\u52a8\u4f5c&#xff08;\u63a7\u5236\u7a7a\u8c03\u5f00\u5173\u3001\u8c03\u8282\u6e29\u5ea6&#xff0c;\u6216\u63a7\u5236\u7535\u706f\u4eae\u5ea6&#xff09;\u3002<\/li>\n<\/ul>\n<li>\u8bed\u97f3\u63a7\u5236\u6d4b\u8bd5<\/li>\n<p>\u5bf9\u5c0f\u7231\u97f3\u7bb1\u8bf4\u51fa\u914d\u7f6e\u597d\u7684\u8bed\u97f3\u6307\u4ee4&#xff08;\u5982\u201c\u6253\u5f00\u5ba2\u5385\u7a7a\u8c03\u201d\u201c\u5173\u95ed\u5367\u5ba4\u7535\u706f\u201d&#xff09;&#xff0c;\u9a8c\u8bc1\u8bbe\u5907\u662f\u5426\u6b63\u5e38\u54cd\u5e94\u3002<\/p>\n<p>\u4e03\u3001\u603b\u7ed3<\/p>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u6211\u4eec\u5b8c\u6210\u4e86HomeAssistant\u5728CentOS\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\u548c\u9999\u6a59\u6d3e\u4e0a\u7684\u90e8\u7f72&#xff0c;\u5e76\u5b9e\u73b0\u4e86\u4e0e\u5c0f\u7231\u97f3\u7bb1\u7684\u8054\u52a8\u63a7\u5236\u3002HomeAssistant\u7684\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027\u4f7f\u5f97\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\u7684\u642d\u5efa\u66f4\u52a0\u4fbf\u6377&#xff0c;\u65e0\u8bba\u662f\u6280\u672f\u7231\u597d\u8005\u8fd8\u662f\u5bb6\u5ead\u7528\u6237&#xff0c;\u90fd\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u5b9a\u5236\u4e2a\u6027\u5316\u7684\u667a\u80fd\u573a\u666f\u3002\u540e\u7eed\u8fd8\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63a2\u7d22HomeAssistant\u7684\u66f4\u591a\u529f\u80fd&#xff0c;\u5982\u96c6\u6210\u66f4\u591a\u8bbe\u5907\u3001\u7f16\u5199\u590d\u6742\u81ea\u52a8\u5316\u811a\u672c\u7b49&#xff0c;\u6253\u9020\u66f4\u667a\u80fd\u7684\u5c45\u5bb6\u73af\u5883\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u5b9e\u9645\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u7f51\u7edc\u3001\u8bbe\u5907\u517c\u5bb9\u6027\u7b49\u95ee\u9898&#xff0c;\u5efa\u8bae\u53c2\u8003HomeAssistant\u5b98\u65b9\u6587\u6863\u53ca\u793e\u533a\u8bba\u575b\u83b7\u53d6\u6700\u65b0\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb947\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u5b8c\u6210\u4e86HomeAssistant\u5728CentOS\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\u548c\u9999\u6a59\u6d3e\u4e0a\u7684\u90e8\u7f72\uff0c\u5e76\u5b9e\u73b0\u4e86\u4e0e\u5c0f\u7231\u97f3\u7bb1\u7684\u8054\u52a8\u63a7\u5236\u3002\u901a\u8fc7HomeAssistant\uff0c\u7528\u6237\u53ef\u4ee5\u5c06\u4e0d\u540c\u54c1\u724c\u3001\u4e0d\u540c\u534f\u8bae\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff08\u5982\u7a7a\u8c03\u3001\u7535\u706f\u3001\u4f20\u611f\u5668\u7b49\uff09\u6574\u5408\u5230\u4e00\u4e2a\u7edf\u4e00\u7684\u5e73\u53f0\u8fdb\u884c\u7ba1\u7406\u548c\u63a7\u5236\uff0c\u540c\u65f6\u8fd8\u652f\u6301\u901a\u8fc7\u81ea\u52a8\u5316\u89c4\u5219\u5b9e\u73b0\u8bbe\u5907\u7684\u667a\u80fd\u8054\u52a8\u3002\u9996\u6b21\u542f\u52a8\u4f1a\u81ea\u52a8\u521b\u5efa\u914d\u7f6e\u76ee\u5f55\uff08\u9ed8\u8ba4\u4e3a ~\/.homeassistant \uff09\uff0c\u7b49\u5f85\u521d\u59cb\u5316\u5b8c\u6210\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/\u670d\u52a1\u5668IP:8123 \uff0c\u5373\u53ef\u8bbf\u95eeHomeAssistant\u7684Web\u754c\u9762\u8fdb\u884c\u914d\u7f6e\u3002_\u6811\u8393\u6d3e\u96c6\u6210\u5c0f\u7231\u97f3\u7bb1<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[220],"topic":[],"class_list":["post-46010","post","type-post","status-publish","format-standard","hentry","category-server","tag-220"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/46010.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb947\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u5b8c\u6210\u4e86HomeAssistant\u5728CentOS\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\u548c\u9999\u6a59\u6d3e\u4e0a\u7684\u90e8\u7f72\uff0c\u5e76\u5b9e\u73b0\u4e86\u4e0e\u5c0f\u7231\u97f3\u7bb1\u7684\u8054\u52a8\u63a7\u5236\u3002\u901a\u8fc7HomeAssistant\uff0c\u7528\u6237\u53ef\u4ee5\u5c06\u4e0d\u540c\u54c1\u724c\u3001\u4e0d\u540c\u534f\u8bae\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff08\u5982\u7a7a\u8c03\u3001\u7535\u706f\u3001\u4f20\u611f\u5668\u7b49\uff09\u6574\u5408\u5230\u4e00\u4e2a\u7edf\u4e00\u7684\u5e73\u53f0\u8fdb\u884c\u7ba1\u7406\u548c\u63a7\u5236\uff0c\u540c\u65f6\u8fd8\u652f\u6301\u901a\u8fc7\u81ea\u52a8\u5316\u89c4\u5219\u5b9e\u73b0\u8bbe\u5907\u7684\u667a\u80fd\u8054\u52a8\u3002\u9996\u6b21\u542f\u52a8\u4f1a\u81ea\u52a8\u521b\u5efa\u914d\u7f6e\u76ee\u5f55\uff08\u9ed8\u8ba4\u4e3a ~\/.homeassistant \uff09\uff0c\u7b49\u5f85\u521d\u59cb\u5316\u5b8c\u6210\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/\u670d\u52a1\u5668IP:8123 \uff0c\u5373\u53ef\u8bbf\u95eeHomeAssistant\u7684Web\u754c\u9762\u8fdb\u884c\u914d\u7f6e\u3002_\u6811\u8393\u6d3e\u96c6\u6210\u5c0f\u7231\u97f3\u7bb1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/46010.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-29T18:08:34+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/46010.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/46010.html\",\"name\":\"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-29T18:08:34+00:00\",\"dateModified\":\"2025-07-29T18:08:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/46010.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/46010.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/46010.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/46010.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb947\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf5\u6b21\u3002\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u5b8c\u6210\u4e86HomeAssistant\u5728CentOS\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\u548c\u9999\u6a59\u6d3e\u4e0a\u7684\u90e8\u7f72\uff0c\u5e76\u5b9e\u73b0\u4e86\u4e0e\u5c0f\u7231\u97f3\u7bb1\u7684\u8054\u52a8\u63a7\u5236\u3002\u901a\u8fc7HomeAssistant\uff0c\u7528\u6237\u53ef\u4ee5\u5c06\u4e0d\u540c\u54c1\u724c\u3001\u4e0d\u540c\u534f\u8bae\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff08\u5982\u7a7a\u8c03\u3001\u7535\u706f\u3001\u4f20\u611f\u5668\u7b49\uff09\u6574\u5408\u5230\u4e00\u4e2a\u7edf\u4e00\u7684\u5e73\u53f0\u8fdb\u884c\u7ba1\u7406\u548c\u63a7\u5236\uff0c\u540c\u65f6\u8fd8\u652f\u6301\u901a\u8fc7\u81ea\u52a8\u5316\u89c4\u5219\u5b9e\u73b0\u8bbe\u5907\u7684\u667a\u80fd\u8054\u52a8\u3002\u9996\u6b21\u542f\u52a8\u4f1a\u81ea\u52a8\u521b\u5efa\u914d\u7f6e\u76ee\u5f55\uff08\u9ed8\u8ba4\u4e3a ~\/.homeassistant \uff09\uff0c\u7b49\u5f85\u521d\u59cb\u5316\u5b8c\u6210\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/\u670d\u52a1\u5668IP:8123 \uff0c\u5373\u53ef\u8bbf\u95eeHomeAssistant\u7684Web\u754c\u9762\u8fdb\u884c\u914d\u7f6e\u3002_\u6811\u8393\u6d3e\u96c6\u6210\u5c0f\u7231\u97f3\u7bb1","og_url":"https:\/\/www.wsisp.com\/helps\/46010.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-29T18:08:34+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/46010.html","url":"https:\/\/www.wsisp.com\/helps\/46010.html","name":"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-29T18:08:34+00:00","dateModified":"2025-07-29T18:08:34+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/46010.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/46010.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/46010.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u3001\u6811\u8393\u6d3e\/\u9999\u6a59\u6d3e\u90e8\u7f72HomeAssistant\u4e0e\u5c0f\u7231\u97f3\u7bb1\u8054\u52a8"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/46010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=46010"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/46010\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=46010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=46010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=46010"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=46010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}