Why you should be grouping more accessories in Home Assistant


Home Assistant has many features and functions that can be easy to overlook. Something I hadn’t done until recently was group similar devices together in order to control multiple things at once. This solved a problem I was having with my smart home.

You don’t have to rely on scenes all the time

Scenes are the go-to solution for controlling multiple accessories at once, and they certainly have their place. But scenes are purpose or time-driven whole-home device configurations. They’re great for specific needs like going to bed, watching a movie, or eating dinner.

Groups, on the other hand, offer more granular control. You might have a scene that you use for relaxing in the evening, which you activate when you collapse in front of the TV. Sometimes you might want to make changes to multiple devices, like a set of lights, without swapping scenes (or creating a new one).

Apple Home smart home scenes.

With a group, you can do that quickly and get contextual controls for the devices within that group. For lights, it’s brightness and color; for fans, it’s speed; for window coverings, it’s how much light you’re letting in. The primary aim here is to control two or more accessories as if they were one.

You can group all sorts of things within Home Assistant, as long as they belong to the same class of device. Most importantly, you still have access to individual device controls even after you have created your group. The group does not replace the device, so you can still control things individually if you want (alternatively, you can hide these devices from your dashboard to tidy things up).

It’s fair to say that, for most people, lighting is the best use for this particular Home Assistant feature.

How I use a group to solve a lighting problem

My situation is a bit unique in that I use Apple Home as a means of controlling Home Assistant via the HomeKit Bridge integration. This makes it easy to control my Home Assistant smart home using any iPhone, Apple Watch, Mac, or HomePod in the house as if each device were native to Apple’s platform.

My aim was to control a set of IKEA Tradfri color-changing bulbs as one device. I wanted a set of mood lights, where I could sync the colors and brightness of the bias lighting behind my work monitor and the TV in the other corner of the room. This is mostly to brighten up the place on overcast days, but the TV light is used every evening to create a dim but relaxing mood.

IKEA Bilresa remote controlling a Tradfri light. Credit: Tim Brookes / How-To Geek

When I tried to group accessories in Apple Home, I realized that Apple Home removes individual device control once you link devices into a single unit. It’s the whole group or nothing at all.

So I created a group in Home Assistant and shared it as a device within HomeKit Bridge, just as I would any other. I now have a brand new device in Apple Home called “Mood Lighting” that lets me set color and brightness, and I didn’t have to sacrifice device control or scenes to do it (since my evening Relax scene targets a single light, and stopped working when I made the group).

Though this is an Apple Home-specific use case, there’s no reason it couldn’t work with MatterBridge for other smart home systems like Google Home, SmartThings, and more.

How to create groups (and what to group together)

You can use Home Assistant’s helpers to create groups. Do this under Settings > Devices and services by clicking the “Helpers” tab and using the “+ Create helper” button.

Choose “Group” in the box that appears on screen, then pick your group type. Name your group, then add the devices that you want to control using the “Members” drop-down box.

Creating a group of devices in Home Assistant.

A new device will be created, with which you can control multiple things at once. From here, you can add it to a dashboard of your choice, use it in automations and scenes, or expose it to Apple Home or similar platforms using HomeKit Bridge or MatterBridge.

Group color-changing lights and LED strips to match settings between devices, bind fans to quickly turn on or off ventilation for parts of your house, or link blinds and curtain controllers so that you can control light levels in multiple places using a single command.

You can also link buttons and sensors to get more in-depth controls. The “All entities” toggle marks a sensor group as “On” only if all sensors are triggered, it will read “Off” if you have a mix of readings. You can also combine sensor readings (like temperature) by different means, including median, minimum, mean, and sum.

Creating an average of sensor readings in Home Assistant.


Creating a group for my mood lighting overcame Apple Home’s limitations, which is exactly why I’d choose Home Assistant every time.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Google Maps has a long list of hidden (and sometimes, just underrated) features that help you navigate seamlessly. But I was not a big fan of using Google Maps for walking: that is, until I started using the right set of features that helped me navigate better.

