Page 2 of 2

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:15
by pipiche
@mcmikev, which version of Domoticz are you using ? Stable V.49700 or something else ?

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:17
by mcmikev
build from source, up2date till yesterday. Version V4.10532

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:18
by pipiche
And which branche of the plugin ? stable, beta or pre-4.1 ?

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:19
by pipiche

Code: Select all

The TH devices are, but the THB not. Temp, Humi,Baro can this be applied as well please???
I'll have a look ... Indeed that is posisble

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:20
by mcmikev
I run pre-4.1 plugin version

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:37
by pipiche
This looks strange, from the code side, the adjustment is made when receiving a new temperature, despite it is T, TH or THB
I'll investigate on my end

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 17:42
by mcmikev
The Temp device Temp Humi devices are doing it right. But the THB device does nothing with the offset.

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 18:59
by pipiche
@mcmikev, could you do an update (git pull). I changed the way it was done, as I was not really happy with it.
Tested here with a Xiaomi device, and all T, TH and THB are updated based on the adjusted value that you have to set for each single widget.
So you need to put the Adj value on T, TH and THB

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 19:02
by mcmikev
So if i only use and add the thb device it Will not work?

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 19:06
by pipiche
Yes, it should work

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 19:07
by mcmikev
Testing now

Re: Zigate and Xiaomi temp/hum/baro sensors adjustment of temp

Posted: Monday 04 March 2019 19:10
by mcmikev
Seems fine. Need Some more updates