Change pressure according to formula

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
Peregrine
Posts: 3
Joined: Friday 08 April 2016 10:35
Target OS: Windows
Domoticz version:
Contact:

Change pressure according to formula

Post 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?
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Change pressure according to formula

Post by Number8 »

I would setup a dummy device, write a LUA script that would update that device with the relevant formula
Debian buster on NUC and three RPi with buster.
Peregrine
Posts: 3
Joined: Friday 08 April 2016 10:35
Target OS: Windows
Domoticz version:
Contact:

Re: Change pressure according to formula

Post by Peregrine »

Thanks, I will try that.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest