How @code-in-progress Broke My Foot

aka - My Home Assistant Green Setup Journey

Okay, @code-in-progress is really only marginally responsible for my broken toe, but it was part of the process of setting up my Home Assistant Green. As of posting this, I’m 2 weeks away from being recovered from this broken bone. And so far, it’s the only bone broken!! :crossed_fingers:

Wait, our community manager doesn’t actively use Home Assistant?” :see_no_evil: It’s my biggest shame in my role but I am finally in a position to commit time to this. I have a few small automations I can set up in my house now that I have a couple smart switches, a few Apollo Automation devices, and some motion/presence detectors; I’ll leave the links to those at the bottom of this post. This story is a wild ride that I wanted to share with you all as I move through this journey, stick with me. (And there will be updates, I am not even close to finished…)

Let me start with advice for new users to share the frustrations I ran into so hopefully y’all don’t run into these, too.

  • Buy a Home Assistant Green if you are new to tinkering with electronics. THIS IS NOT AN AD, I PROMISE. I’m familiar with tinkering, have several Raspberry Pi devices and a Green, and the Green is by far the easiest way to get started because you don’t have to install the Pi Installer to flash SD cards.
  • Get a good SD card. Much like hard drives for PCs, the cheaper you go, the quality drops significantly. If you want your device to respond quickly, go for a higher quality SD card. Look on the web for articles like this or for forums/Reddit posts talking about good quality SD cards to help you decide which one you should get. (To clarify, you only need this if you go the Pi route. Thanks @SonomaGTS for calling out this wasn’t clear. :3)
  • If you want to set up anything Bluetooth that isn’t connected through one of your big box devices (Google, Alexa, Apple), you have two options. I found here on our forums an adapter that I plan on using (haven’t set it up yet, but the link will be in the hardware list below). You can also set up BT proxies with ESPHome - I will go over that more later, because it was one of the biggest headaches I ran into.
  • Expect road bumps. Seriously. I do not believe your technical level matters too much in this case, because I have seen very technical people get stuck at a variety of steps from beginner’s to very advanced setups. Prepare for a little pain.
  • Watch our release party live streams before you get started to reduce that pain. I will say that being involved in the release parties really helps me understand how to use Home Assistant in a way that I do not feel videos or documentation can. The reason why I suggest this is mostly because you will get the most current information about HA and you get the opportunity to ask the people working on it questions live.

I think that sums up my biggest pain points (aside from my foot) fairly well. Now for the meat of my journey!

It begins…
This (not short) story starts with me breaking my foot while trying to set up the Apollo Automation devices at the beginning of July. I figured this would be the easiest place to start, but joke’s on me. I do not suggest new users go this route, I suggest starting with devices like door or motion sensors, or lights. I immediately ran into issues with my AIR-1 not properly installing the image within ESPHome in HA - ENTER BILL. I “followed” the steps Apollo provides (more on that later) but the AIR still refused to show me its entities in Home Assistant no matter how many times I tried to install. I am way too frustrated at this point. Bill, in his infinite patience, tries to walk me through accessing the boot button on the AIR and tells me I need a hex key to open the device to access it. I throw an exasperated GIF into our chat and go into my garage to find the hex key set I have. After I already left my office, Bill then tells me I don’t actually need it. It was too late, I was on a grand adventure.

My garage is probably like yours - there is junk piled up in one section that we want to sell but haven’t yet, making it impossible for me to access the toolbox I needed. I am the shortest adult in the house and the others could reach it without issue, but neither of those adults were home at the time. I start moving things around to help me reach the toolbox, and I find a good solid place to put my feet flat without climbing on things. In retrospect, maybe it would have been better if I just tried to climb up the pile. :thinking: As I’m trying to push the lawn mower to the side, I feel something crawl across my foot and, much like any other person in my situation, I pull my foot up to shake whatever it was off…

straight into the metal bar of the door frame pull-up bar I found my footing in. I immediately realized I caused a ton of damage to my foot, but still managed to get through the doom pile and got the hex keys. I came back to Bill’s message about it not being needed and told him that I am pretty sure I broke my foot getting that tool I did not need. :melting_face:

Needless to say, I decided I was not going to come back to Home Assistant that day. Or that week. I was too flustered to understand or follow any more steps, my foot hurt, I was done.

Great opening to my journey, right?
This story picks back up the weekend of July 26th, my foot finally feels stable enough for me to do a lot of moving around while I am testing stuff I try to hook up. I decided to tackle the AIR first (again). I feel confident - I was told the image should be fixed, I know how to reset the device, I CAN DO THIS.

You know what’s gonna happen here…

I (first) was not hitting the correct boot button on my AIR. It took me maybe 3 times of trying to re-image it before I realized I was probably doing it wrong. I turned my device upside down and do the boot mode steps again - something different actually happens in ESPHome! And then HA tells me there’s an update for it!! :exploding_head: Finally getting somewhere.

Except I still don’t see entities. :rage: Bill is super confused by this, and it means that the flash didn’t work again. He asks me to click EDIT on the device in ESPHome to look at the YAML only to find it’s missing the packages: line, meaning it’s not pulling anything from GitHub.

Jeez, okay, I need a break from these devices now. I have other things I can focus on that I think will be less stressful or difficult. Let’s look at the bluetooth stuff I need now. :face_exhaling: This lasted maybe 10 minutes, I am not kidding. I took one look at the BT proxy page, realized that I had no idea what to look for with regards to “ESP32” devices, and actively gave up. It was entirely too overwhelming for me at the time. For now, I decide to just go with the adapter I found and will complicate things at a later time. (Grateful to my lead, Guy, who helped me out this week after I aired my frustrations about that at him. Once I get that project up and running, I will probably have a separate post.)

Back to the Apollo devices…

So Bill attempts to walk me through installing the image manually while I am in another chat ranting at my team about my struggles - it had been 5 hours at this point. One thing I am upset about is that the bottom of Apollo’s installation instructions doesn’t point to manually installing if the Home Assistant method doesn’t work, it just suggests going to Discord. I was absolutely upset at the wrong thing here…

I later realized I missed that these steps Bill was walking me through were at the top of the page, the whole time. I did the most New User thing I could have done - I saw that there was a way to use HA to install it and assumed it would be better, completely ignoring the manual steps above the HA steps that Bill had to walk me through. I was also so frustrated I couldn’t grasp on to what he meant when he told me to connect to its hotspot - if only I started with the top of the page… :person_facepalming:

We successfully get things installed properly following the manual instructions. FINALLY I can see entities for my AIR. Hot damn, the manual installation is so smooth, I cursed myself for making things harder on myself by not reading but I HAVE ENTITIES. I proceeded to go through my MSR-2 and MTR-1 installations in a breeze with the manual installation and set those up within 30 minutes.

Seriously, why didn’t I read the whole Getting Started page? I don’t know. I can only assume someone else would do this, too. Hopefully someone learns from my inability to read. All I did was manage to put myself through an autistic meltdown. :weary:

I then try to calibrate the AIR so that I can set it up. It never shows up as online while plugged in outside. I try another outdoor access. No go. It works just fine in my office, though! Well, turns out I got a revision of the AIR’s board that had copper soldered too close to the wifi chip and uh it kind of makes it useless. But I didn’t know that until I talked to Justin at Apollo. I guess I can’t continue with that project yet. Today I got the replacement, huge thanks to the guys at Apollo for helping this newbie. :clap:

That was just one day…
Alright day one down, onto the next! :skull: This time I decided to start with ELECTRICAL, YEAH. I want to install a couple smart switches I have but my house doesn’t have any of the wires labeled in any of the gangs installed in my walls - a problem when you are trying to upgrade from regular switches. This process included not only looking up how to test wires in my wall, but how to use the manual multimeter I bought for it. Did you know most instructions for testing electrical assume you have an automatic multimeter and don’t account for manual devices? I didn’t! Luckily, it really doesn’t take me long to figure this out.

The 2-gang I decided to try to install my first ever smart switch in probably wasn’t the best way to start. Identifying the load and line wires wasn’t hard at all - figuring out which neutral and load wires I needed to get the smart switch set up was a different thing. :grimacing: Thankfully my breaker box and this switch are in rooms next to each other so going back and forth to turn the power on and off for the room wasn’t awful but I did it so much to test things out. Using the way the smart switch’s instructions displayed the wiring, and after trying a few different wire connections in this 2-gang box, I think I figured out how to get things hooked up finally. I turn the power on, and the breaker pops the second I turn it on. :weary: Welp, okay. I successfully hooked it all back up the way it was, and made a plan to try on a 1-gang switch in another room to see if it was maybe just the amount of wires to choose from for me.

That project didn’t fail, but I did learn a lot! I have more I can try, and if I need to I have a friend who’s an electrician who can check things out for me. Next thing to tackle - the new thermostat.

I only have a heating/air unit in my house because I live in the Pacific Northwest and infrastructure here was built for a climate that no longer exists! The thermostat that’s in this house is probably the one that was built into it 20 years ago, and I assume replacing it will help me control it better. One thing I was hoping to fix was that my air seemed to come on at random times, even when the entire thermostat was off. It had baffled me for two years. The process of replacing my thermostat helped me discover a “feature” of my unit: “fresh air intake”; and it has a timer on it at the top of the unit behind one of the vents near the ceiling in my garage. No wonder I didn’t notice this! I put that to the back of my head, no time for this just yet because I am on a mission.

I kill the power to where the heating unit and the thermostat are and start pulling things out. I have a bunch of cool wires in the hole for the thermostat electrical that aren’t labeled but at least these ones are colored. I look up what seems to be a good source of what HVAC wiring colors should be and attempt to label them. I am pretty sure I did this all wrong. No manner of hooking up the wires I think I have to this thermostat is giving it power. Well, shit, okay there’s another thing I need my electrician friend to help with. I hook the old thermostat back up and it works just fine…

See? That’s why I am pretty sure I am doing things right - I suppose I am just at the point that I need an expert to come look at my electrical. I gave up for the weekend here, as it had been hours of standing while wearing an ortho walking boot and working on electrical that day for me.

…except what about that timer on my heating unit? I have to scratch that itch before I fully give up! I grab the manual for it, which is still available in a metal pocket on it despite it being a 20 year old unit, and the front pages explain what that fresh air intake timer thing is. What the hell. This thing has been pulling in air into my house just on a random schedule?? Like the 85F+ air we’ve had most of this summer?? Or all the allergens from the spring?? The freezing, humid air of the winter??? Jeez, things makes so much more sense to me suddenly, so I turn off the fresh air intake after learning how to set the timer.

(I would like to warn people here: I turned this off because we often have our windows open, the house is very well ventilated. This fresh air intake is beneficial for people who can’t have windows open and need to have their air recycled to reduce CO2 in their homes. Please take that into consideration if you discover you have one of these.)

And that’s where I am!
Completely nowhere, yet so much has been done. I will get back to trying to set stuff up because I do have lots of tech I can do something with now. Here are my plans:

  • Automate the mud room light with door sensors and a presence sensor. I want the light to stay off unless one of the doors is open, or if the presence sensor sees a body in the room with both doors closed. This is the room my smart switch is supposed to be used in, but I might just go with a smart bulb in there instead.
  • Send the robot vacuum into my office when the cats use the litter box here. I have sensory issues and litter across the hard floors is a nightmare. I want to use a presence sensor where only the cats will trigger it, have it wait for 2 passes, wait a few minutes, and then send in the vacuum to clean up the hard floor section.
  • Automate the lights on the front of my house. We don’t have a lot of street lights where I live, and I have bushes and trees that block the little light available on the path to my porch. Not to mention it gets dark up here around 4pm in the winter. I want to use a motion sensor to tell my front patio light and some path lights (yet to be bought) to turn on for a specific time frame.

I know these are all small potatoes compared to what some of y’all have done. More plans include integrating our Echo devices via Home Assistant Cloud and setting up a Zigbee mesh network with some plugs and the SkyConnect (now ZBT-1). I am also looking into how to contribute to the project directly by adding in a new language! This means I’m going to have to get more of my voice stuff set up eventually, too. :grinning:

Here’s all the hardware I have right now, if you are looking to buy products that the community has shown me works (and I’ll for sure update this thread with my thoughts):

I managed to write a novel here and it’s essentially only chapter 1! I am going to tackle things again this weekend, so I will very likely have an update next week for y’all. :laughing:

I’ll leave you with these questions: What’s the hardest project you built (or tried to build) in Home Assistant? Did you solve it? Is it still sitting off to the side, judging you as you work on other things? Let us share each other’s struggles! :grin:

7 Likes

