Monday, March 25, 2024

Revamping My Home Assistant Setup: A Power-Saving Journey

Embarking on a mission to revamp my Home Assistant setup, I waved goodbye to my trusty Raspberry Pi and welcomed a dedicated x86 system into the mix. Surprisingly, this shift wasn't about beefing up performance but rather about optimizing power consumption, with a side benefit of streamlining my setup and waving goodbye to my energy-guzzling Unraid NAS for most of my day.

The hardware I repurposed for this endeavor initially served as a router/firewall, boasting a generous 6 2.5Gb ethernet ports. Admittedly, it felt like overkill at first glance, but since it was just gathering dust in storage, it became the obvious choice. A quick tweak involving installing a larger SSD to handle caching for immediate media consumption sealed the deal.

Transitioning with the help of Home Assistant OS's backup capabilities was surprisingly smooth sailing. However, the plot thickened when I threw MariaDB and Nginx Proxy Manager into the mix. While sticking solely to official Add-ons would have been a breeze, my setup's complexities demanded a bit of extra finesse. Anticipating issues with MariaDB, I preemptively created separate backups, ensuring I didn't lose crucial data during the transition.

Initially, the primary backup seemed flawless, but the real challenge arose during the restoration of MariaDB. After a frustrating uninstall-reinstall cycle, sacrificing historical data in the process, things seemed to stabilize. Or so I thought. As the day unfolded, accessing the system internally and externally became a game of whack-a-mole. Blaming my Google Wifi system at first, I juggled with MAC addresses and port forwarding rules, only to realize that the real culprit lay elsewhere.

Cue the re-restoration, this time opting to hold off on installing the Nginx Proxy Manager Add-on until after manually reinstalling MariaDB. Lesson learned: sometimes, the order of operations is everything.

With the dust settled, I've seamlessly integrated my Unraid system's SMB share, granting access to a single Plex instance that effortlessly toggles between media stored on Home Assistant's SSD cache and the larger library on Unraid. The result? I can now power down the energy-hungry Unraid beast until it's absolutely necessary, saving a whopping 250 watts of continuous power consumption while only adding a modest 15 watts to Home Assistant's load.

In the end, this hardware upgrade isn't just about saving power; it's a testament to the beauty of adaptability and the joy of a finely tuned smart home setup.

The next step that I still need to investigate is learning more about Maria DB. While my current Home Assistant instance lacks my historic data that was lost in this migration, that data still exists on my Raspberry Pi. If I want to invest the time, I can probably figure out how to export the data to my current system. But alas that is a project for another weekend.

Sunday, March 24, 2024

Keto Journey: A Rollercoaster of Success and Carb Temptations

So, here we are, folks—time for a Keto Challenge Update! Let me just say, staying committed to my diet until Pi day felt like a personal victory. Sure, I had a couple of "cheat days" on Groundhog Day and Leap Day—after all, as they say, "Real life is for March." But despite those minor detours, I proudly stepped on the scale on March 14th to find myself staring back at a number I hadn't seen in a while: 266.8 pounds. That's right, a staggering 32-pound loss. Now, sure, some of that initial drop was probably water weight bidding me adieu, but a significant chunk of it? That was pure, unadulterated fat crying out for mercy.


Now, let's talk tools of the trade. I've become something of a data-collecting aficionado on this journey. My arsenal includes the Carb Manager app, my trusty blood glucose meter, a blood ketone meter for those deep dives into ketosis, the Withings scale to keep me honest, the Withings blood pressure monitor for good measure, and let's not forget my ever-reliable smartwatch. Do I understand every nuance of this mountain of data I've collected? Not entirely. But hey, knowledge is power, right? And who knows, maybe somewhere down the line, all those data points will come together like pieces of a puzzle, guiding me toward some groundbreaking dietary revelation. Or at least helping me figure out if that extra square of dark chocolate is worth it.

Now, onto the future. I've got my sights set on another stint of keto goodness to keep chipping away at those pesky weight issues. But before I dive headfirst back into the land of bacon and avocados, there's a small matter of emptying out my chest freezer. See, during the winter months, that freezer is a godsend, allowing me to stock up on all manner of carb-heavy comfort foods without risking life and limb in the grocery store during a snowstorm. But come summer, it's time to bid adieu to my frozen carb stash. Not only does it put undue stress on the poor freezer, but let's face it, it's not doing my waistline any favors either.

So there you have it, folks. The ups, the downs, and the frozen pizzas lurking in my freezer. This keto journey of mine is far from over, but with a little perseverance and a whole lot of data, I'm confident I'll get to where I want to be. And hey, if all else fails, there's always Pi day to look forward to next year.


Saturday, March 16, 2024

Green Thumb: A Smart Approach to Watering

They say the best time to plant a tree was twenty years ago, but hey, the second best time is right now, isn't it? Inspired by this wisdom, I finally decided to add a touch of green to my home. After much contemplation, I settled on two dwarf trees: a charming apple tree for the back yard and a delightful cherry tree for the front. Opting for dwarfs not only promises easier fruit harvesting but also ensures minimal interference with my home's solar panels. Sure, there's a slight possibility that the cherry tree might cast a shadow on my panels, but compared to the towering trees across the street, it's a negligible concern.

Initially, I toyed with the idea of planting both trees in the back yard to safeguard my solar setup. However, the thought of my furry friend turning into a cherry-stained furball and darting through his doggy door quickly caused me to dismiss that notion.


These aren't just any trees; they're what I like to call "jubilee trees." What's special about them? Well, they boast branches that promise a cornucopia of flavors. My apple tree, for instance, will grace me with the delights of Liberty, Honey Crisp, Gala, and Granny Smith apples. As for the cherry tree, it's a medley of Bing, Stella, Lapin, and Rainer cherries. Each variety brings its unique taste, ensuring a palate-pleasing harvest.


Now, onto the watering regimen. With the initial weeks demanding daily attention and the foreseeable future requiring routine care, I knew I needed a smart solution. Cue the reinstallation of my trusty Orbit B-Hyve smart watering devices. However, this task wasn't without its challenges. Neglected over the winter months, these devices decided to greet me with leaks upon reconnection. Disassembling them revealed the culprit: displaced tubing due to winter's icy grip. A bit of careful re-threading, and voilà, problem solved!

While I'm yet to locate the elusive Wi-Fi adapter for the Orbit system, the devices still play nice via Bluetooth and their smartphone app. Admittedly, the app leaves much to be desired, and the reliance on external networks isn't my cup of tea. But for now, it serves its purpose, sparing me the hassle of crafting my own solution or splurging on a high-end, locally controllable system.

As I gaze upon my newly planted trees, I can't help but envision the literal fruits of today's labor a couple of years down the line. Here's to nurturing nature and reaping the rewards it bestows upon us. Cheers to green thumbs and smart watering!

Wednesday, February 21, 2024

Elevating Piano Learning with modern technology: From the One Smart Piano to Piano Vision App

In the whirlwind of life changes brought about by the onset of the Covid-19 pandemic, my aspiration to learn the piano took a backseat amidst the chaos. Before the world turned upside down, I had invested in a One Smart Piano, enticed by its promise of illuminating keys to guide my fingers through the melody. However, as remote work blurred the boundaries between professional and personal life, my structured practice routine fell by the wayside.

But as the dust settled and I found myself navigating the new normal, I decided to reignite my passion for piano with a modern twist—virtual reality. Enter Piano Vision app for the Oculus Quest headset, a revolutionary tool that has redefined my learning experience.

Gone are the days of struggling to find motivation amidst the blur of working from home. With the Piano Vision app, learning feels like a thrilling adventure rather than a mundane chore. Utilizing the Quest's mixed reality capabilities, the app transforms any flat surface into a digital piano , or better yet, synchronizes seamlessly with a MIDI-compatible piano for unparalleled accuracy.

One of the app's standout features is its ability to display upcoming notes akin to the iconic interface of Guitar Hero, providing a visual roadmap of the melody ahead. It's as if I'm embarking on a musical journey, chasing notes instead of frets, with each successful keystroke bringing me closer to mastering the song.

The genius behind the app has harnessed technology to enhance the learning process, bridging the gap between traditional piano instruction and modern innovation. While I may not rival Mozart anytime soon, I'm fueled by the prospect of mastering the two songs that initially inspired me: "Walking in Memphis" and the beloved "Cheers Theme."

Beyond mere proficiency, my goal is simple— answering that all-too-familiar rhetorical question that people ask after they see someone playing an instrument for the first time: "You can play the piano?" with a truthful sarcastic sounding answer that I can actually only play that one song. And while my repertoire may be limited to either one or two songs, each note serves as a testament to the power of perseverance and the boundless possibilities of technology-enhanced learning.

In this digital age, the journey from novice to virtuoso is no longer confined to the confines of a traditional classroom. With tools like the Piano Vision app, anyone with a dream and a Quest headset can embark on their musical odyssey, one keystroke at a time. So, here's to the future of piano learning—where innovation meets inspiration, and the notes of tomorrow are just a VR headset away.

Sunday, January 21, 2024

Keto Chronicles: A Weight Loss Journey with Determination and Data

Since July 2022, I've been on a serious mission to shed those extra pounds, and the journey has been nothing short of transformative. Over the past year and a half, I've bid farewell to around 50 pounds, employing the keto diet in strategic bursts. It's been a dance with water weight, the elusive companion that seems to vanish and reappear with every foray into or retreat from the ketogenic realm.

As the calendar turned, I decided to make a New Year's resolution that would challenge my commitment to keto like never before. The goal? Stick with the ketogenic diet until March 14th—a significant date that not only marks Pi Day but also heralds the celebration of annual bonuses at my workplace. A dual incentive to maintain discipline and savor the rewards both on and off the scale.

So far, my dedication has been unwavering, and my trusty breathalyzer, the ketone-tracking companion, reports a consistent 0.3 mmol/L. The result? A remarkable drop from 298.6 lb to 287.3 lb in the first three weeks of the challenge. The numbers on the scale tell a story of commitment and progress.

Embracing a new tactic to amplify my keto success, I've welcomed the Carb Manager app into my routine. Now, not only am I monitoring carb intake, but I'm also keeping a watchful eye on ketones, glucose levels, and weight. This holistic approach aims to propel me into the ideal ketone range, as I strive for a more profound understanding of the intricate dance between nutrition and ketosis.

The journey continues, with each breathalyzer reading and Carb Manager entry serving as a testament to the commitment and discipline required to achieve weight loss goals. As Pi Day approaches, I'm not just anticipating a slice of celebration but relishing the triumphs of a keto journey that extends beyond mere numbers on a scale. It's a holistic transformation—one that's shaping not just my body but also my understanding of mindful eating and the resilience that comes with unwavering determination. Here's to March 14th and the victories that await both in the workplace and on the wellness front!

Friday, January 19, 2024

Navigating Smart Home Updates: A Cautionary Tale and the Importance of Due Diligence

In the ever-evolving landscape of smart homes, staying up-to-date with software updates is crucial. However, there are times when the convenience of modern technology clashes with the fear of potential disruptions. Let me share my recent experience with delaying updates on my Home Assistant instance and the lessons I learned along the way.

Living in a smart home powered by Home Assistant adds a layer of dependency on technology. While the ability to control lights or adjust the thermostat manually still exists, any prolonged outage feels like a leap back into the stone age. With this mindset, I found myself hesitating to install new updates, considering my Home Assistant instance as mission-critical.

One of the key lessons I've learned is the importance of diligent research before applying updates. While I acknowledge the need to read release notes thoroughly, I confess to being occasionally lax in this due diligence. This oversight nearly led to a significant issue with the recent update to the Nginx Proxy Manager.

The update, marked as version 1.0, clearly stated that it would remove all configured proxies. This critical piece of information, was clearly outlined in the release notes, could have caused substantial disruptions had I not taken the time to review them. It's surprising that there isn't a built-in backup/export option within the Nginx Proxy Manager, adding an extra layer of caution to the update process.

Fortunately, my delay in applying this particular update proved beneficial. Browsing through the HomeAssistant subreddit, I stumbled upon numerous users sharing their grievances about the update. Leveraging their experiences, I manually documented the various routes I had exposed for my services running as Home Assistant addons. This documentation might aid in future recovery efforts if I ever encounter a catastrophic failure as Nginx Proxy Manager relies on the MariaDB which is notoriously difficult to recover backups of with Home Assistant.

