From 62a37b750cc4429827989cb876c6e5ab04bf74cf Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 28 Mar 2017 06:54:49 +0000 Subject: [PATCH] Site updated at 2017-03-28 06:54:48 UTC --- atom.xml | 206 ++++++---------- blog/2014/12/18/website-launched/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- blog/2015/01/13/nest-in-da-house/index.html | 6 +- blog/2015/01/24/release-notes/index.html | 6 +- .../2015/02/08/looking-at-the-past/index.html | 6 +- blog/2015/02/24/streaming-updates/index.html | 6 +- .../index.html | 6 +- blog/2015/03/08/new-logo/index.html | 6 +- blog/2015/03/11/release-notes/index.html | 6 +- blog/2015/03/22/release-notes/index.html | 6 +- blog/2015/04/25/release-notes/index.html | 6 +- .../05/09/utc-time-zone-awareness/index.html | 6 +- blog/2015/05/14/release-notes/index.html | 6 +- blog/2015/06/10/release-notes/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../13/home-assistant-meets-ifttt/index.html | 6 +- .../index.html | 6 +- .../alarm-sonos-and-itunes-support/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../11/22/survey-november-2015/index.html | 6 +- .../12/05/community-highlights/index.html | 6 +- .../index.html | 6 +- .../12/07/influxdb-and-grafana/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../01/19/perfect-home-automation/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../multi-room-audio-with-snapcast/index.html | 6 +- .../02/20/community-highlights/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- blog/2016/04/07/static-website/index.html | 6 +- .../index.html | 6 +- .../04/17/updated-documentation/index.html | 6 +- .../04/19/to-infinity-and-beyond/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../05/06/open-iot-summit-talk/index.html | 6 +- .../empowering-scripts-and-alexa/index.html | 6 +- .../index.html | 6 +- blog/2016/05/18/why-we-use-polymer/index.html | 6 +- blog/2016/05/21/release-020/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../06/01/community-highlights/index.html | 6 +- .../08/super-fast-web-enocean-lirc/index.html | 6 +- .../home-assistant-at-pycon-2016/index.html | 6 +- .../index.html | 6 +- .../usb-webcams-and-home-assistant/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../sqlalchemy-knx-join-simplisafe/index.html | 6 +- .../19/visualizing-your-iot-data/index.html | 6 +- .../index.html | 6 +- .../esp8266-and-micropython-part1/index.html | 6 +- .../index.html | 6 +- .../03/laundry-automation-update/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- blog/2016/08/16/we-have-apps-now/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../esp8266-and-micropython-part2/index.html | 6 +- .../notify-group-reload-api-pihole/index.html | 6 +- .../async-sleepiq-emoncms-stocks/index.html | 6 +- .../01/we-have-raspberry-image-now/index.html | 6 +- blog/2016/10/02/hacktoberfest/index.html | 6 +- .../08/hassbian-rest-digital-ocean/index.html | 6 +- .../index.html | 6 +- .../10/25/explaining-the-updater/index.html | 6 +- .../hacktoberfest-influxdb-weather/index.html | 6 +- .../index.html | 6 +- .../12/03/remote-websockets-sonarr/index.html | 6 +- .../index.html | 6 +- blog/2016/12/19/thank-you/index.html | 6 +- .../index.html | 6 +- .../01/14/iss-usps-images-packages/index.html | 6 +- blog/2017/01/18/numbers/index.html | 6 +- .../21/home-assistant-governance/index.html | 6 +- blog/2017/01/28/face-coffee-wink/index.html | 6 +- blog/2017/02/03/babyphone/index.html | 6 +- blog/2017/02/04/hassbian-toybox/index.html | 6 +- .../11/alert-appletv-mqtt-yeelight/index.html | 6 +- blog/2017/02/14/clt-workshop/index.html | 6 +- .../index.html | 6 +- .../index.html | 3 + .../index.html | 6 +- .../2017/03/22/broken-dependencies/index.html | 6 +- .../index.html | 6 +- .../03/25/todo-volumio-workday/index.html | 6 +- .../2017/03/28/http-to-mqtt-bridge/index.html | 231 ++++++++++++++++++ blog/archives/index.html | 27 +- blog/categories/community/atom.xml | 2 +- blog/categories/community/index.html | 6 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/device-tracking/index.html | 6 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/esp8266/index.html | 6 +- blog/categories/how-to/atom.xml | 227 +++++------------ blog/categories/how-to/index.html | 27 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/ibeacons/index.html | 6 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/internet-of-things/index.html | 6 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/iot-data/index.html | 6 +- blog/categories/merchandise/atom.xml | 2 +- blog/categories/merchandise/index.html | 6 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/micropython/index.html | 6 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/mqtt/index.html | 6 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/organisation/index.html | 6 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/owntracks/index.html | 6 +- blog/categories/presence-detection/atom.xml | 2 +- blog/categories/presence-detection/index.html | 6 +- .../public-service-announcement/atom.xml | 2 +- .../public-service-announcement/index.html | 6 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/release-notes/index.html | 6 +- blog/categories/survey/atom.xml | 2 +- blog/categories/survey/index.html | 6 +- blog/categories/talks/atom.xml | 2 +- blog/categories/talks/index.html | 6 +- blog/categories/technology/atom.xml | 2 +- blog/categories/technology/index.html | 6 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/user-stories/index.html | 6 +- blog/categories/video/atom.xml | 2 +- blog/categories/video/index.html | 6 +- blog/categories/website/atom.xml | 2 +- blog/categories/website/index.html | 6 +- blog/index.html | 54 ++-- blog/posts/10/index.html | 65 ++--- blog/posts/11/index.html | 30 +++ blog/posts/2/index.html | 147 ++--------- blog/posts/3/index.html | 150 +++++++++--- blog/posts/4/index.html | 57 +++-- blog/posts/5/index.html | 56 ++--- blog/posts/6/index.html | 60 +++-- blog/posts/7/index.html | 61 ++--- blog/posts/8/index.html | 84 +++---- blog/posts/9/index.html | 89 ++++--- components/light.lifx/index.html | 1 + index.html | 8 +- sitemap.xml | 34 +-- 168 files changed, 1292 insertions(+), 1133 deletions(-) create mode 100644 blog/2017/03/28/http-to-mqtt-bridge/index.html diff --git a/atom.xml b/atom.xml index 9b25cd1fb1..4c7c49f308 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ @@ -13,6 +13,80 @@ Octopress + + <![CDATA[HTTP to MQTT bridge]]> + + 2017-03-28T06:00:00+00:00 + https://home-assistant.io/blog/2017/03/28/http-to-mqtt-bridge + The idea of creating HTTP to MQTT bridge appeared when I was trying to integrate Google Assistant with my Home Assistant after watching BRUH Automation video. Right now there is no MQTT service available in IFTTT. Existing integration solution uses Maker Webhooks which requires that your Home Assistant instance is publically accessible, which I think brings some security concerns or simply not always possible to set up.

+ +

The HTTP to MQTT bridge should fill that gap. The idea is to receive messages using HTTP requests and transfer them to your MQTT broker, which can be contacted by Home Assistant. The HTTP to MQTT bridge is written using Node.js with Express for the server part and MQTT.js for the client.

+ + + +

The app could be hosted on any Node.js hosting. I prefer Heroku: Cloud Application Platform for its simplicity.

+ +

Bringing pieces together

+ +
    +
  1. Configure the Home Assistant MQTT trigger.
  2. +
  3. Configure CloudMQTT. Check this video tutorial for details.
  4. +
  5. Deploy HTTP to MQTT bridge app.
  6. +
  7. Add the (Configuration Variables)(https://devcenter.heroku.com/articles/config-vars#setting-up-config-vars-for-a-deployed-application) to your Heroku app mentioned here. +
      +
    • AUTH_KEY: Can be any string, eg. 912ec803b2ce49e4a541068d495ab570.
    • +
    • MQTT_HOST: The host of your MQTT broker, eg. mqtts://k99.cloudmqtt.com:21234.
    • +
    • MQTT_USER: MQTT username
    • +
    • MQTT_PASS: MQTT password
    • +
    +
  8. +
  9. Create an IFTTT applet the same way as described in BRUH Automation video.
  10. +
  11. Configure Maker Webhooks service with below parameters. +
      +
    • URL: https://<app_name>.herokuapp.com/post/
    • +
    • Method: POST
    • +
    • Content Type: application/json
    • +
    • Body: {"topic":"<mqtt_topic>","message":"<mqtt_message>","key":"<AUTH_KEY>"}
    • +
    +
  12. +
+ +

Subscribe to latest version

+ +

Additionally you can make Heroku to update the HTTP to MQTT bridge app to the latest available version from the GitHub repository automatically. To do this follow the instruction on the Heroku help page.

+ +

Improve response time

+ +

After 30 minutes of inactivity Heroku will put your app into sleep mode. This will result in ~10 seconds response time. To prevent Heroku from putting your app into sleep mode, ping it every 10 minutes. You can do that by sending regular HTTP GET request to http://your_app/keep_alive/. But be careful. Heroku free quota is 550 hours per month. Without sleeping your app will be allowed to run only 22 days a month. Additionally the keep_alive method will send a simple MQTT message to prevent the broker from sleeping as well. The topic and message can be configured using Heroku environment variables KEEP_ALIVE_TOPIC and KEEP_ALIVE_MESSAGE and both are set to “keep_alive” by default.

+ +

You can even configure Home Assistant to ping HTTP to MQTT bridge every 10 minutes during daytime. Below is an example of how to do that:

+ +
rest_command:
+  http_to_mqtt_keep_alive:
+    url: https://<your_app_address>/keep_alive/
+    method: get
+
+automation:
+  alias: HTTP to MQTT keep alive
+  trigger:
+    platform: time
+    minutes: '/10'
+    seconds: 00
+  condition:
+    condition: time
+    after: '7:30:00'
+    before: '23:59:59'
+  action:
+    service: rest_command.http_to_mqtt_keep_alive
+
+
+ +

Thanks

+ +

Special thanks to Ben from BRUH Automation for awesome tutorials which inspired me to do this project.

+]]>
+
+ <![CDATA[Home Assistant 0.41: Tado, Volumio, Workday, improved Plex]]> @@ -1958,136 +2032,6 @@ You have to note:

Experiencing issues introduced by this release? Please report them in our issue tracker. Make sure to fill in all fields of the issue template.

-]]> -
- - - <![CDATA[0.32: Hacktoberfest, InfluxDB sensor, Error reporting, and Weather]]> - - 2016-11-05T03:04:05+00:00 - https://home-assistant.io/blog/2016/11/05/hacktoberfest-influxdb-weather - Another two weeks have passed and we are pleased to present Home Assistant 0.32.

- -

Hacktoberfest

-

The Hacktoberfest is over now. Home Assistant made the 2nd and the 3rd place out of almost 30’000 participating repositories with a total of 528 pull requests closed - that’s an average of 17 pull requests a day! Thanks to all the contributors but also to the team of reviewers. This wouldn’t been possible without you 👏 .

- -

Improved error reporting

-

This release has improved the reporting when a config validation error occurs. Thanks to @kellerza you will now get a persistent notification added to your UI when this happens.

- -

Asynchronous

-

This release contains the first asynchronous sensor and camera platforms. @pvizeli and @fabaff ported most of the “internal” sensors to async programming. We hope that you will enjoy the new speed.

- -

@balloob and @pvizeli worked a lot on the improvement of the core itself.

- -

Weather component

- -

For a long time we have had a bunch of weather sensors but it’s getting better: There is now a Weather component. Sorry, not much more to tell right now. The plans are to create a weather UI element and to improve the initial implementation.

- -

All changes

- -

- - - -

Release 0.32.1 - November 6

- -

We’ve added a warning to 0.32 to catch platforms accidentally slowing down Home Assistant. Our aim is to fix these quickly when reported, so here is 0.32.1 with all reported platforms fixed.

