{"id":337,"date":"2021-07-19T10:05:52","date_gmt":"2021-07-19T03:05:52","guid":{"rendered":"https:\/\/www.rmuti.ac.th\/user\/suthep\/?p=337"},"modified":"2021-07-23T10:11:43","modified_gmt":"2021-07-23T03:11:43","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-home-assistant-%e0%b8%9a%e0%b8%99-macos","status":"publish","type":"post","link":"https:\/\/www.rmuti.ac.th\/user\/suthep\/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-home-assistant-%e0%b8%9a%e0%b8%99-macos\/","title":{"rendered":"\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Home Assistant \u0e1a\u0e19 macOS"},"content":{"rendered":"\n<p>\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u0e43\u0e0a\u0e49 Terminal \u0e2a\u0e33\u0e23\u0e27\u0e08\u0e01\u0e48\u0e2d\u0e19\u0e27\u0e48\u0e32 \u0e04\u0e38\u0e13\u0e21\u0e35 Python3.x \u0e1a\u0e19 macOS \u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e2b\u0e23\u0e37\u0e2d\u0e22\u0e31\u0e07 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <br>          python3 &#8211;version<code><br><\/code>\u0e16\u0e49\u0e32 \u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49 \u0e40\u0e1b\u0e47\u0e19 Python 3.x.x \u0e41\u0e1a\u0e1a\u0e19\u0e35\u0e49 \u0e41\u0e2a\u0e14\u0e07\u0e27\u0e48\u0e32\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Python \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e41\u0e25\u0e49\u0e27 \u0e41\u0e15\u0e48\u0e16\u0e49\u0e32\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48 \u0e44\u0e1b\u0e43\u0e2b\u0e49\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14 <a href=\"https:\/\/www.python.org\/downloads\/mac-osx\/\">Python 3 \u0e21\u0e32\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07<\/a><\/li><li>\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Virtual Environment \u0e22\u0e31\u0e07\u0e2d\u0e22\u0e39\u0e48\u0e17\u0e35\u0e48 Terminal \u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <br>          <code>pip install virtualenv<\/code><br>\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19 \u0e23\u0e2d\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48<\/li><li>\u0e40\u0e23\u0e34\u0e48\u0e21\u0e2a\u0e23\u0e49\u0e32\u0e07 Virtual Environment \u0e01\u0e31\u0e19 \u0e22\u0e31\u0e07\u0e2d\u0e22\u0e39\u0e48\u0e17\u0e35\u0e48 Terminal \u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <br>          <code>cd ~\/Documents<\/code> <br>\u0e15\u0e48\u0e2d\u0e14\u0e49\u0e27\u0e22 <br>          <code>python3 -m venv homeassistant<\/code><br>\u0e15\u0e48\u0e2d\u0e14\u0e49\u0e27\u0e22<br>          <code>source homeassistant\/bin\/activate<\/code><\/li><li>\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49 Virtual Environment \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e41\u0e25\u0e49\u0e27 \u0e02\u0e31\u0e49\u0e19\u0e15\u0e48\u0e2d\u0e44\u0e1b \u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Home Assistant \u0e01\u0e31\u0e19 \u0e17\u0e35\u0e48 Terminal \u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <br>           <code>pip3 install homeassistant<\/code><br>\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e40\u0e27\u0e25\u0e32\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48\u0e43\u0e19\u0e01\u0e32\u0e23 Download \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e08\u0e30\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Home Assistant<\/li><li>\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e08\u0e30\u0e40\u0e23\u0e34\u0e48\u0e21 Run Home Assistant \u0e42\u0e14\u0e22 \u0e17\u0e35\u0e48 Terminal \u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <br>           <code>cd homeassistant\/bin\/ <br><\/code>\u0e41\u0e25\u0e30\u0e15\u0e48\u0e2d\u0e14\u0e49\u0e27\u0e22 <br>          <code>.\/hass<\/code><br>\u0e42\u0e14\u0e22\u0e43\u0e19\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49 Terminal \u0e08\u0e30 Run \u0e02\u0e49\u0e32\u0e07\u0e44\u0e27\u0e49\u0e15\u0e25\u0e2d\u0e14 \u0e2b\u0e32\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e2b\u0e49\u0e2b\u0e22\u0e38\u0e14\u0e17\u0e33\u0e07\u0e32\u0e19 \u0e01\u0e14 CRTL+C (\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e14 \u0e13 \u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49)<\/li><li>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Service \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49 Home Assistant \u0e17\u0e33\u0e07\u0e32\u0e19\u0e17\u0e38\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35\u0e01\u0e32\u0e23 Restart Server \u0e40\u0e1b\u0e34\u0e14\u0e17\u0e35\u0e48 Terminal \u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e43\u0e2b\u0e21\u0e48\u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <br>           hass &#8211;script macos install<\/li><li>\u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Home Assistant \u0e42\u0e14\u0e22\u0e40\u0e1b\u0e34\u0e14 Browser \u0e41\u0e25\u0e49\u0e27\u0e1e\u0e34\u0e21\u0e1e\u0e4c <br>           http:\/\/127.0.0.1:8123<br>           \u0e42\u0e14\u0e22 User\/Password \u0e04\u0e37\u0e2d admin\/admin<\/li><li>\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22<br>                                       &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\u0e01\u0e23\u0e13\u0e35\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 \u0e16\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Service \u0e02\u0e2d\u0e07 Home Assistant \u0e17\u0e33\u0e44\u0e14\u0e49\u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e43\u0e19 Terminal <br>          hass &#8211;script macOS uninstall<br>                                       &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/li><\/ol>\n\n\n\n<p>\u0e17\u0e35\u0e48\u0e21\u0e32 <br>1. <a href=\"https:\/\/siytek.com\/install-home-assistant-on-mac\/\">INSTALLING HOME ASSISTANT ON MAC OS X (THE COMPLETE GUIDE)<\/a><br>2. <a href=\"https:\/\/home-assistant-china.github.io\/docs\/autostart\/macos\/\">Autostart on macOS<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e43\u0e0a\u0e49 Terminal \u0e2a\u0e33\u0e23\u0e27\u0e08\u0e01\u0e48\u0e2d\u0e19\u0e27\u0e48\u0e32 \u0e04\u0e38\u0e13\u0e21\u0e35 Python3.x  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":342,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[37,36],"class_list":["post-337","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ideas","tag-home-assistant","tag-smart-home"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.rmuti.ac.th\/user\/suthep\/wp-content\/uploads\/2021\/07\/512px-Home_Assistant_Logo.svg_-1.png?fit=512%2C512&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/posts\/337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/comments?post=337"}],"version-history":[{"count":2,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":339,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/posts\/337\/revisions\/339"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/media\/342"}],"wp:attachment":[{"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/media?parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/categories?post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rmuti.ac.th\/user\/suthep\/wp-json\/wp\/v2\/tags?post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}