updated lovelace dashboards and migrate tcp sensors to use serial component with SOCAT
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": "pid_controller",
|
||||
"name": "PID Controller",
|
||||
"version": "v0.0.0",
|
||||
"version": "v1.1.5",
|
||||
"documentation": "https://github.com/soloam/ha-pid-controller/",
|
||||
"issue_tracker": "https://github.com/soloam/ha-pid-controller/issues",
|
||||
"dependencies": [],
|
||||
|
||||
@@ -18,7 +18,7 @@ class PIDController:
|
||||
|
||||
WARMUP_STAGE = 3
|
||||
|
||||
def __init__(self, P=0.2, I=0.0, D=0.0, logger=None):
|
||||
def __init__(self, P=2.7, I=37.6, D=0.0, logger=None):
|
||||
self._logger = logger
|
||||
|
||||
self._set_point = 0
|
||||
@@ -92,7 +92,7 @@ class PIDController:
|
||||
self._i_term = self.clamp_value(self._i_term, self._windup)
|
||||
|
||||
# Calculate D
|
||||
self._d_term = self._kd * delta_error / delta_time
|
||||
self._d_term = self._kd * delta_error
|
||||
|
||||
# Compute final output
|
||||
self._output = self._p_term + self._i_term + self._d_term
|
||||
|
||||
Reference in New Issue
Block a user