Feature Request - Open/Closed
skywatch last edited by
I am starting to use S_COVER for blinds and curtains. The options of tripped or armed don't really apply here and so I was wondering if we could have OPEN/CLOSED as an option instead?
@skywatch I don't have any blinds, but according to https://github.com/mysensors/MySensors/blob/d88506fbc62dac72d6b8b08c1fa3e179143c4542/core/MyMessage.h#L87 the supported values are V_UP, V_DOWN, V_STOP, V_PERCENTAGE. There is nothing about armed or tripped. Could you expand on what you are asking?
ejlane last edited by
I'm not skywatch, but I also agree that I prefer Open/Closed, because sometimes a house will have vertical blinds, so it makes more sense than up/down. How hard is it to have both? I haven't dug into the code.
skywatch last edited by skywatch
@mfalkvidd - Sorry I didn't make it clear but I was thinking of doors, windows, blinds and curtains. Curtains don't usually have UP or DOWN, they are OPEN and CLOSED.
Likewise with doors and windows which are normally OPEN or CLOSED. Only if V_ARMED is set true should it send a value of V_TRIPPED. But in normal circumstances they are OPEN or CLOSED (or maybe smoewhere inbetween, but V_PERCENTAGE handles that situation).