Yes, but I use one every other day. That could have ended badly if it was a cheaper meter. :grimacing: I’ve designed and built commercial 1200A mains power filters with lightning protection but I still get an electrician in to do electrical work in my house. Don’t shake hands with the angry pixies (aka electrikery).

Probably this: Serial Projector control with ESPHome

Electronically pretty simple but I had to use the serial protocol analyser of my digital oscilloscope at one point and then I still needed help from the ESPHome experts to get the UART buffer to work correctly. Fortunately their discord channel is really helpful and we got it working.

Regarding not reading instructions that were right there the whole time - I’ve done this just recently. I spent a while researching how to add hard drives to Proxmox VMs (I’m very new to this) so I could set up my shiny new Scrypted network video recorder. It did not work well. When seeking help the developer of the NVR software immediately asks me why I did it that way and not as per their (much simpler) written instructions which I had completely overlooked. :man_facepalming:

1 Like

I know these are real words and yet… :rofl:

I suppose I know who to come to for electrical stuff now. I was quite careful, I have proper protective gear thanks to all the weird crafting things I do. :laughing: My electrician buddy should be visiting in the next couple weeks to bring us a rocking chair (unrelated to my smart home woes), I will absolutely update the thread with whatever idiocy is happening in my walls. :joy:

1 Like

Ah. Before we start, would you mind signing this personal injury waiver of liability please?

1 Like

That Bill guy sure sounds like a pain

5 Likes

Right??? That guy is a jerk!

7 Likes

Welp, my update came earlier than expected. :sweat_smile: Welcome to what I am now just considering blog-style updates in this thread…

This weekend I spent setting up most of my Zigbee devices. This was so easy, I actually had fun playing with things! Er, well, until yesterday. One thing I ran into immediately (and I am hoping we can improve the documentation for this soon) was that my Green didn’t auto discover my SkyConnect1. The setup documentation doesn’t really go over this scenario, but I decided to jump to Step 52 and see if setting up the Zigbee integration would help me. It did! Following the steps from there got my SkyConnect set up and ready to find more devices! :muscle:

Within an hour, I set up 4 smart plugs to get my mesh network started and have 2 plugs connected to lights. I added in a couple of the Aqara contact sensors and the Third Reality motion sensors to start other projects up. The fairy lights behind me at my desk are plugged into one of the plugs, and then I set up my first automation! It’s just turning them off at night (5pm) and then back on before my work day starts (7am). I was very proud of myself - messing with automations is always fun for me and I look forward to making more. I can now see how automations can be as simple or as complicated as you want them.

One of the sensors I was going to use in the mud room with the two door sensors (to account for having our dog in there when we’re away), but instead I might use a scene to control the light and sensors in there and trigger it with voice. I couldn’t find a good spot for the sensor that wouldn’t risk it getting damaged. The other sensor I have set up in my office in front of the cat litter box where it will not be triggered by me on accident while at my desk. This was to see about setting up the robovac coming in and cleaning up every time the cats use the box.

I learned from overnight data, turns out the cats use that thing entirely too much for a frequent vacuum trips here in the office. :grimacing: This instead helped me determine that I will have the robovac come in the morning before my work day starts to make sure the overnight mess is cleaned up, but also create a counter to clean it up when the cats drag out so much.

Then I spent several hours trying to figure out how to keep the plug on the mesh network while the switch was off. After hitting a wall attempting to use an entity to control the power to the device, I ask in Discord if I am making things too complicated.

I was. Of course. :weary: The best way explained to me was, “If it didn’t have some power, how would you control it?” Duh, Missy. I should have known this…

But there was something wrong with the door sensors I installed in HA that I really needed to fix now. I could not get them to register when the door is open. I press the button on the sensors and they both send it back to HA, and they’re both in my network map. I remove them from my devices and add them back on through the Zigbee integration, directly with the plug they are closest to, directly with the SkyConnect. They just refuse to activate and register when the door is open.

After trying to rule out interference with my gateway by separating devices in my office further, I have an idea to try the 3rd sensor that isn’t installed on a door. I set it up in HA, take the magnet, touch the sensor, pull it away, IT SAYS OPEN. WHAT. THE. HELL. Why does this one work?? I stared at the device for a few minutes thinking about everything up until now. There is no way the 2 on the doors are broken this bad, and my mesh isn’t weak (but it’s also not the strongest, I’ll be using advice from Hedda here to make sure it’s better). I grab the loose magnet and take it downstairs to the mud room where the other sensors are, touch it to one of the sensors while I have the HA app open on its device page then pull it away. OPEN. It suddenly hits me.

