supervisor: Homeassistant docker image doesn't include build tools. DHT can't work
@Vanuan commented on Aug 2, 2018, 12:44 AM UTC:
Home Assistant release with the issue:
Docker hub image: homeassistant/raspberrypi3-homeassistant Looks like alpine based
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):
Raspbian, hassio, docker
Component/platform:
https://www.home-assistant.io/components/sensor.dht/
Description of problem: It requires a wheel module which can’t be build without gcc.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
- platform: dht
sensor: DHT11
pin: 4
monitored_conditions:
- temperature
- humidity
Traceback (if applicable):
Command "/usr/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-i52jguvt/Adafruit-Python-DHT/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-eivkfo33/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-i52jguvt/Adafruit-Python-DHT/
Additional information:
Apart of that, Adafruit_Python_DHT==1.3.2 looks broken: adafruit/Adafruit_Python_DHT#102
So 2 issues to fix:
- add gcc to homeassistant issues (to be able to install wheel addons)
- change Adafruit_Python_DHT version to 1.3.4
This issue was moved by awarecan from home-assistant/home-assistant#15788.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (1 by maintainers)
@pvizeli is that a question? Because in my test on hassOS/hassIO with 0.75.1 the dht sensor still does not work.