Sense-hat fresh hassbian

DUUUUUUUDDDEEEE!!! you @robmarkcole and @TwanFox fixed specifically it was me not reading properly

I also had to make an adjustment to WHERE I put the symlink into the virtual environment. Specifically

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

did that and it is up and running

:joy: c’est la vie…

HI,

Just installed the sense hat in my Hassio … any ideas how to switch the light OFF?
And get the 3 meters to display a value?

00

the log displays hefty errors :wink:

File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py”, line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/sensor/sensehat.py”, line 99, in update
self.data.update()
File “/usr/lib/python3.6/site-packages/homeassistant/util/init.py”, line 306, in wrapper
result = method(*args, **kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/sensor/sensehat.py”, line 125, in update
from sense_hat import SenseHat
File “/usr/lib/python3.6/site-packages/sense_hat/init.py”, line 2, in
from .sense_hat import SenseHat, SenseHat as AstroPi
File “/usr/lib/python3.6/site-packages/sense_hat/sense_hat.py”, line 10, in
import RTIMU # custom version
ModuleNotFoundError: No module named ‘RTIMU’

Thanks !
Marius

how did you install in hassio

by following this guideline:

Appears to be missing https://github.com/RPi-Distro/python-sense-emu/blob/master/sense_emu/RTIMU.py
I’d raise an issue. I recall having a headache getting sense hat up an running on regular Hassbian

ok thanks, glad to follow your suggestion, now find out how to raise an issue :wink:
btw, ive returned the Hat, seemed a bit too much of an educational project

Cheers,
Marius

Hello,

@robmarkcole, how may I fix this issue ?

I’m on HassIO 0.65.3 and have the same error :

File “/usr/lib/python3.6/site-packages/sense_hat/sense_hat.py”, line 10, in
import RTIMU # custom version
ModuleNotFoundError: No module named ‘RTIMU’

Thanks,
Eric

Sorry no idea

@Dominic this guide worked for me really well installing Hassbian on Rp2

thanks moved to HASsio months ago but if i go back to hassbian i will keep it in mind