<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-AU" xmlns:media="http://search.yahoo.com/mrss/">
  <id>https://david.gardiner.net.au/tags/Home%20Assistant.xml</id>
  <title type="html">David Gardiner - Home Assistant</title>
  <updated>2026-08-16T12:59:33.788Z</updated>
  <subtitle>Blog posts tagged with &apos;Home Assistant&apos; - A blog of software development, .NET and other interesting things</subtitle>
  <rights>Copyright 2026 David Gardiner</rights>
  <icon>https://www.gravatar.com/avatar/37edf2567185071646d62ba28b868fab?s=64</icon>
  <logo>https://www.gravatar.com/avatar/37edf2567185071646d62ba28b868fab?s=256</logo>
  <generator uri="https://github.com/flcdrg/astrojs-atom" version="3">astrojs-atom</generator>
  <author>
    <name>David Gardiner</name>
  </author>
  <link href="https://david.gardiner.net.au/tags/Home%20Assistant.xml" rel="self" type="application/atom+xml"/>
  <link href="https://david.gardiner.net.au/tags/Home%20Assistant" rel="alternate" type="text/html" hreflang="en-AU"/>
  <category term="Home Assistant"/>
  <category term="Software Development"/>
  <entry>
    <id>https://david.gardiner.net.au/2026/08/home-assistant</id>
    <updated>2026-08-16T22:00:00.000+09:30</updated>
    <title>Home Assistant</title>
    <link href="https://david.gardiner.net.au/2026/08/home-assistant" rel="alternate" type="text/html" title="Home Assistant"/>
    <category term="Energy"/>
    <category term="Home Assistant"/>
    <category term="Synology"/>
    <published>2026-08-16T22:00:00.000+09:30</published>
    <summary type="html">Getting started with Home Assistant, installing and configuring the Home Assistant Community Store,
and then installing an integration for GloBird Energy to track electricity (and later gas) usage.</summary>
    <content type="html">&lt;p&gt;My first exposure to Home Assistant (or &apos;HA&apos; for short) was as an option for triggering a hallway light from a motion sensor for people who might want to go to the bathroom in the middle of the night. I know you can get self-contained sensor lights that do all that, but while I was researching those I found a few references to HA and I was intrigued.&lt;/p&gt;
