diff --git a/source/_posts/2014-12-26-home-control-home-automation-and-the-smart-home.markdown b/source/_posts/2014-12-26-home-control-home-automation-and-the-smart-home.markdown index 476f12ab950..252b17edc57 100644 --- a/source/_posts/2014-12-26-home-control-home-automation-and-the-smart-home.markdown +++ b/source/_posts/2014-12-26-home-control-home-automation-and-the-smart-home.markdown @@ -5,7 +5,7 @@ description: "Overview of how the internet of things relates to home control, ho date: 2014-12-26 10:23:13 -0800 date_formatted: December 26, 2014 comments: true -categories: +categories: architecture --- The internet has been buzzing over the last year about home automation. A lot of different terms fly around like the internet of things, home automation and the smart home. diff --git a/source/_posts/2015-01-04-hey-pushbullet-nice-talking-to-you.markdown b/source/_posts/2015-01-04-hey-pushbullet-nice-talking-to-you.markdown new file mode 100644 index 00000000000..2df775edf5d --- /dev/null +++ b/source/_posts/2015-01-04-hey-pushbullet-nice-talking-to-you.markdown @@ -0,0 +1,46 @@ +--- +layout: post +title: "Hello PushBullet, nice talking to you" +description: "Introducing the new notify component and PushBullet platform" +date: 2015-01-04 13:29:07 -0800 +date_formatted: January 4, 2015 +comments: true +categories: component +--- + +One of the things that was missing in Home Assistant for a while was a way to communicate with users. Wouldn't it be nice to get a message when important events happen like the lights being turned on while no one is home? Since the Home Assistant frontend runs as a web application on the phone, we have no way to bring ourselves to the front. This is where the new notify component comes in, powered by PushBullet. + +The new notify component will take in messages and tells them to the user. For now this will be powered by the very awesome [PushBullet](https://www.pushbullet.com/) but any other messaging platform can be easily added. + +

+ + A message triggered by the simple_alarm component is shown by PushBullet on the Moto360. +

+ +Read on to learn how to enable the notify component and integrate it with other components. + + + +### Enabling the notify component + +To enable the new notify component, add the following to your `home-assistant.conf`: + +``` +[notify] +platform=pushbullet +api_key=ABCDEFGHJKLMNOPQRSTUVXYZ +``` + +You can get your api key from [your account page on PushBullet.com](https://www.pushbullet.com/account). + +### Sending messages from your component + +To be able to send messages, the notify component has to be loaded and initialized successfully. + +```python +import homeassistant.loader as loader + +def setup(hass, config): + notify = loader.get_component('notify') + notify.send_message(hass, "Hello from my component!") +``` diff --git a/source/images/screenshots/pushbullet_moto360.png b/source/images/screenshots/pushbullet_moto360.png new file mode 100644 index 00000000000..b61b4fdb4e8 Binary files /dev/null and b/source/images/screenshots/pushbullet_moto360.png differ