Introducing Home Assistant Link
Today we’re introducing the next step in the Home Assistant saga: Home Assistant Link (formerly known as Home Assistant Cloud). The goal of Home Assistant Link is to bridge the gap between your local Home Assistant instance and services in the cloud while delivering the maximum possible security and privacy.
The first service that is supported via Home Assistant Link is the Amazon Alexa Smart Home skill. This integration will allow you to control all your devices in Home Assistant via Amazon Alexa. You will be able to say “Alexa, turn on the kitchen lights” and your local Home Assistant will turn on the lights. Because Alexa talks to Home Assistant, it doesn’t matter what kind of lights they are! Anything that is linked to Home Assistant will work. IKEA lights, a 10 year old X10 switch or something you’ve made yourself. As long as Home Assistant can control it, you can control it via Alexa.
We have designed Home Assistant Link with security in mind. When you activate the new Link component, your instance will create a secure connection to Home Assistant Link. There is no need for any further configuration or to expose your instance to the internet.
Integrations like Alexa will deliver messages to our cloud which we will forward to your local instance for processing. We just forward the response back to Alexa. This means that we do not have to store the state of your house in our cloud, we’re just the messenger!
We are making the beta of Home Assistant Link publicly available today. During the beta period Home Assistant Link will be free to use. We are currently planning to run a beta till March 1, 2018 0:00 UTC. Once the beta ends, Home Assistant Link will be part of our Community Support package which will run at $5 USD/month.
By subscribing to the Community Support package you will show your support for the Home Assistant organization, its projects and its community. It will help fund development, cover our operating costs and gives you access to use Home Assistant Link.
So if you ever felt like donating money to support the development of Home Assistant and Hass.io: sign up for Home Assistant Link!
Why not take donations?
With donations you have to convince people to keep donating and it will be hard to plan around the amount of available money. The biggest concern is what do you do when there is not enough money. We could shut down the servers or again depend on the wallets of our developers. We could run Wikipedia style advertisements for donating, but those are even more annoying than running advertisements.
Getting started
Upgrade Home Assistant to 0.60 and enable the cloud and config components:
# Example configuration.yaml entry
cloud:
config:
Now restart Home Assistant and navigate to the configuration panel. It will offer a new cloud section. Here you can create an account and login. Once logged in, your instance will connect to the cloud.
The next step is to configure Alexa. This can be done by enabling the Home Assistant skill for Alexa and link your Home Assistant Link account.
Once you’re done, ask Alexa to discover devices (“Alexa, discover devices”) and you are all set to control them: “Alexa, turn on <device name>”.
See the Link component configuration to learn how to filter which devices get exposed to Alexa.
FAQ
Last updated: February 22, 2018
I thought the Home Assistant crew didn’t like the cloud?
You are right, we don’t! Home Assistant Link is not an alternative to running your local Home Assistant instance. All control and automations are still running locally.
Instead, Home Assistant Link is an extension of your local instance. It allows to communicate with companies that force us to communicate via a public available cloud endpoint like Amazon Alexa and Google Assistant.
Home Assistant Link is only used to route the messages to your local Home Assistant instance. All messages are processed locally.
(Some people have suggested we rename to Home Assistant Bridge to avoid this confusion)
Will Home Assistant and Hass.io remain open source?
Yes. Yes. Yes! Home Assistant is the work of hundreds of developers all working together in creating something amazing. The only thing that will require a subscription is the optional cloud functionality.
Where is the source code for the Alexa skill?
All messages are processed locally and so the Alexa skill code is part of the Home Assistant code. Home Assistant Link only routes the messages to your local Home Assistant instance. This means that you can audit the source code to check all the things that the cloud can do:
What other features will come to the cloud?
We have a lot of ideas! We are not going to make any promises but here are some things that we’re looking into:
- Google Home / Google Assistant Smart Home skill
- Allow easy linking of other cloud services to Home Assistant. No more local juggling with OAuth flows. For example, link your Fitbit account and the Fitbit component will show up in Home Assistant.
- Encrypted backups of your Hass.io data
- Text-to-speech powered by AWS Polly
- Generic HTTP cloud endpoint for people to send messages to their local instance. This will allow people to build applications on top of Home Assistant Link.
- IFTTT integration
- Alexa shopping list integration
What countries are supported at launch?
As of February 2018, we are live in all countries that have Alexa except for Japan (which is under certification).
How is the connection made to the cloud?
The connection is made using a WebSocket connection over HTTPS. See the source here.
I think that the price is too high for what I get.
The Home Assistant Link functionality is a perk for becoming a supporter of the Home Assistant project. As a supporter you will help fund development, cover our operating costs and gives you access to use Home Assistant Link. You are not paying to just maintain the cloud servers.
The perks offered for being a supporter will also extend over time, as noted in this answer.
What will the Home Assistant organization do with the funds ?
The plan is to hire developers to work fulltime on Home Assistant. We have grown a lot in the last 4 years and the work load is pushing the limits of what our core developers can do. Open source burn out is very common (1, 2) and we want to avoid this by moving most organization and release chores to a paid position.
For more background on these topics, check out HASS Podcast 15.