- -
    -
  • Fix Sonos doing I/O inside the event loop (@pvizeli)
  • -
  • Fix Radiotherm doing I/O inside the event loop (@balloob)
  • -
  • Fix camera MJPEG streams when using HTTP 1.0 (@balloob)
  • -
- -

Release 0.32.2 - November 7

- -
    -
  • Move Honeywell I/O out of the event loop (@balloob)
  • -
  • Use sequential updates for non-async entities to prevent race conditions (@pvizeli)
  • -
  • Fix setting temperature in Celsius on Radiotherm CT50 thermostats (@andyat)
  • -
  • Fix PiLight config validation (@DavidLP)
  • -
- -

Release 0.32.3 - November 11

- -
    -
  • Fix OpenWeather weather platform doing I/O in event loop (@lwis)
  • -
  • Fix Alarm.com doing I/O in event loop (@jnewland)
  • -
  • Fix Tellstick doing I/O in event loop (@balloob)
  • -
  • Fix KNX doing I/O in event loop (@balloob)
  • -
  • Increase warning threshold for catching platforms that do I/O (@balloob)
  • -
  • Change pilight systemcode validation (@janLo)
  • -
  • Fix Yamaha discovering already configured receivers (@sdague)
  • -
  • Fix Sonos from installing dependency each time HA was started (@pvizeli)
  • -
  • Fix Synology camera SSL and error handling (@pvizeli)
  • -
  • Fix Panasonic Viera doing I/O in event loop (@balloob)
  • -
  • Improve generic camera error handling (@kellerza)
  • -
  • Light - Flux Led Lights: allow specifying mode if light does not support white mode (@DanielHiversen)
  • -
  • Fix Rest switch default template (@pvizeli)
  • -
- -

Release 0.32.4 - November 15

- -
    -
  • Fix device tracker from crashing HASS when a new device was discovered (@balloob)
  • -
  • HTTP: Fix X-Forwarded-For feature (@mweinelt)
  • -
- -

Misc

- -

Our website has now an additional category called “Ecosystem”. This will become the place where tools, apps, and other helper for the Home Assistant ecosystem can store their documentation or guides.

- - - -

Breaking changes

- -
    -
  • The Yahoo Finance platform supports now multiple stock. Please adjust your configuration.
  • -
  • Deprecated components garage_door, rollershutter, thermostat, and hvac have been removed.
  • -
  • The minimum Python version on Windows has been bumped to Python 3.5.
  • -
  • The Insteon Hub integration has been disabled due to a request from Insteon.
  • -
- -

If you need help…

- -

…don’t hesitate to use our Forum or join us for a little chat. The release notes have comments enabled but it’s preferred if you the former communication channels. Thanks.

- ]]>
diff --git a/blog/2014/12/18/website-launched/index.html b/blog/2014/12/18/website-launched/index.html index 6b3c1292c4..f4c27d3121 100644 --- a/blog/2014/12/18/website-launched/index.html +++ b/blog/2014/12/18/website-launched/index.html @@ -120,6 +120,9 @@

Recent Posts

diff --git a/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html b/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html index 5be198c1e2..b621ffc780 100644 --- a/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html +++ b/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html @@ -154,6 +154,9 @@ This article will try to explain how they all relate.

Recent Posts

diff --git a/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html b/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html index 71c9e8c96c..f18cc7e41e 100644 --- a/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html +++ b/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html @@ -144,6 +144,9 @@

Recent Posts

diff --git a/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html b/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html index 248129e4a3..24826b5686 100644 --- a/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html +++ b/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html @@ -127,6 +127,9 @@

Recent Posts

diff --git a/blog/2015/01/13/nest-in-da-house/index.html b/blog/2015/01/13/nest-in-da-house/index.html index 633b0c667a..0190f6234a 100644 --- a/blog/2015/01/13/nest-in-da-house/index.html +++ b/blog/2015/01/13/nest-in-da-house/index.html @@ -131,6 +131,9 @@

Recent Posts

diff --git a/blog/2015/01/24/release-notes/index.html b/blog/2015/01/24/release-notes/index.html index 9283a15ed7..e335d5d69b 100644 --- a/blog/2015/01/24/release-notes/index.html +++ b/blog/2015/01/24/release-notes/index.html @@ -137,6 +137,9 @@ Home Assistant now supports --open-ui and

Recent Posts

diff --git a/blog/2015/02/08/looking-at-the-past/index.html b/blog/2015/02/08/looking-at-the-past/index.html index b2bff34b44..ce47d3235c 100644 --- a/blog/2015/02/08/looking-at-the-past/index.html +++ b/blog/2015/02/08/looking-at-the-past/index.html @@ -142,6 +142,9 @@ Events are saved in a local database. Google Graphs is used to draw the graph. D

Recent Posts

diff --git a/blog/2015/02/24/streaming-updates/index.html b/blog/2015/02/24/streaming-updates/index.html index d9a2f9d67c..c4d74eda63 100644 --- a/blog/2015/02/24/streaming-updates/index.html +++ b/blog/2015/02/24/streaming-updates/index.html @@ -128,6 +128,9 @@

Recent Posts

diff --git a/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html b/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html index d515eb931d..8c194cb40e 100644 --- a/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html +++ b/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html @@ -122,6 +122,9 @@

Recent Posts

diff --git a/blog/2015/03/08/new-logo/index.html b/blog/2015/03/08/new-logo/index.html index f766e51bc7..9c59e59e8a 100644 --- a/blog/2015/03/08/new-logo/index.html +++ b/blog/2015/03/08/new-logo/index.html @@ -125,6 +125,9 @@ The old logo, the new detailed logo and the new simple logo.

Recent Posts

diff --git a/blog/2015/03/11/release-notes/index.html b/blog/2015/03/11/release-notes/index.html index ead6b34591..02d37a7f4a 100644 --- a/blog/2015/03/11/release-notes/index.html +++ b/blog/2015/03/11/release-notes/index.html @@ -150,6 +150,9 @@ An initial version of voice control for Home Assistant has landed. The current i

Recent Posts

diff --git a/blog/2015/03/22/release-notes/index.html b/blog/2015/03/22/release-notes/index.html index b201ace426..5ff6f78377 100644 --- a/blog/2015/03/22/release-notes/index.html +++ b/blog/2015/03/22/release-notes/index.html @@ -186,6 +186,9 @@ I (Paulus) have contributed a scene component. A user can create scenes that cap

Recent Posts

diff --git a/blog/2015/04/25/release-notes/index.html b/blog/2015/04/25/release-notes/index.html index 1310bfa6d3..65baa1be4b 100644 --- a/blog/2015/04/25/release-notes/index.html +++ b/blog/2015/04/25/release-notes/index.html @@ -194,6 +194,9 @@

Recent Posts

diff --git a/blog/2015/05/09/utc-time-zone-awareness/index.html b/blog/2015/05/09/utc-time-zone-awareness/index.html index b8adf11fd6..1d2ad12d18 100644 --- a/blog/2015/05/09/utc-time-zone-awareness/index.html +++ b/blog/2015/05/09/utc-time-zone-awareness/index.html @@ -138,6 +138,9 @@

Recent Posts

diff --git a/blog/2015/05/14/release-notes/index.html b/blog/2015/05/14/release-notes/index.html index 5bb203d5dc..c5255ddf31 100644 --- a/blog/2015/05/14/release-notes/index.html +++ b/blog/2015/05/14/release-notes/index.html @@ -208,6 +208,9 @@ Before diving into the newly supported devices and services, I want to highlight

Recent Posts

diff --git a/blog/2015/06/10/release-notes/index.html b/blog/2015/06/10/release-notes/index.html index 2401bdc5f9..d5998a3a67 100644 --- a/blog/2015/06/10/release-notes/index.html +++ b/blog/2015/06/10/release-notes/index.html @@ -254,6 +254,9 @@ This switch platform allows you to control your motion detection setting on your

Recent Posts

diff --git a/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html b/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html index f6e0f15443..6ab322694f 100644 --- a/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html +++ b/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html @@ -218,6 +218,9 @@ Fabian has added support for Forecast.io to g

Recent Posts

diff --git a/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html b/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html index 28b709327f..688c1a52b7 100644 --- a/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html +++ b/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html @@ -201,6 +201,9 @@ Support for Temper temperature sensors has been contributed by

Recent Posts

diff --git a/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html b/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html index be11c3058d..a5ae10e466 100644 --- a/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html +++ b/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html @@ -138,6 +138,9 @@

Recent Posts

diff --git a/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html b/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html index d81fb011e0..063c40c5d7 100644 --- a/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html +++ b/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html @@ -238,6 +238,9 @@ The automation and script syntax here is using a deprecated and no longer suppor

Recent Posts

diff --git a/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html b/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html index 86447d6d05..1d82c2c905 100644 --- a/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html +++ b/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html @@ -199,6 +199,9 @@

Recent Posts

diff --git a/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html b/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html index 1f33a68bc7..d50553c4ac 100644 --- a/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html +++ b/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html @@ -276,6 +276,9 @@

Recent Posts

diff --git a/blog/2015/09/13/home-assistant-meets-ifttt/index.html b/blog/2015/09/13/home-assistant-meets-ifttt/index.html index b2d48156d3..5e26d34387 100644 --- a/blog/2015/09/13/home-assistant-meets-ifttt/index.html +++ b/blog/2015/09/13/home-assistant-meets-ifttt/index.html @@ -266,6 +266,9 @@

Recent Posts

diff --git a/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html b/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html index 274f2e230d..8e0336618c 100644 --- a/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html +++ b/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html @@ -165,6 +165,9 @@ Glances web server started on http://0.0.0.0:61208/

Recent Posts

diff --git a/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html b/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html index 4e2de2d868..312277c3e9 100644 --- a/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html +++ b/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html @@ -161,6 +161,9 @@ Automation has gotten a lot of love. It now supports conditions, multiple trigge

Recent Posts

diff --git a/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html b/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html index 4002fd5bb5..89d7d1bac6 100644 --- a/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html +++ b/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html @@ -144,6 +144,9 @@ Map in Home Assistant showing two people and three zones (home, school, work)

Recent Posts

diff --git a/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html b/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html index 0d83ec322e..2187fcecfa 100644 --- a/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html +++ b/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html @@ -329,6 +329,9 @@ Home Assistant will keep track of historical values and allow you to integrate i

Recent Posts

diff --git a/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html b/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html index 8aaec29d9d..85ecf2b3c0 100644 --- a/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html +++ b/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html @@ -134,6 +134,9 @@

Recent Posts

diff --git a/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html b/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html index 68827952db..47f1f6dd7c 100644 --- a/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html +++ b/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html @@ -151,6 +151,9 @@ This makes more sense as most people run Home Assistant as a daemon

Recent Posts

diff --git a/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html b/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html index 8b7119f1e7..67e63e4421 100644 --- a/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html +++ b/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html @@ -149,6 +149,9 @@

Recent Posts

diff --git a/blog/2015/11/22/survey-november-2015/index.html b/blog/2015/11/22/survey-november-2015/index.html index b927747922..f220a05b6e 100644 --- a/blog/2015/11/22/survey-november-2015/index.html +++ b/blog/2015/11/22/survey-november-2015/index.html @@ -176,6 +176,9 @@

Recent Posts

diff --git a/blog/2015/12/05/community-highlights/index.html b/blog/2015/12/05/community-highlights/index.html index 96134cd77a..64ea79962c 100644 --- a/blog/2015/12/05/community-highlights/index.html +++ b/blog/2015/12/05/community-highlights/index.html @@ -127,6 +127,9 @@

Recent Posts

diff --git a/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html b/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html index f10c350405..7399e668b5 100644 --- a/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html +++ b/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html @@ -135,6 +135,9 @@

