MySensors-HW icon indicating copy to clipboard operation
MySensors-HW copied to clipboard

Report rollershutter state to controller

Open guillebot opened this issue 7 years ago • 0 comments

I added a single variable and uncommented your code and its working

// send % progression for controller widgets static uint8_t oldpos=getPosition(); newpos=getPosition(); if (abs(oldpos-newpos)>0 && getCalibrationState()==0) { send(msgShutterPosition.set(newpos)); //send(msgPercent.set(newpos)); oldpos=newpos; }

would you be interested in a pull request?

let me know

guillebot avatar Nov 12 '18 12:11 guillebot