<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Homeassistant on inherent site</title>
		<link>https://inherently.xyz/tags/homeassistant/</link>
		<description>Recent content in Homeassistant on inherent site</description>
		<generator>Hugo</generator>
		<language>en-us</language>
			<lastBuildDate>Sat, 07 Jun 2025 14:12:34 +0300</lastBuildDate>
			<atom:link href="https://inherently.xyz/tags/homeassistant/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Home Assistant</title>
				<link>https://inherently.xyz/blog/home-assistant/</link>
				<pubDate>Sat, 07 Jun 2025 14:12:34 +0300</pubDate>
				<guid>https://inherently.xyz/blog/home-assistant/</guid>
				<description>&lt;p&gt;I recently set up Home Assistant as a way of getting into home automation.&#xA;It&amp;rsquo;s a really cool piece of software and took a bit of time to set up so I&amp;rsquo;d like to document everything I&amp;rsquo;ve changed here.&lt;/p&gt;&#xA;&lt;h2 id=&#34;getting-started&#34;&gt;Getting started&lt;/h2&gt;&#xA;&lt;p&gt;Home Assistant is an open-source home automation solution, possibly the most well-known in its category.&#xA;It&amp;rsquo;s a great DIY and self-hosted alternative to smart home offering from bigger vendors.&#xA;As a platform it can integrate with tons of products available on the market and is very easy to run.&#xA;I&amp;rsquo;ve been interested in using Home Assistant for a few years but I never had anything to use it for or with.&#xA;Recently I decided I should look more into it so I ordered a SNZB-02D temperature and humidity sensor as well as a ZBdongle-E ZigBee stick also by Sonoff.&#xA;ZigBee is a protocol that a lot of the smart home devices use to communicate, including my temperature/humidity monitor.&#xA;This means that as long nothing goes wrong, I should be able to track my room&amp;rsquo;s temperature inside Home Assistant.&#xA;Sonoff also has smart power plugs, look for the ones that have &lt;code&gt;ZB&lt;/code&gt; in the model number like the S26R2ZB or S60ZBTPF (I didn&amp;rsquo;t check and wasted 10 euros).&lt;/p&gt;&#xA;&lt;p&gt;I picked up the items I ordered, dusted off the old Raspberry Pi 3b+ I&amp;rsquo;ve had for years and installed Home Assistant OS on it.&#xA;It took about an hour because for some reason the ethernet port on the Pi decided to not work.&#xA;After facing its demons and working through the childhood neglect trauma I had given it, the ethernet blinky light blessed the little Pi.&#xA;A little network setup and ta-da! I can log in using a browser on my desktop.&#xA;Following that I shut it down, connected the Sonoff USB ZigBee stick and turned it back on.&#xA;With a few clicks the USB stick was detected and ready to be used inside Home Assistant.&#xA;I made it scan for devices and set the temperature and humidity monitor into pairing mode and then connected to it.&#xA;This was a surprisingly straightforward process and right after there was data visible in the homepage.&lt;/p&gt;&#xA;&lt;p&gt;A couple weeks later I picked up another two sensors and two zigbee power plugs.&#xA;As a word of advice, the S26R2ZB is cheap so it only supports on/off functionality and not power measurement.&#xA;The S60ZBTPF should support both though, I have the non-ZigBee version and it does but only using eWeLink.&lt;/p&gt;&#xA;&lt;h2 id=&#34;graphing-the-worst-stars-waste-heat&#34;&gt;Graphing the worst star&amp;rsquo;s waste heat&lt;/h2&gt;&#xA;&lt;p&gt;I keep the monitoring device on my desk so I can look at it and check that I&amp;rsquo;m not going crazy and the weather is indeed getting warmer.&#xA;I also have one out in the balcony and one in the living room.&#xA;After few days I could look at the pretty graphs and see how the temperature fluctuated throughout the days which was quite interesting.&#xA;I could visibly see when I had opened the balcony door for some fresh air or how much the air-conditioner actually drops the temperature.&#xA;In general the whole solution works very well.&#xA;One day there was notification about a firmware updated for the ZigBee USB stick which I could install directly through Home Assistant.&#xA;The sensors also had a firmware update and could also be updated directly through HomeAssistant.&#xA;I don&amp;rsquo;t know why this seems like such a big deal to me but it&amp;rsquo;s surprising to see this process be supported and vendors not pulling some bs for once.&#xA;I still hate warm weather and the sun but now I can track how much it&amp;rsquo;s affecting me.&lt;/p&gt;&#xA;&lt;h2 id=&#34;add-ons&#34;&gt;Add-ons&lt;/h2&gt;&#xA;&lt;p&gt;For any web interface I consider it necessary to have an HTTPs certificate and some way to remotely access it.&#xA;Thankfully using add-ons, it&amp;rsquo;s possible to get certs from LetsEncrypt, use nginx as a reverse proxy and also install cloudflared.&#xA;Cloudflared is not official but it does work well even if it was a bit troublesome to set up initially.&#xA;It does require some fiddling in the YAML configuration file (using the editor add-on) but it&amp;rsquo;s not too difficult.&#xA;I also enabled prometheus metrics, which require authentication to scrape so it will be a slight bit more complicated than usual but nothing unusual.&#xA;There is a lot of other software available as an add-on, many things which I don&amp;rsquo;t care to run on Home Assistant on my Raspberry Pi, but it&amp;rsquo;s good to see such robust support and that they are available for use cases where they make sense.&lt;/p&gt;&#xA;&lt;h2 id=&#34;later-expansion&#34;&gt;Later expansion&lt;/h2&gt;&#xA;&lt;p&gt;I plan to add more stuff in the future and start playing with automations.&#xA;Currently it&amp;rsquo;s just a couple lights, the sensors and the power plugs.&#xA;There is no inclination to do something extra with them, just having control of all of them through one place is helpful enough.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;It&amp;rsquo;s a cool setup that works for what I want to do right now and also has a lot of room for expansion.&#xA;Now that I can access it from the outside and have TLS certificates it been a very nice experience.&#xA;If you&amp;rsquo;ve been waiting to start as well, it&amp;rsquo;s a lot easier than you might think.&lt;/p&gt;&#xA;</description>
			</item>
	</channel>
</rss>