Recent Posts

diff --git a/blog/2015/12/07/influxdb-and-grafana/index.html b/blog/2015/12/07/influxdb-and-grafana/index.html index 276fb0072c..76b184e148 100644 --- a/blog/2015/12/07/influxdb-and-grafana/index.html +++ b/blog/2015/12/07/influxdb-and-grafana/index.html @@ -189,6 +189,9 @@ name: binary_sensor

Recent Posts

diff --git a/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html b/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html index 5bb224f765..38b6d89665 100644 --- a/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html +++ b/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html @@ -156,6 +156,9 @@ This is where we’ll configure our task, so select the plus icon to select an a

Recent Posts

diff --git a/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html b/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html index 8722dcce71..d485abd634 100644 --- a/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html +++ b/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html @@ -142,6 +142,9 @@ Philips Hue FAQ entries regarding 3rd party light bulbs.

Recent Posts

diff --git a/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html b/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html index 9c5b151ffe..40cf0f6de7 100644 --- a/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html +++ b/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html @@ -181,6 +181,9 @@ sudo docker run -it --rm -p 80:80 --name certbot \

Recent Posts

diff --git a/blog/2015/12/22/amazon-echo-icloud-and-templates/index.html b/blog/2015/12/22/amazon-echo-icloud-and-templates/index.html index 7c316d841f..ec0c977eff 100644 --- a/blog/2015/12/22/amazon-echo-icloud-and-templates/index.html +++ b/blog/2015/12/22/amazon-echo-icloud-and-templates/index.html @@ -159,6 +159,9 @@

Recent Posts

diff --git a/blog/2016/01/17/extended-support-for-diy-solutions/index.html b/blog/2016/01/17/extended-support-for-diy-solutions/index.html index 7f373abf49..dd94fac664 100644 --- a/blog/2016/01/17/extended-support-for-diy-solutions/index.html +++ b/blog/2016/01/17/extended-support-for-diy-solutions/index.html @@ -150,6 +150,9 @@

Recent Posts

diff --git a/blog/2016/01/19/perfect-home-automation/index.html b/blog/2016/01/19/perfect-home-automation/index.html index 4c78541ad9..035e3709b1 100644 --- a/blog/2016/01/19/perfect-home-automation/index.html +++ b/blog/2016/01/19/perfect-home-automation/index.html @@ -139,6 +139,9 @@

Recent Posts

diff --git a/blog/2016/01/30/insteon-lifx-twitter-and-zigbee/index.html b/blog/2016/01/30/insteon-lifx-twitter-and-zigbee/index.html index 145b1bff76..7a52591320 100644 --- a/blog/2016/01/30/insteon-lifx-twitter-and-zigbee/index.html +++ b/blog/2016/01/30/insteon-lifx-twitter-and-zigbee/index.html @@ -153,6 +153,9 @@ Example of the new views in the frontend. Learn mor

Recent Posts

diff --git a/blog/2016/02/09/Smarter-Smart-Things-with-MQTT-and-Home-Assistant/index.html b/blog/2016/02/09/Smarter-Smart-Things-with-MQTT-and-Home-Assistant/index.html index 2475c64d50..2475640759 100644 --- a/blog/2016/02/09/Smarter-Smart-Things-with-MQTT-and-Home-Assistant/index.html +++ b/blog/2016/02/09/Smarter-Smart-Things-with-MQTT-and-Home-Assistant/index.html @@ -273,6 +273,9 @@ Z-Wave light bulb |

Recent Posts

diff --git a/blog/2016/02/12/classifying-the-internet-of-things/index.html b/blog/2016/02/12/classifying-the-internet-of-things/index.html index 1d9d00400b..dc0e91e4fa 100644 --- a/blog/2016/02/12/classifying-the-internet-of-things/index.html +++ b/blog/2016/02/12/classifying-the-internet-of-things/index.html @@ -247,6 +247,9 @@

Recent Posts

diff --git a/blog/2016/02/13/speedtest-bloomsky-splunk-and-garage-doors/index.html b/blog/2016/02/13/speedtest-bloomsky-splunk-and-garage-doors/index.html index 874bdf7460..90fd1f260d 100644 --- a/blog/2016/02/13/speedtest-bloomsky-splunk-and-garage-doors/index.html +++ b/blog/2016/02/13/speedtest-bloomsky-splunk-and-garage-doors/index.html @@ -158,6 +158,9 @@

Recent Posts

diff --git a/blog/2016/02/18/multi-room-audio-with-snapcast/index.html b/blog/2016/02/18/multi-room-audio-with-snapcast/index.html index cbf85808dc..c25663a4eb 100644 --- a/blog/2016/02/18/multi-room-audio-with-snapcast/index.html +++ b/blog/2016/02/18/multi-room-audio-with-snapcast/index.html @@ -212,6 +212,9 @@

Recent Posts

diff --git a/blog/2016/02/20/community-highlights/index.html b/blog/2016/02/20/community-highlights/index.html index 9ba79c27dd..72992cf1a2 100644 --- a/blog/2016/02/20/community-highlights/index.html +++ b/blog/2016/02/20/community-highlights/index.html @@ -155,6 +155,9 @@ Hold your NFC tag against the belly of Garfield to unlock the alarm.

Recent Posts

diff --git a/blog/2016/02/27/steam-d-link-smart-plugs-and-neurio-energy-sensors/index.html b/blog/2016/02/27/steam-d-link-smart-plugs-and-neurio-energy-sensors/index.html index 36b3df5561..d8abd6b835 100644 --- a/blog/2016/02/27/steam-d-link-smart-plugs-and-neurio-energy-sensors/index.html +++ b/blog/2016/02/27/steam-d-link-smart-plugs-and-neurio-energy-sensors/index.html @@ -157,6 +157,9 @@

Recent Posts

diff --git a/blog/2016/03/12/z-wave-pep257-templated-service-calls/index.html b/blog/2016/03/12/z-wave-pep257-templated-service-calls/index.html index e4d7700889..f973d12544 100644 --- a/blog/2016/03/12/z-wave-pep257-templated-service-calls/index.html +++ b/blog/2016/03/12/z-wave-pep257-templated-service-calls/index.html @@ -158,6 +158,9 @@ player state attributes. This change affects automations, scripts and scenes.

Recent Posts

diff --git a/blog/2016/03/26/embedded-mqtt-broker-uber-yamaha-growl/index.html b/blog/2016/03/26/embedded-mqtt-broker-uber-yamaha-growl/index.html index a86e30ed28..4d267306f9 100644 --- a/blog/2016/03/26/embedded-mqtt-broker-uber-yamaha-growl/index.html +++ b/blog/2016/03/26/embedded-mqtt-broker-uber-yamaha-growl/index.html @@ -166,6 +166,9 @@

Recent Posts

diff --git a/blog/2016/04/05/your-hub-should-be-local-and-open/index.html b/blog/2016/04/05/your-hub-should-be-local-and-open/index.html index fcb948660d..b111519395 100644 --- a/blog/2016/04/05/your-hub-should-be-local-and-open/index.html +++ b/blog/2016/04/05/your-hub-should-be-local-and-open/index.html @@ -126,6 +126,9 @@

Recent Posts

diff --git a/blog/2016/04/07/static-website/index.html b/blog/2016/04/07/static-website/index.html index b9488fdb06..64fbaab5f2 100644 --- a/blog/2016/04/07/static-website/index.html +++ b/blog/2016/04/07/static-website/index.html @@ -129,6 +129,9 @@

Recent Posts

diff --git a/blog/2016/04/09/onkyo-panasonic-gtfs-and-config-validation/index.html b/blog/2016/04/09/onkyo-panasonic-gtfs-and-config-validation/index.html index 2db0fd0230..a6f926c923 100644 --- a/blog/2016/04/09/onkyo-panasonic-gtfs-and-config-validation/index.html +++ b/blog/2016/04/09/onkyo-panasonic-gtfs-and-config-validation/index.html @@ -138,6 +138,9 @@

Recent Posts

diff --git a/blog/2016/04/17/updated-documentation/index.html b/blog/2016/04/17/updated-documentation/index.html index 0907ced5ac..e215f7b8f9 100644 --- a/blog/2016/04/17/updated-documentation/index.html +++ b/blog/2016/04/17/updated-documentation/index.html @@ -124,6 +124,9 @@

Recent Posts

diff --git a/blog/2016/04/19/to-infinity-and-beyond/index.html b/blog/2016/04/19/to-infinity-and-beyond/index.html index 3b7c81e1de..4f5c0c7f60 100644 --- a/blog/2016/04/19/to-infinity-and-beyond/index.html +++ b/blog/2016/04/19/to-infinity-and-beyond/index.html @@ -136,6 +136,9 @@

Recent Posts

diff --git a/blog/2016/04/20/bluetooth-lg-webos-tvs-and-roombas/index.html b/blog/2016/04/20/bluetooth-lg-webos-tvs-and-roombas/index.html index 92c0082ac2..caf9ac025f 100644 --- a/blog/2016/04/20/bluetooth-lg-webos-tvs-and-roombas/index.html +++ b/blog/2016/04/20/bluetooth-lg-webos-tvs-and-roombas/index.html @@ -158,6 +158,9 @@

Recent Posts

diff --git a/blog/2016/04/30/ibeacons-part-1-making-presence-detection-work-better/index.html b/blog/2016/04/30/ibeacons-part-1-making-presence-detection-work-better/index.html index d3618c9971..6262e1bb0d 100644 --- a/blog/2016/04/30/ibeacons-part-1-making-presence-detection-work-better/index.html +++ b/blog/2016/04/30/ibeacons-part-1-making-presence-detection-work-better/index.html @@ -200,6 +200,9 @@ For example, my wife works next door - and I couldn’t detect whether she’s a

Recent Posts

diff --git a/blog/2016/05/06/open-iot-summit-talk/index.html b/blog/2016/05/06/open-iot-summit-talk/index.html index 777ef341e4..10ad43b935 100644 --- a/blog/2016/05/06/open-iot-summit-talk/index.html +++ b/blog/2016/05/06/open-iot-summit-talk/index.html @@ -124,6 +124,9 @@

Recent Posts

diff --git a/blog/2016/05/07/empowering-scripts-and-alexa/index.html b/blog/2016/05/07/empowering-scripts-and-alexa/index.html index 6f7b0f12cc..e61174bc2e 100644 --- a/blog/2016/05/07/empowering-scripts-and-alexa/index.html +++ b/blog/2016/05/07/empowering-scripts-and-alexa/index.html @@ -198,6 +198,9 @@

Recent Posts

diff --git a/blog/2016/05/12/video-configuring-home-assistant/index.html b/blog/2016/05/12/video-configuring-home-assistant/index.html index a953ea5e9a..1f694dec85 100644 --- a/blog/2016/05/12/video-configuring-home-assistant/index.html +++ b/blog/2016/05/12/video-configuring-home-assistant/index.html @@ -124,6 +124,9 @@

Recent Posts

diff --git a/blog/2016/05/18/why-we-use-polymer/index.html b/blog/2016/05/18/why-we-use-polymer/index.html index 0d0008328c..9bcc9a7c3b 100644 --- a/blog/2016/05/18/why-we-use-polymer/index.html +++ b/blog/2016/05/18/why-we-use-polymer/index.html @@ -130,6 +130,9 @@

Recent Posts

diff --git a/blog/2016/05/21/release-020/index.html b/blog/2016/05/21/release-020/index.html index 281ab4752c..260503ebfd 100644 --- a/blog/2016/05/21/release-020/index.html +++ b/blog/2016/05/21/release-020/index.html @@ -154,6 +154,9 @@

Recent Posts

