File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
layout : page
3
3
title : " Sense HAT"
4
4
description : " Instructions how to integrate Sense HAT within Home Assistant."
5
- date : 2016-12-05 07 :00
5
+ date : 2017-06-03 04 :00
6
6
sidebar : true
7
7
comments : false
8
8
sharing : true
@@ -124,18 +124,18 @@ As all of the following steps should be under the `pi` user environment.
124
124
# ##### Install _RTIMU_
125
125
126
126
` ` ` bash
127
- # Install RTIMU to pi user environment
127
+ # pi user environment: Install RTIMU
128
128
pip3 install rtimulib
129
129
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
135
131
sudo addgroup homeassistant input
136
132
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/
137
137
138
- # Reboot Raspberry Pi to apply changes
138
+ # pi user environment: Reboot Raspberry Pi to apply changes
139
139
sudo reboot
140
140
` ` `
141
141
You can’t perform that action at this time.
0 commit comments