From 0bac49a7de3dbb56071731643ff76b2fe8c33c17 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 14 Feb 2017 16:46:32 +0000 Subject: [PATCH] Site updated at 2017-02-14 16:46:32 UTC --- atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/talks/atom.xml | 2 +- blog/categories/technology/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/video/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/sensor.sensehat/index.html | 110 +++++++++--------- sitemap.xml | 30 ++--- 23 files changed, 88 insertions(+), 94 deletions(-) diff --git a/atom.xml b/atom.xml index 8476853c24..9f78084970 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 62f7d7a89b..8e846afa1d 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index c1eed89ca4..6c1146046c 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index ccabb56b08..49246e004c 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 340a37d1df..91c1427326 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index d1c4a0fae9..1ce691e2c6 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+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 5faf3a5a39..406cbc05af 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 9aab26e85e..7ea81bbb47 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 33580283ee..d90b6b40b4 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 61127696c2..99742f918e 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 76ac073fa4..93d5dc4f46 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index dfe96f256c..a084d68ca6 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 5c7684c243..b4254c18e0 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+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 870b64e0c0..9d69200f45 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index f0988597e0..6daad87600 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index ed02da4113..e1801eb811 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 0d7e051004..cbe854af12 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 6e6c462dc4..587dc086c2 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 59109305be..525d3d4a84 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-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 29a851db9a..5a7e4f78a5 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 6852c156cf..05a72017a4 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-02-14T16:23:40+00:00 + 2017-02-14T16:43:32+00:00 https://home-assistant.io/ diff --git a/components/sensor.sensehat/index.html b/components/sensor.sensehat/index.html index 9314cf38d7..b002b603c7 100644 --- a/components/sensor.sensehat/index.html +++ b/components/sensor.sensehat/index.html @@ -116,10 +116,55 @@ -

Customizing the Sense HAT data

+

Installation instruction for the All-In-One installer and HASSbian

-

Format the sensor values -Add the following to your sensor

+

Here are the steps to make the Sense HAT sensor work with a virtual environment.

+ +

Install SenseHAT package. Switch to the homeassistant_venv directory and activate the virtual environment.

+ +
$ sudo su -s /bin/bash homeassistant
+$ source /srv/homeassistant/homeassistant_venv/bin/activate
+
+
+ +

Install the sense-hat module.

+ +
$ pip3 install sense-hat
+
+
+ +

Please be patient, this will take a long while…

+ +

Type exit to quit out of the homeassistant_venv back to your pi environment. As all of the following steps should be under the pi user environment.

+ +

Install the RTIMU Python module:

+ +
$ pip3 install rtimulib
+
+
+ +

Add symlink to RTIMU in homeassistant_venv directory. Create a symlink using the following command:

+ +
$ ln -s /usr/lib/python3/dist-packages/RTIMU.cpython-34m-arm-linux-gnueabihf.so /srv/homeassistant/homeassistant_venv/lib/python3.4/
+
+
+ +

Add homeassistant user to the input and the i2c groups.

+ +
$ sudo addgroup homeassistant input
+$ sudo addgroup homeassistant i2c
+
+
+ +

Reboot Raspberry Pi to apply changes.

+ +
$ sudo reboot
+
+
+ +

Customizing the Sense HAT data

+ +

To format the sensor values, add the following to your sensor entry in your configuration.yaml file.

# Example configuration.yaml entry
 sensor:
@@ -143,8 +188,7 @@ Add the following to your sensor

-

Give the values friendly names & icons -Add the following to your customize

+

Add the following to your customize section to set friendly names & icons for the values.

# Example configuration.yaml entry
 customize:
@@ -160,8 +204,7 @@ Add the following to your customize

-

Create a group -Add the following to your groups

+

Create a group for your Sense HAT details by adding the following to your groups section.

# Example configuration.yaml entry
 group:
@@ -173,7 +216,9 @@ Add the following to your groups

- sensor.sensehat_pressure
+

Add the sense_hat group a group (Kitchen for example)

+
# Example configuration.yaml entry
 group:
   kitchen:
@@ -181,57 +226,6 @@ Add the following to your groups

-

Directions for installing on Raspberry Pi All-In-One installer and HASSbian:

-

Here are the steps to make the SenseHAT sensor work successfully with the virtual enviroment versions.

- -

Install SenseHAT package to homeassistant_venv

-
# switch to the homeassistant_venv environment
-sudo su -s /bin/bash homeassistant
-source /srv/homeassistant/homeassistant_venv/bin/activate
-
-# install the sense-hat lib
-pip3 install sense-hat
-# be patient, this will take a long while
-
-
-

Return to pi

-

Type exit to quit out of the homeassistant_venv back to your pi environment.

- -

As all of the following steps should be under the pi user environment.

- -
Install RTIMU
- -
# Install RTIMU to pi user environment
-pip3 install rtimulib
-
-# Add symlink to RTIMU in _homeassistant_venv_
-# Create a symlink using the following command:
-ln -s /usr/lib/python3/dist-packages/RTIMU.cpython-34m-arm-linux-gnueabihf.so /srv/homeassistant/homeassistant_venv/lib/python3.4/
-
-# Add _homeassistant_ user to the _input_ and the _i2c_ groups
-sudo addgroup homeassistant input
-sudo addgroup homeassistant i2c
-
-# Reboot Raspberry Pi to apply changes
-sudo reboot
-
-
- -

Unfortunately enabling the SenseHAT Sensor component for a Virtual Environment install of Home-Assistant fails with errors. -(The Raspberry Pi All-In-One installer and HASSbian both run Home-Assistant in an virtual environment). -These issues have been discussed in the repository issue (#5093)[https://github.com/home-assistant/home-assistant/issues/5093)

- -

This fix has been tested with a clean install of:

- - - -

and

- - diff --git a/sitemap.xml b/sitemap.xml index d88810a640..01c44e731c 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2805,62 +2805,62 @@ https://home-assistant.io/demo/frontend.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/index.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00 https://home-assistant.io/static/mdi-demo.html -2017-02-14T16:22:50+00:00 +2017-02-14T16:42:36+00:00