Platform Pi4B running Hassos
So after reading the homeassistant DHT22 temp documentation I went out and bought some DHT22’s. I spent a massive amount of time messing around trying to get them to read data only to find out that the PI4 was not compatible due to adafruit issues…there is a 10month old pull request on the issue.
So then I went and bought some OneWire DS18B20 waterproof sensors from ebay thinking they would be my savior… but no, I cannot get these beasts to work either!
I have added dtoverlay=w1-gpio-pullup to config.txt and attached the sensor on gpio4 (pin 7)
I also tried without the pullup flag, defining gpio4 as well as trying a different gpio pin… no help.
I tried running the onewire on both the 3.3v pin and 5v pin… no help
I tried running the sensor in parasitic mode with both pos and neg connected to earth pin…no help
I have tried different gpio pin, different ground pin and different 3.3v pin ( though multimeter shows all power and ground pins are fine)
Then I figured perhaps I may have messed around with something when I was playing with the previous DHT sensor… so I wiped the SD and put a fresh install of Hassos 5.10 on… no help.
When listing W1 devices I just get a couple of 00-80000000 folders which i’ve read is normal when nothing is found.
I bought my DS18B20’s from ebay so I wondered if they were incompatible though they did say Arduino compatible on the listing… I took a drill to one of the sensors and found the chip is a fake version made by a generic chinese company,
I have ordered some Dallas made DS18B20 chips to see if that makes any difference.
Am I not doing something blindingly obvious here ?, Most of these issues that I have read about have been down to wiring incorrectly…but this is not my issues after triple checking pinout diagrams and trying lots of different ways (as well as testing pins with multimeter) along with stripping the sensor wires back and just soldering directly to the pins to ensure good connection.
I assume Hassos default user can access gpio pins fine out of the box ?
Any advise would be greatly appreciated