Home Assistant release (hass --version):
0.27.1
Python release (python3 --version):
Python 3.4.2
Component/platform:
Raspberry Pi Model B Revision 2.0 512MB RAM / DHT11 Sensor
Description of problem:
Getting errors
Expected:
Can not see the DHT11 sensor in Home Assistant after upgrading to latest version.
Problem-relevant configuration.yaml entries and steps to reproduce:
This is the line inside my configuration.yaml file
sensor: !include devices/sensors.yaml
This is the code inside the sensors.yaml file
# DHT11 Temperature/Humidity Sensor
- platform: dht
sensor: DHT11
pin: 17
name: DHT11
monitored_conditions:
- temperature
- humidity
# polling_interval: 10000
# scan_interval: 10
# interval_seconds: 10
Error
16-09-01 09:53:46 homeassistant.components.sensor: Error while setting up platform dht
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 98, in _setup_platform
discovery_info)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 65, in setup_platform
DHTSensor(data, variable, SENSOR_TYPES[variable][1], name))
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 104, in update
self.dht_client.update()
File "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 134, in update
self.pin)
File "/root/.homeassistant/deps/Adafruit_DHT/common.py", line 90, in read_retry
humidity, temperature = read(sensor, pin, platform)
File "/root/.homeassistant/deps/Adafruit_DHT/common.py", line 76, in read
platform = get_platform()
File "/root/.homeassistant/deps/Adafruit_DHT/common.py", line 48, in get_platform
from . import Raspberry_Pi
File "/root/.homeassistant/deps/Adafruit_DHT/Raspberry_Pi.py", line 22, in <module>
from . import Raspberry_Pi_Driver as driver
ImportError: cannot import name 'Raspberry_Pi_Driver'
16-09-01 09:55:34 homeassistant.helpers.condition: Value cannot be processed as a number: unknown
16-09-01 09:55:53 homeassistant.helpers.condition: Value cannot be processed as a number: unknown
16-09-01 09:55:53 homeassistant.helpers.condition: Value cannot be processed as a number: unknown