diff --git a/atom.xml b/atom.xml index f9ca8d7557..f84236f600 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Now, the first message will be sent after a 15 minute delay. The second will be sent after a 30 minute delay. A 60 minute delay will fall between every following notification.
+Now the first message will be sent after a 15 minute delay, the second will be sent 30 minutes after that, and a 60 minute delay will fall between every following notification. For example, if the garage door opens at 2:00, a notification will be sent at 2:15, 2:45, 3:45, 4:45, etc., continuing every 60 minutes.
diff --git a/components/sensor.sensehat/index.html b/components/sensor.sensehat/index.html index 4f17eadd15..fbc59741e7 100644 --- a/components/sensor.sensehat/index.html +++ b/components/sensor.sensehat/index.html @@ -111,60 +111,16 @@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
-
-To format the sensor values, add the following to your sensor
entry in your configuration.yaml
file.
Format the sensor values
+Add the following to your sensor
# Example configuration.yaml entry
sensor:
@@ -188,7 +144,8 @@
Add the following to your customize
section to set friendly names & icons for the values.
Give the values friendly names & icons
+Add the following to your customize
# Example configuration.yaml entry
customize:
@@ -204,7 +161,8 @@
Create a group for your Sense HAT details by adding the following to your groups
section.
Create a group
+Add the following to your groups
# Example configuration.yaml entry
group:
@@ -216,9 +174,7 @@
- sensor.sensehat_pressure
Add the sense_hat group a group (Kitchen for example)
-# Example configuration.yaml entry
group:
kitchen:
@@ -226,6 +182,57 @@
Here are the steps to make the SenseHAT sensor work successfully with the virtual enviroment versions.
+ +# 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
+
+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 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 474fc7dc91..6521f19e71 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2869,62 +2869,62 @@