Adding PID to your custom Tasmota build #19894
krishy2
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PID is not a well documented, nor an easily configurable part of Tasmota.
After my first couple of builds I've experienced a strange behaviour, thats why I wanted to share my case.
I wanted to control a 3way valve to achieve a constant temperature. Relay1 is open, Relay2 is closed. This scenario often called 3-step PID.
You need to have shutter and PID will control it. There is nothing to do with Timeprop output, so I've commented out in PID section. However it turned out, thats not enough.
Relay1 always went to off within 1 sec. Even in manual mode I've turned on the relay and it went back off. The log wasn't helpful at all.
Finally I've turned to Timeprop. Even if it is commented out it will be compiled and it will control Relay1.
The solution is put the #define PID_USE_TIMPROP false to user_config_override.h . After it works fine.
Beta Was this translation helpful? Give feedback.
All reactions