diff --git a/atom.xml b/atom.xml index fa39494bf3..32830a1a42 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 882d5b7d68..97929f3417 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 5f548d6f47..4639e844c9 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]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 5f48b07f57..4f4ec66172 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 17fd1bb7b9..5b63451f3a 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-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 4c6ce5abb9..4c90effe0c 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+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 7de7c2f9bb..0616d85547 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-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index dbb350550c..316f96ca45 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]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 852bc6cd9a..9c53b163b2 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index db4379da7e..a2d7e3e9d2 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 5fc3d65aef..74bab6ed7d 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index a58329464b..660ae1fd25 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-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+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 0a16d900d3..82ea8a3717 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-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 2db8c40c23..eed960e8f3 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-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index d465233f2a..39a9a7747c 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 38a252c605..b255392b79 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 834f7426d6..e9ceb238a4 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 7baba71ccf..7894c527c8 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-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index a81b184063..3042c5a2f7 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index d7016768d1..4e488c3e5c 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-07-23T07:51:03+00:00 + 2016-07-23T16:06:39+00:00 https://home-assistant.io/ diff --git a/cookbook/index.html b/cookbook/index.html index 26958dde50..15f9699699 100644 --- a/cookbook/index.html +++ b/cookbook/index.html @@ -206,6 +206,23 @@ +

Jupyter Notebooks

+ + + diff --git a/cookbook/jupyther_notebooks_api/index.html b/cookbook/jupyther_notebooks_api/index.html new file mode 100644 index 0000000000..1fd161b451 --- /dev/null +++ b/cookbook/jupyther_notebooks_api/index.html @@ -0,0 +1,161 @@ + + + + + + + + + + Notebook for Home Assistant Python API - Home Assistant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+ +
+ + +
+ + + + +
+

+ Notebook for Home Assistant Python API +

+
+
+ + + + + +
+ + +
+ + + + +
+
+ + + + + + \ No newline at end of file diff --git a/cookbook/jupyther_notebooks_database/index.html b/cookbook/jupyther_notebooks_database/index.html new file mode 100644 index 0000000000..8c072c36e6 --- /dev/null +++ b/cookbook/jupyther_notebooks_database/index.html @@ -0,0 +1,161 @@ + + + + + + + + + + Jupyter Notebooks Database - Home Assistant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+ +
+ + +
+ + + + +
+

+ Jupyter Notebooks Database +

+
+
+ + + + + +
+ + +
+ + + + +
+
+ + + + + + \ No newline at end of file diff --git a/cookbook/jupyther_notebooks_graph/index.html b/cookbook/jupyther_notebooks_graph/index.html new file mode 100644 index 0000000000..682742eb10 --- /dev/null +++ b/cookbook/jupyther_notebooks_graph/index.html @@ -0,0 +1,161 @@ + + + + + + + + + + Jupyter Notebooks Graph - Home Assistant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+ +
+ + +
+ + + + +
+

+ Jupyter Notebooks Graph +

+
+
+ + + + + +
+ + +
+ + + + +
+
+ + + + + + \ No newline at end of file diff --git a/cookbook/jupyther_notebooks_introduction/index.html b/cookbook/jupyther_notebooks_introduction/index.html new file mode 100644 index 0000000000..65a9dd18f9 --- /dev/null +++ b/cookbook/jupyther_notebooks_introduction/index.html @@ -0,0 +1,205 @@ + + + + + + + + + + Jupyter Notebooks Introduction - Home Assistant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+ +
+ + +
+ + + + +
+

+ Jupyter Notebooks Introduction +

+
+
+ + +

The Jupyter Notebooks allows you to create and share documents that contain live code, equations, visualizations, and explanatory text directly in your browser. The web application what is formerly known as the IPython Notebook supports over 40 programming languages.

+ +

Visit https://try.jupyter.org/ to get a preview before you install it locally.

+ +

The very first step is to install the requirement to run Jupyter Notebooks.

+ +
+
$ pip3 install jupyter matplotlib
+
+
+
+ +

+Certain notebooks hosted in the Home Assistant notebooks repository require access to a running Home Assistant instance or parts of a Home Assistant installation. If you want to run those notebooks install Home Assistant with $ pip3 install homeassistant as well. +

+ +

Now you are able to start the application.

+ +
+
$ jupyter notebook
+[I 17:22:18.081 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
+[I 17:22:18.921 NotebookApp] Serving notebooks from local directory: /home/fabaff/home-assistant
+[I 17:22:18.921 NotebookApp] 0 active kernels 
+[I 17:22:18.921 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
+[I 17:22:18.922 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
+
+
+
+ +

Open http://localhost:8888/ in your browser. Press “New” -> “Python3” to open a new notebook.

+ +

+ +

+ +

You will get an emtpy notebook with one cell. Cells can contain code or text. To get the output of a cell you need to execute them with “Cell” -> “Run Cells” from the menu or by pressing the icon.

+ +

+ +

+ +

The downloadable version of this notebook is available in the Home Assistant notebooks repository.

+ +

As you can see is the workflow very similar to working directly with a Python shell. One advantage is that you can go back and forth as you please and save your work.

+ + + +
+ + +
+ + + + +
+
+ + + + + + \ No newline at end of file diff --git a/images/screenshots/jupyter-graph.png b/images/screenshots/jupyter-graph.png new file mode 100644 index 0000000000..85d4856cda Binary files /dev/null and b/images/screenshots/jupyter-graph.png differ diff --git a/images/screenshots/jupyter-new.png b/images/screenshots/jupyter-new.png new file mode 100644 index 0000000000..51fcb3d08f Binary files /dev/null and b/images/screenshots/jupyter-new.png differ diff --git a/images/screenshots/jupyter-notebook.png b/images/screenshots/jupyter-notebook.png new file mode 100644 index 0000000000..37ee7ae9f9 Binary files /dev/null and b/images/screenshots/jupyter-notebook.png differ diff --git a/sitemap.xml b/sitemap.xml index 2689abba2d..aafc122ef9 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1731,6 +1731,18 @@ https://home-assistant.io/cookbook/notify_if__new_ha_release/ + + https://home-assistant.io/cookbook/jupyther_notebooks_api/ + + + https://home-assistant.io/cookbook/jupyther_notebooks_database/ + + + https://home-assistant.io/cookbook/jupyther_notebooks_graph/ + + + https://home-assistant.io/cookbook/jupyther_notebooks_introduction/ + https://home-assistant.io/topics/templating/ @@ -1967,34 +1979,34 @@ https://home-assistant.io/demo/dev-tools.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/demo/frontend.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/demo/index.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/demo/partial-map.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-07-23T07:50:22+00:00 + 2016-07-23T16:05:38+00:00