-
I have a dingtian 4ch board. When I start or reboot the board it switches the relays on for a few milliseconds. According to the manufacturer, the gpio connected to the relays are provided with 4k7 pull down resistors. It seems that Tasmota initializes the output high instead of low causing the relays to switch on and off. Can I change the default gpio state on boot? Program Version 13.4.0(TasmoCompiler-esp32generic) |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 9 replies
-
What template are you using ? Relay or Relay_Inverted ? To insure you recover the power state after a Restart, you should have |
Beta Was this translation helpful? Give feedback.
-
The manufacturer send me their original firmware which doesn't turn on the relays on boot and reboot so it's not the hardware that causes this. I tried both, relay and relay inverted, makes no difference except the inverted output state. I also see that the only relay that goes on for a few milliseconds at boot is connected to gpio16. The other relays stay off at boot as they should. I didn't get a schematic yet from the manufacturer, I asked for it again. |
Beta Was this translation helpful? Give feedback.
-
Here you can see the behavior on reboot : VID_20240425_085649.mp4 |
Beta Was this translation helpful? Give feedback.
-
Same as #21056 |
Beta Was this translation helpful? Give feedback.
-
If it is "only" GPIO 16 it is an expected behaviour. Tasmota firmware is a general build and does check at start for PSRAM (which is connect to the GPIOs 16&17). This generates blinking at start for this two GPIOs. |
Beta Was this translation helpful? Give feedback.
-
@jeroenst Please dont discuss individual issues in a PR. Close VSC and delete hidden folder |
Beta Was this translation helpful? Give feedback.
-
@jeroenst Compiled from the branch |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
@jeroenst What does "NRST" mean? Thanks |
Beta Was this translation helpful? Give feedback.
@jeroenst Compiled from the branch
tasmota32-nopsram.zip