Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Moderator: leecollings
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Hi
I am trying to adjust the values of my sensors in domoticz with -0.2 C on the TH sensors but that does not work.
Is this all related to this?
https://github.com/domoticz/domoticz/is ... -441357383
Or had this a different reason perhaps?
I am trying to adjust the values of my sensors in domoticz with -0.2 C on the TH sensors but that does not work.
Is this all related to this?
https://github.com/domoticz/domoticz/is ... -441357383
Or had this a different reason perhaps?
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
This is a problem related to Domoticz and the Python Plugin Framework. Indeed same problem as https://github.com/domoticz/domoticz/is ... -441357383 and unfortunately the Domoticz owner has closed the issue !
Attached is a short plugin to duplicate the problem.
Attached is a short plugin to duplicate the problem.
- Attachments
-
- plugin.py.gz
- (1.07 KiB) Downloaded 85 times
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
What a shame. I thought that i was giving the wrong values but it just cannot be done this way


Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
@mcmikev I fully share your view. I'm very sad. I'm not expert enought in CC+ to fix that problem in Domoticz and it looks like nobody wanted to make it.
Here is the work I started , but was not success to finish: https://github.com/domoticz/domoticz/pull/2899
Here is the work I started , but was not success to finish: https://github.com/domoticz/domoticz/pull/2899
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Damn. Really miss this option 

Xiaomi sensors are a bit “high” on temp Reading so adjusting with -0.5 or -1.0C would be great.
I turn off/on my heating with these readings.
Now it feels a bit cold because of the 1 degree difference.


Xiaomi sensors are a bit “high” on temp Reading so adjusting with -0.5 or -1.0C would be great.
I turn off/on my heating with these readings.
Now it feels a bit cold because of the 1 degree difference.
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
I'll see if I can do something at the plugin level to compensate it.
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
If you switch to pre-4.1 branche . The adjustement of Temperature Sensor works. You need to have a beta version of Domoticz > 4.10355
In case you are on stable branche, please read with attention the file 00-UPGRADE-FROM-STABLE-4.0
In case you are on stable branche, please read with attention the file 00-UPGRADE-FROM-STABLE-4.0
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Great news !! Thank you.
Just did a git pull on the pre-4.1 branche and updated the xiaomi sensors (hum/temp/baro) with -0.3 and -0.5 degrees.
Hope to see the next update that the temp is "down"
Just did a git pull on the pre-4.1 branche and updated the xiaomi sensors (hum/temp/baro) with -0.3 and -0.5 degrees.
Hope to see the next update that the temp is "down"
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Did you check that you have Domoticz Beta > 4.10335 ?
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
i run v4.10419 so that is fine (build from source)
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
domoticz framework change???
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Yes, and no. I make a workaround in the plugin, but I needed to get access to new parameter now available via the Framework 
So it should work
So it should work
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
In any case, let me know the results
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Hi
It seems to work however there is a new strange thing now.
All of a sudden the temp reading goes haywire and is very long.
Not constant the same sensor it comes and goes.
Did a new pull just half an hour ago.

It seems to work however there is a new strange thing now.
All of a sudden the temp reading goes haywire and is very long.
Not constant the same sensor it comes and goes.
Did a new pull just half an hour ago.

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Just fixed it. So better that you redo the git pull, restart.
Could you let me know what was your adjustement value ? I beleive -/+ xx.yy
Could you let me know what was your adjustement value ? I beleive -/+ xx.yy
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
I adjusted -0.3 and -0.5
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
So indeed , now I'm rounding the result of the adjustement
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
Looks good so far. Thx 

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
BTW, I have also enable adjustement on Baro
-
mcmikev
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp
I have tried the temp adjustment on the THB devices that are created and updated the most due to barometric changes, but the THB devices are not using the offset.
The TH devices are, but the THB not. Temp, Humi,Baro can this be applied as well please???
The TH devices are, but the THB not. Temp, Humi,Baro can this be applied as well please???
Who is online
Users browsing this forum: No registered users and 1 guest