{"id":14650,"date":"2026-09-18T01:01:00","date_gmt":"2026-09-18T05:01:00","guid":{"rendered":"https:\/\/www.both.org\/?p=14650"},"modified":"2026-09-14T19:49:24","modified_gmt":"2026-09-14T23:49:24","slug":"setting-up-home-assistant-with-podman","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=14650","title":{"rendered":"Setting up Home Assistant with Podman"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"14650\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p class=\"wp-block-paragraph\">One of my friends lives at a retreat center with a large solar array that powers a large house, chapel, and five separate smaller cottages, all with full electric service. The solar array connects to power inverters, then to a power panel, which feeds all the separate buildings on campus. No one would ever confuse me with an electrician or anyone who knows much other than how to flip a switch. My friend wanted to know whether a computer program could monitor the solar array, the storage batteries, and all the other components integral to the system\u2019s operation. An internet search led me to consider&nbsp;<a href=\"https:\/\/www.home-assistant.io\/\">Home Assistant<\/a>,&nbsp;an open-source application I\u2019d heard of but had no experience with.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I quickly skimmed the documentation on the project website and discovered that I could run Home Assistant as a container on my Linux desktop using&nbsp;<a href=\"https:\/\/podman.io\/\">Podman<\/a>. I used Google Gemini to help with the initial configuration. First, create a directory for Home Assistant. Copy the code supplied below to accomplish that.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/homeassistant\/config<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I am using Podman for container management. The following code came from Google Gemini, and it worked very well:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>podman run -d \\\n  --name homeassistant \\\n  --network host \\\n  --privileged \\\n  -v ~\/homeassistant\/config:\/config:Z \\\n  -v \/run\/dbus:\/run\/dbus:ro \\\n  -e TZ=America\/New_York \\\n  --restart unless-stopped \\\n  ghcr.io\/home-assistant\/home-assistant:stable\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The instructions I followed suggested waiting a short period of time and then pointing a web browser at<code>&nbsp;http:\/\/localhost:8123<\/code>&nbsp;You can add your own IP address if you prefer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"741\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image1.png\" alt=\"\" class=\"wp-image-14652\" srcset=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image1.png 656w, https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image1-266x300.png 266w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><figcaption class=\"wp-element-caption\">Screen Picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, I needed to create a user. I clicked on the \u201cCreate my smart home\u201d button and was presented with the following display:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"711\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image2.png\" alt=\"\" class=\"wp-image-14654\" style=\"width:497px;height:auto\" srcset=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image2.png 696w, https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image2-294x300.png 294w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><figcaption class=\"wp-element-caption\">Screen Picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After creating the user account, the next screen asks you to geolocate your device. I entered the retreat center\u2019s address. You can choose how much data you want to share with Home Assistant. The data is anonymized to protect you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"771\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image3.png\" alt=\"\" class=\"wp-image-14656\" style=\"width:544px;height:auto\" srcset=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image3.png 731w, https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image3-284x300.png 284w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><figcaption class=\"wp-element-caption\">Screen Picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After I completed the new-user setup and finished answering how much data I wanted to share with the project, I saw an overview of my home, which currently has no devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"493\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image4.png\" alt=\"\" class=\"wp-image-14658\" style=\"width:637px;height:auto\" srcset=\"https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image4.png 767w, https:\/\/www.both.org\/wp-content\/uploads\/2026\/09\/image4-300x193.png 300w\" sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><figcaption class=\"wp-element-caption\">Screen Picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Home Assistant has lots of in-app help and extensive\u00a0<a href=\"https:\/\/www.home-assistant.io\/docs\/\">documentation<\/a>. It is an extremely powerful application, and I\u2019m looking forward to using it to help my friend at the retreat center. If containers aren\u2019t your thing, there are many other ways to deploy Home Assistant. The project provides extensive documentation for a wide variety of\u00a0<a href=\"https:\/\/www.home-assistant.io\/installation\/\">installations<\/a>\u00a0on Linux, macOS, Windows, and Home Assistant OS. You can also purchase a Home Assistant Green, a preconfigured appliance. Home Assistant is open source and licensed under\u00a0<a href=\"https:\/\/www.home-assistant.io\/developers\/license\/\">Apache<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of my friends lives at a retreat center with a large solar array that powers a large<\/p>\n","protected":false},"author":32,"featured_media":2815,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[5],"tags":[],"class_list":["post-14650","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/14650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14650"}],"version-history":[{"count":5,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/14650\/revisions"}],"predecessor-version":[{"id":14659,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/14650\/revisions\/14659"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/2815"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}