Guys. Guys guys guys. I installed the sensors and magnets on the doors too far apart. :woman_facepalming: I even measured to make sure it would be within what the booklet says! Ugh. I pull them off the doors and frames they are stuck to, remove the sticky from the devices, and that is now where I am. Next I will be moving my Green and the SkyConnect to a more central location on my second floor - I have an ethernet cable more than long enough to do this; and setting up the door sensors closer to each other on their respective doors. I now have 6 WiZ lights on their way to me, which means I will be able to automate the mud room light tomorrow! :raised_hands:

…next update TBD. But I will say that I am learning so much about what the best ways to learn this system look like. I am excited to see if I can shape it into something useful for everyone. :3

1 I got my device a couple months before the name change from SkyConnect to ZBT-1. While I talk about my device as being a SkyConnect, the name of the device is now ZBT-1.
2 Step 5 listed as of today’s posting - just in case the steps change in the future, the step is referencing the “Configure the Zigbee Home Automation integration” step.

1 Like

Atta girl! :+1:

1 Like

@code-in-progress will tell you that he is responsible for all the troubleshooting here but I will tell you that all he did was laugh at me when I discovered I installed them too far apart. :rofl:

1 Like

Tsss, just like when you broke your foot!

2 Likes

Thank you for sharing your stories as a new Home Assistant user, this is very useful for those of us who forget how it was when we started. :wink: Especially when we get questions from friends who wants to start with smart home - it is easy to forget how troublesome a simple task can be at times. I still tell those who ask that Home Assistant is the right system for those who wants all options open, but also add that you get a new hobby at the same time. If you want something that just works you have to choose a brand and stick to it.
I believe that Home Assistant in the near future will be the best system for everyone, and you sharing your experience as a new user is a part of that process. :smiley: Keep up the good work, and get you electrician friend to check your work. I most of Europe we are not allowed to do anything like that ourselves. Stay safe. :blush:

1 Like

Not only did I laugh… I laughed hard. :rofl:

1 Like

Thank you for the kind words and encouragement! :blush:

It indeed is a new time-intensive hobby, especially at first! I suppose I can make it through it better than some because I kind of see this like when I first starting using mind maps and utilizing inbox zero. It was a heavy upfront lift to get those tools/processes where they would work for me, but once I had things set up everything was very smooth. I expect to experience this with my full smart home once I am there.

The learning curve is steep, though. I see ways to make it easier way better than I did by simply talking to people. I can use myself as an example, but I suspect other new users would come at HA like I did. When I started, I expected to be able to set up my Echo devices and fold it into my daily life easily. Once I got the integration set up in HA and the skill in the Alexa app set up, I had no clue really where to go from there! Entities confused me - expose entities? what even are those and how do they work? However, after messing around with these Zigbee devices, I have a much better idea on what entities can do - especially after creating that first automation. I feel more confident going into the Alexa integration and know what I can and want to expose to my devices now.

Baby steps. Less data is better. I feel this will help a lot of people. :relieved:

1 Like

Bill don’t make me regret liking you.

1 Like

I hope you did notice the small indentation, telling you on which side the magnet should sit?

1 Like

I did! The little booklet that comes with them does point that out. I know I said I failed to read some instructions in my first post, but I did try to follow these ones and still failed at setting it up! :rofl:

Then you got that one on me. I messed that up a couple of times :slight_smile: I think that is why they come with an extra sticky.

I like to think I’m a seasoned home automator, but we all make silly mistakes. Two weeks ago my wife was saying the study lights were on regularly for no apparent reason. I was like: no way! Until I realized they were on because it was hot and dark…

Hot → Fan on.
Fan + mmwave motion sensor = motion
Motion + dark = light on.

Did not have that problem the whole winter and autumn.

2 Likes

Almost every problem I’ve had in life and in HA has been because of Bill for at least 24 months. I get it. Be glad it’s only your toe, he could have run over your foot with his BMW Mini Cooper.

3 Likes

It’s a Fiat with an oversized radiator fan (multispeed, reversable)…

3 Likes

You mean you don’t already? Obviously I’m not trying hard enough :wink:

1 Like