Blind Control Stop Command HowTo?
Posted: 12 Apr 2016 11:22
Hello Folks,
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
Does anyone have a tutorial for me or an example how to get this low level stuff working? I program for a living but I somehow need some example on how to get started. So far I simply used the GUI for associations and if-then-else, but I have a feeling I need to go way deeper to crack open the possibilities of my razberry.
Thanks for any examples or pointers, really much appreciated
Regards,
rws
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