@kokein wrote:
Hello,
Can’t handle this problem by myself. Maby some one can help here?
I have new “Wemos D1 mini v2” with ESP8266-12F on board and “Wemos DHT22 Shield”.
It should work “out of the box” but it does not.I think the board hase 10kOhm pullUp resostor allready soldered?
I’ve cheked differet GPIO’s, all my solder joints, all connections,my device if flashed correctly.
I can find it on ESPHome, it is discovering DTH22, but on the end of line im getting this:[20:08:27][W][dht:126]: Requesting data from DHT failed!
[20:08:27][W][dht:060]: Invalid readings! Please check your wiring (pull-up resistor, pin number) and consider manually specifying the DHT model using the model option.
[20:08:27][D][sensor:092]: ‘Temp_out’: Sending state nan °C with 1 decimals of accuracy
[20:08:27][D][sensor:092]: ‘Hum_out’: Sending state nan % with 0 decimals of accuracyAnd non of found on the web solutions helped me ,it default send signal from dht22 by D4 line, I also tried to bypass D4 and and use direct solder. …and nope…
What I’m missing?
In HomeAssistant my entitie get: UnavailableThis is my code for ESPHome:
esphome: name: sensor_kkn platform: ESP8266 board: d1_mini wifi: ssid: "My Wifi" password: "My Pass" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Sensor Kkn Fallback Hotspot" password: "9xw9e5w4Uj84" captive_portal: # Enable logging logger: # Enable Home Assistant API api: ota: # Example configuration entry sensor: - platform: dht pin: D1 model: DHT22 temperature: name: "Temp_out" humidity: name: "Hum_out" update_interval: 30s
And this is output log: (here is for D1 pin but i get this on all tested GPIOs)
[20:08:21][C][wifi:415]: WiFi: [20:08:21][C][wifi:283]: SSID: 'My WiFi'[redacted] [20:08:21][C][wifi:284]: IP Address: 192.168.0.158 [20:08:21][C][wifi:286]: BSSID: 90:5C:44:A0:34:DC[redacted] [20:08:21][C][wifi:287]: Hostname: 'sensor_kkn' [20:08:21][C][wifi:291]: Signal strength: -60 dB ▂▄▆█ [20:08:21][C][wifi:295]: Channel: 11 [20:08:21][C][wifi:296]: Subnet: 255.255.255.0 [20:08:21][C][wifi:297]: Gateway: 192.168.0.1 [20:08:21][C][wifi:298]: DNS1: 62.179.1.63 [20:08:21][C][wifi:299]: DNS2: 62.179.1.62 [20:08:22][C][logger:175]: Logger: [20:08:22][C][logger:176]: Level: DEBUG [20:08:22][C][logger:177]: Log Baud Rate: 115200 [20:08:22][C][logger:178]: Hardware UART: UART0 [20:08:22][C][dht:017]: DHT: [20:08:22][C][dht:018]: Pin: GPIO16 (Mode: INPUT) [20:08:22][C][dht:020]: Auto-detected model: DHT22 [20:08:22][C][dht:027]: Update Interval: 10.0s [20:08:22][C][dht:029]: Temperature 'Temp_out' [20:08:22][C][dht:029]: Unit of Measurement: '°C' [20:08:22][C][dht:029]: Accuracy Decimals: 1 [20:08:22][C][dht:029]: Icon: 'mdi:thermometer' [20:08:22][C][dht:030]: Humidity 'Hum_out' [20:08:22][C][dht:030]: Unit of Measurement: '%' [20:08:22][C][dht:030]: Accuracy Decimals: 0 [20:08:22][C][dht:030]: Icon: 'mdi:water-percent' [20:08:22][C][captive_portal:169]: Captive Portal: [20:08:22][C][ota:029]: Over-The-Air Updates: [20:08:22][C][ota:030]: Address: sensor_kkn.local:8266 [20:08:22][C][api:095]: API Server: [20:08:22][C][api:096]: Address: sensor_kkn.local:6053 [20:08:27][W][dht:126]: Requesting data from DHT failed! [20:08:27][W][dht:060]: Invalid readings! Please check your wiring (pull-up resistor, pin number) and consider manually specifying the DHT model using the model option. [20:08:27][D][sensor:092]: 'Temp_out': Sending state nan °C with 1 decimals of accuracy [20:08:27][D][sensor:092]: 'Hum_out': Sending state nan % with 0 decimals of accuracy
Please give me some advice.
All the best!
Nick
Posts: 1
Participants: 1