Adjustment for humidity values

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
janegils
Posts: 7
Joined: Thursday 03 October 2013 18:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Adjustment for humidity values

Post by janegils »

I can see that when you click on 'edit' for a temp/humidity sensor you can enter an adjustment for the temperature readings.
But there seems to be not possible to enter adjustments for the humidity value, which would be even more useful since humidity sensors tend to be rather inaccurate.
A precision of +/-5% is fairly common.
As an example: I have two Esic temp/hum. sensors on my table now, and the temp. readings are identical, but the humidity values have a 9% difference.

Would others like to see this implemented?
Running Domoticz on Ubuntu Linux server
RFXCOM_Transceiver
Aeon Labs Z-Stick S2
User avatar
elythomaslumber
Posts: 56
Joined: Friday 12 July 2013 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Solingen; Germany
Contact:

Re: Adjustment for humidity values

Post by elythomaslumber »

9% is a big difference; but is the difference linear meaning always 9%?
Makes only sense to have an offset if the difference is always the same.

Regards

Hardy
janegils
Posts: 7
Joined: Thursday 03 October 2013 18:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Adjustment for humidity values

Post by janegils »

Well, with som testing one can find the average offset, and at least get closer to the truth...
Running Domoticz on Ubuntu Linux server
RFXCOM_Transceiver
Aeon Labs Z-Stick S2
marin849
Posts: 43
Joined: Tuesday 27 May 2014 10:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.4xxx
Location: Sweden
Contact:

Re: Adjustment for humidity values

Post by marin849 »

There are usually both an ofset and a scaling error!

I have just compared 15 sensors against each other. Tested sensors are the quite common Proove TSS320,Viking 02812. Both are using the Viking 2035/2038 protocol. Also 4 Viking temperature only sensors.

All of them are within +-0,5C for temperatures between 0-20C, and with ofset correction this is reduced to +-0.2. With linear correction its perfect. Of course it should be calibrated over a bigger interval than I did.

The humidity varies more: +-5% uncorrected. This is a lot since it means that one sensor can show 65% and another 75% which could be critical when monitoring or controlling humidity for corrosion or mold growth. With ofset corretion it is about +-3% and with linear about +-1,2%. The middle humidity point does look strange, maybe I had to short settling time on that one...

So with these observations linear correction would be really nice, especially for humidity!
Image
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Adjustment for humidity values

Post by ThinkPad »

I would also like to see this.
I have a Z-Wave sensor with combined temperature and humidity status, i can correct the temperature, but not the humidity (which is about 10% off from two other sensors).
I am not active on this forum anymore.
sharif
Posts: 17
Joined: Sunday 28 August 2016 17:48
Target OS: NAS (Synology & others)
Domoticz version: 3.5574
Location: Sweden
Contact:

Re: Adjustment for humidity values

Post by sharif »

Is this feature on the roadmap?

I got few sensors which are showing about 7% more humidity and I would like to adjust this value/offset.
Only thing I can adjust at the moment is temperature (as already stated)
michib
Posts: 6
Joined: Sunday 15 January 2017 12:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Contact:

Re: Adjustment for humidity values

Post by michib »

+1 for the correction feature for humidity values.
kubrik
Posts: 47
Joined: Wednesday 30 November 2016 15:07
Target OS: Linux
Domoticz version: 2020.2
Location: Italy
Contact:

Re: Adjustment for humidity values

Post by kubrik »

+1
Ubuntu 20.04 on ACEPC AK1 (previously RPi3b+)
Z-Stick Gen5, RFXtrx433E, Philips HUE Bridge, Yeelight, ESP8266 NodeMCU, Broadlink RM
dZvents, bash, php, Node-RED
mayyam
Posts: 47
Joined: Saturday 14 January 2017 11:29
Target OS: Linux
Domoticz version: 4.11333
Location: Poland
Contact:

Re: Adjustment for humidity values

Post by mayyam »

+1

____
may
_______________
- Dell FX-160 / Ubuntu 16.04
- RFLink 433Mhz / NRF 2.4GHz
- 2x Xiaomi Gateway
- different species of ESP8266
StratosHF
Posts: 12
Joined: Sunday 18 September 2016 18:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Oxford
Contact:

Re: Adjustment for humidity values

Post by StratosHF »

+1
zhoblom
Posts: 1
Joined: Tuesday 07 November 2017 0:54
Target OS: -
Domoticz version:
Contact:

Re: Adjustment for humidity values

Post by zhoblom »

Yeah, that would be a tremendously helpful feature. It's ironic that temperature sensors that are nowadays pretty accurate can be offset-calibrated, but humidity ones can not.

Interestingly, there is provision in the code to do that. There is already AddjValue and AddjMulti for temperature, but similar block for humidity (using AddjValue2 and AddjMulti2 columns from DeviceStatus table) is there, but disabled:

Code: Select all

/*
        AddjValue=0.0f;
        AddjMulti=1.0f;
        m_sql.GetAddjustment2(HwdID, ID.c_str(),Unit,devType,subType,AddjValue,AddjMulti);
        Humidity+=int(AddjValue);
        if (Humidity>100)
                Humidity=100;
        if (Humidity<0)
                Humidity=0;
*/
It seems to me that at least for experimentation purposes and for local builds uncommenting this block and then just populating correct AddjValue2 and AddjMulti2 for a specific device in the DeviceStatus table (using sqlite3 command line utility for example) will suffice.

Also note that DB schema allows for two-point calibration, not just one offset, as in the GUI. So with a few extra lines of code one can get even better results than just offsetting humidity by a fixed offset.

Of course, adding GUI support would be some extra work on top.
pa3gmi
Posts: 9
Joined: Monday 11 June 2018 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Dinteloord Netherlands
Contact:

Re: Adjustment for humidity values

Post by pa3gmi »

Also would like this option.
mpx2
Posts: 70
Joined: Friday 21 September 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Adjustment for humidity values

Post by mpx2 »

I think that setting two reference points like 11 % and 75 % with offsets is enough.

[video]https://www.youtube.com/watch?v=AGycwfeHH_k[/video]
tvurce
Posts: 30
Joined: Saturday 27 October 2018 19:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Adjustment for humidity values

Post by tvurce »

+1 for humidity offset

Specialy Bosh BME280 is popular, but crap... 25 % deviation no problem :(
JanAtHome
Posts: 38
Joined: Wednesday 10 January 2018 16:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 38153
Location: Raalte Holland
Contact:

Re: Adjustment for humidity values

Post by JanAtHome »

+1 for humidity offset
sperate
Posts: 1
Joined: Friday 13 December 2019 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Adjustment for humidity values

Post by sperate »

+2 for humidity offset :D
GJKNL
Posts: 36
Joined: Monday 31 October 2016 9:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Adjustment for humidity values

Post by GJKNL »

+1
magoafono
Posts: 1
Joined: Tuesday 31 January 2017 11:31
Target OS: Linux
Domoticz version:
Contact:

Re: Adjustment for humidity values

Post by magoafono »

+1 for humidity offset!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests