I was hoping for an easy time getting my system set up. Encountered countless formatting errors with yaml’s and such. Just when Ithink i’m getting somwhere.
There are these errors in my logs. DHT device on pin 7
2019-05-14 15:15:29 WARNING (MainThread) [homeassistant.helpers.config_validation] Your configuration contains extra keys that the platform does not support.
Please remove [command_topic].
2019-05-14 15:15:53 WARNING (MainThread) [homeassistant.components.mqtt] Data in your config entry is going to override your configuration.yaml: {'broker': '127.0.0.1', 'discovery': True, 'password': 'h@ssiomqtt!', 'port': 1883, 'username': 'hassio'}
2019-05-14 15:15:56 WARNING (MainThread) [homeassistant.helpers.config_validation] Your configuration contains extra keys that the platform does not support.
Please remove [command_topic]. (See /config/sensor.yaml, line 40).
2019-05-14 15:15:58 ERROR (MainThread) [homeassistant.components.sensor] dht: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/dht/sensor.py", line 114, in update
self.dht_client.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/dht/sensor.py", line 149, in update
self.sensor, self.pin)
File "/usr/local/lib/python3.7/site-packages/Adafruit_DHT/common.py", line 94, in read_retry
humidity, temperature = read(sensor, pin, platform)
File "/usr/local/lib/python3.7/site-packages/Adafruit_DHT/common.py", line 80, in read
platform = get_platform()
File "/usr/local/lib/python3.7/site-packages/Adafruit_DHT/common.py", line 63, in get_platform
raise RuntimeError('Unknown platform.')
RuntimeError: Unknown platform.
2019-05-14 15:15:58 ERROR (MainThread) [homeassistant.components.sensor] dht: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/dht/sensor.py", line 114, in update
self.dht_client.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/dht/sensor.py", line 149, in update
self.sensor, self.pin)
File "/usr/local/lib/python3.7/site-packages/Adafruit_DHT/common.py", line 94, in read_retry
humidity, temperature = read(sensor, pin, platform)
File "/usr/local/lib/python3.7/site-packages/Adafruit_DHT/common.py", line 80, in read
platform = get_platform()
File "/usr/local/lib/python3.7/site-packages/Adafruit_DHT/common.py", line 63, in get_platform
raise RuntimeError('Unknown platform.')
RuntimeError: Unknown platform.
No idea if i’m running into this bug/error ? I’d like to be able to read the DHT and have it listed in my dashboard
Here is the config and components
Here is my config.
Hardware:
Raspberry Pi 3B+
Version: 0.92.2
python_version: 3.7.3
From sensor.yaml
platform: dht
sensor: DHT11
name: AM2302 Rasp
pin: 4
monitored_conditions:
temperature
humidity
(The sensor says AM2302 on it, I have tried DHT11, DHT22, AM2302)
As the points about asking a good question
-
Yes, I’ve search and found links (mentioned above) but I’m not a developer so not sure whether the fix is being incorporated or merged or what that all means. So asking if my issue is the same
-
I’ve done many searches, including research on github which is outside of my current technical understandings - Again, link above
-
Similar topics - But not the same sensor version
-
The DHT i’m looking for is listed in the documentation BUT again, as listed above doesn’t seem to work with the raspbeery Pi 3B+
https://www.home-assistant.io/components/dht/
5). Category is Configuration. This is a configuration question as I’m not able to configure the sensor to work correctly. -
Both the tags of RASPBERRY and DHT don’t exist and are the most relevant.
-
Title is very descriptive of the issue.
-
Goal states as wanting to have DHT information from Raspbeery into the HassIO dashboard.
-
Work is shown by having the config post and debug outputs.
-
Installed Home Assistant on Raspbeery pi, via Micro SD card
-
Formatting appears correct as configuration validate by Hassio
-
Only change the inclusion of Sensor, added the pins per internet found schematics.
-
Logs – Above
-
Screenshots - N/A
-
Yes, I’ve read about this issue
-
Nobody TAG’d.