Basically I am really new to all of this so I am tinkering and using Google a lot, however I can’t test this one since rain isn’t incoming anytime soon.
Basically curious to see what you guys think.
First a little background. I have Athom Homey Pro. For this specific setup, I have a Somfy Sunscreen connected through the Somfy RTS app by Athom. The only feedback I get is whether it is in the up, still or down mode. Not how far up or anything like that. I also installed the Buienalarm app (weather app) by Marcel Timmermans.
My intended goal is, if it starts raining and my sunscreen is down, I want it to go up.
To start out I created a Text Variable (Boolean would also work, but I wanted to get fancy I suppose), “Zonnescherm_OpenDicht” set to Dicht.
After that I created 3 flows:
1. ZonneschermOpen
IF Somfy RTS status is changed to “Omlaag”
THEN Set Logic Zonnescherm_OpenDicht to “Open”
2. ZonneschermDicht
IF Somfy RTS status is changed to “Omhoog”
THEN Set Logic Zonnescherm_OpenDicht to “Dicht”
3. ZonneschermRegen
IF Buienalarm it starts raining in 5 minutes
AND Logic Zonnescherm_OpenDicht is exactly “Open”
THEN Set Somfy RTS to “Omhoog” + Send push notification + Set Somfy RTS to “Still” after 10 seconds
Very curious if I am missing anything or if you guys think this might work?
EDIT: Just realized a flaw. If the sunscreen is 100% down, but I want to move it up like 50% because the sun is moving, but not all the way. I would press up and then still. So status would be set to “Dicht”. That means it won’t automatically close because status is “Dicht” despite it being open. Any tips?