I have the model as described in the picture above.
Below is the logic I am after.
Except for the button/Switch that gives a visual feedback, I tested already all needed hardware (based on Zigbee protocol, using Zigbee2MQTT, not ZHA where hardware support was not sufficient).
Being more of a system engineer, I am fluent in getting the OS and Hardware to work. But struggling to find the better approach to get the expected automation.
How would I best address the functions and logic I a want to implement? All feedback is welcome.
Needed Functions (below status on where I am on each requirement):
- Each Roller Blind can be individually ‘Manually’ moved up or down. Manually means a user instructs the roller blind from the App.
- There is a control switch in the living room, moving all South Roller Blinds up or down
- There is a control switch in the living room, moving all West Roller Blinds up or down
- There is an Auto mode:
4.1 In Auto-mode: On a ‘Warm day’, the South Roller Blinds are down between 8h30 and 16h00, the West Roller blinds are down from 12h30 to 19h00.
4.2 There is switch to activate and de-activate the auto-mode: there visual feedback when the Auto mode is active - When the Kitchen door is opened - only possible from inside - the Kitchens door Roller Blind moves up. When the door is closed again, the roller blind goes down again after 10 seconds. Of course only when it was down before opening the door.
- A warm day is when:
6.1 Forecasted max temperature is above 26°C.
6.2 Outside temperature higher then 20°C
6.3 Sunlight intensity is high. Sunlight intensity is not changed more often then every 10 minutes (to prevent some clouds causing constant movement of the blinds.
Current status:
- Each Roller Blind can be individually ‘Manually’ moved up or down. Manually means a user instructs the roller blind from the App.
Status: I can do this: only issue, when I create a user for the family for the App, I cannot just have user the limited functionality of the Roller Blinds: too many dashboards are provided. At the moment this is a smaller detail. - There is a control switch in the living room, moving all South Roller Blinds up or down
Status: I could create a Trigger for the ‘Up Button’, that has actions to move all the related blinds up. But is there also a way to combine the blinds in a group and instruct the complete group to go up?
Status: I there ‘simple’ way to manage blinds via a single button? Each press toggles between Up, Down or ‘stop’ when the blind is moving? - There is a control switch in the living room, moving all West Roller Blinds up or down
Status: same as 3. - There is an Auto mode:
Status: What is the best approach for keeping track if Auto mode is active? Where do I keep ‘variables’? I didn’t find a good answer so far.
4.1 In Auto-mode: On a ‘Warm day’, the South Roller Blinds are down between 8h30 and 16h00, the West Roller blinds are down from 12h30 to 19h00.
Status: when I find the way to keep the ‘warm day’ status I guess I can manage this one
4.2 There is switch to activate and de-activate the auto-mode: there visual feedback when the Auto mode is active
Status: A proposal on a button with visual feedback? Like a status light that can be made active? I do have a button that has a control light, lid when being pushed. Can I ‘revert’ the light to become always active and go out when being pressed when in Auto mode? - When the Kitchen door is opened - only possible from inside - the Kitchens door Roller Blind moves up. When the door is closed again, the roller blind goes down again after 10 seconds. Of course only when it was down before opening the door.
Status: What is a good approach to ‘remember’ the door was open and do a ‘timer’ after the door is closed again? - A warm day is when:
6.1 Forecasted max temperature is above 26°C.
Status: damn, the weather forecast integration I checked (OpenWeatherMap, Accuweather) don’t seem to have the max forecasted day. I need to check this better ;-).
6.2 Outside temperature higher then 20°C
Status: I can do that
6.3 Sunlight intensity is high. Sunlight intensity is not changed more often then every 10 minutes (to prevent some clouds causing constant movement of the blinds.
Status: This is a piece of hardware I miss; a light intensity measurement device; proposals are welcome. And how do I prevent constant up and down of the blinds by small clouds. By doing an average measurement over some time, or having a timer?
Edit: corrected typos