Page 1 of 1

Change pressure according to formula

Posted: Saturday 09 April 2016 22:10
by Peregrine
I have realised that my barometer show a too small value but it is not a fixed value it has a linear error, i.e. the greater the pressure the larger the error. I know that you can add a fixed value change in the device setup but not according to a formula like, a x pressure + b. Is this possible to implement this?

Re: Change pressure according to formula

Posted: Sunday 10 April 2016 9:16
by Number8
I would setup a dummy device, write a LUA script that would update that device with the relevant formula

Re: Change pressure according to formula

Posted: Sunday 10 April 2016 19:03
by Peregrine
Thanks, I will try that.