Hi. In the past week I’ve been redesigning all the pistons that control my blinds because of a firmware update that makes them “dimmable” instead of just having up/down/stop commands.
I had a really complex system and this update lets me simplify things, but in the meantime I’m discovering some problems:
I use 4-button controls to set my blinds. I’m using 3 buttons only for the blinds, button #4 is set in a different piston for lights control.
I created this piston that is triggered by button presses #1, #2 and #3 of my 3 button controllers and sets up some variables that will then be processed in the end.
When I press buttons #1, #2 and #3 ir works exactly as I wanted. Basically I’m defining 2 pre-set percentages to each button, and looping between them if the button is pressed again.
But when I press button #4 this piston is triggered anyway and repeats the last action. In my previous design I had all the buttons in a separate piston defining global variables, do I need to do it that way?