Blog
Smarter SmartThings with MQTT and Home Assistant
This is a guest post by Home Assistant users Jeremiah Wuenschel
So you own a SmartThings
You spent your weekend getting everything set up, showing it off to your significant other, but in the end you got stumped when it came to integrating with all your existing SmartThings toys. What do I do now? Should I buy another hub? Should I just buy a Z-Wave stick?
That’s where we came in. We wanted a solution that can bridge the awesomeness of Home Assistant with the SmartThings hub that works with almost everything.
Read on →
0.12: Insteon, LIFX, Twitter and Zigbee
Another sprint has come to an end and it seems that we have not slowed down a single bit 🚀. 0.12 is full of new components, platforms and organizational additions.
I would like to give a shout out to Greg Dowling (@pavoni)
This release includes a very frequent requested feature: the ability to organize entities in different tabs in the frontend. See the demo to see this in action and read more in the group documentation how to get started.
Example of the new views in the frontend. Learn more.
- Binary sensor: command sensor added (@Bart274
) -
Nest support extended to include sensors and binary sensors (@joshughes
) - Light: LIFX platform added (@TangoAlpha
) - Notify: Twitter platform added (@HydrelioxGitHub
) - Sensor: Template platform added (@pavoni
) - Switch: Wink platform now supports sirens (@w1ll1am23
) -
Insteon hub support added (@FreekingDean
) -
Statsd component added (@michaelkuty
) - Light: Rfxtrx platform now supports dimming (@turbokongen
) - Time scheduling (including time automation) now works with intervals (ie.
/5
) (@kennedyshead) - Sensor: onewire support added (@deisi
) -
Zigbee support added (@flyte
) - Device Tracker: OwnTracks can now track iBeacons (@pavoni
) - Notify: Google Voice SMS platform added (@w1ll1am23
) - Toggle service added to
homeassistant
,switch
,light
andmedia_player
(@rmkraus) -
Thermostat services added to control fans (@auchter
) - Improved Python automation: Event helpers are now also available as decorators for custom components (@rmkraus
) - Frontend: support added for tabs to show different views of your house (@balloob
) - Bugfixes by @molobrakos
, @MartinHjelmare , @pavoni , @trollkarlen , @zmrow , @maddox , @persandstrom , @happyleavesaoc , @balloob , @fabaff , @stefan-jonasson , @haraldnagel .
Backwards incompatible changes
- Nest config has moved from thermostat to the Nest component.
- Entity IDs for Z-Wave devices are now generated in a deterministic way causing all IDs to change starting this release. This is a one time change. (Changed again in 0.31)
Perfect Home Automation
People often ask me about my vision for Home Assistant. Before I can describe where I want to go with Home Assistant, I should first talk about how home automation would look in my ideal world. This will be the aim of this post. I’m not going to focus on protocols, networks or specific hubs. That’s all implementation details. Instead, this post will focus on what is most important: the interaction between the users and their home.
You should not have to adapt to technology.
When people start using home automation, they always experience home control first: being able to control devices in new ways using a phone or computer. They believe the future is now and their app will be their remote for their lives. They only focus on what they are getting, not on what they are losing. You install some light bulbs and all of a sudden you are no longer able to use the light switches. You’ll arrive at home at night and have to pull out your phone, open the app, let it connect and finally you’ll be able to turn on the light. All while turning the light on could have been a switch away.
Yes, you can solve this with presence detection. What if your phone runs out of battery? You’ll have to resort to the switch again.
If you find that using your new home devices is cumbersome, the promise of home automation technology has failed you. Your lights should work with both a switch (or button) at the entrance of your room and via presence detection. Honestly, there are hardly any valid use cases for being able to control lights from your phone except for showing off.
Read on →0.11: Extended support for DIY solutions
First release of 2016 and we are on 🔥! The main repository
-
MySensors revamped and switch support added (@MartinHjelmare
) - Full refactor of RPi GPIO. Now includes binary sensor and switch (@sfam
) - Sensor: [YR] platform added (@danielhiversen
) - Device Tracker: Geofancy platform has been renamed to Locative (@philipbl
) - Automation: Add sun condition (@philipbl
) - Switch: command_switch can now poll for state (@happyleavesaoc
) - Switch: wemo now uses subscription to states instead of polling (@pavoni
) -
Telldus Live support added (@molobrakos
) -
Vera now uses subscription to states instead of polling (@pavoni
) - New template helper method
is_state_attr(entity_id, name, value)
added (@andythigpen) - Device tracker: OwnTracks transition events now supported (@xifle
) - Light: Philips Hue platform now supports multiple hubs (@rhooper
) - Notify: Free Mobile platform added (@HydrelioxGitHub
) - New MQTT Eventstream component to connect two Home Assistant instances over MQTT (@moonshot
) - Media player: Cast huge stability improvements (@rmkraus
) - Media Player: Universal media player added to combine multiple media players (@rmkraus
) - Sensor: Netatmo platform added (@HydrelioxGitHub
) - Alarm Control Panel: [Alarm.com] platform added (@Xorso
) - Thermostat: Proliphix platform added (@sdague
) - New component input_boolean will allow for customizing automation (@balloob
) - Support calling services via Amazon Echo (@balloob
)
Backwards incompatible changes
- The RPi.GPIO sensor platform has been moved to the
binary_sensor
component. - MySensors sensor platform now requires the MySensors component to be configured.
- Geofancy platform has been renamed to Locative.
0.10: Amazon Echo, iCloud, Dweet.io, Twitch and templating support!
Alrighty, it’s time for Home Assistant 0.10. A lot amazing things have changed and sadly we also had to introduce a bunch of backwards incompatible changes. I would like to give a big shoutout to Philip Lundrigan (@philipbl
- Device tracker: iCloud platform added (@xorso
, @kevinpanaro ) - Frontend: Improved caching using service workers if served over SSL (@balloob
) - Sensor: Twitch platform added (@happyleavesaoc
) -
Template support (@balloob
, @philipbl , @fabaff ) - Thermostat: Heatmiser platform added (@andylockran
) - Sensor: Dweet.io platform added (@fabaff
) -
Alexa/Amazon echo component added (@balloob
) - Device Tracker: FritzBox platform added (@deisi
, @caiuspb ) - Sensor: Wink now supports the Egg minders (@w1ll1am23
) - Sensor: ELIQ Online platform added (@molobrakos
) - Binary sensor: REST platform added (@fabaff
) - Sensor: Torque (OBD2) platform added (@happyleavesaoc
)
Set up encryption using Let's Encrypt
Exposing your Home Assistant instance outside of your network always has been tricky. You have to set up port forwarding on your router and most likely add a dynamic DNS service to work around your ISP changing your IP. After this you would be able to use Home Assistant from anywhere but there is one big red flag: no encryption.
This tutorial will take you through the steps to setup a dynamic DNS for your IP and allow trusted encrypted connection to it - for free using DuckDNS
Read on →
[Update: decision reversed!] Philips Hue blocks 3rd party lights
Update Dec 16: Great news! Philips has decided to reverse their decision
Philips Hue FAQ entries regarding reversing the decision.
Original post:
Read on →Activating Tasker tasks from Home Assistant using command line switches
You could also do this with the automation component instead so whenever you put your house to sleep mode for example your Android device will open up Google Play Books or the Kindle app ready for you to read as well as dimming your lights, but this tutorial is all about the switches.
Read on →InfluxDB and Grafana
0.9: Rollershutters, locks, binary sensors and InfluxDB
It’s been a few weeks but we managed to polish a nice new release of Home Assistant for y’all!
- New lock component including Wink support (@miniconfig
) - New binary sensor component including aRest and MQTT support (@fabaff
) - New rollershutter component including MQTT support (@sfam
) - New InfluxDB component to store data in InfluxDB (@fabaff
) - Thermostat: Ecobee now supported (@nkgilley
) - Thermostat: Homematic now supported (@goir
) - Support for parsing JSON values received over MQTT (@mcdeck
) - Bunch of bug fixes and optimizations
To update, run pip3 install --upgrade homeassistant
.