kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.99k stars 499 forks source link

Unable to use a function output as an input on a PID Controller, unless i remove this piece of validation #1165

Closed huntj88 closed 2 years ago

huntj88 commented 2 years ago

Describe the problem/bug

PID controllers include functions in the drop down menu, but it errors out with "A valid Measurement is required". If i remove this piece of validation code everything works as expected

https://github.com/huntj88/Mycodo/commit/9e6317a5f41f3081fd87a1a5d1c754ef993e3f42

kizniche commented 2 years ago

Thanks for the bug report. I just pushed a fix.

huntj88 commented 2 years ago

Just tested, works for me :+1:

kizniche commented 2 years ago

This issue has been mentioned on Radical DIY Forum. There might be relevant details there:

https://forum.radicaldiy.com/t/mycodo-v8-13-0-release/820/1