Skip to content

Commit b569667

Browse files
denicsfabaff
authored andcommitted
Update sensor.sensehat.markdown (#2765)
* Update sensor.sensehat.markdown updated installation steps * Revert ha_release
1 parent 06eaac8 commit b569667

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/_components/sensor.sensehat.markdown

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: "Sense HAT"
44
description: "Instructions how to integrate Sense HAT within Home Assistant."
5-
date: 2016-12-05 07:00
5+
date: 2017-06-03 04:00
66
sidebar: true
77
comments: false
88
sharing: true
@@ -124,18 +124,18 @@ As all of the following steps should be under the `pi` user environment.
124124
###### Install _RTIMU_
125125

126126
```bash
127-
# Install RTIMU to pi user environment
127+
# pi user environment: Install RTIMU
128128
pip3 install rtimulib
129129
130-
# Add symlink to RTIMU in _homeassistant_venv_
131-
# Create a symlink using the following command:
132-
ln -s /usr/lib/python3/dist-packages/RTIMU.cpython-34m-arm-linux-gnueabihf.so /srv/homeassistant/homeassistant_venv/lib/python3.4/
133-
134-
# Add _homeassistant_ user to the _input_ and the _i2c_ groups
130+
# pi user environment: Add _homeassistant_ user to the _input_, _video_ and the _i2c_ groups
135131
sudo addgroup homeassistant input
136132
sudo addgroup homeassistant i2c
133+
sudo addgroup homeassistant video
134+
135+
# HA environment: Add symlink to RTIMU
136+
ln -s /usr/lib/python3/dist-packages/RTIMU.cpython-35m-arm-linux-gnueabihf.so /srv/homeassistant/lib/python3.5/site-packages/
137137
138-
# Reboot Raspberry Pi to apply changes
138+
# pi user environment: Reboot Raspberry Pi to apply changes
139139
sudo reboot
140140
```
141141

0 commit comments

Comments
 (0)