dsmurl / the-system-controller-4

This is the working code of the System Conroller V4 designed for grass roots industrial systems management.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Advanced Sensor Calibration #18

Open dsmurl opened 9 years ago

dsmurl commented 9 years ago

Branch - AdvancedSensorCalibration

In this story, we will be implementing the temp moisture calibration. This story is blocked on the design of the larger calibration architecture.

The advanced part of this story is adding the infrastructure to calibrate a sensor by measuring and adjusting expected readings, making labeled ranges of readings, and setting up something in the rules design to run off of the defined labeled ranges instead of simple readings of impedance.

Example: Temp sensors usually read impedance from 0 to 1024. Currently the rules might say turn something on when the impedance from the temp sensor goes over a denoted number like 877. In this story, the calibration page will allow the user to define ranges like cool (100-350) average (350 - 500) and hot (501 - 1024). Then, now that the sensor has defined ranges, the rules creation page will have operators =, >=, <=, cool range, average range, and hot range.