diff --git a/atom.xml b/atom.xml index ccf48ed1ee..974d681d2e 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index a7c08681ee..cfa23521c8 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 109a117d2a..b1eca71c11 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index de81bec0a8..c6f39487c1 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index ce7242f040..8efab85995 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index c456095766..110c86bec7 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+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 186040ed12..58c9a88187 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index e84e3bb77a..5e25bd8c9c 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 27931abdd6..f2a1d21595 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 3d956a8db2..e990e4fb7e 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 6677ab6e8b..34156ba209 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 6dae42863f..4a8ffa19f9 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 9d8c85c64e..75f7bd0405 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 87e3941180..16fc48a7b5 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+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 fffa912373..293a78c1bb 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index c17504a2aa..4848d7f793 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index aa0fa9a316..e1f039e719 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 1e50a7a35d..523825b29b 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 7f0e568949..5c6d851c7b 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index eb6d02c9e7..fe575af8e5 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-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 83f26fab54..04c1bc8b59 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 34b58e5bc2..5bb408fcc6 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-03-08T09:17:09+00:00 + 2017-03-08T11:50:51+00:00 https://home-assistant.io/ diff --git a/docs/installation/vagrant/index.html b/docs/installation/vagrant/index.html index 67b88fffbb..741e77ad50 100644 --- a/docs/installation/vagrant/index.html +++ b/docs/installation/vagrant/index.html @@ -92,7 +92,7 @@
-

A Vagrantfile is available into virtualization/vagrant folder for quickly spinning up a Linux virtual machine running Home Assistant. This can be beneficial for those who want to experiment with Home Assistant and/or developers willing to easily test local changes and run test suite against them.

+

A Vagrantfile is available into virtualization/vagrant folder for quickly spinning up a Linux virtual machine running Home Assistant. This can be beneficial for those who want to experiment with Home Assistant and/or developers willing to easily test local changes and run test suite against them. In the same virtualization/vagrant folder there’s also a provision.sh shell script which provides an easy way to interact with the Home Assistant instance running within the Vagrant VM.

Vagrant is intended for testing/development only. It is NOT recommended for permanent installations. @@ -100,7 +100,7 @@ Vagrant is intended for testing/development only. It is NOT recommended for perm

Install Vagrant

-

You must have Vagrant and Virtualbox installed on your workstation.

+

You must have Vagrant and Virtualbox installed on your workstation. Vagrant and Virtualbox support all the main platforms, including Windows, MacOS and Linux.

Get Home Assistant source code

@@ -125,50 +125,61 @@ When using Vagrant on Windows, change git’s au

Create the Vagrant VM and start Home Assistant

-
$ vagrant up
+
$ ./provision.sh setup
 
-

This will download and start a virtual machine using Virtualbox, which will internally setup the development environment necessary to start Home Assistant process and run test suite as well. After the VM has started successfully, the Home Assistant frontend will be accessible locally from your browser at http://localhost:8123

+

This will download and start a virtual machine using Virtualbox, which will internally setup the development environment necessary to start Home Assistant. The whole process might take up to 30 minutes to complete, depending on Internet connection speed and workstation resources. After the VM has started successfully, the Home Assistant frontend will be accessible locally from your browser at http://localhost:8123

Stopping Vagrant

To shutdown the Vagrant host:

-
$ vagrant halt
+
$ ./provision.sh stop
 
-

To start it again, just run vagrant up

+

To start it again:

+ +
$ ./provision.sh start
+
+

Restarting Home Assistant process to test changes

The root home-assistant directory on your workstation will be mirrored with /home-assistant inside the VM. In virtualization/vagrant there’s also a config folder that you can use to drop configuration files (Check the Configuration section in the docmentation for more information about how to configure Home Assistant).

-

Any changes made to the local directory on your workstation will be available from the Vagrant host, so to apply your changes to the Home Assistant process, just restart it:

+

Any changes made to the local directory on your workstation will be available from the Vagrant host, so to apply your changes to the Home Assistant process, just restart it using the provided provision.sh wrapper script:

-
$ touch restart ; vagrant provision
+
$ ./provision.sh restart
 
+

+This command will only restart the Home Assistant process inside the Vagrant VM, it will not reboot the virtual machine. If that’s what you want, the right command is vagrant reload +

+

Run test suite (Tox)

-

To run tests against your changes:

+

To run tests against the local version of Home Assistant code:

-
$ touch run_tests ; vagrant provision
+
$ ./provision.sh tests
 

Cleanup

-

To completely remove the VM:

+

To completely remove the VM

-
$ rm setup_done ; vagrant destroy -f
+
$ ./provision.sh destroy
 
-

You can now recreate a completely new Vagrant host with vagrant up

+

To completely remove the VM and setup a fresh new environment:

+
$ ./provision.sh recreate
+
+
diff --git a/sitemap.xml b/sitemap.xml index 7e4760c20a..8a1ad9035b 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2954,62 +2954,62 @@ https://home-assistant.io/demo/frontend.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/index.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-03-08T09:16:22+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-03-08T09:16:23+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-03-08T09:16:23+00:00 +2017-03-08T11:50:01+00:00 https://home-assistant.io/static/mdi-demo.html -2017-03-08T09:16:23+00:00 +2017-03-08T11:50:01+00:00