&lt;p&gt;I spun up a container on our Synology and had a play. Then I discovered that we already had a few devices in our house that it could talk to, like our UniFi network gear, the Synology itself and even our solar inverter!&lt;/p&gt;
&lt;p&gt;I was curious about what else it could work with. I noticed that there were &lt;a href=&quot;https://www.home-assistant.io/integrations/&quot;&gt;lots of integrations you could search for&lt;/a&gt;, including some power companies. But not the one I was using at the time - &lt;a href=&quot;https://quote.globirdenergy.com.au/quote?pcode=refer&amp;amp;ref=6OIYNZ&quot;&gt;GloBird Energy&lt;/a&gt;. I did a general web search and discovered someone had built a custom integration for GloBird with HA - &lt;a href=&quot;https://github.com/bolagnaise/globird-ha&quot;&gt;https://github.com/bolagnaise/globird-ha&lt;/a&gt; using something called &quot;HACS&quot;. It turns out that HACS is the &lt;a href=&quot;https://hacs.xyz/&quot;&gt;Home Assistant Community Store&lt;/a&gt;. Once you add HACS to your HA, you can add a whole bunch of additional 3rd-party integrations, plugins, themes and scripts. Lots of these are listed in the HACS store, but you can also add custom repositories that point to a Git repo (eg on GitHub) too.&lt;/p&gt;
&lt;h2&gt;Adding HACS to Home Assistant&lt;/h2&gt;
&lt;p&gt;After confirming I was running a recent version of Home Assistant, I followed the &lt;a href=&quot;https://hacs.xyz/docs/use/download/download/#to-download-hacs-container&quot;&gt;HACS instructions for installing into a Container&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As my container is running on my Synology NAS server, I needed to &lt;code&gt;ssh&lt;/code&gt; to the Synology, then I could use the &lt;code&gt;docker&lt;/code&gt; command to manage the container&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-01-configure-hacs.DovvZHwh_17CRrD.webp&quot; alt=&quot;Screenshot of terminal session enabling HACS download&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Once you&apos;ve done that then you can return to HA and proceed to setup HACS from within the UI.&lt;/p&gt;
&lt;p&gt;Now you can search for HACS as a new integration&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-03-install-hacs.DciOIMC9_ZsKN2e.webp&quot; alt=&quot;Screenshot of HA searching for HACS&quot; /&gt;&lt;/p&gt;
&lt;p&gt;There&apos;s a few conditions to confirm before proceeding&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-02-install-hacs-confirm.DlH55fS9_Wjc72.webp&quot; alt=&quot;Screenshot of HA HACS confirmation dialog&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Then a short wait for HACS to activate&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-04-activate-hacs.g7Lc7s0p_uq7m9.webp&quot; alt=&quot;Screenshot of HA waiting for HACS activation&quot; /&gt;&lt;/p&gt;
&lt;p&gt;And then you need to authorise HACS with GitHub&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-05-authorise-hacs.iZklQCvu_Z1GSUOF.webp&quot; alt=&quot;Screenshot of HA authorising HACS&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Give HACS a name (or accept the default)&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-06-hacs-name-assign.CogyEuGb_1GXiLJ.webp&quot; alt=&quot;Screenshot of HA giving HACS device a name&quot; /&gt;&lt;/p&gt;
&lt;p&gt;And you&apos;re done&lt;/p&gt;
&lt;h2&gt;Adding GloBird integration from HACS to Home Assistant&lt;/h2&gt;
&lt;p&gt;Now that HACS is installed, there&apos;s a whole new list of integrations to choose from. But at the time GloBird wasn&apos;t in that list. That&apos;s ok. We can add a custom repository to let HACS know about it. Use the context menu.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-07-hacs-add-custom-repo.C2_resbr_1i8TdG.webp&quot; alt=&quot;Screenshot of HACS showing custom repositories menu item&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Then enter the Git repository URL and select &apos;Integration&apos; from the &lt;strong&gt;Type&lt;/strong&gt; list.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-08-hacs-globird-repo.BTqFddB6_CfDPc.webp&quot; alt=&quot;Screenshot of HACS entering GloBird custom repository details&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Now that HACS is aware of the new repository, you can search the HACS store and GloBird will appear in the list.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-09-hacs-store.bqTI5oSb_2rql9K.webp&quot; alt=&quot;Screenshot of HACS store showing &quot; /&gt;&lt;/p&gt;
&lt;p&gt;Click on the context menu and choose &lt;strong&gt;Download&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-10-hacs-globird-downloading.s4bynB5R_ZqrmFw.webp&quot; alt=&quot;Screenshot of HACS store downloading GloBird&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Once it is downloaded, HA lets you know that it needs to be restarted.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-11-hacs-globird-pending-resart.CraryHFX_ZBEchO.webp&quot; alt=&quot;Screenshot of HA showing GloBird integration pending restart&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The first time I saw this, I switched back to the Synology Container Manager to restart the container. (I later realised that HA can actually restart itself through the UI and using Container Manager wasn&apos;t necessary!)&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-12-synology-container-manager.BLZbenLX_27c1aE.webp&quot; alt=&quot;Screenshot of Synology showing Container Manager&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Now that the GloBird integration is installed, you can click on the Plus icon, and choose &lt;strong&gt;Add device&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Then enter &apos;GloBird&apos; and click on the matching item.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-13-find-brand.DTBo4mVD_Zj9ESR.webp&quot; alt=&quot;Screenshot of HA searching for GloBird&quot; /&gt;&lt;/p&gt;
&lt;p&gt;You&apos;ll be prompted to enter your credentials. For GloBird this is your account email and password.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-14-globird-credentials.BvFkfCHN_ZFNGHK.webp&quot; alt=&quot;Screenshot of HA entering GloBird credentials&quot; /&gt;&lt;/p&gt;
&lt;p&gt;You can accept the default device name or change it, and optionally assign the device to a &apos;room&apos;. That makes more sense for physical devices in or around your house, but you can still do the same for &apos;utility&apos; devices like an electricity provider.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-15-globird-name-assign.DaDjDpP8_rowT4.webp&quot; alt=&quot;Screenshot of HA assigning a name to GloBird device&quot; /&gt;&lt;/p&gt;
&lt;p&gt;And with that, the integration should be installed and configured. You can now see a page that shows all the current sensors and information from the device.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-16-globird-device-info.BUqhBRdx_Z1BcrVY.webp&quot; alt=&quot;Screenshot of HA showing GloBird device details&quot; /&gt;&lt;/p&gt;
&lt;p&gt;You might choose to add this to one or more dashboards, and also given in this case it relates to electricity, you could also add it to the Energy page.&lt;/p&gt;
&lt;p&gt;Interestingly, when I first added the GloBird integration it provided information about our electricity account and usage, but GloBird also provide gas too (and we are using them as our gas provider). I contributed an update to the GloBird integration so that if you have a gas service with them, then you can also get that information as well.&lt;/p&gt;
&lt;p&gt;Unlike electricity, gas requires a manual measurement - either by an official meter checker, or by me taking a photo of the meter and submitting it to GloBird. So the measurements are not &quot;live&quot; like a lot of HA devices, but always in the past. Because of that, the implementation I contributed sends the readings directly to HA&apos;s &quot;&lt;a href=&quot;https://www.home-assistant.io/integrations/recorder/&quot;&gt;recorder&lt;/a&gt;&quot;. They show up in HA as &apos;statistics&apos;, and you can visualise them.&lt;/p&gt;
&lt;p&gt;Here&apos;s our recent monthly gas usage in HA.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://david.gardiner.net.au/_astro/ha-17-gas-usage.DHDF10YB_13tiok.webp&quot; alt=&quot;Graph of gas usage from March to August&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I&apos;ve since switched to a different electricity provider but I&apos;m still using GloBird for gas. I&apos;ll be keeping an eye on their plans and there&apos;s always a chance I switch back.&lt;/p&gt;
&lt;p&gt;Feel free to use &lt;a href=&quot;https://quote.globirdenergy.com.au/quote?pcode=refer&amp;amp;ref=6OIYNZ&quot;&gt;this referral link if you want to check out GloBird for electricity or gas&lt;/a&gt; in Australia. You and I both get $50 credit (&lt;a href=&quot;https://www.globirdenergy.com.au/legal/referral-terms-conditions/&quot;&gt;conditions apply&lt;/a&gt;)&lt;/p&gt;
</content>
    <media:thumbnail url="https://david.gardiner.net.au/_astro/ha-17-gas-usage.DHDF10YB.png" width="690" height="634"/>
    <media:content medium="image" url="https://david.gardiner.net.au/_astro/ha-17-gas-usage.DHDF10YB.png" width="690" height="634"/>
  </entry>
</feed>
