<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Smart Home Automation]]></title><description><![CDATA[Make your home smart through automation that never annoys but is missed when it is not working.
Free intro guide on home automation at signup!]]></description><link>https://newsletter.smarthomeautomation.it</link><image><url>https://substackcdn.com/image/fetch/$s_!ArZ4!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb187e9ef-e6a2-4a11-9bcb-25f9db313835_1280x1280.png</url><title>Smart Home Automation</title><link>https://newsletter.smarthomeautomation.it</link></image><generator>Substack</generator><lastBuildDate>Wed, 06 May 2026 11:34:40 GMT</lastBuildDate><atom:link href="https://newsletter.smarthomeautomation.it/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Smart Home Automation]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[smarthomeautomation@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[smarthomeautomation@substack.com]]></itunes:email><itunes:name><![CDATA[Daniel Londero]]></itunes:name></itunes:owner><itunes:author><![CDATA[Daniel Londero]]></itunes:author><googleplay:owner><![CDATA[smarthomeautomation@substack.com]]></googleplay:owner><googleplay:email><![CDATA[smarthomeautomation@substack.com]]></googleplay:email><googleplay:author><![CDATA[Daniel Londero]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Moving air]]></title><description><![CDATA[Using home automation as a temporary solution to problems]]></description><link>https://newsletter.smarthomeautomation.it/p/moving-air</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/moving-air</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:30:15 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/2b56a494-9f55-450a-97eb-6466f4d0f9df_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>While waiting to start/finish bigger and interesting projects I have on the table I want to share with you something that might seem minor but indeed was a quick and free solution to a problem I got with the fireplace. In the end home automation is not always about new fancy hardware and sensors to play with, it is a tool for our toolbox and can come in handy in cases like the one I am about to present.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>Main heating system we use at home is a fireplace that is located on one side of the open space at ground floor. It has been there since we bought the house and with some minor fixes over time (this thing has at least 25 years) it is still rocking. The warmth it produces is simply incomparable to any other system, plus seeing embers and fire burning during winter is really nice. We light it up usually in the afternoon and let it run until we go to bed. At some point in the evening we just open the door of the stairs so that warm air goes upstairs and heats first floor as well. The fireplace has a fan that pushes out the hot air from two vents pointing in different directions in the open space in order to split warmth homogeneously. Unfortunately, for some reason well beyond my knowledge on fireplaces, the vent pointing towards the other side of the open space stopped to blow hot air even if the fan works regularly and the other vent is fine. Because of this you can feel that in the half part of the open space far from the fireplace the temperature is lower: in fact I have a temperature sensor (<a href="https://amzn.to/3HWVJbT">Switchbot Meter Plus</a>) in the middle of ground floor and another one (integrated into a Daikin HVAC split) in the side opposite to the fireplace and readings differ easily by 1-2 degrees Celsius.</p><h3>The solution</h3><p>Lucky enough on the side of the open space opposite to the fireplace there is an HVAC split system air source heat pump that we use mainly for cooling/dehumidifying over summer of for quick heating when we get home and fire was not lit up. The cool thing is that it has one mode which is pure ventilation and just blows air within the room without heating/cooling. It moves air and that&#8217;s exactly what I need!</p><p>Since the split has its own temperature meter (even though tolerance does not seem to be super good) I can compare the two temperatures and use that difference to start the ventilation above a certain threshold value.</p><p>In Home Assistant I created then a simple <a href="https://www.home-assistant.io/integrations/template/">binary sensor using a template helper</a> defined in this way for the moment:</p><p>{% set switchbot = states('sensor.meter_plus_e488') | float %}<br>{% set daikin = states('sensor.ground_floor_inside_temperature') | float %}<br>{{ (switchbot - daikin) &gt; 1.5 }}</p><p>The newly created binary sensor has value <code>on</code> when temperature difference is higher than 1.5 Celsius degrees and <code>off</code> in all the other cases. This is really useful since the status change from <code>off</code> to <code>on</code> can be used as a trigger for a new automation that will actually switch on the HVAC split system in ventilation mode!</p><p>First iteration of the automation is pretty basic and I am sure I will improve it over time based on the special cases I&#8217;ll experience using this. Trigger for the automation is the helper previously created so when the temperature difference between the two sensors is bigger than 1.5 Celsius the automation will start and execute the following actions:</p><ul><li><p>set the mode of the split to &#8220;Fan only&#8220; (no heating/cooling)</p></li><li><p>set the fan mode of the split to &#8220;4&#8220;</p></li><li><p>turn on the split so it starts to blow air</p></li><li><p>run for 10 minutes</p></li><li><p>turn off the split</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!01Zd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!01Zd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 424w, https://substackcdn.com/image/fetch/$s_!01Zd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 848w, https://substackcdn.com/image/fetch/$s_!01Zd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 1272w, https://substackcdn.com/image/fetch/$s_!01Zd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!01Zd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png" width="1456" height="1414" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1414,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:193030,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!01Zd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 424w, https://substackcdn.com/image/fetch/$s_!01Zd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 848w, https://substackcdn.com/image/fetch/$s_!01Zd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 1272w, https://substackcdn.com/image/fetch/$s_!01Zd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffae60875-0a44-4b3f-a734-65d42dba6b59_1604x1558.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So far it looks good as the automation is triggered and moves the air that would otherwise not reach all the open space area. What I&#8217;ll do next is:</p><ul><li><p>try to find the sweet spot about temperature difference threshold and how long the fan should work</p></li><li><p>use the same binary sensor to run another automation to stop the fan instead of using a fixed time delay</p></li><li><p>compare graphs of the temperature to see how long it takes to have the open space not homogeneously warm</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p></li></ul><p>Let me know if you&#8217;re interested in reading updates about this project!</p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[CO2 Sensor - How to DIY]]></title><description><![CDATA[Cheap and easy project to start!]]></description><link>https://newsletter.smarthomeautomation.it/p/co2-sensor-how-to-diy</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/co2-sensor-how-to-diy</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 24 Jan 2024 15:30:20 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Recently on social media, especially X (formerly known as Twitter), there is quite some hype on air quality control devices to understand when to open the windows and let some fresh air in&#8230;I took the chance to dig a bit into the topic to learn something new and understand how these sensors work. I got so interested that I decided to build one myself and see if I could connect it to Home Assistant to collect data and maybe do new interesting things in the future. Let&#8217;s dive into it!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>I wanted to add some basic air quality monitoring to my place and have that integrated into Home Assistant so that I can collect data and if needed automate actions based on that. A fireplace is the main heating system we use for heating the house (it is in the open space at ground floor where we spend most of our time during the day) so monitoring CO<sub>2</sub><sup> </sup>is not a bad idea in the end.</p><h3>The solution</h3><p>By the end of this newsletter the goal is to build a basic prototype of CO<sub>2</sub> sensor that can be connected to Home Assistant and provide information about air quality of the room where it will be placed. Later on the data generated (level of CO<sub>2</sub>) could be used as a trigger for automations.</p><p>Main components for this DIY project are two:</p><ul><li><p>ESP32 development board: The <a href="https://en.wikipedia.org/wiki/ESP32">ESP32</a> is a series of low-cost and low-power System on a Chip (SoC) microcontrollers developed by Espressif that include Wi-Fi and Bluetooth wireless capabilities and dual-core processor</p></li><li><p><a href="https://sensirion.com/products/catalog/SCD40">SCD40</a> sensor: it&#8217;s a miniature CO<sub>2</sub> sensor that builds on the photoacoustic NDIR sensing principle and Sensirion&#8217;s technologies to offer high accuracy at an unmatched price and smallest form factor&nbsp;</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!K3nd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!K3nd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!K3nd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!K3nd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!K3nd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!K3nd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg" width="1200" height="1600" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1600,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!K3nd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!K3nd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!K3nd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!K3nd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9feba2e5-4c91-4112-b4c1-4cbf8d59bf77_1200x1600.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I decided to go with the SCD40 because of the small form factor and its accuracy in measurement thanks to the photoacoustic non-dispersive infra-red principle (NDIR) it uses. Before diving into the DIY part I think it is important to explain a bit more on the types of sensors available on the market for these projects and why some are better than the others. When looking to final products (like the fancy sensors with display you might have gotten into on social media lately) you will basically see them based on three types of sensors:</p><ul><li><p><strong>TVOC</strong> sensors (Total Volatile Organic Compound) estimate CO<sub>2</sub> via organic components in the air. Problem is that other indoor sources (deodorizers for example) can add components to the air and and thus the estimations might be affected;</p></li><li><p><strong>Transmissive NDIR</strong> sensors typically feature an IR (infra-red) emitter and an optical detector, such as a photodiode, at opposite ends of a specially designed optical cavity. The optical detector measures the amount of IR light energy that is not absorbed by (i.e., transmitted through) the gas sample. As the CO<sub>2</sub> concentration in the optical cavity increases, the amount of light detected decreases. These sensors generally require a minimal optical path length (distance between the IR emitter and the photodiode) in the centimeter scale for enough IR absorption to occur to accurately measure lower CO<sub>2</sub> concentrations so they are bigger than the others and this;&nbsp;</p></li><li><p><strong>Photoacoustic NDIR</strong> sensors detect the amount of energy that is absorbed by CO<sub>2</sub> molecules. When pulsing the IR emitter, CO<sub>2</sub> molecules absorb infra-red light periodically. This causes additional molecular vibration resulting in a pressure wave inside the measurement chamber. The higher the CO<sub>2</sub> concentration, the more light is absorbed, and thus the greater the amplitude of this acoustic wave becomes. A microphone inside the gas chamber measures this, from which the CO<sub>2</sub> concentration can then be calculated. The emitter and the microphone can stay much closer and allow for greater miniaturization of the measurement chamber which results in a smaller sensor.</p></li></ul><p>Going back to the DIY part I started with flashing the ESP32 development board using the ESPHome add-on available in Home Assistant. First basic firmware is installed on the board and allows you to connect it to the wi-fi so it will automatically show up in Home Assistant&#8217;s UI. In this case the development board needs to be connected to a computer with a cable while all future updates can be installed wirelessly (so no need to move the device from where you&#8217;re going to place it).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PDHF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PDHF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 424w, https://substackcdn.com/image/fetch/$s_!PDHF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 848w, https://substackcdn.com/image/fetch/$s_!PDHF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 1272w, https://substackcdn.com/image/fetch/$s_!PDHF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PDHF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png" width="1456" height="572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:572,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!PDHF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 424w, https://substackcdn.com/image/fetch/$s_!PDHF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 848w, https://substackcdn.com/image/fetch/$s_!PDHF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 1272w, https://substackcdn.com/image/fetch/$s_!PDHF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37b1b4a8-b2d8-4812-8324-cb5d40e55ea9_1600x629.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>At this point the ESP32 is connected to HA but does not play any relevant role just yet. So with the help of a breadboard and some jumper wires I connected the SCD40 sensor to the ESP32 development board. Keep reading to know how you can do it.</p><p>Thanks to the <a href="https://en.wikipedia.org/wiki/I%C2%B2C">I<sup>2</sup>C (Inter-Integrated Circuit)</a> bus only 2 wires are needed for the data transmission connecting SDA (serial data line) and SCL (serial clock line) pins of the sensor to the dedicated pins of the ESP32 respectively 21 (GPIO21) and 22 (GPIO22). For powering the connections needed are between VCC to 3V3 pins and GND to GND. For the moment just do a leap of faith about the pins used for the connection, if you want a more detailed description of the pins out of the ESP32 you can check <a href="https://docs.espressif.com/projects/esp-idf/en/latest/esp32/_images/esp32-devkitC-v4-pinout.png">this nice image</a> from Espressif.</p><p>The resulting prototype is like this at the moment with red wire for VCC-3V3, black for GND-GND, blue for SDA-GPIO21 and orange for SCL-GPIO22.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!thRm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!thRm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 424w, https://substackcdn.com/image/fetch/$s_!thRm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 848w, https://substackcdn.com/image/fetch/$s_!thRm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!thRm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!thRm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!thRm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 424w, https://substackcdn.com/image/fetch/$s_!thRm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 848w, https://substackcdn.com/image/fetch/$s_!thRm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!thRm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4bd6933d-d3ac-4f34-a219-fcfa72d0cf60_1600x1200.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>At this point the sensor and the development board are wired properly so we only need to tell the ESP32 about that and explain where the SCD40 is connected. For doing that it is convenient to use again the ESPHome add-on since it allows to edit directly the configuration in a yaml file to add the following sections:</p><p><code>i2c:</code></p><p><code>&nbsp;sda: 21</code></p><p><code>&nbsp;scl: 22</code></p><p><code>&nbsp;scan: True</code></p><p><code>sensor:</code></p><p><code>&nbsp;- platform: scd4x</code></p><p><code>&nbsp;&nbsp;&nbsp;co2:</code></p><p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: "CO2"</code></p><p><code>&nbsp;&nbsp;&nbsp;temperature:</code></p><p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: "Temperature"</code></p><p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id: scd40_temperature</code></p><p><code>&nbsp;&nbsp;&nbsp;humidity:</code></p><p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: "Humidity"</code></p><p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id: scd40_humidity</code></p><p>The <em>i2c</em> section defines the mapping of the wiring explained previously and the <em>sensor</em> section defines the type of sensor connected (see the <em>platform</em>) and the additional configuration variables for the CO<sub>2</sub>, temperature and humidity included in the SCD40.</p><p>After saving the yaml file and clicking on the install button the ESPHome add-on will compile the firmware and transfer it over the air to the ESP32 that will finally start to send data to Home Assistant.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!N3hZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!N3hZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 424w, https://substackcdn.com/image/fetch/$s_!N3hZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 848w, https://substackcdn.com/image/fetch/$s_!N3hZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 1272w, https://substackcdn.com/image/fetch/$s_!N3hZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!N3hZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png" width="1456" height="710" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:710,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!N3hZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 424w, https://substackcdn.com/image/fetch/$s_!N3hZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 848w, https://substackcdn.com/image/fetch/$s_!N3hZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 1272w, https://substackcdn.com/image/fetch/$s_!N3hZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3251471e-3cb8-4ef8-a7b7-515a722b7bd7_1600x780.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Considering that values between 400 and 600 ppm are excellent and anyway good until 800 ppm I can consider myself satisfied with the readings we get during the day. Increases correspond to the periods where everyone is home producing more CO<sub>2 </sub>simply breathing.</p><p>Next steps will be improving the prototype and setting up some automations based on the data collected by the sensor so that air circulation is privileged in order to keep CO<sub>2 </sub>levels low. Don&#8217;t miss future issues where I&#8217;ll send out updates on this project subscribe now!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><p>I am also active on X where I post smaller progress updates on these projects. If you want to follow me you can find me by the handle <a href="https://twitter.com/dlondero">@dlondero</a>.</p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[Backup!]]></title><description><![CDATA[You never know when you'll use it, but you better have it]]></description><link>https://newsletter.smarthomeautomation.it/p/backup</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/backup</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 17 Jan 2024 21:11:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!X-Uk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>How meticulous are you when talking about backups? Do you plan in advance and play it safe or do you like to live on the bleeding edge? For a long time I was in the latter group of tech people, but now things have changed!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X-Uk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X-Uk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!X-Uk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!X-Uk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!X-Uk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X-Uk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg" width="412" height="343.3333333333333" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5afff333-b693-4541-999c-3bed51467096_600x500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:600,&quot;resizeWidth&quot;:412,&quot;bytes&quot;:69919,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!X-Uk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!X-Uk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!X-Uk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!X-Uk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5afff333-b693-4541-999c-3bed51467096_600x500.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>I run my Home Assistant instance on a Raspberry Pi 4 using a MicroSD memory card as the only storage. I know: only the brave! Quite some time is gone by since I started using it and the amount of data collected from all the sensors grows every day. Additionally the number of automations created overtime starts to be interesting and it would require some time to re-create them all from scratch (if I could remember them). A failure of the MicroSD would be a disaster, or at lease a big PITA.</p><h3>The solution</h3><p>This is an easy one! So you should do it too if you&#8217;re not doing backups yet :)</p><p>After testing my luck for way too long I finally took the time to read more about an add-on I heard multiple times but never tested: <a href="https://github.com/sabeechen/hassio-google-drive-backup">Home Assistant Google Drive Backup</a>.</p><p>As the name says clearly the add-on allows to create backups of your Home Assistant instance and upload them on Google Drive. Installation is very easy and the documentation is really well done. Without getting into much detail (you can do your own research on the repository) the main interesting points are:</p><ul><li><p>Creates backups on a configurable schedule</p></li><li><p>Uploads backups to Drive, even the ones it didn't create</p></li><li><p>Clean up old backups in Home Assistant and Google Drive, so you don't run out of space</p></li><li><p>Lots of options for customisation</p></li><li><p>Restore from a fresh install or recover quickly from disaster by uploading your backups directly from Google Drive</p></li></ul><p>Personally I decided to go with the following settings:</p><ul><li><p>keep 2 backups on HA</p></li><li><p>keep 5 backups on Google Drive</p></li><li><p>backup daily at 11.30PM</p></li></ul><p>As I am not planning to move the Raspberry Pi from MicroSD to SSD anytime soon I guess at some point I&#8217;ll need to test if the restore process works smoothly as expected :D</p><p>Do backups!</p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[Dashboards]]></title><description><![CDATA[A custom one will be perfect for your needs!]]></description><link>https://newsletter.smarthomeautomation.it/p/dashboards</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/dashboards</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 10 Jan 2024 16:30:56 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/84387939-3300-4e93-98a8-0b9cbb58aa86_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Whenever I build something new on top of my home automation system I ask myself if what I am building is easy to use and if anyone would understand it without explanation. For example when talking about light switches I decided to always retrofit them so a regular dumb switch will be available where you&#8217;d expect it to be even if a smart switch is connected to the same light. The same goes for the dashboards used to control Home Assistant from mobile devices and tablets where anyone should not need any help to use them.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>When you first install Home Assistant you get a default dashboard filled with a long list of all the devices and sensors available to the system already. Unfortunately this dashboard is not really usable since you need to scroll a lot before finding anything you&#8217;re looking for. Of course HA goal here is to give you a starting point so you can have an overview of whatever is available and then customise it as you go.</p><p>I wanted to create a dashboard that is easy to navigate and groups devices/sensors in a meaningful way so anyone can find them where they think they could be.</p><h3>The solution</h3><p>I built a custom dashboard with <a href="https://github.com/piitaya/lovelace-mushroom">Mushroom Cards</a>. It&#8217;s still a work in progress as I have a couple of pages that are just placeholders at the moment, but most important switches/sensors/information are already present and available where I need them to be.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rEmY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rEmY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!rEmY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!rEmY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!rEmY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rEmY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png" width="362" height="643.8773333333334" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1334,&quot;width&quot;:750,&quot;resizeWidth&quot;:362,&quot;bytes&quot;:107291,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rEmY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!rEmY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!rEmY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!rEmY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6a31e6d-092a-40c4-bfbc-4b4c63d4517b_750x1334.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Initial page is structured as follows:</p><ul><li><p>2 <a href="https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/chips.md">chip cards</a> at the top</p><ul><li><p>first one is for the security system: shows its status and allows to control it with long press</p></li><li><p>second one is for weather forecast (no explanation needed here I guess)</p></li></ul></li><li><p>main section with 4 <a href="https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/template.md">template cards</a> contained in horizontal stack (so they display nicely in the same row) that when clicked open a linked page:</p><ul><li><p><strong>house</strong>: will include info on energy consumption and production (currently a placeholder)</p></li><li><p><strong>lights</strong>: lists all the smart lights around the house that can be managed from Home Assistant</p></li><li><p><strong>secure</strong>: allows to enable security system with different modes (arm away, arm home) and shows statuses of all motion detection sensors plus battery levels for all security connected devices</p></li><li><p><strong>net</strong>: shows data about internet connection</p></li></ul></li><li><p>2 <a href="https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/person.md">person cards</a> (me and wife) with tracking enabled that is used to trigger automations based on where we are</p></li><li><p>rooms section with one <a href="https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/template.md">template card</a> per room showing current temperature and if light is switched on (where available) and linked to a dedicated page</p></li></ul><p>Structure of the rooms&#8217; cards is as follows:</p><ul><li><p><strong>temperature and humidity</strong> sensor cards at the top</p></li><li><p><strong>devices</strong> section listing all devices available in that specific room (that can be managed from HA)</p></li><li><p><strong>sensors</strong> section listing all additional data available and batteries charge level</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!brm3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!brm3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!brm3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!brm3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!brm3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!brm3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png" width="362" height="643.8773333333334" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1334,&quot;width&quot;:750,&quot;resizeWidth&quot;:362,&quot;bytes&quot;:55775,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!brm3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!brm3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!brm3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!brm3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1789f553-8e0c-4398-86ef-64fa574a2acb_750x1334.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XdMQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XdMQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!XdMQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!XdMQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!XdMQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XdMQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png" width="370" height="658.1066666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1334,&quot;width&quot;:750,&quot;resizeWidth&quot;:370,&quot;bytes&quot;:95141,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XdMQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!XdMQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!XdMQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!XdMQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5064df4b-deb2-4413-89c2-3f45b123a748_750x1334.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zZfY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zZfY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!zZfY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!zZfY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!zZfY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zZfY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png" width="370" height="658.1066666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1334,&quot;width&quot;:750,&quot;resizeWidth&quot;:370,&quot;bytes&quot;:82126,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zZfY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!zZfY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!zZfY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!zZfY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63832da7-de6e-4af4-89f1-f2699d62dccb_750x1334.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EOoZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EOoZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!EOoZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!EOoZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!EOoZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EOoZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png" width="366" height="650.992" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1334,&quot;width&quot;:750,&quot;resizeWidth&quot;:366,&quot;bytes&quot;:79289,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EOoZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 424w, https://substackcdn.com/image/fetch/$s_!EOoZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 848w, https://substackcdn.com/image/fetch/$s_!EOoZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 1272w, https://substackcdn.com/image/fetch/$s_!EOoZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60cf7d6-8b6e-4435-8a05-618507ff1c31_750x1334.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><p>I didn&#8217;t add all the devices yet but all in all the structure of the pages seem to cover all current needs and probably I&#8217;ll just finish adding devices as soon as I have some time to do so.</p><p>This kind of setup requires a bit of work upfront when compared to more automated dashboards (<a href="https://github.com/AalianKhan/mushroom-strategy">Mushroom Dashboard Strategy</a> for example), however the great advantage is that you&#8217;re free to structure it as you prefer and you&#8217;re not bound to a predefined schema that is mainly based on zones where you assigned devices/entities.</p><p>Hope this gives you some inspiration to build your home dashboard in HA!</p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[Bluetooth proxy]]></title><description><![CDATA[Extend bluetooth network with an ESP32 board]]></description><link>https://newsletter.smarthomeautomation.it/p/bluetooth-proxy</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/bluetooth-proxy</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 03 Jan 2024 10:30:31 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/6e61f91f-b213-4b75-95b9-eb70f6b4dec1_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Happy new year! I wish you all the best for 2024!</strong></p><p>Side projects are always a great way to learn new things. I always found that getting your hands dirty into something new is the best way to absorb all the knowledge you go through. Since starting my journey into smart home automation I got into multiple things that I didn&#8217;t know how they were working. Sometimes I also got into something I didn&#8217;t know existed. So learning something new combined to reuse things you already have (instead of replacing them with new stuff) is a big win even before evaluating the outcome of something you do.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>Way before starting my journey into home automation I bought 4 SwitchBot Meters in order to monitor temperature and humidity throughout the home. Since we were doing quite a big renovation of the house including external wall insulation I wanted to have some data to compare before and after to understand the improvements. These meters come with an app that is responsible for collecting the measurements from each meter and show you graphs of the data over time. Connection between each meter and mobile device happens via bluetooth.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GSLd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GSLd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GSLd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GSLd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GSLd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GSLd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg" width="354" height="354" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1456,&quot;width&quot;:1456,&quot;resizeWidth&quot;:354,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GSLd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GSLd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GSLd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GSLd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe71b46b9-9020-4f93-ae8a-d85b18d65256_1500x1500.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Little did I know back then that I would have needed at some point to connect all the meters to a Raspberry Pi running Home Assistant on the opposite side of the house. <strong>So here&#8217;s the problem: once I started using Home Assistant with the SwitchBot Bluetooth integration only one of the meters was reachable (the closest one).</strong> What to do? Of course I didn&#8217;t want to replace them (they work great and trashing/putting them aside would be a crime) so I found another solution.</p><h3>The solution</h3><p>Initially I started searching for a bluetooth range extender. I thought there could be a usb dongle that I could plug somewhere in order to relay the signal to the Raspberry Pi. Luckily I got into the <a href="https://esphome.io/projects/index.html">ESPHome bluetooth proxy</a> ready-made project quite soon.</p><p>ESPHome is a tool which aims to make managing ESP boards as simple as possible. It reads in a YAML configuration file and creates custom firmware which it installs on an ESP device. Devices or sensors added in ESPHome&#8217;s configuration will automatically show up in Home Assistant&#8217;s UI.</p><p>So I bought a generic <a href="https://amzn.to/3RZ57BE">ESP32 development board</a> (a low cost board with wi-fi and bluetooth chips integrated) for a few bucks in order to install the ready-made firmware and have a fully working bluetooth proxy. What you need to know about the board is that it has wi-fi and bluetooth modules. Firmware is flashed on the board directly from the browser just connecting the micro-usb cable and starting the installation from the site of the project. Once the process is done you&#8217;ll be able to connect the ESP32 to your wifi network and at that point the proxy will be visible from Home Assistant through the ESPHome integration.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jTN5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jTN5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!jTN5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!jTN5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!jTN5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jTN5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg" width="348" height="464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1600,&quot;width&quot;:1200,&quot;resizeWidth&quot;:348,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jTN5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!jTN5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!jTN5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!jTN5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5cbf4c2b-af53-4d46-8bdc-4fc30e8570ce_1200x1600.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>With the bluetooth proxy up and running the bluetooth devices will connect to it and data will be relayed to HA using the wi-fi connection previously set up. In fact almost instantly the 3 meters on the first floor became available in HA (while before they were unreachable).</p><p>In my case a single proxy is enough to reach all the devices that would not be reachable from HA otherwise. However if you need to cover a much bigger area you could easily deploy multiple bluetooth proxies at the same time.</p><p>Bonus points earned by creating a home for the ESP32 board with Lego-like building blocks so it&#8217;s more protected and easier to move if needed. This alone <a href="https://www.reddit.com/r/homeassistant/comments/18tjxec/built_a_home_for_the_bluetooth_proxy_it_was_about/">received quite good feedback on the r/homeassistant</a> subreddit.</p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[Christmas]]></title><description><![CDATA[Lighting at its best...]]></description><link>https://newsletter.smarthomeautomation.it/p/christmas</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/christmas</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 27 Dec 2023 15:33:57 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/4ad71e5a-300d-40f5-a3a8-7cf1b06232aa_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Oh Christmas here we go again. The excitement of the holiday season invariably wears off as you get older but it doesn&#8217;t mean there still isn&#8217;t some magic to be found while spending precious time with the family. Kids instead have it all at Christmas with Advent calendar, excitement for Santa, gifts, decorations, lights! Yeah lights: someone&#8217;s responsible for getting dusted boxes down from the ceiling storage, unpack and install a variable amount of light strips. That&#8217;s me at my place: I am not really looking forward to this every year, however <strong>I am happy with the final result seeing the happiness of the kids</strong>. It's a tough job, but someone's gotta do it.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>Even if you&#8217;re not too much into Christmas lights you still might have a Christmas tree and some outdoor lights on your balcony. This, at least, is where I find myself year after year. Nothing too fancy or complex: after hanging some cords of lights one just needs to plug them to a power outlet to light up the darkness with some Christmas magic. <strong>But here comes the problem: who remembers to plug them every day in the evening?</strong> Especially if you need to go upstairs or stretch yourself behind the couch to reach the power outlet.</p><h3>The solution</h3><p>I can say that so far this has been the easiest problem to solve with home automation. And you can apply the same solution to many other similar cases where there&#8217;s a dumb system/device that needs to be controlled by an automation.</p><p>The light strips we have on the Christmas tree and on the balcony just need to be plugged into a power outlet to start working. Simulating the process of plugging/unplugging them is what the automation should do in this case.</p><p>When buying some different types of smart devices in order to create a basic &#8220;home automator&#8221; kit at the beginning of my journey into home automation I luckily got a couple of Zigbee smart plugs (Tuya EU model ones from AliExpress, but if you&#8217;re more comfortable with <a href="https://amzn.to/47cEiOX">Amazon</a> there are plenty of options there as well). A smart plug is designed to give users remote control over plugged-in electronics directly via smartphone and/or home automation systems. In this case the remote access happens through the <a href="https://en.wikipedia.org/wiki/Zigbee">Zigbee network protocol</a>: you can ignore it for the moment, I&#8217;ll dive deep into it in a future issue of the newsletter.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GrX3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GrX3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GrX3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GrX3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GrX3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GrX3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg" width="284" height="284" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1456,&quot;width&quot;:1456,&quot;resizeWidth&quot;:284,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GrX3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GrX3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GrX3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GrX3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a2500e6-2bba-4a94-a02d-bf6f2bca8090_1500x1500.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>First of all I had to add the smart plugs to my Home Assistant</strong> (HA). This is a one time procedure similar to a bluetooth pairing process: you plug the smart plug to a power outlet and reset it by pressing the power or reset button (depends on manufacturer) for a few seconds to make it discoverable and start the discovery process on HA (in my case through the Phoscon App but this depends on the Zigbee adapter one is using). <strong>Once the pairing is done the device will be visible from HA</strong> in the list of available devices: I suggest to name it in a convenient way directly at this point so it will be easy to find in automations and in the future when you might have many devices connected.</p><p>I then plugged the smart plug directly to a power outlet and the lights to the smart plugs. At this point <strong>an achievement has been unlocked</strong> already: from my smartphone using the HA companion app I can switch on and off the smart plugs and so control the Christmas tree and balcony lights from any place (even remotely). Nice! There is still a problem though: manual intervention. One needs to remember about it and execute a defined number of steps every day. Automation is needed!</p><p>An automation in HA is usually defined by three parts:</p><ul><li><p>trigger: event starting the automation</p></li><li><p>(optional) condition: can halt the automation based on observation of the system</p></li><li><p>action: what is being executed by the automation</p></li></ul><p>So I created an automation that is <em><strong>triggered</strong></em><strong> at dusk</strong> (based on the <a href="https://www.home-assistant.io/integrations/sun/">Sun integration</a>), <strong>checks that the smart plug is off</strong> as <em>condition</em><strong> </strong>and eventually <strong>switches on the smart plug</strong> (and lights) as <em>action</em>.</p><p>Similarly I also created an automation to switch off the lights at some point in the night in an effort to save some energy. In this case the <strong>trigger is time</strong>, the condition to <strong>check is if the smart plug is on</strong> and the action it to <strong>switch off the plug</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hMB5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hMB5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 424w, https://substackcdn.com/image/fetch/$s_!hMB5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 848w, https://substackcdn.com/image/fetch/$s_!hMB5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 1272w, https://substackcdn.com/image/fetch/$s_!hMB5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hMB5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png" width="1322" height="1034" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1034,&quot;width&quot;:1322,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:170944,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!hMB5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 424w, https://substackcdn.com/image/fetch/$s_!hMB5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 848w, https://substackcdn.com/image/fetch/$s_!hMB5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 1272w, https://substackcdn.com/image/fetch/$s_!hMB5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb24d494-141c-46b1-ac15-3337e2613b62_1322x1034.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/p/christmas?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/p/christmas?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p>As you can imagine <a href="https://amzn.to/47cEiOX">smart plugs</a> come in handy every time you need to <strong>control a dumb device that would be operational just powering it</strong> without the need of replacing appliances that might still work perfectly even if not smart. I am sure you already have some ideas on how to use smart plugs in your home, just hit reply or leave a comment if you want to share any of your plans!</p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[Outdoor lights]]></title><description><![CDATA[Automate them with smart switches and virtual sensors]]></description><link>https://newsletter.smarthomeautomation.it/p/outdoor-lights</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/outdoor-lights</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 20 Dec 2023 21:15:00 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/f4742710-21bf-47bc-8ff6-b82b559ef3e5_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Thanks to a twilight sensor, you can always have light in the dark and keep yourself and your loved ones safe. As soon as the measured brightness falls below the set value, the light switches on automatically. And off again, when brightness goes above the set value instead. This is something that&#8217;s been around for quite some time and in the &#8220;wired world&#8221; requires a lot of wiring! Now you can have this, and more, with much less! Let&#8217;s see how.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xKao!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xKao!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 424w, https://substackcdn.com/image/fetch/$s_!xKao!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 848w, https://substackcdn.com/image/fetch/$s_!xKao!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 1272w, https://substackcdn.com/image/fetch/$s_!xKao!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xKao!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif" width="368" height="417.4566473988439" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:785,&quot;width&quot;:692,&quot;resizeWidth&quot;:368,&quot;bytes&quot;:705546,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/gif&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xKao!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 424w, https://substackcdn.com/image/fetch/$s_!xKao!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 848w, https://substackcdn.com/image/fetch/$s_!xKao!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 1272w, https://substackcdn.com/image/fetch/$s_!xKao!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc457eea1-6c64-462a-b2c1-6cf9e9b9232b_692x785.gif 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>The problem</h3><p>Some years ago when renovating the entrance of our home we built a beautiful stone wall and put some lights on the floor to light it up from the bottom. The view in the evening is amazing, there&#8217;s only one problem: someone needs to switch on the lights at some point. So most of the times we left it switched off. But recently I found a solution&#8230;</p><h3>The solution</h3><p>Since starting this journey into home automation I had the entrance stone wall lighting in my todo list. I wanted to have it working alone. In the backyard entrance we already have a light driven by a twilight/motion sensor. Since I needed to bypass the physical switch, I had to wire the sensor back to the switch, doubling the work (when not directly integrated into the light).</p><p>For the main entrance I wanted something easier to set up (especially considering there were no conduits available for the wiring!).</p><p>This time though I had a new ally in Home Assistant (HA) and the Zigbee mesh network of smart devices connected to it. Initially I wanted to couple the physical switch of the outdoor light to a <a href="https://sonoff.tech/product/diy-smart-switches/zbmini-l2/">Sonoff ZBMINI Extreme</a> that I already had available but unfortunately it didn&#8217;t fit into the jam packed small wall box. I then adjusted the plan and got a <a href="https://www.vimar.com/en/int/catalog/product/index/code/14592.0">Vimar 2-way switch IoT connected mechanism</a> that basically combines in a single module a physical and a smart switch. I chose Vimar because it is compatible with the in wall box as we use that brand for all the other switches we have in our home. I replaced the old dumb physical switch with the smart new one. Easy.</p><p>Then the fun part: creating the automations in HA to switch on the light at dusk and off at dawn (or at a fixed time in the night). Dusk sensor is virtual and provided by the <strong>sun integration</strong> that uses the location of the home (as configured in HA) to track if the sun is above or below the horizon and give access to <a href="https://www.home-assistant.io/integrations/sun/#sensors">multiple useful other sensors</a> (next rising, next setting, next dawn, next dusk, etc&#8230;).&nbsp;</p><p>Now that the physical infrastructure was set up, all I had to do was create three automations:</p><ul><li><p>first for <strong>switching on the light</strong> every day <strong>at dusk</strong> (uses next dusk time) toggling the state of the Vimar smart switch;</p></li><li><p>second for <strong>switching off </strong>the light and that is triggered by time <strong>at midnight</strong>;</p></li><li><p>third for <strong>switching on</strong> the light <strong>when coming back home late at night</strong> (if the light is off). This is triggered based on people count in the home&#8217;s zone (leverages device tracking through HA companion application).</p></li></ul><p>Lesson learned: Vimar IoT devices can be configured to work with Bluetooth or Zigbee networks and one needs to do it upfront via the Vimar app. Spent a few minutes yelling to the device before reading the full instructions&#8230;always true &#8220;RTFM&#8221;!</p><p><strong>I&#8217;d love to read your questions and answer them in a future issue. Just hit reply and drop me an email or leave a comment.</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/p/outdoor-lights/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/p/outdoor-lights/comments"><span>Leave a comment</span></a></p><p>Until next time!<br>Daniel</p>]]></content:encoded></item><item><title><![CDATA[Convenience]]></title><description><![CDATA[One does not simply drill a wall...]]></description><link>https://newsletter.smarthomeautomation.it/p/convenience</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/convenience</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Wed, 13 Dec 2023 10:00:56 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/1fefbe56-a3e8-4d7c-86f4-b16ddde29663_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This is the very first automation I did after setting up Home Assistant on a Raspberry Pi 4 earlier this year. I cannot even describe how happy I was when I finally managed to get it working, solving a problem we had ever since we bought this house years ago. Accomplishing something in a new field gives you that needed boost of confidence that helps you to go on, one step at a time.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><h3>The problem</h3><p>Since the first renovation of the house our laundry room always had <strong>only a one way light switch</strong> to control lights. Fine you&#8217;d say. Problem is that the <strong>laundry has 2 doors</strong>: one opens to the dining room (where the light switch is), the other one opens to my home office (where there&#8217;s no light switch to control laundry lights when going through it).</p><p>Adding in wall wiring was never an option considering the hassle of having to free the room for that before drilling walls and producing a ton of dust: concrete walls here, no drywall. I also always procrastinate with adding external conduits (PVC ones) because of laziness plus a difficult route for the conduits from one door to the other (there&#8217;s a mezzanine in the middle, just to complicate things).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jfha!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jfha!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 424w, https://substackcdn.com/image/fetch/$s_!jfha!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 848w, https://substackcdn.com/image/fetch/$s_!jfha!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 1272w, https://substackcdn.com/image/fetch/$s_!jfha!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jfha!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png" width="1006" height="1344" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1344,&quot;width&quot;:1006,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1045155,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jfha!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 424w, https://substackcdn.com/image/fetch/$s_!jfha!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 848w, https://substackcdn.com/image/fetch/$s_!jfha!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 1272w, https://substackcdn.com/image/fetch/$s_!jfha!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9d9f3e5-59dd-4e12-86f1-3e00348f3246_1006x1344.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Then at night going from the dining room to the home office is easy, coming back not that much if lights got switched off at some point. And leaving the lights always on didn&#8217;t sound like the right solution&#8230;</p><h3>The solution</h3><p>Long story short the problem was solved with less than $20 of smart devices. In fact I had available the following devices that I got from AliExpress (you can find them on Amazon as well if you prefer, they will be a bit more expensive though):</p><ul><li><p>a smart switch: <a href="https://sonoff.tech/product/diy-smart-switches/zbmini-l2/">Sonoff ZBMINI Extreme</a> (no neutral required!)</p></li><li><p>a smart button: <a href="https://www.aqara.com/eu/product/wireless-mini-switch/">Aqara wireless mini switch</a></p></li><li><p>a smart motion sensor: <a href="https://sonoff.tech/product/gateway-and-sensors/snzb-03/">Sonoff SNZB-03</a></p></li></ul><p>Important to note that all these devices are connected to the Home Assistant instance using Zigbee protocol: this means <strong>they are locally connected</strong> and managed directly by the Raspberry Pi I have in my home rack <strong>without going through any external cloud</strong> service (security first!).</p><p>First of all, I connected the Sonoff ZBMINI Extreme smart switch replacing the physical switch: live wire into ZBMINI, live wire out to the lights. Then to preserve the user experience I wired the physical switch on S1-S2 contacts for the ZBMINI: this way nothing changes for the user switching on/off the lights from the dining room as the physical switch is still there and working as always. After discovering the device in Home Assistant it was already possible to switch on/off the lights from there without even touching the real switch! How amazing!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aX8N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aX8N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 424w, https://substackcdn.com/image/fetch/$s_!aX8N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 848w, https://substackcdn.com/image/fetch/$s_!aX8N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 1272w, https://substackcdn.com/image/fetch/$s_!aX8N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aX8N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png" width="594" height="586" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e88af369-4704-46a2-a0c4-6d6851b76164_594x586.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:586,&quot;width&quot;:594,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:113672,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aX8N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 424w, https://substackcdn.com/image/fetch/$s_!aX8N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 848w, https://substackcdn.com/image/fetch/$s_!aX8N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 1272w, https://substackcdn.com/image/fetch/$s_!aX8N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe88af369-4704-46a2-a0c4-6d6851b76164_594x586.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As a second step I started the Aqara wireless mini switch button (battery powered) so that Home Assistant could recognise it. This button has 3 functions: single press, double press, long press. Tested all three and double checked to see them in the logbook for the integration. Check. Eventually I stuck the button on to the frame of the home office door.</p><p>But pressing the button does nothing yet. What&#8217;s missing? Well, the button is just a button and does not know about the lights nor about the smart switch. I needed to put all the pieces together. Here comes the automation! In fact <strong>the button press needs to be used as a trigger</strong> in a new automation that <strong>as action will toggle the Sonoff smart switch</strong> previously wired. And BOOM! Lights go on and off just pressing the wireless button! Can you imagine how big my smile was at this point?</p><p>Okay but what about the motion sensor then? That is optional here but nice to have. And since I had one spare bought only for testing I decided to use it for something useful. Then I <strong>added another automation</strong> that is a bit more sophisticated: <strong>motion detected is the trigger</strong> but then a couple of conditions are checked before actually switching on the light as action. First condition is to check that the light is off, if not there&#8217;s nothing to do. Second condition is to check that we are in a moment after sunset and before sunrise (there is a &#8220;sun&#8221; api integration providing a lot of information day by day). Doing so when outside is dark already, anyone can go into the laundry and have light even if no switch was touched. And this is especially helpful for my kids as they always forget to switch on that light!</p><p>Just as my kids always forget to switch on the light when entering they also forget when leaving the laundry. For <strong>energy saving and being a bit more friendly to the planet</strong> I added <strong>a final automation</strong>. It is triggered after five minutes of lights on, checks if there&#8217;s no motion detected for one minute and eventually switches off the lights.</p><p>All in all it was a success: problem was solved, convenience was added, energy saving put in place. I love it!</p><p>Until next time!<br>Daniel</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p>]]></content:encoded></item><item><title><![CDATA[Security]]></title><description><![CDATA[It's better when you don't need to think about it]]></description><link>https://newsletter.smarthomeautomation.it/p/security</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/security</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Fri, 08 Dec 2023 08:16:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!pm9L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pm9L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pm9L!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 424w, https://substackcdn.com/image/fetch/$s_!pm9L!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 848w, https://substackcdn.com/image/fetch/$s_!pm9L!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!pm9L!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pm9L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:259366,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pm9L!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 424w, https://substackcdn.com/image/fetch/$s_!pm9L!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 848w, https://substackcdn.com/image/fetch/$s_!pm9L!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!pm9L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a91bb16-b0fe-4d47-9c28-82b325e48a87_1920x1080.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3>The problem</h3><p>I initially bought a couple of Blink cameras a few years ago. My wife and I were starting to go out again for a date night from time to time leaving our children home with the babysitter. We wanted a way to peek home quickly and make sure everything was fine. Blink cameras from Amazon seemed the best solution at that time: cheap, wireless, and came with an app to use them.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://newsletter.smarthomeautomation.it/subscribe?"><span>Subscribe now</span></a></p><p>I then added a third camera, the outdoor version, in the backyard after finding my car with a broken window. You know, maybe next time we&#8217;ll have some great footage to share with the police&#8230;</p><p>It turns out we used the cameras just for occasional live streaming for a long time, only rarely did we arm the system when leaving for some trip or long day out all together. Why? Because it requires action when you&#8217;re already totally busy: have you tried leaving home with 2 kids?</p><p>Here&#8217;s what you are supposed to do:</p><ul><li><p>remember about the system</p></li><li><p>open the app to arm it</p></li><li><p>arm the system (don&#8217;t get caught by the cameras!)</p></li><li><p>enable motion detection if it was previously disabled</p></li><li><p>optionally: disable the system and repeat everything if you need to get in again because someone forgot something</p></li></ul><p>How should it work instead? <strong>You should not even have to think about it.</strong> And that&#8217;s what I achieved creating my first home automation with Home Assistant (HA). Here&#8217;s how I did it.</p><h3>The automation</h3><p>I actually created 2 different automation to take full advantage of the system and use it at nights and when we leave. All working seamlessly without even having to think about it.</p><p>The <strong>night automation</strong> uses the clock as a trigger. When we&#8217;re about to go to bed the automation starts and arms the system. This will enable all the cameras, but since we still want to be able to move during the night (loo pit stops) w/o receiving alerts the automation also <strong>disables motion detection for internal cameras</strong>. All the external ones will track any suspect movement instead. Then, again using the clock as a trigger, in the morning the system gets disarmed when we get out of bed right before I get out to walk the dog.</p><p>The <strong>leave automation</strong> is more sophisticated and is based on the count of people (tracking mobile devices connected to HA) in our house zone. When the count goes down to 0 it means that both my wife and I left so the automation is triggered: the system is armed and <strong>motion detection is activated on all cameras</strong>. When coming back in the zone HA will see the count of people changing from 0 to 1 (or 2) and proceed to disarm the system way before we reach the external gate.</p><p>No one needs to remember to arm/disarm the system, it just works on its own now. We&#8217;re also using it way more than when we had to do it manually and this is priceless because it improves security for your family.</p><p>Until next time!</p><p>Daniel</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://newsletter.smarthomeautomation.it/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Smart Home Automation! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Automate]]></title><description><![CDATA[Endless possibilities for adding automations]]></description><link>https://newsletter.smarthomeautomation.it/p/automate</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/automate</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Thu, 07 Dec 2023 17:22:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ZJHb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZJHb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZJHb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 424w, https://substackcdn.com/image/fetch/$s_!ZJHb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 848w, https://substackcdn.com/image/fetch/$s_!ZJHb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!ZJHb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZJHb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:295803,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZJHb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 424w, https://substackcdn.com/image/fetch/$s_!ZJHb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 848w, https://substackcdn.com/image/fetch/$s_!ZJHb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!ZJHb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd416085-8dd2-4b29-92f0-ee5aa273e094_1920x1080.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I can definitely say that the only limit is your imagination when thinking about what automations you can setup for your home. Of course initially what could be limiting you is the amount/type of devices/sensors you have but with just a few you&#8217;re already on a good path.</p><p>Some of my current automations I like the most:</p><ul><li><p>enable/disable cameras and security system when leaving/coming home</p></li><li><p>start air conditioning when batteries are full and PV system is returning power to the grid</p></li><li><p>switching on outdoor lighting at dusk or when coming home during the night (after lighting has been switched off)</p></li></ul><p>Some ideas I will work in the future instead:</p><ul><li><p>lawn watering system with soil temperature/humidity sensors</p></li><li><p>advanced security involving door/window sensors</p></li><li><p>doorbell notifications through light alerts in the studio (for when I wear noise cancelling headset)</p></li></ul><p>Think about it for a minute, you'll come up with at least 3 different needs you wished to find a solution in the past. Go!</p>]]></content:encoded></item><item><title><![CDATA[How]]></title><description><![CDATA[Ok, I'm in! How do I start?]]></description><link>https://newsletter.smarthomeautomation.it/p/how</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/how</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Thu, 07 Dec 2023 17:20:28 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ArZ4!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb187e9ef-e6a2-4a11-9bcb-25f9db313835_1280x1280.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>There are many ways to run your home automation system depending on budget and experience. Focusing on Home Assistant, which is the platform I use at my place, I&#8217;d give you two options to start.</p><p>If <strong>you start from zero</strong>, you&#8217;re excited by this new adventure about home automation but you&#8217;re scared by having to do manual work to assemble the hardware needed and install all the software <strong>then <a href="https://www.home-assistant.io/green/">Home Assistant Green</a> is perfect for you</strong>. Let&#8217;s see why:</p><ul><li><p>it&#8217;s affordable: at $99 recommended price you have a good starting point and a minor loss if you find yourself not using it after some time (at that point you&#8217;ll easily find someone looking for one and sell it);</p></li><li><p>it&#8217;s plug-and-play as it comes ready to use;</p></li><li><p>comes with Home Assistant already installed, you really just need to power it and connect it to your home network.</p></li></ul><p>If <strong>you're more tech-savvy</strong> and want to have more control on the hardware you use then I&#8217;d suggest you to go with a <strong>Raspberry Pi</strong> 4 (or 5 by the time you read this) with 8GB of RAM. Why?</p><ul><li><p>it&#8217;s affordable: ~$90 new but you can find used ones for less (there are tons of RPi unused, ask some friends);</p></li><li><p>very low power device: and that&#8217;s great considering it will stay on 24/7;</p></li><li><p>reusable: even if you&#8217;ll discontinue your home automation journey you could still use it for other projects (<a href="https://pi-hole.net/">Network-wide Ad Blocking with Pi-hole</a> maybe?).</p></li></ul><p>Then with Raspberry Pi Imager you&#8217;ll easily <a href="https://www.home-assistant.io/installation/raspberrypi#write-the-image-to-your-sd-card">write the Home Assistant Operating System (HAOS) image to an SD</a> card to use on the Raspberry and will be ready to start. </p><p>Want more resources because you want to have Docker on this machine and run other services along the home automation? Well I guess you know already enough and are able to find the solution alone :)</p>]]></content:encoded></item><item><title><![CDATA[What]]></title><description><![CDATA[Basic concepts of home automation]]></description><link>https://newsletter.smarthomeautomation.it/p/what</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/what</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Thu, 07 Dec 2023 17:18:42 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ArZ4!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb187e9ef-e6a2-4a11-9bcb-25f9db313835_1280x1280.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A few things you should get used to before starting to dig deep in home automation are the following basic concepts:</p><ul><li><p><strong>entities</strong>: are the building blocks of your smart home automation system and most of the time represent a sensor to monitor physical properties or an actor/function of the system. They have one or more statuses the will be used to do &#8220;things&#8221;;</p></li><li><p><strong>devices</strong>: usually you&#8217;ll see them a real physical devices grouping one or more entities. An example could be a motion sensor that provides motion detection, temperature, and light levels as entities; </p></li><li><p><strong>integrations</strong>: are pieces of software that allow the home automation system to connect to other software and platforms (cloud included) so that devices connected to the external platform can appear inside your home system;</p></li><li><p><strong>automations</strong>: sets of repeatable actions set up to run automatically at specific times and/or triggered by state change of one or more entities;</p></li><li><p><strong>scenes</strong>: allow you to create predefined settings for your devices so that they change an environment to suit you. For example, your <em>watching films</em> scene<br>may dim the lighting, switch on the TV and increase its volume.</p></li></ul><p></p>]]></content:encoded></item><item><title><![CDATA[Why]]></title><description><![CDATA[Here the reasons why you should automate your home]]></description><link>https://newsletter.smarthomeautomation.it/p/why</link><guid isPermaLink="false">https://newsletter.smarthomeautomation.it/p/why</guid><dc:creator><![CDATA[Daniel Londero]]></dc:creator><pubDate>Thu, 07 Dec 2023 17:17:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ArZ4!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb187e9ef-e6a2-4a11-9bcb-25f9db313835_1280x1280.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>There are many benefits in embarking on a journey to building your smart home through automation. If I had to summarise the most important for me I&#8217;d go with the following list:</p><ul><li><p>improved <strong>security</strong>: make your home a safer and securer place for you and your family automating alarm and surveillance systems, water/gas/smoke leaks (and any other tool that comes to your mind) so that no one has to think about arming them;</p></li><li><p>higher <strong>convenience</strong>: control (almost) everything from a single device you always have with you (your mobile!) and receive alerts for things that need your attention, even remotely;</p></li><li><p>better <strong>comfort</strong>: adapt lighting colour temperature throughout the day, start heating/cooling when coming home, use scenes for specific moments;</p></li><li><p>highest <strong>efficiency</strong>: save energy optimising usage of resources (especially electricity) with optimal scheduling of appliances and taking full advantage of any renewable source system you may have.</p></li></ul><p>Additionally all the above mentioned could be achieved with systems like <a href="https://www.home-assistant.io/">Home Assistant</a> that put <strong>local control and privacy</strong> first, allowing also to integrate thousands of different devices you could already have.</p>]]></content:encoded></item></channel></rss>