diff --git a/atom.xml b/atom.xml index e1b98faf8b..f314f77050 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index ee9e46c5bb..797d0d1055 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index e034b90a6a..9f3ae4ab84 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index e49dff9464..d1ad5eb56d 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]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 68a104bd7a..355cfd0c8c 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index df6e2671d8..2f12af01ec 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]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 6f9e59ef2e..6c8c318b0b 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 6ab4d54ae9..12cf7ff50a 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 8c975d3255..ca5cb209ca 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 190c168d33..0eaa5ee51d 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]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 9e9d99d014..22d81cfa32 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]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index c327e8aaa2..3e19bc670a 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]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index b71d08109a..8a4aff0245 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 6ee3b9d873..07cb48720d 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 7f30899b44..44b0749be5 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]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index a654db57a5..58c18d295a 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-05-09T19:26:24+00:00 + 2016-05-09T22:01:10+00:00 https://home-assistant.io/ diff --git a/components/http/index.html b/components/http/index.html index 9c95338a21..fea49716ce 100644 --- a/components/http/index.html +++ b/components/http/index.html @@ -99,6 +99,9 @@ development: 1 ssl_certificate: /etc/letsencrypt/live/hass.example.com/fullchain.pem ssl_key: /etc/letsencrypt/live/hass.example.com/privkey.pem + cors_allowed_origins: + - google.com + - home-assistant.io @@ -111,6 +114,7 @@
  • development (Optional): Disable caching and load unvulcanized assets. Useful for Frontend development.
  • ssl_certificate (Optional): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection.
  • ssl_key (Optional): Path to your TLS/SSL key to serve Home Assistant over a secure connection.
  • +
  • cors_allowed_origins (Optional): A list of origin domain names to allow CORS requests from. Enabling this will set the Access-Control-Allow-Origin header to the Origin header if it is found in the list, and the Access-Control-Allow-Headers to Origin, Accept, X-Requested-With, Content-type, X-HA-access.
  • The Set up encryption using Let’s Encrypt blog post gives you details about the encryption of your traffic using free certificates from Let’s Encrypt.

    diff --git a/developers/rest_api/index.html b/developers/rest_api/index.html index e23496e790..cae79f7c5a 100644 --- a/developers/rest_api/index.html +++ b/developers/rest_api/index.html @@ -195,6 +195,28 @@ You can append ?api_password=YOUR_PASSWORD to any url to log in aut +

    GET /api/discovery_info

    +

    Returns basic information about the Home Assistant instance as JSON.

    + +
    +
    {
    +    "base_url": "http://127.0.0.1:8123",
    +    "location_name": "Home",
    +    "requires_api_password": true,
    +    "version": "0.20.0.dev0"
    +}
    +
    +
    +
    + +

    Sample curl command:

    + +
    +
    $ curl -X GET -H "x-ha-access: YOUR_PASSWORD" http://localhost:8123/api/discovery_info
    +
    +
    +
    +

    GET /api/bootstrap

    Returns all data needed to bootstrap Home Assistant.

    diff --git a/sitemap.xml b/sitemap.xml index 543effc945..cd51a63d18 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1587,26 +1587,26 @@ https://home-assistant.io/demo/frontend.html - 2016-05-09T19:25:43+00:00 + 2016-05-09T22:00:32+00:00 https://home-assistant.io/demo/index.html - 2016-05-09T19:25:43+00:00 + 2016-05-09T22:00:32+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-05-09T19:25:43+00:00 + 2016-05-09T22:00:32+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html - 2016-05-09T19:25:43+00:00 + 2016-05-09T22:00:32+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html - 2016-05-09T19:25:43+00:00 + 2016-05-09T22:00:32+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-05-09T19:25:43+00:00 + 2016-05-09T22:00:32+00:00