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?
Any plans to implement adjustments in the Python Plugin framework? Topic is solved
Moderator: leecollings
-
Xorfor
Re: Any plans to implement adjustments in the Python Plugin framework?
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!
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!