mysensors / NodeManager

Plugin for a rapid development of battery-powered sensors
130 stars 82 forks source link

Request Max and Min Range for all sensors #518

Closed iamyourexpert closed 4 years ago

iamyourexpert commented 4 years ago

Is it possible to have a max and min for a sensor. I did see analog sensors has that feature. Would be nice have for all

void setRangeMin(int value);
 void setRangeMax(int value);
user2684 commented 4 years ago

Hi, I've just closed as duplicated #513 which seems to be the same. Have a look at NODEMANAGER_CONDITIONAL_REPORT and specifically setMinThreshold() and setMaxThreshold()which should do what you are looking for. If not, feel free to reopen this ticket. Thanks