Closed yaminahacs closed 4 months ago
Alas, ADC0 on ESP8266 is hardware input only. No way to control a relay.
To handle such a replacement, you'll have to wire the relay to another gpio. And yes, I know that your screenshot shows none available, but that does not change what I wrote.
What I'd do instead would be to use an ESP32-based module in the same form factor, allowing all the pins to be used as digital I/O pins. Look in https://templates.blakadder.com/esp32.html to find a module matching the form factor you used when replacing, probably in the ESP32-C3 section (or maybe in the ESP32-S2 section).
noted
PROBLEM DESCRIPTION
A clear and concise description of what the problem is. After replacing a switch module with TASMOTA I found out that the relay is on ADC0 pin and I was unable to use it. I would like to request to enable ADC0 pin as ADC relay and ADC switch, just like you can select ADC button.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)