Something strange with pin assignment
Describe the bug When I have DHT11 connected and configured to GPIO14, it reports it on the home page as connected to pin 10.
Firmware:
- 1.18.163
- ESP8266 (Sonoff Basic)
And not any values are given.
I did also try to config it other pins and it seems to report every one 4 smaller than what it is configured to.
Same HW did work just fine using Tasmota. I just would like to change it to OpenESP.
See discussion in elektroda thread: this represents the internal pin number, not the gpio. And: DHT is not enabled in base ESP8266 build, so the display of the pin is not your real problem... Maybe if I find some time I can address one of these, to "hide" code for unused functions/drivers would have higher priority for me. Both will be challenging to find all related code
Now I don't understand at all. Internal pins do not have number 0 at all, pin numbers 1-5 represent mostly different VDDs etc.
B.T.W: working DS1820 have higher priority to me than DHT.
Sorry for the confusion, "internal" meant OBK-internal, not to confuse with MCU internal numbers.
DS1820 will need coding to get timing correct, doing this is a "time consuming" ;-) task, but I will try
You might try this one. Timing is really hard to do here. Changing pin from output to input is so time consuming, I had to remove all delays to get it "kind of" working.
https://github.com/MaxineMuster/OpenBK7231T_App/actions/runs/18063697171