How to setup PID control in tasmota? #22197
-
Hi. I'm really not experienced enough to go by the instructions to set up a PID control. Now looking into xdrv_48_timeprop.ino file:
Where is sonoff folder? Should i create it? Can this be done with gitpod? I can create a folder, but have no idea how to put file in it. Could someone give me a bit more of a step-by-step guide on how to get this to work? I'd try it on sonoff basic r2 for starters.. Since i have setup a PT100 sensor via MAX31865 module on wemos d1 mini, which can't be connected to sonoff basic r2(Not enough avaliable gpios) i would then like to control sonoff basic with PID based on data from wemos d1 mini.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
That text is badly outdated. That What is important is to activate the feature at build time, picking from the described list of |
Beta Was this translation helpful? Give feedback.
You are not posting anything indicating what "written there in gray" means, but the general idea is that those lines starting with
#define
are individual selections where you are setting some options, or constant values.When it is just a name (without a value), like
USE_PID
this is to enable a feature, or tweak what code will be included.When there is a value, there typically will be a default value already, but you can optionally supply your own value, like with
PID_AUTO
where the default is 1, if nothing else is supplied, like if you prefer 0.As I've neither used PID nor Timeprop, I have no clear answers about how things are supposed to integrate. To me
USE_PID
andUSE_TIMEPROP
looks…