Smarter Home 2022: Blinds and Shades

blinds shades

The summer months offer a lot of natural light, but letting in the light comes with heat tradeoffs. There are ways you can automate blinds and shades to give you the natural light you need, when you need it, without having to touch your window dressings.

After working from home during the pandemic for a year and a half, I decided to upgrade my office blinds. The existing blinds where cellular shades that came with us in the move to this current house. They were fine, but I wanted something powered and better looking. Since I was looking at powered shades, I figured why not just get “smart” blinds too. The smart blind market is a premium one and I was immediately turned off when it starting getting pricing. Luckily Ikea exists to give us affordable options in the home decor space. I settled on the Fyrtur motorized roller shades in gray. Because of the size of my office window, I needed their largest offering of 122x195cm (48×76 3/4″). They fit the width perfectly, but are way too long, so I deal.

Ikea’s smart system links to their Tradfri hub to communicate with any of the major smart home ecosystems. When I purchased the blinds, the Tradfri Gateway was out of stock everywhere. As of this writing, Ikea has announced a new version coming in Fall of 2022. Obviously I bought the shades anyway thinking to myself “I bet I can get this working without the Ikea gateway”.

In a short amount of time I received the roller shades from Ikea and installed them above my office window. They have a very utilitarian aesthetic but do a great job of blocking the light. Black out shades were not something I needed, but it does work well. The motorized rolling shade was nice and the simple interface allowed me to set a lower limit so I could one-touch close them and not have them extend all the way to the floor. They came with a little handy remote that can open/close the shades without having to touch the large crossbar at the top. Funny thing about the remote is that the included wireless transceiver needs plugged into power for the remote to work. After searching again for the Ikea smart home gateway, I started the journey of making these dumb blinds smarter.

After some Reddit research I learned more about the Fyrtur blinds and that they communicate over the Zigbee wireless standard. This was great because I have a few Zigbee hubs in my house. First, my recent Aqara camera purchase has a Zigbee hub built in. A quick web search lets me know that the Aqara Zigbee hub is a closed system and only works with Aqara Zigbee accessories. Next, I went to my eero 6 pro wireless mesh system which also has Zigbee built-in. The eero Zigbee implementation is piggybacked on Amazon which means you can only add Zigbee items that work with Amazon/Alexa. The Ikea system does not work with Amazon. Lastly, I looked at some other ways I could get this connected by using a Homebridge plugin, my LG TV’s hub, or even “hacking” the smart system in the Ikea shades. No dice on either of those, so back to Reddit to get more answers. After posting about my predicament, someone recommended to me an open Zigbee hub that I can plug into my Homebridge Raspberry Pi via USB.

The USB Zigbee gateway that I purchased was the Conbee II. This is a pretty interesting project and the configuration is a little tricky. I made a walkthrough on how to get this working over here.

motorized shades gif
Motorized shades closing

My office shades were now connected to the Zigbee hub and I connected that to a Homebridge plugin which added the shades to Apple Home. Now that they were in my preferred smart home ecosystem, I could do some automations. When I start working at home, I have an automation that runs from my Stream Deck to start my day. I added opening my office blinds 35% to that script. Also, my ‘Good Night’ scene closes the blinds. As we get into the cooler weather with less light, I will add some more automations to close them with the setting sun.

Check out my other Smarter Home posts!

Adding Ikea Frytur shades to Apple Home

This is a quick tutorial on how I added Ikea’s Frytur smart shades to Apple Home (p.k.a Apple HomeKit) using Homebridge.

These are the items I used to make this work:

Having a working Homebridge implementation was very helpful as I didn’t have to setup another device and could just focus on getting the shades to work.

  1. Install and setup the Ikea Frytur shades
  2. Pair the remote with the shades and make sure they work
  3. Plug in the ConBee II to the Raspberry Pi via USB
  4. Install deCONZ software on the Raspberry Pi
    1. Connect to Raspberry Pi over SSH
    2. Set user USB access rights
      sudo gpasswd -a $USER dialout
    3. Import Phoscon public key
      wget -O - http://phoscon.de/apt/deconz.pub.key | sudo apt-key add -
    4. Configure APT repo for deCONZ
      sudo sh -c "echo 'deb http://phoscon.de/apt/deconz $(lsb_release -cs) main' > /etc/apt/sources.list.d/deconz.list"
    5. Update APT package list
      sudo apt update
    6. Install deCONZ
      sudo apt install deconz
    7. Reboot
      sudo restart -r now
  5. Once the Raspberry Pi is back online, connect to it via VNC
  6. Menu > Programming > deCONZ
  7. Go to the IP address of your Raspberry Pi from a web browser to access the Phoscon web app, the default port is 80
    http://<your-ip-here>/
  8. Follow the Phoscon setup instructions until you are able to access the ConBee II gateway
  9. Go to Devices > Lights under the hamburger menu
  10. Click on Add new lights
  11. On your Ikea shades, quickly press both front button simultaneously to put them in pairing mode
  12. After a few moments they will show up and be recognized in the Phoscon web app
  13. Login to Homebridge and click on Plugins and search for “Hue”
  14. Install the plugin named Homebridge Hue
  15. Configure the plugin with a name and address of the ConBee II, use localhost if your ConBee is plugged into your Homebridge device
  16. Restart Homebridge and your blinds will show up in Apple Home

Smarter Home 2022: Smart Lock

nest x yale smart lock

Recently I made a change to my daily driving vehicle, read about it here. My new vehicle doesn’t allow me to park inside my integrated garage which changes how I enter/exit my house. Previously, after parking in the garage, I could enter the house through the interior door to go inside. Now, I have to park out in the weather and go through my front door. Because of this change, I had to take a long hard look at the current smart lock on my front door.

When moving into my current house I purchased a smart lock that was the best available at the time. The Yale Assure SL had all the bells and whistles including HomeKit integration (via August), touch keypad, guest accounts, no key access, etc. Since then, I’ve had nothing but troubles with this lock which mostly was how fast the batteries would drain. The 4 AA batteries lasted between 7 and 21 days and more times than not, the door would be unlocked with dead batteries. When I was only parking in the garage, and not entering/exiting through the front door, this really didn’t impact me. At one point about year ago, I contacted Yale about the battery draining issue, and they sent me a new lock. The replacement lock didn’t help the issue and I was back to always having dead batteries.

Frustrated by this and using the front door more than ever, I set out to fix the problem. The latest and greatest technology for smart locks involves a new wireless standard called Thread but also a way to a better way unlock the door with your phone called Apple home key. The only available lock with this technology is the Schlage Encode Plus. Of course this lock cannot be found in stock anywhere and is not available to order (it’s also ugly). I needed a solution I could implement now and not wait for something to be manufactured.

I decided I would try a similar lock to the Yale Assure SL but had Google/Nest as the integration/backend. I went to my local Best Buy and picked up the Nest x Yale – Smart Lock with Nest Connect. The install and most of the parts were similar to my outgoing Yale lock so that made install a breeze. Setting up the lock in the Nest app was very easy and I was up and running within minutes, unlike the August implementation.

Door sensor with custom 3D printer bumper.

A couple of missing features that I was accustomed to on my previous lock were auto-unlock and a door sensor to detect if the the actual door was ajar or not. The August integration of the previous lock used your phone’s GPS to determine when you left or arrived your home, then lock or unlock your door. The idea behind this was great, but regularly failed. When the lock had battery power, upon arriving home, my door wouldn’t be unlocked. Due to the nature of Bluetooth and WiFi, my phone would also struggle to unlock the door, standing directly outside of it. That being stated, I was motivated to get these two features back, in another way.

The door sensor was pretty easy. I already have an Aqara Zigbee hub on my network so I can easily add their cheap sensors. I purchased a Aqara Door & Window Sensor and added it to my network and Apple Home. The sensor has two parts, one that goes on the moving object, in this case the front door, and the other piece goes on the static object, the interior wall. When the two pieces get close enough for a magnetic attraction, the sensor detects that it is closed. Upon installing the two sides on my door, I realized the door-side sensor was too far from the other sensor when closed. After a couple hours, I designed a 3D printed extension for the sensor, and now it lines up perfectly.

Next I had to tackle the auto-unlock feature. The Nest lock does have an auto-lock function, but it’s only time based. Once the door is unlocked, it will auto-lock in 15 minutes, or a preset time duration of your choosing. It doesn’t know if the door is open or closed, so if you leave the door open, it will still lock.

Previous to getting this lock, I purchased a Starling Home Hub that smartly integrates (almost) all Nest products into Apple Homekit. This is a much better solution than running a Nest plugin in Homebridge, plus you get a few extra features. When I added the new lock to my Nest account Starling Home automatically added it to Apple Home and I was able to control it immediately. This led me to using Apple Home and Apple Shortcuts to achieve my auto locking and unlocking goals.

