Closed RssFra97 closed 5 years ago
the same for me:
Home Assistant release with the issue: 0.78
Last working Home Assistant release (if known): 0.77.2
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io on ArchLinuxARM
Component/platform: DHT Sensor
Description of problem: error install Adafruit-DHT-1.3.4
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
- platform: yr
- platform: dht
sensor: DHT22
pin: 25
monitored_conditions:
- temperature
- humidity
Traceback (if applicable):
Command "/usr/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qtv2bp7c/Adafruit-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-xtybvo3n/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-qtv2bp7c/Adafruit-DHT/
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
2018-09-18 11:49:36 ERROR (MainThread) [homeassistant.requirements] Not initializing sensor.dht because could not install requirement Adafruit-DHT==1.3.4
2018-09-18 11:49:36 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.dht: Could not install all requirements.
me too... I get: Unable to install package Adafruit-DHT==1.3.4: Failed to building wheel for Adafruit-DHT Why???
Will most likely be fixed with https://github.com/home-assistant/hassio-homeassistant/pull/12
@fabaff
is from July that the sensor on hassio does not work and every worst update is now that they fix it!
I have the same problem. Created an incident as the search did not show any results for sensor.dht. Closed #16722 and follow this one. Will check the suggestion of fabaff.
with the update to 0.78.1, dht is working again thx
@vitalogy on hassio again no
This is the error:
2018-09-21 07:23:46 ERROR (MainThread) [homeassistant.components.sensor] dht: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 353, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/dht.py", line 122, in update
self.dht_client.update()
File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/dht.py", line 157, in update
self.sensor, self.pin)
File "/usr/local/lib/python3.6/site-packages/Adafruit_DHT/common.py", line 94, in read_retry
humidity, temperature = read(sensor, pin, platform)
File "/usr/local/lib/python3.6/site-packages/Adafruit_DHT/common.py", line 80, in read
platform = get_platform()
File "/usr/local/lib/python3.6/site-packages/Adafruit_DHT/common.py", line 63, in get_platform
raise RuntimeError('Unknown platform.')
but...
My sensor.DHT is working again!
Yes, the update fixed the DHT.sensor. Thank you!
Home Assistant release with the issue:
0.78.0b0
Last working Home Assistant release (if known): NO
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io Component/platform:
DHT Sensor
Description of problem: error install DHT sensor Adafruit-DHT to 1.3.4
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):