Blog
To Infinity and Beyond 🚀
After 2.5 years I think we can proudly say: Home Assistant is a success. I write we because Home Assistant is no longer a one-person side project. It has become the side project of many people who spend countless hours on making Home Assistant the best home automation software out there. To acknowledge this we migrated the repositories from being under my name to be under our own organization on GitHub
On our journey we’ve reached many noteworthy milestones:
- #1 on HackerNews
- Featured on ProductHunt
- Trending repository on GitHub
- 3000 stars on GitHub
- 1.5 million page views on our website
- Speaker at OpenIoT Summit 2016
All these accomplishments are a nice pat on the back but our journey is far from over. There are a lot of challenges ahead if we want to become the go to solution for home automation for everyone.
Until now the focus has been on making a platform that developers love to use. A platform that is simple but customizable. A platform that is both powerful and reliable. But most important: a platform that is local and open. Home Assistant does a great job at all these things.
There will be some major challenges ahead of us to target groups other than developers. Easy installation and easy configuration being the #1. I’m sure that we’ll be able to eventually achieve these goals. I can’t say yet how or when. As with everything Home Assistant, we’ll take tiny steps, gathering feedback along the way to make sure we’re solving the right problems.
I am confident that we will get there because we are set up for success: we have a robust architecture, high test coverage and an active community of world class developers and users. On top of that, we use Python which allows us to move fast and tackle complex problems in elegant ways. It is so easy to learn that it allows any programmer, experienced or not, to contribute support for devices and services. It’s as simple as filling in the blanks.
I would like to put out a big thank you to all our contributors who make Home Assistant what it is today. It doesn’t matter if it is form of code, documentation or giving support in our chat room
Cheers to the future!
Paulus
Updated documentation
One of the main complaints that we receive is something along the lines “I read that X is possible yet I am unable to find it on the website.”. This post is to announce that we have taken the first steps to improve it by revamping the getting started and developers sections. It’s still a work in progress but we now have a solid foundation to build on for the future 👍.
Our documentation has been going through various phases. Initially it was just the README in our GitHub repository. I discovered Jekyll and GitHub pages in December 2014 and created home-assistant.io. I more or less broke the README in 5 pages and called it a website. Back then we had a whopping 11 components!
As Home Assistant grew, so did our documentation. Fabian Affolter
Today it has been almost 1.5 years since we started the website. We now have 264 components and platforms under our belt and have been honored with 1.5 million page views ✨. And hopefully we now also have documentation that our community deserves.
Finally, if you see some content that could use more clarifcation or is outdated, don’t hesitate to use the ‘Edit in GitHub’ link that is present on each page.
0.17: Onkyo, Panasonic, GTFS and config validation
Another awesome release ready to hit your homes. YAML can be hard for beginners and more experienced automators. So to help catch those pesky errors that sneak into your files we’ve been hard at work to introduce config validation! Especially huge thanks to @jaharkes
When we encounter an invalid config we will now write a warning to your logs. You can see those in the frontend by clicking on the last developer tool. We’re looking into options to make it more clear - it is a work in progress.
Another big thing is the addition of GTFS support. You probably don’t know it, but GTFS is the standard that public transit companies all over the world use to distribute their schedule. This means that you can now have the time of the next bus/train/etc right in your frontend.
- Config validation (@balloob
, @jaharkes ) - Sensor: GTFS support (public transit open standard) (@robbiet480
) - Camera: Raspberry PI support added (@LucaSoldi
) - Z-Wave: improved startup reliability (@srcLurker
) - Media Player: Onkyo receiver now supported (@danieljkemp
) - Sensor: Loop Energy now supported (@pavoni
) - Thermostat: Z-Wave now supported (@coteyr
, @turbokongen , @luxus ) - Sensor: NZBGet now supported (@justyns
) - Media Player: Panasonic Viera TV now supported (@florianholzapfel
) - Thermostats: Use whole degrees if user uses Fahrenheit (@JshWright
) - Frontend: more material love (@balloob
)
Backward-incompatible changes
As of now we are not aware of any backward-incompatible changes. However, it might be that Home Assistant will not start for you because of an invalid configuration. A common mistake that people are making is that they are still referring to execute_service
in their script configs. This should be service
.
Static website
The frontend of Home Assistant is served with the help of a local web server. If you have customized your installation you already use this functionality. The content of your folder www
in your Home Assistant configuration directory (.homeassistant
) is available under /local
(eg. https://localhost:8123/local/index.html
for an index.html
file).
But there is more you can do! You can not only host images for customization there but HTML files or even web applications including CSS and Javascript.
Read on →
Your hub should be local and open
Today the news spread that Google will be shutting down the Revolv hubs
I’ve said it before but I’ll repeat it again:
The cloud should be treated as an extension to your smart home instead of running it.
Your hub should not be affected when your internet breaks down or the company that sold you your hub goes out of business. It should work locally so that it can continue to work even long after the vendor goes out of business or decides to kill it. Preferably, your hub should also be open so that the community can take over development after the vendor stops caring.
Unless you can afford losing a product here and there, be cautious when buying IoT products that depend on the cloud from companies that are not well established. The chances are high that they go bankrupt or get acquired and closed. This however is easier said than done as Gartner
0.16: Embedded MQTT broker, Uber, Yamaha receivers and Growl
Party people, 0.16 is here! The big thing with this release is that we have completely removed the barrier to get started by MQTT by being able to launch an embedded MQTT server: hbMQTTmqtt:
to your config and a broker is launched and connected with Home Assistant.
Further in this release a bunch of cool new stuff, bug fixes and rewrites for the Vera and Tellstick component (see backward-incompatible changes section at bottom for this!).
Rock on.
- Device Tracker - OwnTracks: Allow entry into passive zones using iBeacons (@pavoni
) - Tellstick: rewrite to component to address concurrency issues (@stefan-jonasson
) - Z-Wave: add services to heal and soft reset network (@srcLurker
) - New component input_slider added (@persandstrom
) - Light - Hue: Option added to ignore unreachable property (@maddox
) - Notify: MessageBird support added (@florianholzapfel
) - HTTP: Failed login attempts are now logged (@fabaff
) - Vera: rewrite to component to simplify code and organize for reusability (@pavoni
) - Discovery: support for Squeezebox (Logitech media) server added (@jaharkes
) - Discovery: fix uPNP discovery crashing some routers (@jaharkes
) - Switch: Wake on LAN platform added (@joopert
) - Services for thermostats, notify and media player will now validate passed in parameters (@MartinHjelmare
) - Switch - Arduino: support for default state and negate port functionality (@tilutza)
- Switch: PulseAudio loopback now supported (@Cinntax
) - Sensor: Uber now supported (@robbiet480
) - Notify: Growl (GNTP) now supported (@robbiet480
) - Media Player: Yamaha receivers now supported (@aoakeson
)
Backward-incompatible changes
-
Automation: support for old deprecated config has been removed
-
Tellstick configuration has changed
tellstick:
signal_repetitions: X
- Vera configuration has changed
vera:
vera_controller_url: http://192.168.1.161:3480/
# Optional to exclude devices - this is a list of vera device ids
exclude: [ 13, 14, 16, 20, 23, 72, 73, 74, 75, 76, 77, 78, 88, 89, 99]
# Optional to import switches as lights - this is a list of vera device ids
lights: [15, 17, 19, 21, 22, 24, 26, 43, 64, 70, 87]
0.15: Unforked Open Z-Wave, templated service calls, extended scene support and PEP257 compliance.
Two weeks has past so here is 0.15! We have been focussing a lot on quality. Making sure the system is more stable and reliable. I usually try to highlight one cool thing in the release notes but this release has 4 exciting announcements!
-
@fabaff
has upgraded the codebase to follow the PEP257 documentation standard. -
@partofthething
has migrated us to use the main Python Open Z-Wave library instead of our forked version. - To make our automations more powerful, @persandstrom
added the option to use templates to dynamically create service calls. This works for automation, Alexa, universal media player, template switch. Learn more. -
@MartinHjelmare
has upgraded our scene support to now support all built-in services and components.
Besides bug fixes, this release also brings:
- Scene: Converted to a platform based component (@sander76
) - Scene: Hunter Douglas Powerview now supported (@sander76
) - Lock: MQTT platform added (@fabaff
) - Device Tracker: OwnTracks will allow filtering inaccurate GPS locations (@HydrelioxGitHub
) - Binary Sensor: Wemo Motion now supported (@pavoni
, @ryanlaux )
# Example using templates for service and data in service call.
# Works for automation, Alexa, universal media player, template switch.
automation:
- trigger:
- platform: state
entity_id: switch.bathroom
action:
service: >
{% if is_state('switch.bathroom', 'on') %}
switch.turn_on
{% else %}
switch.turn_off
{% endif %}
target:
entity_id: switch.{{ states('input_select.is') }}
Backward-incompatible changes
- Media Player: Attributes to call service play_media has been renamed to
media_content_type
andmedia_content_id
, to match the corresponding media player state attributes. This change affects automations, scripts and scenes.
0.14: Steam, D-Link smart plugs and Neurio Energy Sensors
It’s been another two weeks which means it’s time for release: 0.14!
- Notify: Command line platform added (@stefan-jonasson
) - Sensor: Verisure mousedetectors now supported (@turbokongen
) - Core: Entities can now expose if they assume their state representation is correct (@balloob
) - Sensor: TCP platform added (@flyte
) - Binary Sensor: TCP platform added (@flyte
) - Sensor: Neurio energy sensor now supported (@infamy
) - Binary Sensor: nx584 support added (@kk7ds
) - Improve and clarify CI testing (@sdague
) - Automation: State triggers and conditions now takes optional
for
config parameter to only trigger when a state hasn’t changed for a certain period of time (@pavoni, @stefan-jonasson ) - Sensor: Nest weather data added (@w1ll1am23
) - Device Tracker: Ubiquiti Unifi now supported (@kk7ds
) - Binary Sensor: MySensors now supported (@MartinHjelmare
) - Binary Sensor: Bloomsky now supported (@balloob
) - Binary Sensor: Z-Wave now supported (@tpatja
) - Switch: D-Link smart plugs now supported (@LinuxChristian
) - Script: Toggle support added (@Andythigpen
) - Light: Wemo now supported (@jaharkes
) - Rollershutter: Command line platform added (@t30
) - Sensor: Steam now supported (@GreenTurtwig
) - Binary Sensor: Wink now supported (@w1ll1am23
) - Demo has been updated (@kfgoode
) - Frontend: new UI for camera’s (@balloob
)
Camera feeds are now directly embedded in the frontend.
Backwards incompatible changes
- Component: Simple Alarm has been removed. Still available in the cookbook.
- Script: Turning on a script that is already on is now a no-op instead of skipping current delay.
- Wemo switches now have to be set up via the main Wemo component
- Command line platforms for switch, sensor and binary_sensor have been renamed to
command_line
. - The rfxtrx sensors entity ids will incur a one time change to move to a stable format. See the docs for more details.
Community Highlights
Home Assistant land has been busy and a lot of people have been creating awesome stuff.
Home automation demo by Part of the Thing
Haaska - Alexa Skill Adapter for Home Assistant
Haaska allows you to control lights, switches, and scenes exposed by your Home Assistant instance using an Amazon Echo. This is different from our own Alexa component because it will teach the Amazon Echo directly about the devices instead of teaching it to talk to Home Assistant. It will not allow you to use custom sentences but it will allow you to skip the ‘Ask Home Assistant’ part when giving commands:
- “Alexa, set kitchen to twenty percent”
- “Alexa, turn on evening scene”
- “Alexa, turn off bedroom light”
Integrating Home Assistant with HomeKit
Contributor Maddox has created a plugin for HomeBridge, an open-source HomeKit bridge. This will allow you to control your home using Siri on your Apple devices. HomeBridge has recently restructured so you’ll have to install the plugin separately with the homebridge-homeassistant npm package.
Example config.json entry to load Home Assistant:
"platforms": [
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://192.168.1.50:8123",
"password": "xxx",
"supported_types": ["light", "switch", "media_player", "scene"]
}
]
HomeBridge on GitHub
Custom alarm system with Home Assistant
User thaijames describes in the Home Assistant forums how he has created his own NFC-based alarm system using Home Assistant, DIY components and Garfield dolls.
Hold your NFC tag against the belly of Garfield to unlock the alarm.
Multi-room audio with Snapcast, Mopidy, and Home Assistant
Would you like to listen to music in every room in your home, controlled from one source? Then multi-room audio is for you.
Multi-room audio can be achieved by having a computer attached to speakers in every room. On each computer, services run to play and/or control the audio. With this DIY approach, the kind of computer and speakers is very much up to you. It could be your desktop computer with attached powered speakers, your HTPC hooked up to your TV and receiver, a Raspberry Pi with Amp or DAC, or even an Android device.
You’ll need two key software packages, besides Home Assistant. The first is Mopidy
Finally, you also need a player to control Mopidy. Any MPD-compatible player will work, and there are several Mopidy-only web-based options
Home Assistant will provide device status, and volume control for each room. If you want to play music in all your rooms (on all your clients), access the server instance of Mopidy. If you want to play music only in a specific room, access that specific Mopidy instance. If you’re using a web UI for Mopidy, you can add links to each instance in Home Assistant with the weblink component.
Read on →