First, I had to setup a plugin in Homebridge to allow me to have a dummy switch (read about why here). After that, I setup another dummy-type switch in Homebridge that triggers on a set time duration. This allowed me to constantly check if the door was open or closed, then act on it. All of this is done in Apple’s Home app with their built-in automation. It allows you to trigger actions based on your phone’s location, which is perfect for when I leave or arrive at home.

Name: ”AutoUnlock”
{
     Condition: ”When I arrive home”,
     Action: ”Trigger $DummySwitch”
}
Name: ”DummySwitch”
{
     Condition: ”When $DummySwitch turns on”,
     Action: ”Unlock $FrontDoor”
}

This unlocks my front door when my phone detects that I’m within range of my house. This usually happens as I’m pulling into the driveway.

Name: ”AutoLock”
{
     Condition: ”When I leave home”,
     Action: ”Trigger $DoorChecker”
}
Name: ”DoorChecker”
{
     Condition: ”When DoorChecker turns on”,
     Action: ”Run Shortcut”
          {
               If ($DoorSensor = ‘Closed’) {
                    Lock $FrontDoor
               }
     }
}

This locks my door when my phone detects that I’m out of range of my house. The DoorChecker automation also checks if the door is open/closed. If it’s open, it will not lock the door. In addition to when I leave my house, the DoorChecker automation runs every 15 minutes to ensure my door is always locked when closed.

Check out my other Smarter Home posts!

Smarter Home 2022: Lights

Many years ago I wrote a piece titled The Future is Not Here and complained about how, in that point in time, we still weren’t at the technological future we had been reading about. That same year, 2015, I wrote another piece about how smart my home was. Looking back on those two pieces of work makes me happy and sad at the same time. Sad that not much has changed in almost seven years, but happy that one thing is better; most of our homes are “smarter” than they were before.

When I wrote about my smart home several years ago I only had one smart device to brag about. Thanks to Google’s lack of innovation I’m still using the same 3rd generation Nest thermostat. While it’s the oldest device in my home’s technology package, it’s also the most reliable. Much like your home appliances, reliability is something we want out of our smart devices. What if, for some reason, the thermostat crashed and I couldn’t turn on the heat? Thankfully, that hasn’t happened to me while I’ve owned the Nest thermostat.

Along with the smart home market, the Beard Blog home has exploded with new gadgets and internet connected widgets. WiFi light bulbs, smart assistants (lady in a tube), garage door controllers, game consoles, TVs, fans, doorbells, cameras, door locks, refrigerators, outlets, blinds, and light switches are just some of the things I’ve integrated into my home life over the last four years. Throughout this series, I’m going to dive into my favorite devices and how I’m using them to again, make my home smarter.

Hubs

Before we go too deep, I have to mention hubs or little boxes required to bridge some devices to your internet connection. These are usually included with a starter kit or part of the main device in the product’s offering. While we still haven’t settled on a standard smart home protocol (Bluetooth, HomeKit, ZigBee, Z-Wave, Thread, Matter), it is getting better. Some devices have been receiving software updates or hardware revisions to eliminate the hub. Even Apple HomeKit requires a hub if you want to access the device from outside your home. When I describe each device or system, I’ll be sure to mention if it requires a hub or not, which some people may not be fond of.

In addition to hubs that are made by the manufacturer, there are also third-party hubs to help bridge different protocols together. I’m going to deep dive into some of these hubs/bridges in a later post.

Smart Lights

Light bulbs are all over our homes and making them “smart” is the easiest and most useful entry into having a smart home. You can easily swap a regular light bulb with a connected one and have the ability to control it from anywhere. We now live in a world where there is a wide variety of smart bulbs available at almost any retailer. Some are direct phone to bulb connections, while others attach to your network to enable multi-bulb control.

smart home Philips hue
Philips Hue color light bulbs

I got my start with smart lights from probably the most popular line since the smart bulb inception, Philips Hue. Some years ago I sprung for the Philips Hue color starter kit which included three color bulbs and a Hue hub. I quickly replaced three lamps in my living room with these bulbs and played with all the color combinations, much to my wife’s dismay. While the Hue bulbs are great, and have been updated over the years, they’re using old technology. The individual bulbs connect wirelessly back to the Hue hub over a proprietary Z-Wave connection. The Hue hub has to be hard-wired to your home network which then allows the bulbs to show up in Apple Home. The hub also allows you to control the lights when you’re outside of your home network. Newer light bulbs have emerged that are independent and use Thread to communicate with your network, providing you have a Thread router, like a HomePod mini. I have two Thread bulbs currently in my home, one of which replaced a malfunctioning Hue bulb from my original starter kit. Out of my 11 Hue bulbs that are six plus years old, I’ve only had one fail.

