I am currently struggling with my blind controls functionality. I use Fibaro FGRM-222 Roller Shutter 2 Modules, they are all set up and calibrated and they work really well from the Z-Way GUI. I also use a ZME Remote with all the 7 Buttons directly mapped to the multilevel Switch settings with 0 and 99 respectively. What I am trying to achieve is, that if I press “Down” and the blinds start to move down and you decide to stop at let’s say 60% you press the button again and it is interpreted as “stop” command. With the smartphone GUI I simply press the stop button, but the remote doesn’t have that and I “read the internet” on my way to achieve it.
My low level programming for this would be like the following pseudo code
Code: Select all
move_down_button_pressed() is
{
if currently_moving_down == true
{
send_stop_command();
}
else
{
send_move_down_command();
};
};
Thanks for any examples or pointers, really much appreciated
Regards,
rws