diff --git a/blog/2016/05/22/get-started-with-all-in-one-installer/index.html b/blog/2016/05/22/get-started-with-all-in-one-installer/index.html index eb3c866d13..a9f4760348 100644 --- a/blog/2016/05/22/get-started-with-all-in-one-installer/index.html +++ b/blog/2016/05/22/get-started-with-all-in-one-installer/index.html @@ -127,6 +127,9 @@

Recent Posts

diff --git a/blog/2016/05/26/ibeacons-how-to-track-things-that-cant-track-themselves-part-ii/index.html b/blog/2016/05/26/ibeacons-how-to-track-things-that-cant-track-themselves-part-ii/index.html index bbcef20076..c164cad124 100644 --- a/blog/2016/05/26/ibeacons-how-to-track-things-that-cant-track-themselves-part-ii/index.html +++ b/blog/2016/05/26/ibeacons-how-to-track-things-that-cant-track-themselves-part-ii/index.html @@ -228,6 +228,9 @@

Recent Posts

diff --git a/blog/2016/06/01/community-highlights/index.html b/blog/2016/06/01/community-highlights/index.html index 06f2313448..65453c9464 100644 --- a/blog/2016/06/01/community-highlights/index.html +++ b/blog/2016/06/01/community-highlights/index.html @@ -136,6 +136,9 @@

Recent Posts

diff --git a/blog/2016/06/08/super-fast-web-enocean-lirc/index.html b/blog/2016/06/08/super-fast-web-enocean-lirc/index.html index eb01b23c4c..c85f56e459 100644 --- a/blog/2016/06/08/super-fast-web-enocean-lirc/index.html +++ b/blog/2016/06/08/super-fast-web-enocean-lirc/index.html @@ -168,6 +168,9 @@

Recent Posts

diff --git a/blog/2016/06/13/home-assistant-at-pycon-2016/index.html b/blog/2016/06/13/home-assistant-at-pycon-2016/index.html index fb643fcca9..067e05c889 100644 --- a/blog/2016/06/13/home-assistant-at-pycon-2016/index.html +++ b/blog/2016/06/13/home-assistant-at-pycon-2016/index.html @@ -140,6 +140,9 @@

Recent Posts

diff --git a/blog/2016/06/18/pandora-bt-home-hub-5-and-local-file-camera/index.html b/blog/2016/06/18/pandora-bt-home-hub-5-and-local-file-camera/index.html index ac87d4f1bf..aa574f0b0a 100644 --- a/blog/2016/06/18/pandora-bt-home-hub-5-and-local-file-camera/index.html +++ b/blog/2016/06/18/pandora-bt-home-hub-5-and-local-file-camera/index.html @@ -162,6 +162,9 @@

Recent Posts

diff --git a/blog/2016/06/23/usb-webcams-and-home-assistant/index.html b/blog/2016/06/23/usb-webcams-and-home-assistant/index.html index 0d581c9bd8..23560b641b 100644 --- a/blog/2016/06/23/usb-webcams-and-home-assistant/index.html +++ b/blog/2016/06/23/usb-webcams-and-home-assistant/index.html @@ -208,6 +208,9 @@ target_dir /tmp

Recent Posts

diff --git a/blog/2016/07/01/envisalink-homematic-hdmi-cec-and-sony-bravia-tv/index.html b/blog/2016/07/01/envisalink-homematic-hdmi-cec-and-sony-bravia-tv/index.html index 418796ccd1..76a23e1d62 100644 --- a/blog/2016/07/01/envisalink-homematic-hdmi-cec-and-sony-bravia-tv/index.html +++ b/blog/2016/07/01/envisalink-homematic-hdmi-cec-and-sony-bravia-tv/index.html @@ -163,6 +163,9 @@

Recent Posts

diff --git a/blog/2016/07/06/pocketchip-running-home-assistant/index.html b/blog/2016/07/06/pocketchip-running-home-assistant/index.html index dc898662f5..f5f2368ca8 100644 --- a/blog/2016/07/06/pocketchip-running-home-assistant/index.html +++ b/blog/2016/07/06/pocketchip-running-home-assistant/index.html @@ -153,6 +153,9 @@ Over a year ago I participated in the

Recent Posts

diff --git a/blog/2016/07/16/sqlalchemy-knx-join-simplisafe/index.html b/blog/2016/07/16/sqlalchemy-knx-join-simplisafe/index.html index e845483488..a340a777f0 100644 --- a/blog/2016/07/16/sqlalchemy-knx-join-simplisafe/index.html +++ b/blog/2016/07/16/sqlalchemy-knx-join-simplisafe/index.html @@ -159,6 +159,9 @@

Recent Posts

diff --git a/blog/2016/07/19/visualizing-your-iot-data/index.html b/blog/2016/07/19/visualizing-your-iot-data/index.html index 8f76f820a3..03ae5c91a5 100644 --- a/blog/2016/07/19/visualizing-your-iot-data/index.html +++ b/blog/2016/07/19/visualizing-your-iot-data/index.html @@ -196,6 +196,9 @@ SQLite version 3.11.0 2016-02-15 17:29:24

Recent Posts

diff --git a/blog/2016/07/23/internet-of-things-data-exploration-with-jupyter-notebooks/index.html b/blog/2016/07/23/internet-of-things-data-exploration-with-jupyter-notebooks/index.html index 1c0c254d78..1fc52beed4 100644 --- a/blog/2016/07/23/internet-of-things-data-exploration-with-jupyter-notebooks/index.html +++ b/blog/2016/07/23/internet-of-things-data-exploration-with-jupyter-notebooks/index.html @@ -163,6 +163,9 @@ One of the graphs created with this tutorial.

Recent Posts

diff --git a/blog/2016/07/28/esp8266-and-micropython-part1/index.html b/blog/2016/07/28/esp8266-and-micropython-part1/index.html index c30b523bd1..6f4c00e8f2 100644 --- a/blog/2016/07/28/esp8266-and-micropython-part1/index.html +++ b/blog/2016/07/28/esp8266-and-micropython-part1/index.html @@ -243,6 +243,9 @@ If a module is missing then you need to download it from the

Recent Posts

diff --git a/blog/2016/07/30/custom-frontend-panels-jupyter-notebooks-directv/index.html b/blog/2016/07/30/custom-frontend-panels-jupyter-notebooks-directv/index.html index 52b2be18c0..0b02849e0b 100644 --- a/blog/2016/07/30/custom-frontend-panels-jupyter-notebooks-directv/index.html +++ b/blog/2016/07/30/custom-frontend-panels-jupyter-notebooks-directv/index.html @@ -175,6 +175,9 @@

Recent Posts

diff --git a/blog/2016/08/03/laundry-automation-update/index.html b/blog/2016/08/03/laundry-automation-update/index.html index b2cf0d1d88..d4b4e4328d 100644 --- a/blog/2016/08/03/laundry-automation-update/index.html +++ b/blog/2016/08/03/laundry-automation-update/index.html @@ -207,6 +207,9 @@

Recent Posts

diff --git a/blog/2016/08/07/optimizing-the-home-assistant-mobile-web-app/index.html b/blog/2016/08/07/optimizing-the-home-assistant-mobile-web-app/index.html index 237b15b849..e38df495dd 100644 --- a/blog/2016/08/07/optimizing-the-home-assistant-mobile-web-app/index.html +++ b/blog/2016/08/07/optimizing-the-home-assistant-mobile-web-app/index.html @@ -202,6 +202,9 @@

Recent Posts

diff --git a/blog/2016/08/13/foursquare-fast-com-ffmpeg-gpsd/index.html b/blog/2016/08/13/foursquare-fast-com-ffmpeg-gpsd/index.html index e71ac74430..a397971d06 100644 --- a/blog/2016/08/13/foursquare-fast-com-ffmpeg-gpsd/index.html +++ b/blog/2016/08/13/foursquare-fast-com-ffmpeg-gpsd/index.html @@ -175,6 +175,9 @@

Recent Posts

diff --git a/blog/2016/08/16/we-have-apps-now/index.html b/blog/2016/08/16/we-have-apps-now/index.html index a4b6cfdafd..d4a502ff06 100644 --- a/blog/2016/08/16/we-have-apps-now/index.html +++ b/blog/2016/08/16/we-have-apps-now/index.html @@ -213,6 +213,9 @@

Recent Posts

diff --git a/blog/2016/08/19/github-style-calendar-heatmap-of-device-data/index.html b/blog/2016/08/19/github-style-calendar-heatmap-of-device-data/index.html index 7e6f2ff87c..f74dcef7bd 100644 --- a/blog/2016/08/19/github-style-calendar-heatmap-of-device-data/index.html +++ b/blog/2016/08/19/github-style-calendar-heatmap-of-device-data/index.html @@ -125,6 +125,9 @@ Heatmap

Recent Posts

diff --git a/blog/2016/08/28/notifications-hue-fake-unification/index.html b/blog/2016/08/28/notifications-hue-fake-unification/index.html index 1be506687e..a26a970792 100644 --- a/blog/2016/08/28/notifications-hue-fake-unification/index.html +++ b/blog/2016/08/28/notifications-hue-fake-unification/index.html @@ -274,6 +274,9 @@

Recent Posts

diff --git a/blog/2016/08/31/esp8266-and-micropython-part2/index.html b/blog/2016/08/31/esp8266-and-micropython-part2/index.html index c15e3d8a36..2ffbc39f9b 100644 --- a/blog/2016/08/31/esp8266-and-micropython-part2/index.html +++ b/blog/2016/08/31/esp8266-and-micropython-part2/index.html @@ -201,6 +201,9 @@ So, part 1 of ESP8266

Recent Posts

diff --git a/blog/2016/09/10/notify-group-reload-api-pihole/index.html b/blog/2016/09/10/notify-group-reload-api-pihole/index.html index 85800a1dfb..14adfc668a 100644 --- a/blog/2016/09/10/notify-group-reload-api-pihole/index.html +++ b/blog/2016/09/10/notify-group-reload-api-pihole/index.html @@ -203,6 +203,9 @@

Recent Posts

diff --git a/blog/2016/09/29/async-sleepiq-emoncms-stocks/index.html b/blog/2016/09/29/async-sleepiq-emoncms-stocks/index.html index 502cde8ca1..a481ecdf7c 100644 --- a/blog/2016/09/29/async-sleepiq-emoncms-stocks/index.html +++ b/blog/2016/09/29/async-sleepiq-emoncms-stocks/index.html @@ -208,6 +208,9 @@

Recent Posts

diff --git a/blog/2016/10/01/we-have-raspberry-image-now/index.html b/blog/2016/10/01/we-have-raspberry-image-now/index.html index 9ebf0d6553..a18a01e16e 100644 --- a/blog/2016/10/01/we-have-raspberry-image-now/index.html +++ b/blog/2016/10/01/we-have-raspberry-image-now/index.html @@ -129,6 +129,9 @@

Recent Posts

diff --git a/blog/2016/10/02/hacktoberfest/index.html b/blog/2016/10/02/hacktoberfest/index.html index a49a8dac47..41e691d233 100644 --- a/blog/2016/10/02/hacktoberfest/index.html +++ b/blog/2016/10/02/hacktoberfest/index.html @@ -137,6 +137,9 @@

Recent Posts

diff --git a/blog/2016/10/08/hassbian-rest-digital-ocean/index.html b/blog/2016/10/08/hassbian-rest-digital-ocean/index.html index ab496e92fa..d6e333e09f 100644 --- a/blog/2016/10/08/hassbian-rest-digital-ocean/index.html +++ b/blog/2016/10/08/hassbian-rest-digital-ocean/index.html @@ -219,6 +219,9 @@

Recent Posts

diff --git a/blog/2016/10/22/flash-briefing-updater-hacktoberfest/index.html b/blog/2016/10/22/flash-briefing-updater-hacktoberfest/index.html index 53610b1a4f..9361bfccc1 100644 --- a/blog/2016/10/22/flash-briefing-updater-hacktoberfest/index.html +++ b/blog/2016/10/22/flash-briefing-updater-hacktoberfest/index.html @@ -391,6 +391,9 @@

