Hello everyone.
Excuse my English, it is made with google translator.
I have installed two sensors with the data on different pins, but only one of them reads me, the first one.
The cables and sensors are perfect.
I do not know what I’m doing wrong.
Is this possible to do ?
Thank you very much
[18:34:00][C][dht:017]: DHT:
[18:34:00][C][dht:018]: Pin: GPIO4
[18:34:00][C][dht:024]: Model: DHT22 (or equivalent)
[18:34:00][C][dht:027]: Update Interval: 60.0s
[18:34:00][C][dht:029]: Temperature 'Temperatura-02'
[18:34:00][C][dht:029]: Device Class: 'temperature'
[18:34:00][C][dht:029]: State Class: 'measurement'
[18:34:00][C][dht:029]: Unit of Measurement: '°C'
[18:34:00][C][dht:029]: Accuracy Decimals: 1
[18:34:00][C][dht:030]: Humidity 'Humedad-02'
[18:34:00][C][dht:030]: Device Class: 'humidity'
[18:34:00][C][dht:030]: State Class: 'measurement'
[18:34:00][C][dht:030]: Unit of Measurement: '%'
[18:34:00][C][dht:030]: Accuracy Decimals: 0
[18:34:00][C][dht:017]: DHT:
[18:34:00][C][dht:018]: Pin: GPIO12
[18:34:00][C][dht:024]: Model: DHT22 (or equivalent)
[18:34:00][C][dht:027]: Update Interval: 55.0s
[18:34:00][C][dht:029]: Temperature 'Temperatura-03'
[18:34:00][C][dht:029]: Device Class: 'temperature'
[18:34:00][C][dht:029]: State Class: 'measurement'
[18:34:00][C][dht:029]: Unit of Measurement: '°C'
[18:34:00][C][dht:029]: Accuracy Decimals: 1
[18:34:00][C][dht:030]: Humidity 'Humedad-03'
[18:34:00][C][dht:030]: Device Class: 'humidity'
[18:34:00][C][dht:030]: State Class: 'measurement'
[18:34:00][C][dht:030]: Unit of Measurement: '%'
[18:34:00][C][dht:030]: Accuracy Decimals: 0
The problem continues
[18:35:19][D][sensor:124]: 'Temperatura-02': Sending state 25.30000 °C with 1 decimals of accuracy
[18:35:19][D][sensor:124]: 'Humedad-02': Sending state 47.70000 % with 0 decimals of accuracy
[18:35:28][W][dht:169]: Requesting data from DHT failed!
[18:35:28][W][dht:060]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
[18:35:28][D][sensor:124]: 'Temperatura-03': Sending state nan °C with 1 decimals of accuracy
[18:35:28][D][sensor:124]: 'Humedad-03': Sending state nan % with 0 decimals of accuracy
Hello.
I changed the sensor and it works now.
It seemed strange to me that it could be damaged.
I have even put three DHT sensors on a single ESP and it works perfectly.
Thank you so much