CSDK - How to force a value push that does not violate the threshold?
Hi everyone,
I'm using the CSDK with DEADBAND thresholds to reduce the number of property updates.
This is for saving mobile bandwidth while still having a reasonable resolution when values change.
However, for the values there are certain fixed values which should always be pushed. At the moment they are not, as they fall within the active deadband. For example:
Property: litres of water in a tank
Threshold value: 20
This will push ONLY if the value changes by more than 20.
If the tank is at 30 litres and the new measurement records a change of -23 litres, the updated value will be 7.
With this, the tank level can not be determined to be empty or not.
So the idea is now to force a push, once the value hits a certain fixed number, in this case 0 litres (or for filling up, the max capacity), even if that change does not violate the threshold.
Is there a way to implement this without dropping or changing the threshold?
Thanks and Regards,
Michael

