Open-source News

Ampere Adds "Ampere1" CPU Core Support To LLVM

Phoronix - Wed, 05/04/2022 - 02:00
Merged today into mainline LLVM 15.0 for the Clang compiler is Ampere Computing's support for "Ampere1", their next-generation server processor featuring their in-house "Ampere Cores" core design...

AMD Working to Create A New Yocto Linux Platform For Xilinx SoCs

Phoronix - Tue, 05/03/2022 - 19:24
Following AMD completing its Xilinx acquisition back in February, AMD is now preparing to ramp up their investment into embedded Linux. AMD is hiring for the "creation and maintenance" of a Yocto-based Embedded Linux platform for running on Xilinx SoCs...

A Decade Later, Linux To Better Handle Daisy Chaining Thunderbolt Displays On Apple Hardware

Phoronix - Tue, 05/03/2022 - 18:07
Intel's Thunderbolt "Light Ridge" controller was introduced all the way back in 2010 for Apple Macs and the updated Intel Thunderbolt 2 "Falcon Ridge" controller is from 2013. Now in 2022 under Linux the Thunderbolt driver will be better matching the Apple macOS behavior when daisy chaining multiple Thunderbolt displays...

Better Support For The Lenovo ThinkPad TrackPoint Keyboard II With Linux 5.19

Phoronix - Tue, 05/03/2022 - 17:47
The Lenovo ThinkPad TrackPoint Keyboard II is a standalone keyboard that mimics the traditional ThinkPad notebook's keyboard that comes complete with an integrated TrackPoint. With the Linux 5.19 kernel will be better support for this standalone ThinkPad keyboard...

Mozilla Firefox 100 Now Available With Various Improvements

Phoronix - Tue, 05/03/2022 - 17:28
Mozilla has joined Google Chrome in the three digit version world with Firefox 100 being available this morning...

Linux Developers Discuss Improvements To Memory Tiering

Phoronix - Tue, 05/03/2022 - 17:22
Already within the Linux kernel there is initial support for tiered memory servers for dealing with platforms like those with Intel Optane DC Persistent Memory for being able to promote/demote pages to slower classes of memory when the speedy system RAM is under pressure. But with more tiered memory servers coming about especially with HBM classes of memory, Google and other vendors are discussing better handling of Linux's tiered memory interface...

Automate and manage multiple devices with Remote Home Assistant

opensource.com - Tue, 05/03/2022 - 15:00
Automate and manage multiple devices with Remote Home Assistant Kevin Sonney Tue, 05/03/2022 - 03:00 Register or Login to like Register or Login to like

Automation is a hot topic right now. In my day job as an SRE part of my remit is to automate as many repeating tasks as possible. But how many of us do that in our daily, not-work, lives? This year, I am focused on automating away the toil so that we can focus on the things that are important.

There are a lot of guides out there on Setting Up Home Assistant, but what if you have multiple Home Assistant installations (like I do), and want to display and control them all from a single, central Home Assistant?

There is an amazing add-on called Remote Home Assistant (https://github.com/custom-components/remote_homeassistant) that makes this an absolute breeze. And it really helps me manage and automate things without having to set up any complex software (although I have done this with MQTT in the past — it was a challenge).

Image by:

(Kevin Sonney, CC BY-SA 40)

More on automation Download now: The automated enterprise eBook Free online course: Ansible essentials Ansible cheat sheet eBook: A practical guide to home automation using open source tools A quickstart guide to Ansible More articles about open source automation

The easiest way to set up Remote Home Assistant is to install the Home Assistant Community Store (HACS) on both HASS installations. HACS is an absolutely massive collection of third-party add-ons for Home Assistant. The instructions are very straight forward, and cover most use cases — including using  Home Assistant OS (which is my central node), and Home Assistant Core (one of my remote nodes). It installs as a new Integration, so you can add it like any other integration. You must be able to log into GitHub for HACS to work, but HACS walks you through that as part of the configuration flow. After it's complete, it loads all the known add-on repositories. To see the status of it, click the new HACS option in the navigation menu on the left.

Image by:

(Kevin Sonney, CC BY-SA 40)

Select Integrations and search for Remote Home Assistant when it has completed loading all the store information. Install the add-on with the Install button, and restart Home Assistant. When the restart is complete, you have a new custom integration available, which can be added like any other.

On the remote node (“lizardhaus”), you need to generate a long-lived token, and then add the Remote Home Assistant integration. Select Setup as remote node and that's all you need to do.

On the central node (“homeassistant”), the configuration flow is different. Add the integration as before, but do not create an access token. Select Add a remote node and click Submit. You are asked for the site name, the address (which can be a name or an IP address), the port, and the access token generated on the remote node. You can enable or disable SSL (and I STRONGLY recommend setting up SSL on the remote if it's exposed to the internet). After it connects, it prompts you for additional information, such as a prefix for the entities from the remote node (I like to include a trailing "_" character), what entities to fetch, and what to include and exclude. You can get events that can be triggered remotely, like turning on and off switches.

Image by:

(Kevin Sonney, CC BY-SA 40)

After that, the remote items appear to home assistant like any other item. And you can control them in the same way, as long as you added the correct triggers and entities.

Remote Home Assistant is really useful if you have devices like Bluetooth Low Energy plant sensors that are too far away from the main HASS machine. You can place a Raspberry Pi with HassOS near the plants then use Remote Home Assistant to put them in your central dashboard, and get an alert when they need watering, and so on. Overall, linking together multiple Home Assistant configurations is surprisingly easy, and VERY helpful.

Link together multiple Home Assistant devices with this centralized control panel.

Image by:

27707 via Pixabay, CC0. Modified by Jen Wike Huger.

Automation Tools What to read next Why choose open source for your home automation project This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Pages