soloam / ha-pid-controller

PID Controller to Home Assistant
MIT License
97 stars 12 forks source link

PID not able to produce negative values #35

Open RafSchandevyl opened 1 year ago

RafSchandevyl commented 1 year ago

Hi,

I'm trying to control my energy with the PID.

SetPoint is 0 (Keep grid to 0)

When reading is a positive number (Grid is delivering power) I would like to get a negative value as output). when reading is a negative number i would like to get a positive value.

How can i configure min & max for this to get it work ? Regards Raf