You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pinMode(THERMOSTAT_IN, INPUT);
digitalWrite(THERMOSTAT_IN, HIGH); // pull up
digitalWrite(THERMOSTAT_OUT, HIGH);
pinMode(THERMOSTAT_OUT, OUTPUT); // low output = high current, high output = low current
pinMode(BOILER_IN, INPUT);
digitalWrite(BOILER_IN, HIGH); // pull up
digitalWrite(BOILER_OUT, LOW);
pinMode(BOILER_OUT, OUTPUT); // low output = high voltage, high output = low voltage
I noticed that once I initialize GPIO16 this way, OTA function of esphome stops working. I checked esphome page to see that GPIO16 can be configured to pulldown only, here it seems confirmed as limitation of ESP8266.
The opentherm communication worked well, but I need OTA functionality as well to be able to update firmware without dismantling the system.
Could somebody with deeper experience confirm me source of this problem?
Would external pull up solve the issue (sources tells that GPIO16 can't be configured with pull up, not that pull up can't be used at all)? 3. Opentherm is not polarity sensitive - could swapping THERMOSTAT IN and OUT pins solve the issue? this seems to not help
Is there a different pin I could rewire THERMOSTAT_IN pin to?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi! Thanks for an elaborative explanation of your problem! That really helps!
I have no experience with esphome so I don't know what is the story around GPIO16. But for your options:
2. I don't think so, moreover you would break the functionality of the shield
3. It's polarity insensitive on the input, the output pins are "polarity sensitive"
4. Yes you can use any pin as long as it's free to use. The library is not using interrupts so it can by any IN/OUT pin
I use pin 12 instead of 16 on my ESP8266 and OTA is working fine! I also use the pins in a different order, because of the layout of my circuit. As jpraus said, you can use any pin as long as it's not used by something else. https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
Hello, I use the shield with wemos d1 r1.
Shield uses pins D2, D3, D4 and D5, which is mapped to gpio 16, 5, 4, 14 according to
I use following mapping taken from an example:
And following initialization of pins:
I noticed that once I initialize GPIO16 this way, OTA function of esphome stops working. I checked esphome page to see that GPIO16 can be configured to pulldown only, here it seems confirmed as limitation of ESP8266.
The opentherm communication worked well, but I need OTA functionality as well to be able to update firmware without dismantling the system.
3. Opentherm is not polarity sensitive - could swapping THERMOSTAT IN and OUT pins solve the issue?this seems to not helpThanks.
The text was updated successfully, but these errors were encountered: