[Solved] PID - TypeError: '>' not supported between instances of 'float' and 'NoneType'
I am setting up a PID to regulate the humidity but I am getting this error in the log:
2020-09-20 14:19:30,092 - ERROR - mycodo.controllers.controller_pid_ff3b2551 - loop() Error Traceback (most recent call last): File "/var/mycodo-root/mycodo/controllers/base_controller.py", line 84, in run self.loop() File "/var/mycodo-root/mycodo/controllers/controller_pid.py", line 146, in loop elif time.time() > self.timer: TypeError: '>' not supported between instances of 'float' and 'NoneType'
I have attached a screenshot of the pid as Capture.jpg
Are you running the latest version?
thanks again for your help and the amazing Mycodo project Kyle.
I just did an upgrade (i was 3 versions behind) and that has fixed the issue.