Recent Posts

diff --git a/blog/2016/10/25/explaining-the-updater/index.html b/blog/2016/10/25/explaining-the-updater/index.html index 3c9d7ab335..b7cb35b12a 100644 --- a/blog/2016/10/25/explaining-the-updater/index.html +++ b/blog/2016/10/25/explaining-the-updater/index.html @@ -147,6 +147,9 @@

Recent Posts

diff --git a/blog/2016/11/05/hacktoberfest-influxdb-weather/index.html b/blog/2016/11/05/hacktoberfest-influxdb-weather/index.html index 44c3d67a41..d071c459af 100644 --- a/blog/2016/11/05/hacktoberfest-influxdb-weather/index.html +++ b/blog/2016/11/05/hacktoberfest-influxdb-weather/index.html @@ -215,6 +215,9 @@

Recent Posts

diff --git a/blog/2016/11/20/calendar-wink-thermostats-cisco-ios/index.html b/blog/2016/11/20/calendar-wink-thermostats-cisco-ios/index.html index 3fd7e9938f..833c8a33d5 100644 --- a/blog/2016/11/20/calendar-wink-thermostats-cisco-ios/index.html +++ b/blog/2016/11/20/calendar-wink-thermostats-cisco-ios/index.html @@ -176,6 +176,9 @@

Recent Posts

diff --git a/blog/2016/12/03/remote-websockets-sonarr/index.html b/blog/2016/12/03/remote-websockets-sonarr/index.html index 51b052053c..6ee539f792 100644 --- a/blog/2016/12/03/remote-websockets-sonarr/index.html +++ b/blog/2016/12/03/remote-websockets-sonarr/index.html @@ -237,6 +237,9 @@

Recent Posts

diff --git a/blog/2016/12/17/text-to-speech-aquostv-flic-zamg/index.html b/blog/2016/12/17/text-to-speech-aquostv-flic-zamg/index.html index 98c0265041..6926d1c047 100644 --- a/blog/2016/12/17/text-to-speech-aquostv-flic-zamg/index.html +++ b/blog/2016/12/17/text-to-speech-aquostv-flic-zamg/index.html @@ -190,6 +190,9 @@

Recent Posts

diff --git a/blog/2016/12/19/thank-you/index.html b/blog/2016/12/19/thank-you/index.html index 507ff38127..5051259e0b 100644 --- a/blog/2016/12/19/thank-you/index.html +++ b/blog/2016/12/19/thank-you/index.html @@ -128,6 +128,9 @@

Recent Posts

diff --git a/blog/2017/01/03/control-my-christmas-tree-stats/index.html b/blog/2017/01/03/control-my-christmas-tree-stats/index.html index c5c01cbccd..eb2ceffd20 100644 --- a/blog/2017/01/03/control-my-christmas-tree-stats/index.html +++ b/blog/2017/01/03/control-my-christmas-tree-stats/index.html @@ -138,6 +138,9 @@

Recent Posts

diff --git a/blog/2017/01/14/iss-usps-images-packages/index.html b/blog/2017/01/14/iss-usps-images-packages/index.html index df3af655d9..4b053cb77b 100644 --- a/blog/2017/01/14/iss-usps-images-packages/index.html +++ b/blog/2017/01/14/iss-usps-images-packages/index.html @@ -207,6 +207,9 @@ You have to note:

Recent Posts

diff --git a/blog/2017/01/18/numbers/index.html b/blog/2017/01/18/numbers/index.html index a6c79f60af..ba1b7880a5 100644 --- a/blog/2017/01/18/numbers/index.html +++ b/blog/2017/01/18/numbers/index.html @@ -130,6 +130,9 @@

Recent Posts

diff --git a/blog/2017/01/21/home-assistant-governance/index.html b/blog/2017/01/21/home-assistant-governance/index.html index 1c5faf556e..440a42bddc 100644 --- a/blog/2017/01/21/home-assistant-governance/index.html +++ b/blog/2017/01/21/home-assistant-governance/index.html @@ -167,6 +167,9 @@

Recent Posts

diff --git a/blog/2017/01/28/face-coffee-wink/index.html b/blog/2017/01/28/face-coffee-wink/index.html index 150b499b31..51f46dc0a9 100644 --- a/blog/2017/01/28/face-coffee-wink/index.html +++ b/blog/2017/01/28/face-coffee-wink/index.html @@ -253,6 +253,9 @@

Recent Posts

diff --git a/blog/2017/02/03/babyphone/index.html b/blog/2017/02/03/babyphone/index.html index 8edcaee602..0b7d8ae650 100644 --- a/blog/2017/02/03/babyphone/index.html +++ b/blog/2017/02/03/babyphone/index.html @@ -232,6 +232,9 @@ We change the platform name for binary sensor in 0.38 from

Recent Posts

diff --git a/blog/2017/02/04/hassbian-toybox/index.html b/blog/2017/02/04/hassbian-toybox/index.html index c5738d2226..93f7447a78 100644 --- a/blog/2017/02/04/hassbian-toybox/index.html +++ b/blog/2017/02/04/hassbian-toybox/index.html @@ -158,6 +158,9 @@ On the close horizon from @Landrash th

Recent Posts

diff --git a/blog/2017/02/11/alert-appletv-mqtt-yeelight/index.html b/blog/2017/02/11/alert-appletv-mqtt-yeelight/index.html index bc888aa6ef..4ccda466d7 100644 --- a/blog/2017/02/11/alert-appletv-mqtt-yeelight/index.html +++ b/blog/2017/02/11/alert-appletv-mqtt-yeelight/index.html @@ -245,6 +245,9 @@

Recent Posts

diff --git a/blog/2017/02/14/clt-workshop/index.html b/blog/2017/02/14/clt-workshop/index.html index ed65841db9..1894b6a6fd 100644 --- a/blog/2017/02/14/clt-workshop/index.html +++ b/blog/2017/02/14/clt-workshop/index.html @@ -128,6 +128,9 @@

Recent Posts

diff --git a/blog/2017/02/22/home-assistant-tshirts-have-arrived/index.html b/blog/2017/02/22/home-assistant-tshirts-have-arrived/index.html index a44c0d3955..5c31a68818 100644 --- a/blog/2017/02/22/home-assistant-tshirts-have-arrived/index.html +++ b/blog/2017/02/22/home-assistant-tshirts-have-arrived/index.html @@ -162,6 +162,9 @@

Recent Posts

diff --git a/blog/2017/02/25/config-panel-and-state-restoration/index.html b/blog/2017/02/25/config-panel-and-state-restoration/index.html index 7036899d8a..d3201e685d 100644 --- a/blog/2017/02/25/config-panel-and-state-restoration/index.html +++ b/blog/2017/02/25/config-panel-and-state-restoration/index.html @@ -300,6 +300,9 @@