Add layers to your map

See more information on the screen

Layers are an incredibly useful yet underrated feature that can be utilized for all modes of transport. These help add more details to your map beyond the default view, so you can plan your journey better.

To use layers, open your Google Maps app (Android, iPhone). Tap the layer icon on the upper right side (under your profile picture and nearby attractions options). You can switch your map type from default to satellite or terrain, and overlay your map with details, such as traffic, transit, biking, street view (perfect for walking), and 3D (Android)/raised buildings (iPhone) (for buildings). To turn off map details, go back to Layers and tap again on the details you want to disable.

In particular, adding a street view and 3D/raised buildings layer can help you gauge the terrain and get more information about the landscape, so you can avoid tricky paths and discover shortcuts.

Set up Live View

Just hold up your phone

A feature that can help you set out on walks with good navigation is Google Maps’ Live View. This lets you use augmented reality (AR) technology to see real-time navigation: beyond the directions you see on your map, you are able to see directions in your live view through your camera, overlaying instructions with your real view. This feature is very useful for travel and new areas, since it gives you navigational insights for walking that go beyond a 2D map.

To use Live View, search for a location on Google Maps, then tap “Directions.” Once the route appears, tap “Walk,” then tap “Live View” in the navigation options. You will be prompted to point your camera at things like buildings, stores, and signs around you, so Google Maps can analyze your surroundings and give you accurate directions.

Download maps offline

Google Maps without an internet connection

Whether you’re on a hiking trip in a low-connectivity area or want offline maps for your favorite walking destinations, having specific map routes downloaded can be a great help. Google Maps lets you download maps to your device while you’re connected to Wi-Fi or mobile data, and use them when your device is offline.

For Android, open Google Maps and search for a specific place or location. In the placesheet, swipe right, then tap More > Download offline map > Download. For iPhone, search for a location on Google Maps, then, at the bottom of your screen, tap the name or address of the place. Tap More > Download offline map > Download.

After you download an area, use Google Maps as you normally would. If you go offline, your offline maps will guide you to your destination as long as the entire route is within the offline map.

Enable Detailed Voice Guidance

Get better instructions

Voice guidance is a basic yet powerful navigation tool that can come in handy during walks in unfamiliar locations and can be used to ensure your journey is on the right path. To ensure guidance audio is enabled, go to your Google Maps profile (upper right corner), then tap Settings > Navigation > Sound and Voice. Here, tap “Unmute” on “Guidance Audio.”

Apart from this, you can also use Google Assistant to help you along your journey, asking questions about your destination, nearby sights, detours, additional stops, etc. To use this feature on iPhone, map a walking route to a destination, then tap the mic icon in the upper-right corner. For Android, you can also say “Hey Google” after mapping your destination to activate the assistant.

Voice guidance is handy for both new and old places, like when you’re running errands and need to navigate hands-free.

Add multiple stops

Keep your trip going

If you walk regularly to run errands, Google Maps has a simple yet effective feature that can help you plan your route in a better way. With Maps’ multiple stop feature, you can add several stops between your current and final destination to minimize any wasted time and unnecessary detours.

To add multiple stops on Google Maps, search for a destination, then tap “Directions.” Select the walking option, then click the three dots on top (next to “Your Location”), and tap “Edit Stops.” You can now add a stop by searching for it and tapping “Add Stop,” and swap the stops at your convenience. Repeat this process by tapping “Add Stops” until your route is complete, then tap “Start” to begin your journey.

You can add up to ten stops in a single route on both mobile and desktop, and use the journey for multiple modes (walking, driving, and cycling) except public transport and flights. I find this Google Maps feature to be an essential tool for travel to walkable cities, especially when I’m planning a route I am unfamiliar with.


More to discover

A new feature to keep an eye out for, especially if you use Google Maps for walking and cycling, is Google’s Gemini boost, which will allow you to navigate hands-free and get real-time information about your journey. This feature has been rolling out for both Android and iOS users.



Source link