create a node for shading
a node for shading with following in- / outputs and parameters
Inputs:
- up
- down
- stop
- set position
- set position of slats (only for blinds)
- security position (move up when stormy)
- deactivate (deactivates the shading when window is open -> for automatic shading)
Outputs:
- up
- down
- stop
- position
- position slats (only for blinds)
Parameters:
- select type of shading (roller shutter, blinds)
- total time for moving up
- total time for moving down
- dead time (motor lock time between up and down -> 0.5s e.g.)
- slat adjust time (time to move slats from closed to opened) (only for blinds)
- number of steps (5 steps to move slats from closed to opened e.g.) (only for blinds)
- time for long time klick (lower 0,5s = short klick e.g.) (only for blinds)
- action after security position (dropdown: last position, move down, do nothing)
Functional description
- When roller shutter is selected, the in- and outputs of slats and the regarding parameters are not visible.
- A short klick up or down moves the rollershutter to the upper or lower position.
- When blind is selected, the in- and outputs of slats are visible.
- A short klick up or down adjusts the slats (moves up or down for the parameter slat adjust time)
- A long klick up or down moves the blind to the upper or lower position.
- The outputs up and down are locked for the parameter "dead time"
- The outputs for position and slats are calculated via parameters "total time for moving up and down" and the time of moving. - If no time is set the inputs are passed through to the outputs
- a rising edge to "security position" moves the blind/shutter to the upper position
- a falling edge to "security position" moves the blind/shutter to the position defined in the parameters