Wemos D1 mini pro + DHT pro shield + EasyESP
Moderators: grovkillen, Stuntteam, TD-er
Wemos D1 mini pro + DHT pro shield + EasyESP
Hi there,
I've got Wemos D1 mini pro + DHT pro shield + EasyESP installed on board.
Looks like everything is configured but I read 0 values from DHT. What can be the reason?
Thanks!!
Sasha
I've got Wemos D1 mini pro + DHT pro shield + EasyESP installed on board.
Looks like everything is configured but I read 0 values from DHT. What can be the reason?
Thanks!!
Sasha
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
You have to set "IDX / Var" to something /= 0, e.g. 1
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
I use esp with OpenHAB mqtt. I thought I need IDX only when connecting to Domoticz
That helped!
Thank you very much!
That helped!
Thank you very much!
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
Did you have to make any other changes to get this working?
I have all of the same settings including a unique IDX number be getting nothing.
I have all of the same settings including a unique IDX number be getting nothing.
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
i always getting "nan" (not a number). But there is not much to do wrong, or ?! have set the IDX, but still not working.
maybe there is one of the dev's who could take a look? https://www.wemos.cc/product/dht-pro-shield.html
thanks.
maybe there is one of the dev's who could take a look? https://www.wemos.cc/product/dht-pro-shield.html
thanks.
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
I have the same setup and it works for me on 147RC8. I connected the sensor according to: http://lazyzero.de/elektronik/esp8266/d ... leep/start (Apart from the deep-sleep part).
On my task setting I have '%value% in both formulas. And yes, you do need a IDX/var, for it to work.
On my task setting I have '%value% in both formulas. And yes, you do need a IDX/var, for it to work.
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
thanks for that. but i even use the DHT-pro-Shield - so there is nothing to wire up wrong :/
tried that "%value%" thing as formula, but still not working
Using 147 too
tried that "%value%" thing as formula, but still not working
Using 147 too
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
Running low on suggestions
Have you set 'Unit nr.' under config to other than zero?
Have you set 'Unit nr.' under config to other than zero?
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
thanks again.
now i tried that too.. still no success. different wemos, different shields .. same problem
now i tried that too.. still no success. different wemos, different shields .. same problem
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
Just own (confusing) experience with the Relais-shield on WemosD1:
the shields apply a specific interface-pin (hard-wired on the pcb) for data-control.
Which interface-pin is used by the DHT-shield for the data-communication to the processor?
Is it really D4/GPIO2 as shown in the screenshot in the question starting this thread?
GPIO0/D3(=IO,pull-up), GPIO2/D4(= IO,pull-up&LED) and GPIO15/D8 (IO,pull-down,SS) are involved in the boot process:
see the wiki/github
In my opinion those 3 pins preferably to be avoided for any interface-layout which possibly interferes with the boot-sequence.
After some experiments (also based on info found in various forums etc.) for WemosD1 I have D3 and D8 in use as data-wires respectively for DS18B20 and for DHT22 without problems:
each with 'own' 4k7Ohm pull-up resistors to VCC/3V3, regardless of the internal resistors.
From experience I know that D4 must stay 'high' during boot (= built-in LED 'Off')
[However, on another ESP8266-configuration (= not WemosD1, but Witty Cloud) the ESP happily boots with a DHT22 connected to D4]
the shields apply a specific interface-pin (hard-wired on the pcb) for data-control.
Which interface-pin is used by the DHT-shield for the data-communication to the processor?
Is it really D4/GPIO2 as shown in the screenshot in the question starting this thread?
GPIO0/D3(=IO,pull-up), GPIO2/D4(= IO,pull-up&LED) and GPIO15/D8 (IO,pull-down,SS) are involved in the boot process:
see the wiki/github
In my opinion those 3 pins preferably to be avoided for any interface-layout which possibly interferes with the boot-sequence.
After some experiments (also based on info found in various forums etc.) for WemosD1 I have D3 and D8 in use as data-wires respectively for DS18B20 and for DHT22 without problems:
each with 'own' 4k7Ohm pull-up resistors to VCC/3V3, regardless of the internal resistors.
From experience I know that D4 must stay 'high' during boot (= built-in LED 'Off')
[However, on another ESP8266-configuration (= not WemosD1, but Witty Cloud) the ESP happily boots with a DHT22 connected to D4]
Last edited by Ton_vN on 21 Apr 2017, 11:54, edited 7 times in total.
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
I've checked that on my WeMos samples. D4 / GPIO2 is correct.Ton_vN wrote:Just own (confusing) experience with the Relais-shield on Wemos D1:
the shields apply a specific interface-pin.
Which interface-pin is used by the DHT-shield for the data-communication to the processor?
Is it really GPIO2/D4?
It should work on GPIO2 even if involved in the boot process,
I use GPIO2 often without a problem. The ESP-01 only has GPIO0 and GPIO2 pins....
Anyways it can't be changed easily on the WeMos shield.
What to do?
I'd start from scratch: Re-flash ESPEasy, do a reset to completely clear up everything, reconnect to your WiFi.
Then completely start setting up from the beginning. Unit number should be sset to an unique value from 1 ... 31.
Make sure there is no other ESPEasy device using the same unit number!
Within the task setup set the IDX to a value from 1... 250. As long as you don't use Domoticz it
does not matter if the same IDX value is used elsewhere.
If it still does not work it might be helpfull to use ESPlorer or the Arduino IDE to monitor
the ESP.
Not too likely but the DHT might be broken too.
Regards
Shardan
Regards
Shardan
Shardan
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
Just an idea:
what happens if you fit an extra pull-up resistor from VCC to D4, to assure that the data-wire of the DHT-sensor gets enough VCC-supply?
Another possible practical solution when using DHT-shield.
You cannot easily change the Wemos-pcbs, but instead of a pin or socket at D4 of the DHT-shield you could solder a jumperwire, which you can more flexibly route to another pin [pay attention to the required pull-up resistor to VCC, if not present at the DHT-shield]
what happens if you fit an extra pull-up resistor from VCC to D4, to assure that the data-wire of the DHT-sensor gets enough VCC-supply?
Another possible practical solution when using DHT-shield.
You cannot easily change the Wemos-pcbs, but instead of a pin or socket at D4 of the DHT-shield you could solder a jumperwire, which you can more flexibly route to another pin [pay attention to the required pull-up resistor to VCC, if not present at the DHT-shield]
Last edited by Ton_vN on 21 Apr 2017, 11:56, edited 4 times in total.
Re: Wemos D1 mini pro + DHT pro shield + EasyESP
It might be more easy to use a separate DHT and some jumper wires for that testing.
A DHT-22 is cheap nowadays.
Don't forget a 10 K-Ohm resistor between 3,3V and data wire if using an "extra" DHT.
A DHT-22 is cheap nowadays.
Don't forget a 10 K-Ohm resistor between 3,3V and data wire if using an "extra" DHT.
Regards
Shardan
Shardan
Who is online
Users browsing this forum: No registered users and 24 guests