Page 1 of 1

Any plans to implement adjustments in the Python Plugin framework?

Posted: Saturday 25 April 2020 11:43
by Xorfor
It has been discussed a couple of times in this forum, like:

https://www.domoticz.com/forum/viewtopi ... nt#p199178

But are there any plans to implement the use of adjustements in the Python Plugin framework?

So that the Python Plugin devices act more like the 'real' Domoticz devices?

Re: Any plans to implement adjustments in the Python Plugin framework?

Posted: Saturday 25 April 2020 13:35
by Xorfor
Meanwhile I found this pull request https://github.com/domoticz/domoticz/pull/2899

So probably no plans?

However my opinion is to store the raw device data and use the adjustment to display the data. In Domoticz the adjustment is used to adjust the raw data from a devices and store this new value in the database. I tested this on a temperature device, did an adjustement of -10 and after an hour I put it back to 0. Now I have a 'strange' peek in my temperature graph!