This step-by-step approach helped me avoid the pitfalls that others had encountered. Also by conducting the update during a period when I knew I would have ample time to address any issues and deal with a planned outage of critical services by adjusting my various smart devices to ideal states while the update was conducted.

While I typically include screenshots in my documentation, I refrained from doing so in this instance. Unlike exposed ports, various subdomains aren't readily advertised to the general public. Recognizing the potential security risks, especially considering the days of exposed ports and basic port scans, I opted to keep this information confidential.

In conclusion, my journey through this smart home update serves as a cautionary tale. It emphasizes the need for a balanced approach to updates—promptness tempered with thorough research. In the realm of smart homes, where technology is both a convenience and a vulnerability, staying informed is the key to a seamless and secure experience.

Wednesday, January 17, 2024

Second Home Assistant Instance

Expanding in the realm of smart home automation, I recently subscribed to Nabu Casa's Home Assistant Cloud—a decision driven by my desire to support the development team and simplify the management of the Home Assistant instance at my parent's home. The promises of seamless remote access without router/domain configurations proved true, bringing convenience to a new level.

While the subscription streamlined the connection process and allowed me to link my parent's Amazon Echos effortlessly, I encountered a significant hurdle when attempting to integrate a 5TB external hard drive into the system. My initial plan was to use the external HDD as the boot device, but an incompatible USB adapter thwarted that effort. Undeterred, I repurposed the drive as a data disk, only to face issues with the filesystem after heavy disk writes within a week.

Caught amidst holiday chaos, I lacked the time to order the appropriate hardware for a more sustainable solution. In a pinch, I turned to the third-party SambaNAS addon, which enabled me to mount the disk and create a Samba share of its filesystem. This workaround seemed promising, allowing Home Assistant to connect to the external drive using the Samba protocol and providing access to its contents. However, a new challenge emerged as the Samba connection failed every few hours, requiring manual re-initialization.

Despite these setbacks, my ultimate goal remains unchanged: to mirror media in a second Plex server running as an addon and establish a Nextcloud instance for offsite backup of personal files. The prospect of running critical services and data backups on a low-power Raspberry Pi holds great appeal, anticipating the day when proper hardware configuration replaces the current makeshift setup.

In navigating the complexities of smart home integration, this journey has become a testament to the evolving nature of technology. Despite the challenges, the allure of a seamlessly connected and automated home, backed by robust backup solutions, keeps the momentum alive, promising a future where smart homes truly live up to their potential.

Wednesday, January 10, 2024

Podcast Hype Realized: Streamlining Remote Access with Tailscale in my Smart Home

Intrigued by the incessant plugs on various podcasts, I finally took the plunge into the world of Tailscale—a decision fueled by the allure of a free-for-life basic account and the promised ease of setup. True to the advertisements, the setup was a breeze, prompting me to explore its potential in enhancing remote access to my smart home.

While I had been using the Wireguard addon in Home Assistant for a VPN on my cell phone, Tailscale presented itself as a compelling alternative. The idea of ensuring constant network access, even in the face of an ISP-induced IP address change while I'm away, fueled my desire to experiment further.




Managing my Home Assistant instance, housed under my physical control, I took a proactive step by disabling key expiry. This ensures that I won't inadvertently forget to renew the key, providing uninterrupted access even when I'm miles away from home. The newfound confidence in always having access allows me to fine-tune my home's heating and cleaning settings with ease, even when on vacation.

The initial results have left me impressed, and I'm inclined to explore using Tailscale to simplify remote access and potentially enhance the security of my home network. The prospect of closing every single port on my router using Tailscale and Home Assistant Cloud is a realistic consideration, given the smooth performance thus far. While I usually steer clear of relying on third-party services in my smart home, Tailscale seems like it might end up being a permanent exception. The flexibility to switch back to Wireguard and an open port if Tailscale falters ensures a safety net, making it a reliable addition to my smart home arsenal.

In a world of endless possibilities and evolving technology, Tailscale has proven to be more than just podcast hype—it's a tangible enhancement to my smart home experience.

Monday, January 1, 2024

Freedom Unleashed: Disney's Iconic Mickey Mouse Breaks Free from Copyright Shackles

It is a day I never thought would come; the renowned Mickey Mouse has broken free from the clutches of the Micky Mouse Curve. The iconic character, a cornerstone of Disney's empire, is now on the loose as Disney's copyright on the 1928 short film "Steamboat Willie" has finally expired, landing it in the public domain. Had I shared this short just a day ago, it would have been deemed a criminal act—talk about the winds of change.


While "Steamboat Willie" may seem quaint by today's animated standards, it served as the launchpad for a colossal entertainment empire. Reflecting on the stark contrast between this early animation and today's sophisticated films and shows, it's awe-inspiring to witness the humble origins of a cultural phenomenon that has stood the test of time.

Yet, Mickey Mouse is just one of many creative works that have now been set free for the people. The shackles of copyright have loosened, allowing a multitude of artistic treasures to enter the public domain. If you're curious about the plethora of works that have joined the ranks of freedom, CopyrightLately has compiled a list of some of the more popular items on their website: Public Domain Day 2024.

This significant moment marks a celebration of creativity, as once-guarded treasures become accessible to a wider audience. It's a testament to the evolving landscape of intellectual property and a reminder that even the most iconic characters, like Mickey Mouse, can now be embraced and reimagined by new generations. So, let the adventures in the public domain begin, and may the legacy of these timeless creations continue to inspire and captivate audiences around the world.

Sunday, June 4, 2023

Garage Door Local Control

 In an effort to further remove my homes dependency on the internet for my smart home gadgets I have just replaced my smart garage door opener.  While my MyQ opener worked fine for the last few years, it did have a single outage caused by MyQ service changing a header requirement which one of the open source contributors fixed in the following release of Home Assistant.  To eliminate the posibility of this happening again and as that I could stop worrying about a door to my house being exposed directly to a third parties servers.  This also removed the dependency on batteries that the MyQ sensor required.

ESP home was the solution I turned to. This allowed me to use one of the many D1 Minis I have on hand for WLED projects and gain complete local control. Since I used ESP home I was able to directly integrate with my Home Assistant instance without having to expose the opener to the broader internet.





















All I had to do was use a rely hat wired to the same contacts to dumb button uses and add a magnet and reed switch to detect when the garage door is closed. I could also add an additional reed switch sensor for the fully open position, but I don't feel need to have that at this point. 
All of this circuitry was able to be mounted directly to the existing garage door opener. It is a little crazy to think that my garage door opener that is almost as old as I am is now hardwired to the internet in a round about way. 







Saturday, May 20, 2023

Chore tracking

As the seasons have changed I have started to have to mow my lawn again. This had me once again considering buying a smart lawn mower to automate this task. I think that is both driven by my not wanting to waste time outside and several youtuber's reviews of the EcoFlow BLADE.


While that does look really cool and a leap forward in technology for smart mowers, it still has a price tag that makes me hesitate upgrading. Two other factors have stopped me from buying one;  I don't really know how much time this will truly save me and I don't know how well those mowers will hold up.

Only time will tell if they are truly well made enough to last and function week after week. As I wait for that technology to mature a little more I have decided I should probably quantify the time savings I would get if I do every purchase one.  Que Home Assistant to track this data.

 I have added a few helpers and scripts to Home Assistant to collect this data. A new chores tab has been added to my dashboard. Scripts are called when they are selected on the dashboard; this triggers an update to the Last Mowed  date/time value and increment the count for the season.

Since I have this new tab setup I decide I should add similar chore counters for devices that could automatically be tracked based on existing integrations/data. So far this includes laundry, dishes, and vacuuming. This might eventually be enhanced to include car charging and collecting the mail. 


Additionally I have started adding tracking for less frequent tasks including routine pest control spraying. I also moved the details for my air filter changing since it seems to fit here well. 






Smart Home Switches for Older Homes: A Neutral-less Journey 🏠💡

For many of us living in older homes, the dream of a seamless smart home can quickly become a frustrating reality. A common hurdle? The lack...