diff --git a/atom.xml b/atom.xml index 927a426355..5dbce56375 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 317fe83b43..881fd5f61f 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index e96302084a..83836a8ac6 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 159a59e0e9..fc158eaf64 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index cddc816ec3..81e70d4be1 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 4aaa0427af..185512022a 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+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 e848a8621c..2460745aff 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 6c041fe84f..726f97553e 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index a45e1e0a7b..a813cfb26a 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index be561012e8..3ef961a138 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 3e0c68f3a3..149f6fcd84 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 7c98e2fe5e..b00e5cb338 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 8ea96d0783..4ca2faad92 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index c373f3e11e..7feab69cdc 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+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 bb0e8098de..daad019843 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 7bada48d31..28076f71ce 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 093bdfacfe..369e788b0c 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 9ce9472099..8313183180 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 1bfdef31fa..b1c8482693 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 261f228a76..c8032d99e4 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-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 327fb87712..c8d904db5c 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 7ce1aa2651..0b3227ef9b 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-03-03T16:58:00+00:00 + 2017-03-03T17:36:50+00:00 https://home-assistant.io/ diff --git a/developers/frontend/index.html b/developers/frontend/index.html index 97b663a44a..4c6b3b06fe 100644 --- a/developers/frontend/index.html +++ b/developers/frontend/index.html @@ -90,14 +90,7 @@
-

Home Assistant uses Polymer for the UI and NuclearJS for maintaining the app state.

- - +

Home Assistant is built on top of the Polymer webcomponents framework. Polymer allows building encapsulated custom HTML elements. Home-Assistant-Polymer source code on GitHub.

Do not use development mode in production. Home Assistant uses aggressive caching to improve the mobile experience. This is disabled during development so that you do not have to restart the server in between changes. @@ -112,31 +105,34 @@ Do not use development mode in production. Home Assistant uses aggressive cachin -

Node.js is required to setup the frontend development environment. The preferred method of installing node.js is nvm. Install nvm using the instructions in the README, and install node.js by running the following command:

+

Node.js is required to setup the frontend development environment. The preferred method of installing node.js is nvm. Install nvm using the instructions in the README, and install the correct node.js by running the following command from the home-assistant-polymer directory:

-
$ nvm install node
+
$ cd homeassistant/components/frontend/www_static/home-assistant-polymer
+$ nvm install < .nvmrc
 
-

Next step is to get the frontend code. When you clone the Home Assistant repository, the frontend repository is not cloned by default. You can setup the frontend development environment by running:

-
$ script/setup
+

Yarn is used as the package manager for node modules. Install yarn using the instructions here.

+ +

Next step is to get the frontend code. When you clone the Home Assistant repository, the frontend repository is not cloned by default. You can setup the frontend development environment by running from the home-assistant directory:

+ +
$ script/bootstrap_frontend
 

Development

-

While you are developing, you need to have Rollup running to have your JavaScript changes be made available.

+

While you are developing, you need to have Rollup running to have changes you make to the JavaScript app-core made available.

$ cd homeassistant/components/frontend/www_static/home-assistant-polymer
 $ npm run js_dev
 
-

The source code for the frontend can be found in three different directories:

+

The source code for the frontend can be found in two different directories:

  • UI: homeassistant/components/frontend/www_static/home-assistant-polymer/src/
  • -
  • Core: homeassistant/components/frontend/www_static/home-assistant-polymer/home-assistant-js/src/
  • Panels: homeassistant/components/frontend/www_static/home-assistant-polymer/panels/
diff --git a/sitemap.xml b/sitemap.xml index 69b8197c90..098f086ce6 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2954,62 +2954,62 @@ https://home-assistant.io/demo/frontend.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/index.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-03-03T16:57:02+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-03-03T16:57:03+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-03-03T16:57:03+00:00 +2017-03-03T17:36:03+00:00 https://home-assistant.io/static/mdi-demo.html -2017-03-03T16:57:03+00:00 +2017-03-03T17:36:03+00:00