Hi !
I use a lot of Dallas and DHT sensors (Si7021 and AM2301) for 3 years,they all worked perfectly.But after last ESPHome update all DHT sensors and some Dallas sensors are gone.
Here is log:
[08:56:40][W][dht:169]: Requesting data from DHT failed!
[08:56:40][W][dht:060]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
[08:56:40][D][sensor:127]: ‘Sahvritemperatuur’: Sending state nan °C with 1 decimals of accuracy
[08:56:40][D][sensor:127]: ‘Sahvriniiskus’: Sending state nan % with 0 decimals of accuracy
[08:56:41][W][dallas.sensor:263]: ‘boileritemp’ - Scratch pad config register invalid!
[08:56:41][D][sensor:127]: ‘boileritemp’: Sending state nan °C with 1 decimals of accuracy
[08:56:41][W][dallas.sensor:263]: ‘tsirkutemp’ - Scratch pad config register invalid!
[08:56:41][D][sensor:127]: ‘tsirkutemp’: Sending state nan °C with 1 decimals of accuracy
‘Last update’ is not a version.
Sorry! Its 2023.2.4
Share your config for one of the sensors.
- platform: dht
model: SI7021
pin: GPIO14
temperature:
name: "Sahvritemperatuur"
id: sahvritemperatuur
humidity:
name: "Sahvriniiskus"
update_interval: 15s
I seem to have the same issue as well as every one of my 5 devices disconnecting constantly
2023-02-27 00:50:40.373 WARNING (MainThread) [aioesphomeapi.connection] lounge-light-1 @ 192.168.0.168: Connection error occurred:
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 537, in send_message_await_response_complex
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 536, in send_message_await_response_complex
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 320, in _keep_alive_loop
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 645, in _ping
await self.send_message_await_response(PingRequest(), PingResponse)
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 554, in send_message_await_response
res = await self.send_message_await_response_complex(
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 539, in send_message_await_response_complex
aioesphomeapi.core.TimeoutAPIError: Timeout waiting for response for <class 'api_pb2.PingRequest'> after 10.0s
[07:42:34][W][dht:169]: Requesting data from DHT failed!
[07:42:34][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.
[07:42:34][D][sensor:126]: 'Shed Temperature': Sending state nan °C with 1 decimals of accuracy
[07:42:34][D][sensor:126]: 'Shed Humidity': Sending state nan % with 0 decimals of accuracy
sensor:
- platform: dht
pin: GPIO4
temperature:
name: "Shed Temperature"
id: shed_temperature
humidity:
name: "Shed Humidity"
id: shed_humidity
update_interval: 60s
Possibly auto detection is failing. Try specifying the model of the DHT in the sensor definition.
-
model (Optional, int): Manually specify the DHT model, can be one of
AUTO_DETECT
,DHT11
,DHT22
,DHT22_TYPE2
,AM2302
,RHT03
,SI7021
and helps with some connection issues. Defaults toAUTO_DETECT
. Auto detection doesn’t work for the SI7021 chip.
Mind you - now that Dallas sensors are having reliability issues I am thinking it’s time to swap to I2C based temperature sensors.
I may leave it a few days and see if an update comes through. I tried to update with model: DHT11 but all 5 esphome things have started dropping in and out since yesterday.
========================= [SUCCESS] Took 20.32 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of shed.local
INFO -> 192.168.0.155
ERROR Connecting to shed.local:8266 failed: [Errno 113] No route to host
Any help mister Last update?
Any plan to tell us what version of esphome you are using?
Wasn’t that in post 3?