Recent Posts

    +
  • + HTTP to MQTT bridge +
  • Home Assistant 0.41: Tado, Volumio, Workday, improved Plex
  • diff --git a/blog/2017/03/11/repurpose-any-android-phone-as-ip-camera/index.html b/blog/2017/03/11/repurpose-any-android-phone-as-ip-camera/index.html index c6e3afdc19..e01067f154 100644 --- a/blog/2017/03/11/repurpose-any-android-phone-as-ip-camera/index.html +++ b/blog/2017/03/11/repurpose-any-android-phone-as-ip-camera/index.html @@ -333,6 +333,9 @@ Screenshot of all the different functionality the IP webcam integration offers.

    Recent Posts

    diff --git a/blog/2017/03/22/broken-dependencies/index.html b/blog/2017/03/22/broken-dependencies/index.html index c1c27ad4bb..19c6abcbeb 100644 --- a/blog/2017/03/22/broken-dependencies/index.html +++ b/blog/2017/03/22/broken-dependencies/index.html @@ -130,6 +130,9 @@

    Recent Posts

    diff --git a/blog/2017/03/23/opensourcecraft-interview-with-founder-paulus-schoutsen/index.html b/blog/2017/03/23/opensourcecraft-interview-with-founder-paulus-schoutsen/index.html index 21fe7a3e71..cae77f0afd 100644 --- a/blog/2017/03/23/opensourcecraft-interview-with-founder-paulus-schoutsen/index.html +++ b/blog/2017/03/23/opensourcecraft-interview-with-founder-paulus-schoutsen/index.html @@ -123,6 +123,9 @@

    Recent Posts

    diff --git a/blog/2017/03/25/todo-volumio-workday/index.html b/blog/2017/03/25/todo-volumio-workday/index.html index deeb25bd78..d1b2d91676 100644 --- a/blog/2017/03/25/todo-volumio-workday/index.html +++ b/blog/2017/03/25/todo-volumio-workday/index.html @@ -277,6 +277,9 @@

    Recent Posts

    diff --git a/blog/2017/03/28/http-to-mqtt-bridge/index.html b/blog/2017/03/28/http-to-mqtt-bridge/index.html new file mode 100644 index 0000000000..0555cac0ca --- /dev/null +++ b/blog/2017/03/28/http-to-mqtt-bridge/index.html @@ -0,0 +1,231 @@ + + + + + + + + + HTTP to MQTT bridge - Home Assistant + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    +

    HTTP to MQTT bridge

    +
    + + + three minutes reading time + + +
      +
    • How-To
    • +
    +
    + Comments +
    +
    +

    The idea of creating HTTP to MQTT bridge appeared when I was trying to integrate Google Assistant with my Home Assistant after watching BRUH Automation video. Right now there is no MQTT service available in IFTTT. Existing integration solution uses Maker Webhooks which requires that your Home Assistant instance is publically accessible, which I think brings some security concerns or simply not always possible to set up.

    +

    The HTTP to MQTT bridge should fill that gap. The idea is to receive messages using HTTP requests and transfer them to your MQTT broker, which can be contacted by Home Assistant. The HTTP to MQTT bridge is written using Node.js with Express for the server part and MQTT.js for the client.

    + +

    The app could be hosted on any Node.js hosting. I prefer Heroku: Cloud Application Platform for its simplicity.

    +

    Bringing pieces together

    +
      +
    1. Configure the Home Assistant MQTT trigger.
    2. +
    3. Configure CloudMQTT. Check this video tutorial for details.
    4. +
    5. Deploy HTTP to MQTT bridge app.
    6. +
    7. Add the (Configuration Variables)(https://devcenter.heroku.com/articles/config-vars#setting-up-config-vars-for-a-deployed-application) to your Heroku app mentioned here. +
        +
      • AUTH_KEY: Can be any string, eg. 912ec803b2ce49e4a541068d495ab570.
      • +
      • MQTT_HOST: The host of your MQTT broker, eg. mqtts://k99.cloudmqtt.com:21234.
      • +
      • MQTT_USER: MQTT username
      • +
      • MQTT_PASS: MQTT password
      • +
      +
    8. +
    9. Create an IFTTT applet the same way as described in BRUH Automation video.
    10. +
    11. Configure Maker Webhooks service with below parameters. +
        +
      • URL: https://<app_name>.herokuapp.com/post/
      • +
      • Method: POST
      • +
      • Content Type: application/json
      • +
      • Body: {"topic":"<mqtt_topic>","message":"<mqtt_message>","key":"<AUTH_KEY>"}
      • +
      +
    12. +
    +

    Subscribe to latest version

    +

    Additionally you can make Heroku to update the HTTP to MQTT bridge app to the latest available version from the GitHub repository automatically. To do this follow the instruction on the Heroku help page.

    +

    Improve response time

    +

    After 30 minutes of inactivity Heroku will put your app into sleep mode. This will result in ~10 seconds response time. To prevent Heroku from putting your app into sleep mode, ping it every 10 minutes. You can do that by sending regular HTTP GET request to http://your_app/keep_alive/. But be careful. Heroku free quota is 550 hours per month. Without sleeping your app will be allowed to run only 22 days a month. Additionally the keep_alive method will send a simple MQTT message to prevent the broker from sleeping as well. The topic and message can be configured using Heroku environment variables KEEP_ALIVE_TOPIC and KEEP_ALIVE_MESSAGE and both are set to “keep_alive” by default.

    +

    You can even configure Home Assistant to ping HTTP to MQTT bridge every 10 minutes during daytime. Below is an example of how to do that:

    +
    rest_command:
    +  http_to_mqtt_keep_alive:
    +    url: https://<your_app_address>/keep_alive/
    +    method: get
    +
    +automation:
    +  alias: HTTP to MQTT keep alive
    +  trigger:
    +    platform: time
    +    minutes: '/10'
    +    seconds: 00
    +  condition:
    +    condition: time
    +    after: '7:30:00'
    +    before: '23:59:59'
    +  action:
    +    service: rest_command.http_to_mqtt_keep_alive
    +
    +
    +

    Thanks

    +

    Special thanks to Ben from BRUH Automation for awesome tutorials which inspired me to do this project.

    +
    +
    +

    Comments

    +
    +
    +
    + +
    +
    + + + + + diff --git a/blog/archives/index.html b/blog/archives/index.html index b8dd05f383..e6bf714359 100644 --- a/blog/archives/index.html +++ b/blog/archives/index.html @@ -2380,6 +2380,27 @@
    + + + @@ -2420,6 +2441,9 @@

    Recent Posts

    diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 77f9545c70..87135e4364 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/index.html b/blog/categories/community/index.html index f99d5cce26..5feb43a80d 100644 --- a/blog/categories/community/index.html +++ b/blog/categories/community/index.html @@ -301,6 +301,9 @@

    Recent Posts

    diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 60ce05bf5a..aa13c9fb4b 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/index.html b/blog/categories/device-tracking/index.html index f7eae0615c..5aa7760f89 100644 --- a/blog/categories/device-tracking/index.html +++ b/blog/categories/device-tracking/index.html @@ -130,6 +130,9 @@

    Recent Posts

    diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index ae6ad264f3..7476e61966 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/index.html b/blog/categories/esp8266/index.html index 98a3c85791..66ffc90e51 100644 --- a/blog/categories/esp8266/index.html +++ b/blog/categories/esp8266/index.html @@ -178,6 +178,9 @@

    Recent Posts

    diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 7f7a156424..24133337a5 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ @@ -13,6 +13,72 @@ Octopress + + <![CDATA[HTTP to MQTT bridge]]> + + 2017-03-28T06:00:00+00:00 + https://home-assistant.io/blog/2017/03/28/http-to-mqtt-bridge + + +The app could be hosted on any Node.js hosting. I prefer [Heroku: Cloud Application Platform](https://www.heroku.com/home) for its simplicity. + +### Bringing pieces together + +1. Configure the Home Assistant [MQTT trigger](https://home-assistant.io/docs/automation/trigger/#mqtt-trigger). +1. Configure [CloudMQTT](https://www.cloudmqtt.com/). Check this [video tutorial](https://www.youtube.com/watch?v=VaWdvVVYU3A) for details. +1. [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/petkov/http_to_mqtt) HTTP to MQTT bridge app. +1. Add the (Configuration Variables)(https://devcenter.heroku.com/articles/config-vars#setting-up-config-vars-for-a-deployed-application) to your Heroku app mentioned here. + * AUTH_KEY: Can be any string, eg. `912ec803b2ce49e4a541068d495ab570`. + * MQTT_HOST: The host of your MQTT broker, eg. mqtts://k99.cloudmqtt.com:21234. + * MQTT_USER: MQTT username + * MQTT_PASS: MQTT password +1. Create an IFTTT applet the same way as described in [BRUH Automation](https://youtu.be/087tQ7Ly7f4?t=265) video. +1. Configure [Maker Webhooks](https://ifttt.com/maker_webhooks) service with below parameters. + * URL: `https://.herokuapp.com/post/` + * Method: `POST` + * Content Type: `application/json` + * Body: `{"topic":"","message":"","key":""}` + +### Subscribe to latest version + +Additionally you can make Heroku to update the HTTP to MQTT bridge app to the latest available version from the GitHub repository automatically. To do this follow the instruction on the [Heroku help page](https://devcenter.heroku.com/articles/github-integration#automatic-deploys). + +### Improve response time + +After 30 minutes of inactivity Heroku will put your app into sleep mode. This will result in ~10 seconds response time. To prevent Heroku from putting your app into sleep mode, ping it every 10 minutes. You can do that by sending regular HTTP GET request to http://your_app/keep_alive/. But be careful. Heroku free quota is 550 hours per month. Without sleeping your app will be allowed to run only 22 days a month. Additionally the `keep_alive` method will send a simple MQTT message to prevent the broker from sleeping as well. The topic and message can be configured using Heroku environment variables `KEEP_ALIVE_TOPIC` and `KEEP_ALIVE_MESSAGE` and both are set to "keep_alive" by default. + +You can even configure Home Assistant to ping HTTP to MQTT bridge every 10 minutes during daytime. Below is an example of how to do that: + +```yaml +rest_command: + http_to_mqtt_keep_alive: + url: https:///keep_alive/ + method: get + +automation: + alias: HTTP to MQTT keep alive + trigger: + platform: time + minutes: '/10' + seconds: 00 + condition: + condition: time + after: '7:30:00' + before: '23:59:59' + action: + service: rest_command.http_to_mqtt_keep_alive +``` + +### Thanks + +Special thanks to Ben from [BRUH Automation](https://www.youtube.com/channel/UCLecVrux63S6aYiErxdiy4w/featured) for awesome tutorials which inspired me to do this project. +]]> + + <![CDATA[Smart Baby Monitor]]> @@ -399,165 +465,6 @@ Some people will maybe look at all of this and say "what use is this, I can alre If this has whet your appetite, feel free to give it a try. You can find it, [here](https://github.com/acockburn/appdaemon), including full installation instructions, an API reference, and a number of fully fleshed out examples. Happy Automating! -]]> - - - - <![CDATA[ESP8266 and MicroPython - Part 1]]> - - 2016-07-28T04:00:00+00:00 - https://home-assistant.io/blog/2016/07/28/esp8266-and-micropython-part1 - -The first release of Micropython for ESP8266 was delivered a couple of weeks ago. The [documentation](http://docs.micropython.org/en/latest/esp8266/esp8266_contents.html) covers a lot of ground. This post is providing only a little summary which should get you started. - -Until a couple of weeks ago, the pre-built MicroPython binary for the ESP8266 was only available to backers of the Kickstarter campaign. This has changed now and it is available to the public for [download](https://micropython.org/download/#esp8266). - - - -The easiest way is to use [esptool.py](https://github.com/themadinventor/esptool) for firmware handling tasks. First erase the flash: - -```bash -$ sudo python esptool.py --port /dev/ttyUSB0 erase_flash -esptool.py v1.0.2-dev -Connecting... -Erasing flash (this may take a while)... -``` - -and then load the firmware. You may adjust the file name of the firmware binary. - -```bash -$ sudo python esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=8m 0 esp8266-2016-07-10-v1.8.2.bin -esptool.py v1.2-dev -Connecting... -Running Cesanta flasher stub... -Flash params set to 0x0020 -Writing 540672 @ 0x0... 540672 (100 %) -Wrote 540672 bytes at 0x0 in 13.1 seconds (330.8 kbit/s)... -Leaving... -``` - -Now reset the device. You should then be able to use the [REPL (Read Evaluate Print Loop)](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/repl.html#getting-a-micropython-repl-prompt). On Linux there is `minicom` or `picocom`, on a Mac you can use `screen` (eg. `screen /dev/tty.SLAB_USBtoUART 115200`), and on Windows there is Putty to open a serial connection and get the REPL prompt. - -The [WebREPL](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/repl.html#webrepl-a-prompt-over-wifi) work over a wireless connection and allows easy access to a prompt in your browser. An instance of the WebREPL client is hosted at [http://micropython.org/webrepl](http://micropython.org/webrepl). Alternatively, you can create a local clone of their [GitHub repository](https://github.com/micropython/webrepl). This is neccessary if your want to use the command-line tool `webrepl_cli.py` which is mentionend later in this post. - -```bash -$ sudo minicom -D /dev/ttyUSB0 -#4 ets_task(4020e374, 29, 3fff70e8, 10) -WebREPL daemon started on ws://192.168.4.1:8266 -Started webrepl in setup mode -could not open file 'main.py' for reading - -#5 ets_task(4010035c, 3, 3fff6360, 4) -MicroPython v1.8.2-9-g805c2b9 on 2016-07-10; ESP module with ESP8266 -Type "help()" for more information. ->>> -``` - -

    -The public build of the firmware may be different than the firmware distributed to the backers of the Kickstarter campaign. Especially in regard of the [available modules](http://docs.micropython.org/en/latest/esp8266/py-modindex.html), turned on debug messages, and alike. Also, the WebREPL may not be started by default. -

    - -Connect a LED to pin 5 (or another pin of your choosing) to check if the ESP8266 is working as expected. - -```python ->>> import machine ->>> pin = machine.Pin(5, machine.Pin.OUT) ->>> pin.high() -``` - -You can toogle the LED by changing its state with `pin.high()` and `pin.low()`. - -Various ESP8266 development board are shipped with an onboard photocell or a light dependent resistors (LDR) connected to the analog pin of your ESP8266 check if you are able to obtain a value. - -```python ->>> import machine ->>> brightness = machine.ADC(0) ->>> brightness.read() -``` - -Make sure that you are familiar with REPL and WebREPL because this will be needed soon. Keep in mind the password for the WebREPL access. - -Read the [instructions](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html) about how to setup your wireless connection. Basically you need to upload a `boot.py` file to the microcontroller and this file is taking care of the connection setup. Below you find a sample which is more or less the same as shown in the [documentation](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html#configuration-of-the-wifi). - -```python -def do_connect(): - import network - - SSID = 'SSID' - PASSWORD = 'PASSWORD' - - sta_if = network.WLAN(network.STA_IF) - ap_if = network.WLAN(network.AP_IF) - if ap_if.active(): - ap_if.active(False) - if not sta_if.isconnected(): - print('connecting to network...') - sta_if.active(True) - sta_if.connect(SSID, PASSWORD) - while not sta_if.isconnected(): - pass - print('Network configuration:', sta_if.ifconfig()) -``` - -Upload this file with `webrepl_cli.py` or the WebREPL: - -```bash -$ python webrepl_cli.py boot.py 192.168.4.1:/boot.py -``` - -If you reboot, you should see your current IP address in the terminal. - -```bash ->>> Network configuration: ('192.168.0.10', '255.255.255.0', '192.168.0.1', '192.168.0.1') -``` - -First let's create a little consumer for Home Assistant sensor's state. The code to place in `main.py` is a mixture of code from above and the [RESTful API](/developers/rest_api/) of Home Assistant. If the temperature in the kitchen is higher than 20 °C then the LED connected to pin 5 is switched on. - -

    -If a module is missing then you need to download it from the [MicroPython Library overview](https://github.com/micropython/micropython-lib) and upload it to the ESP8266 with `webrepl_cli.py` manually. -

    - -```python -# Sample code to request the state of a Home Assistant entity. - -API_PASSWORD = 'YOUR_PASSWORD' -URL = 'http://192.168.0.5:8123/api/states/' -ENTITY = 'sensor.kitchen_temperature' -TIMEOUT = 30 -PIN = 5 - -def get_data(): - import urequests - url = '{}{}'.format(URL, ENTITY) - headers = {'x-ha-access': API_PASSWORD, - 'content-type': 'application/json'} - resp = urequests.get(URL, headers=headers) - return resp.json()['state'] - -def main(): - import machine - import time - - pin = machine.Pin(PIN, machine.Pin.OUT) - while True: - try: - if int(get_data()) >= 20: - pin.high() - else: - pin.low() - except TypeError: - pass - time.sleep(TIMEOUT) - -if __name__ == '__main__': - print('Get the state of {}'.format(ENTITY)) - main() -``` - -Upload `main.py` the same way as `boot.py`. After a reboot (`>>> import machine` and `>>> machine.reboot()`) or power-cycling your physical notifier is ready. - -If you run into trouble, press "Ctrl+c" in the REPL to stop the execution of the code, enter `>>> import webrepl` and `>>> webrepl.start()`, and upload your fixed file. - ]]>
    diff --git a/blog/categories/how-to/index.html b/blog/categories/how-to/index.html index f41c154e07..406b980275 100644 --- a/blog/categories/how-to/index.html +++ b/blog/categories/how-to/index.html @@ -71,6 +71,27 @@

    2017

    +
    +
    diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 2474373f7d..3539159e9a 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/index.html b/blog/categories/ibeacons/index.html index 2ab6cebb5d..77d485b96f 100644 --- a/blog/categories/ibeacons/index.html +++ b/blog/categories/ibeacons/index.html @@ -153,6 +153,9 @@

    Recent Posts

    diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 835b5f994d..83cbed0615 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/index.html b/blog/categories/internet-of-things/index.html index 7a443176a5..a0c1a3fad2 100644 --- a/blog/categories/internet-of-things/index.html +++ b/blog/categories/internet-of-things/index.html @@ -192,6 +192,9 @@

    Recent Posts

    diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 99047627c6..b296ed73e2 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/index.html b/blog/categories/iot-data/index.html index 30be6e5605..2ab69fadd8 100644 --- a/blog/categories/iot-data/index.html +++ b/blog/categories/iot-data/index.html @@ -173,6 +173,9 @@

    Recent Posts

    diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 0fad0d7f06..3d44cb18f6 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/index.html b/blog/categories/merchandise/index.html index 495e347781..2ed9d12e43 100644 --- a/blog/categories/merchandise/index.html +++ b/blog/categories/merchandise/index.html @@ -128,6 +128,9 @@

    Recent Posts

    diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 60a7c21f71..44fd6cf9a7 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/index.html b/blog/categories/micropython/index.html index a2d901406d..a1aaf1b1e0 100644 --- a/blog/categories/micropython/index.html +++ b/blog/categories/micropython/index.html @@ -154,6 +154,9 @@

    Recent Posts

    diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index ed55ce2ff3..d02b6f5255 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/index.html b/blog/categories/mqtt/index.html index 6513464fae..9c7333624e 100644 --- a/blog/categories/mqtt/index.html +++ b/blog/categories/mqtt/index.html @@ -199,6 +199,9 @@

    Recent Posts

    diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 5b549b677b..0ad62ccb11 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/index.html b/blog/categories/organisation/index.html index c44e3f61b0..6e11ef0d90 100644 --- a/blog/categories/organisation/index.html +++ b/blog/categories/organisation/index.html @@ -193,6 +193,9 @@

    Recent Posts

    diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 9c5e055eb3..f439f42a3c 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/index.html b/blog/categories/owntracks/index.html index 9a51f53243..60bf2a9e72 100644 --- a/blog/categories/owntracks/index.html +++ b/blog/categories/owntracks/index.html @@ -153,6 +153,9 @@

    Recent Posts

    diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index cda841a105..af0535891a 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/index.html b/blog/categories/presence-detection/index.html index e407505257..ce537e5726 100644 --- a/blog/categories/presence-detection/index.html +++ b/blog/categories/presence-detection/index.html @@ -130,6 +130,9 @@

    Recent Posts

    diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 0ceef61420..2f2f32a1af 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/index.html b/blog/categories/public-service-announcement/index.html index 61592c5616..7b984153b8 100644 --- a/blog/categories/public-service-announcement/index.html +++ b/blog/categories/public-service-announcement/index.html @@ -128,6 +128,9 @@

    Recent Posts

    diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index c524b0ca78..0ff7246c7e 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/index.html b/blog/categories/release-notes/index.html index 49a3075ac3..ff76a303fc 100644 --- a/blog/categories/release-notes/index.html +++ b/blog/categories/release-notes/index.html @@ -1307,6 +1307,9 @@

    Recent Posts

    diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 434a0c40f3..67475f822e 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/index.html b/blog/categories/survey/index.html index 6d11d174dd..6858541ff2 100644 --- a/blog/categories/survey/index.html +++ b/blog/categories/survey/index.html @@ -128,6 +128,9 @@

    Recent Posts

    diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 7ad4df5c77..2b3fbe616c 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/index.html b/blog/categories/talks/index.html index 2c0b3069ea..eb7318865d 100644 --- a/blog/categories/talks/index.html +++ b/blog/categories/talks/index.html @@ -129,6 +129,9 @@

    Recent Posts

    diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index e2331e1f65..703f040485 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/index.html b/blog/categories/technology/index.html index c01a976f9b..c530a65b29 100644 --- a/blog/categories/technology/index.html +++ b/blog/categories/technology/index.html @@ -192,6 +192,9 @@

    Recent Posts

    diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 31890a47d1..92a282547f 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/index.html b/blog/categories/user-stories/index.html index ea9112a3f8..f6eee2f9f3 100644 --- a/blog/categories/user-stories/index.html +++ b/blog/categories/user-stories/index.html @@ -150,6 +150,9 @@

    Recent Posts

    diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index f4c94a04ce..30fa3ef354 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/index.html b/blog/categories/video/index.html index bd2d8b3e63..ba206096dc 100644 --- a/blog/categories/video/index.html +++ b/blog/categories/video/index.html @@ -259,6 +259,9 @@

    Recent Posts

    diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index a506f78255..0bf35115c6 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-03-28T06:38:55+00:00 + 2017-03-28T06:50:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/index.html b/blog/categories/website/index.html index 7fe1f450f2..a4c5d855f0 100644 --- a/blog/categories/website/index.html +++ b/blog/categories/website/index.html @@ -150,6 +150,9 @@

    Recent Posts

    diff --git a/blog/index.html b/blog/index.html index 41faf84a96..f6ba28b671 100644 --- a/blog/index.html +++ b/blog/index.html @@ -59,6 +59,33 @@
    +
    +
    +

    + HTTP to MQTT bridge +

    +
    + + + three minutes reading time + + +
      +
    • How-To
    • +
    +
    + Comments +
    +
    +
    +

    The idea of creating HTTP to MQTT bridge appeared when I was trying to integrate Google Assistant with my Home Assistant after watching BRUH Automation video. Right now there is no MQTT service available in IFTTT. Existing integration solution uses Maker Webhooks which requires that your Home Assistant instance is publically accessible, which I think brings some security concerns or simply not always possible to set up.

    +

    The HTTP to MQTT bridge should fill that gap. The idea is to receive messages using HTTP requests and transfer them to your MQTT broker, which can be contacted by Home Assistant. The HTTP to MQTT bridge is written using Node.js with Express for the server part and MQTT.js for the client.

    + Read on → +
    +
    +

    @@ -779,33 +806,6 @@ On the close horizon from @Landrash th


    -
    -
    -

    - Smart Baby Monitor -

    -
    - - - five minutes reading time - - -
      -
    • How-To
    • -
    -
    - Comments -
    -
    -
    -

    One of the hardest part of being a parent is keeping a constant eye on the baby to make sure that baby is doing well. Thus, it is not surprising that baby monitors are one of the fastest growing baby product category. However, many of the baby monitors available on the market are rather dumb and expect the parents to keep looking at the video stream or listen to the audio. This how-to will help you create a smart baby monitor on a budget and integrate it with Home Assitant. Instead of relying on the poor quality baby monitor speakers, we use our existing speakers (eg. Sonos). We can also send notifications (with pictures) to avoid constant monitoring of the feed.

    -

    Obviously, you can use the setup as a general purpose surveillance system to monitor noise in the whole house.

    - Read on → -
    -
    -
    diff --git a/blog/posts/10/index.html b/blog/posts/10/index.html index 94fbe6ef7a..b905066252 100644 --- a/blog/posts/10/index.html +++ b/blog/posts/10/index.html @@ -59,6 +59,41 @@
    +
    +
    +

    + Laundry Automation: insight and notifications +

    +
    + + + five minutes reading time + + +
      +
    • User-Stories
    • +
    +
    + Comments +
    +
    +
    +

    This is a guest post by Home Assistant user and contributor Nolan Gilley.

    +

    In our house, laundry has been a struggle for quite some time. Our washer and dryer both lack a buzzer which leads to forgotten laundry, and stinky mess that needs to be rewashed. I decided to create a solution by monitoring the washer and dryer myself with some cheap electronics.

    +

    As an avid user of Home Assistant, I decided it would be the perfect application to manage the UI and notification system. Now all I needed was a way to monitor the washer and dryer. I tried using sound sensors but found them unreliable. I ended up opting for an accelerometer attached to the back of each appliance. I also added magnetic reed switches on the doors of the washer and dryer to detect if the doors are open or closed. I connected the accelerometers and reed switches to a Moteino, an arduino clone with an RF transceiver. The Moteino can perform the logic to figure out which state the appliances are in and wirelessly communicate that data with another Moteino that is connected via serial to my Raspberry Pi. The Raspberry Pi reads the serial data and repeats it over MQTT for Home Assistant to use. This is great because I don’t have to run Home Assistant on the Raspberry Pi. I can run it on a faster machine and point the MQTT component to my Raspberry Pi.

    +

    After taking some sample data from the accelerometers while each appliance was in operation, I decided to plot the data to help determine the proper thresholds of when the devices were running or off. I had to do this in order to get precise ranges so the dryer sensor wouldn’t get tripped by the washer or vice versa. In the plot below you can see the acceleration in the x direction for the accelerometer connected to the washing machine. It’s easy to see when the washing machine is in operation here. I used the same technique for the dryer’s accelerometer.

    +

    + + + + Graph showing the accelerometer data +

    + Read on → +
    +
    +

    @@ -435,36 +470,6 @@ An initial version of voice control for Home Assistant has landed. The current i conversation:

    -
    - -
    -
    -
    -

    - New logo for Home Assistant -

    -
    - - - Less than one minute reading time - - -
      -
    • Organisation
    • -
    -
    - Comments -
    -
    -
    -

    It is well known that you are either a good programmer or a good designer. It’s rare you’ll meet someone that is both. That’s why it wasn’t surprising to anyone that the logo that I made was mediocre — at best. Luckily, Jeremy Geltman has come to the rescue and contributed a brand new logo for Home Assistant.

    -

    The new logo follows Googles material design spec. It uses the blue color that Home Assistant uses in the interface and it comes in two versions: a high detailed version (for homescreen icon etc) and a simple version (for favicon etc).

    -

    - -The old logo, the new detailed logo and the new simple logo. -


    diff --git a/blog/posts/11/index.html b/blog/posts/11/index.html index 4d9a58fa0c..f662a78811 100644 --- a/blog/posts/11/index.html +++ b/blog/posts/11/index.html @@ -59,6 +59,36 @@
    +
    +
    +

    + New logo for Home Assistant +

    +
    + + + Less than one minute reading time + + +
      +
    • Organisation
    • +
    +
    + Comments +
    +
    +
    +

    It is well known that you are either a good programmer or a good designer. It’s rare you’ll meet someone that is both. That’s why it wasn’t surprising to anyone that the logo that I made was mediocre — at best. Luckily, Jeremy Geltman has come to the rescue and contributed a brand new logo for Home Assistant.

    +

    The new logo follows Googles material design spec. It uses the blue color that Home Assistant uses in the interface and it comes in two versions: a high detailed version (for homescreen icon etc) and a simple version (for favicon etc).

    +

    + +The old logo, the new detailed logo and the new simple logo. +

    +
    +
    +

    diff --git a/blog/posts/2/index.html b/blog/posts/2/index.html index 11a2d5d4f4..903ae6f710 100644 --- a/blog/posts/2/index.html +++ b/blog/posts/2/index.html @@ -59,6 +59,33 @@
    +
    +
    +

    + Smart Baby Monitor +

    +
    + + + five minutes reading time + + +
      +
    • How-To
    • +
    +
    + Comments +
    +
    +
    +

    One of the hardest part of being a parent is keeping a constant eye on the baby to make sure that baby is doing well. Thus, it is not surprising that baby monitors are one of the fastest growing baby product category. However, many of the baby monitors available on the market are rather dumb and expect the parents to keep looking at the video stream or listen to the audio. This how-to will help you create a smart baby monitor on a budget and integrate it with Home Assitant. Instead of relying on the poor quality baby monitor speakers, we use our existing speakers (eg. Sonos). We can also send notifications (with pictures) to avoid constant monitoring of the feed.

    +

    Obviously, you can use the setup as a general purpose surveillance system to monitor noise in the whole house.

    + Read on → +
    +
    +

    @@ -776,126 +803,6 @@ You have to note:

Reporting issues

Experiencing issues introduced by this release? Please report them in our issue tracker. Make sure to fill in all fields of the issue template.

- - -
-
-
-

- 0.32: Hacktoberfest, InfluxDB sensor, Error reporting, and Weather -

-
- - - six minutes reading time - - -
    -
  • Release-Notes
  • -
-
- Comments -
-
-
-

Another two weeks have passed and we are pleased to present Home Assistant 0.32.

-

Hacktoberfest

-

The Hacktoberfest is over now. Home Assistant made the 2nd and the 3rd place out of almost 30’000 participating repositories with a total of 528 pull requests closed - that’s an average of 17 pull requests a day! Thanks to all the contributors but also to the team of reviewers. This wouldn’t been possible without you 👏 .

-

Improved error reporting

-

This release has improved the reporting when a config validation error occurs. Thanks to @kellerza you will now get a persistent notification added to your UI when this happens.

-

Asynchronous

-

This release contains the first asynchronous sensor and camera platforms. @pvizeli and @fabaff ported most of the “internal” sensors to async programming. We hope that you will enjoy the new speed.

-

@balloob and @pvizeli worked a lot on the improvement of the core itself.

-

Weather component

-

For a long time we have had a bunch of weather sensors but it’s getting better: There is now a Weather component. Sorry, not much more to tell right now. The plans are to create a weather UI element and to improve the initial implementation.

-

All changes

-

- -

Release 0.32.1 - November 6

-

We’ve added a warning to 0.32 to catch platforms accidentally slowing down Home Assistant. Our aim is to fix these quickly when reported, so here is 0.32.1 with all reported platforms fixed.

-
    -
  • Fix Sonos doing I/O inside the event loop (@pvizeli)
  • -
  • Fix Radiotherm doing I/O inside the event loop (@balloob)
  • -
  • Fix camera MJPEG streams when using HTTP 1.0 (@balloob)
  • -
-

Release 0.32.2 - November 7

-
    -
  • Move Honeywell I/O out of the event loop (@balloob)
  • -
  • Use sequential updates for non-async entities to prevent race conditions (@pvizeli)
  • -
  • Fix setting temperature in Celsius on Radiotherm CT50 thermostats (@andyat)
  • -
  • Fix PiLight config validation (@DavidLP)
  • -
-

Release 0.32.3 - November 11

-
    -
  • Fix OpenWeather weather platform doing I/O in event loop (@lwis)
  • -
  • Fix Alarm.com doing I/O in event loop (@jnewland)
  • -
  • Fix Tellstick doing I/O in event loop (@balloob)
  • -
  • Fix KNX doing I/O in event loop (@balloob)
  • -
  • Increase warning threshold for catching platforms that do I/O (@balloob)
  • -
  • Change pilight systemcode validation (@janLo)
  • -
  • Fix Yamaha discovering already configured receivers (@sdague)
  • -
  • Fix Sonos from installing dependency each time HA was started (@pvizeli)
  • -
  • Fix Synology camera SSL and error handling (@pvizeli)
  • -
  • Fix Panasonic Viera doing I/O in event loop (@balloob)
  • -
  • Improve generic camera error handling (@kellerza)
  • -
  • Light - Flux Led Lights: allow specifying mode if light does not support white mode (@DanielHiversen)
  • -
  • Fix Rest switch default template (@pvizeli)
  • -
-

Release 0.32.4 - November 15

-
    -
  • Fix device tracker from crashing HASS when a new device was discovered (@balloob)
  • -
  • HTTP: Fix X-Forwarded-For feature (@mweinelt)
  • -
-

Misc

-

Our website has now an additional category called “Ecosystem”. This will become the place where tools, apps, and other helper for the Home Assistant ecosystem can store their documentation or guides.

- -

Breaking changes

-
    -
  • The Yahoo Finance platform supports now multiple stock. Please adjust your configuration.
  • -
  • Deprecated components garage_door, rollershutter, thermostat, and hvac have been removed.
  • -
  • The minimum Python version on Windows has been bumped to Python 3.5.
  • -
  • The Insteon Hub integration has been disabled due to a request from Insteon.
  • -
-

If you need help…

-

…don’t hesitate to use our Forum or join us for a little chat. The release notes have comments enabled but it’s preferred if you the former communication channels. Thanks.


diff --git a/blog/posts/3/index.html b/blog/posts/3/index.html index 59341e0f15..a0c4323578 100644 --- a/blog/posts/3/index.html +++ b/blog/posts/3/index.html @@ -59,6 +59,126 @@
+
+
+

+ 0.32: Hacktoberfest, InfluxDB sensor, Error reporting, and Weather +

+
+ + + six minutes reading time + + +
    +
  • Release-Notes
  • +
+
+ Comments +
+
+
+

Another two weeks have passed and we are pleased to present Home Assistant 0.32.

+

Hacktoberfest

+

The Hacktoberfest is over now. Home Assistant made the 2nd and the 3rd place out of almost 30’000 participating repositories with a total of 528 pull requests closed - that’s an average of 17 pull requests a day! Thanks to all the contributors but also to the team of reviewers. This wouldn’t been possible without you 👏 .

+

Improved error reporting

+

This release has improved the reporting when a config validation error occurs. Thanks to @kellerza you will now get a persistent notification added to your UI when this happens.

+

Asynchronous

+

This release contains the first asynchronous sensor and camera platforms. @pvizeli and @fabaff ported most of the “internal” sensors to async programming. We hope that you will enjoy the new speed.

+

@balloob and @pvizeli worked a lot on the improvement of the core itself.

+

Weather component

+

For a long time we have had a bunch of weather sensors but it’s getting better: There is now a Weather component. Sorry, not much more to tell right now. The plans are to create a weather UI element and to improve the initial implementation.

+

All changes

+

+ +

Release 0.32.1 - November 6

+

We’ve added a warning to 0.32 to catch platforms accidentally slowing down Home Assistant. Our aim is to fix these quickly when reported, so here is 0.32.1 with all reported platforms fixed.

+
    +
  • Fix Sonos doing I/O inside the event loop (@pvizeli)
  • +
  • Fix Radiotherm doing I/O inside the event loop (@balloob)
  • +
  • Fix camera MJPEG streams when using HTTP 1.0 (@balloob)
  • +
+

Release 0.32.2 - November 7

+
    +
  • Move Honeywell I/O out of the event loop (@balloob)
  • +
  • Use sequential updates for non-async entities to prevent race conditions (@pvizeli)
  • +
  • Fix setting temperature in Celsius on Radiotherm CT50 thermostats (@andyat)
  • +
  • Fix PiLight config validation (@DavidLP)
  • +
+

Release 0.32.3 - November 11

+
    +
  • Fix OpenWeather weather platform doing I/O in event loop (@lwis)
  • +
  • Fix Alarm.com doing I/O in event loop (@jnewland)
  • +
  • Fix Tellstick doing I/O in event loop (@balloob)
  • +
  • Fix KNX doing I/O in event loop (@balloob)
  • +
  • Increase warning threshold for catching platforms that do I/O (@balloob)
  • +
  • Change pilight systemcode validation (@janLo)
  • +
  • Fix Yamaha discovering already configured receivers (@sdague)
  • +
  • Fix Sonos from installing dependency each time HA was started (@pvizeli)
  • +
  • Fix Synology camera SSL and error handling (@pvizeli)
  • +
  • Fix Panasonic Viera doing I/O in event loop (@balloob)
  • +
  • Improve generic camera error handling (@kellerza)
  • +
  • Light - Flux Led Lights: allow specifying mode if light does not support white mode (@DanielHiversen)
  • +
  • Fix Rest switch default template (@pvizeli)
  • +
+

Release 0.32.4 - November 15

+
    +
  • Fix device tracker from crashing HASS when a new device was discovered (@balloob)
  • +
  • HTTP: Fix X-Forwarded-For feature (@mweinelt)
  • +
+

Misc

+

Our website has now an additional category called “Ecosystem”. This will become the place where tools, apps, and other helper for the Home Assistant ecosystem can store their documentation or guides.

+ +

Breaking changes

+
    +
  • The Yahoo Finance platform supports now multiple stock. Please adjust your configuration.
  • +
  • Deprecated components garage_door, rollershutter, thermostat, and hvac have been removed.
  • +
  • The minimum Python version on Windows has been bumped to Python 3.5.
  • +
  • The Insteon Hub integration has been disabled due to a request from Insteon.
  • +
+

If you need help…

+

…don’t hesitate to use our Forum or join us for a little chat. The release notes have comments enabled but it’s preferred if you the former communication channels. Thanks.

+
+
+
- -
-
-
-

- Github-style calendar heatmap of device data -

-
- - - Less than one minute reading time - - -
    -
  • How-To
  • -
  • IoT-Data
  • -
-
- Comments -
-
-
-

Thanks to Anton Kireyeu we are able to present another awesome Jupyter notebook. I guess that you all know the graph which Github is using to visualize your commits per day over a time-line. It’s a so-called heatmap. If there are more commits, it’s getting hotter. The latest notebook is capable to do the same thing for your devices. To be more precise, for the hours your devices are home.

-

- -Heatmap -


diff --git a/blog/posts/4/index.html b/blog/posts/4/index.html index e8fbbdc6aa..b2768d51e3 100644 --- a/blog/posts/4/index.html +++ b/blog/posts/4/index.html @@ -59,6 +59,36 @@
+
+
+

+ Github-style calendar heatmap of device data +

+
+ + + Less than one minute reading time + + +
    +
  • How-To
  • +
  • IoT-Data
  • +
+
+ Comments +
+
+
+

Thanks to Anton Kireyeu we are able to present another awesome Jupyter notebook. I guess that you all know the graph which Github is using to visualize your commits per day over a time-line. It’s a so-called heatmap. If there are more commits, it’s getting hotter. The latest notebook is capable to do the same thing for your devices. To be more precise, for the hours your devices are home.

+

+ +Heatmap +

+
+
+

@@ -479,33 +509,6 @@ One of the graphs created with this tutorial.


-
-
-

- PocketCHIP running Home Assistant -

-
- - - two minutes reading time - - -
    -
  • How-To
  • -
-
- Comments -
-
-
-

-Over a year ago I participated in the kickstarter campaign for “CHIP - The World’s First Nine Dollar Computer” by Next Thing Co.. I went for the PocketCHIP because of the idea. Display, built-in storage (thus no need for SD cards), battery-powered, and a keyboard are pretty nice features. Last week a package arrives…

- Read on → -
-
-