In addition to smart bulbs I have some other types of connected lights that I like even more than the bulbs. In my office, I have a three-pronged light attack that I mostly use on conference calls. First, there’s a Nanoleaf Essentials light strip on the wall directly in front of me. This works to illuminate my face and reduce shadows on my video calls. Behind me on the wall is an array of Nanoleaf Shapes. These panels change colors and create a neat light scape behind my head. Lastly, in the Ikea Kallax furniture piece behind me on the floor, is a Govee RGBiC light strip. This light strip can change colors independently in sections creating a cool effect inside the cubes of the Kallax. All three of these light setups, have independent controls and are able to be controlled from anywhere. The two Nanoleaf devices have the native ability to connect to Apple HomeKit, but the Govee strip does not.

smart home Nanoleaf shapes
Nanoleaf Shapes

Where I cannot have smart bulbs or light strips, I have connected light switches. This allows me to control lights connected through traditional electrical lines and not need any special bulbs or fixtures. We recently remodeled our finished basement and instead of going with smart fixtures we opted for a TP-Link dimmable smart switch. This dimmable smart switch controls the track lighting on the ceiling and can dim them to several brightness levels. This is ideal for a well lit room, where we may never use the full power of the LED lights.

On our back patio, we have a smart switch just inside the sliding door. This is a unique situation as the switch has two rockers on it to control two different lights. Then, to make it more complicated, I’ve added an outdoor smart outlet with two outlets on the one light switch. The internal switch controls the spotlight for the backyard, while the other switch turns on the outdoor outlet. That outdoor outlet controls a patio fan and overhead lighting. While it sounds complicated, it’s actually pretty simple when controlling them using physical controls, automations, or smart assistants. One gang, two switches, three devices.

My main purpose for all this smart lighting is not to be cool and have connected light bulbs, but more for ease of use and automations. The main area of my house, some may call it the living room, has no overhead lighting, so we rely on four lamps to provide light. Having to turn these on manually would be a pain and wiring them up to a switch would be costly. With smart bulbs, I have them set to turn on 30 minutes prior to sunset which ensures the room is well lit as the natural light declines.

While I’ve upgrades every light in my house to LED, not everything is a smart light, bulb, or switch. The bathrooms, dining room, kitchen, hallways, and spare bedrooms are where a manual switch is just easier to control the dumb lights. My bedroom has a ceiling fan with four light sockets integrated. I have four Philips Hue white ambiance bulbs in this ceiling fan so I don’t have to pull the chain or get up to turn on/off the lights at the switch.

Recently, I implemented an automation in the living room to better enhance the light experience. My biggest complaint was on the days where natural light was hard to come by, the living room would be dark. I could easily turn on the lights with my phone or home assistant, but I wanted to explore an automation that can turn on the lights based on the light available. My first thought was using an automation that can detect when it’s raining, and turn on the lights. That was easily defeated as here in Pittsburgh we have a lot of overcast days with no precipitation.

The automation I integrated that I’m still using today consists of the following, try to follow along:
I’m using a Philips Hue motion sensor that also has a built-in light meter. When this light meter falls below 2 lux, it triggers an automation within the Apple HomeKit system. Because of the complexity of this, I have to use a Shortcut to run the commands. Also, I only want to turn on the lights during certain times of the day, so it doesn’t turn on in the middle of the night. HomeKit doesn’t allow a lot of triggers, so I’m using the motion sensor as a trigger to kick everything off.

Each time motion is detected in the living room, only during the day >
Run Shortcut 'Living Room Lights On' >
     Is light level <= 2 lux?
          Yes -> turn on living room lights
          No -> do nothing

What’s nice is this is a set-it and forget-it approach. Now when it’s gloomy outside, my lights come on.

Some other automations around lighting in my house
  • When the doorbell detects motion, turn on porch light, only at night.
  • When back patio door is opened, turn on patio lights.
  • Manually triggered ‘Good Night’ scene turns all lights off.
  • When a garage door opens, the garage lights turn on for 10 minutes.

Be sure to follow along for the next Smarter Home 2022 entry where I go over smart speakers.