-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHT Sensor not working with HASSIO #178
Comments
I've been having the same issue with the past few versions of Hassio. I've posted a issue here #9177 with a work around that you can use for now. There doesn't seem to be any mention of a fix in the 53 release notes, hopefully it'll get sorted soon! |
This took some digging, but by default the DHT package isn't installed at install time because it fails on some (non-pi) systems. So it's been relying on installing at runtime when the component is configured. This has probably been working ok on RPi's with hass until now because the required packages (mentioned above) were available. However, the hass docker image for hassio does not have theses packages available to do the dynamic installation. It seems to me we need to manually add this install into the raspberrypi docker files? Can you comment @pvizeli? I assuming this is only required on RPi installs, does anyone know any different? |
What is the packages that will be needed? |
You can see it referenced in the sensors/dht.py file. I already have some Docker code that will install it. If you agree that the machine specific files are the place for it, I will raise a PR... |
I think it should work like: https://github.com/home-assistant/hassio-build/blob/master/homeassistant/generic/Dockerfile#L12-L21 |
Can anyone explain me the right steps I've got to do in order to make dht22 to work again? |
You need make a layer inside machine dockerfiles that setup the dev env and install this with pip and remove the dev env |
Sorry I don't know how docker works, do you have a link that helps me to understand what to do? |
I've seen you're working on it: When are you going to deploy the fix? |
Next home-assistant release -> 0.54 |
On release 0.62.1 at this moment and it is still not working using this setup:
Is it possible to get this working within Hassio? |
Any solution for this to work? |
any luck? |
any solution for this? |
Related issues: home-assistant/core#15847 |
Also interested in a fix. |
Seems like this is only the issue of 64 bit version of hassos. I switched to 32 bit version and problem does not exist there. |
I also need it. Thank You |
As described here https://community.home-assistant.io/t/dht-sensor-issue-at-startup-after-fresh-installation/24914 the DHT sensor module (https://home-assistant.io/components/sensor.dht/) Is not working correctly with the new version of HASSIO.
It works just fine with HomeAssistant (and without HASSIO).
The text was updated successfully, but these errors were encountered: