kizniche / Mycodo

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

Sensors correction feature #1289

Closed wingsergey closed 1 year ago

wingsergey commented 1 year ago

Is your feature request related to a problem? Please describe. For example: I have sensor AHT20 and it shows temperature 15C. Also I have some more precise sensor that shows temperature 18C. How I can add correction value for my AHT20 sensor measurements?

Describe the solution you'd like In sensor settings page have extra field where I can set correction value like a number or like formula (for not constant correction), for example add 10% to measured value.

kizniche commented 1 year ago

Github issues is not for general questions. This would be more appropriate on the forum or the discord server. To answer your question, any Input can have an equation Action added to it, which allows you to apply an equation to recalculate the measurement before being stored in the database.