diff --git a/atom.xml b/atom.xml index d92311611e..c5f2b60a17 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Format the sensor values
+Add the following to your sensor
# Example configuration.yaml entry
+sensor:
+ - platform: sensehat
+ display_options:
+ - temperature
+ - humidity
+ - pressure
+
+ - platform: template
+ sensors:
+ sensehat_temperature:
+ value_template: '{{ states.sensor.temperature.state | round(1) }}'
+ unit_of_measurement: '°C'
+ sensehat_pressure:
+ value_template: '{{ states.sensor.pressure.state | round(1) }}'
+ unit_of_measurement: 'mb'
+ sensehat_humidity:
+ value_template: '{{ states.sensor.humidity.state | round(1) }}'
+ unit_of_measurement: '%'
+
+Give the values friendly names & icons
+Add the following to your customize
# Example configuration.yaml entry
+customize:
+ sensor.sensehat_temperature:
+ icon: mdi:thermometer
+ friendly_name: "Temperature"
+ sensor.sensehat_humidity:
+ icon: mdi:weather-rainy
+ friendly_name: "Humidity"
+ sensor.sensehat_pressure:
+ icon: mdi:gauge
+ friendly_name: "Pressure"
+
+Create a group
+Add the following to your groups
# Example configuration.yaml entry
+group:
+ sense_hat:
+ name: Sense HAT
+ entities:
+ - sensor.sensehat_temperature
+ - sensor.sensehat_humidity
+ - sensor.sensehat_pressure
+
+Add the sense_hat group a group (Kitchen for example)
+# Example configuration.yaml entry
+group:
+ kitchen:
+ - group.sense_hat
+
+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/components/sensor.wunderground/index.html b/components/sensor.wunderground/index.html index 2811dadcc2..a4e75d6fd4 100644 --- a/components/sensor.wunderground/index.html +++ b/components/sensor.wunderground/index.html @@ -195,8 +195,11 @@ Obtain a WUnderground API key All the conditions listed above will be updated each 5 minutes with exception ofalerts
that will be updated each 15 minutes by default.
-Additional details about the API are available here.
++Note: While the platform is called “wunderground” the sensors will show up in Home Assistant as “PWS” (eg: sensor.pws_weather). +
+Additional details about the API are available here.
diff --git a/sitemap.xml b/sitemap.xml index ee2dfb259f..e17358bc2a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2804,62 +2804,62 @@