I have installed some motorised blinds in my house which are based on motors manufactured by Neo http://neosmartblinds.com/smartcontroller/ has a C4 driver and works very nicely (so far).
These blinds are zebra type and have three memory positions set on the motor (fully open, intermediate and fully closed). The standard "shades" menu within C4 sends the fully open, stop and fully close commands only so to get it to stop at the intermediate position I have programmed a custom button to issue a 'next up' and 'next down' command which works well.
What I would like to achieve is a single custom button called intermediate that contains the logic of if blind is fully open > send next down, if blind is fully closed > send next up, else do nothing. The challenge I have is there is no way to smartly query the status of the blinds so I would need to set some sort of flag or variable that I can query. I understand this would get messy if the blinds are controlled at any point outside of C4 or if if a blind fails to respond but I can live with that as at night I will be fully closing all blinds or could program some 'calibration' function I guess.
Is this something that is simple to do or utter madness!
Can the default behaviour of the buttons in the shades menu be changed to avoid using custom buttons?
Thanks