This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Lux operated lights flow
rockhoppers
Member
I have 8 Aeotec Multisensors 6's around the house and want to activate lights to come on between 09:00 and 22:00 if the light is say below 30lux or another preset figure.
Triggering the 4 lights to come on and then go back off if the light level rises above 45lux is easy and the flows work fine as they are. However my question is;
If lights come on at say 20:00 because of low light, and I switch them off using a wall switch if i go to bed at say 21:00, if the lux value drops again, say it goes from 15lux to 10lux, with this trigger the lights back on ? I think it will.
The same could be said for switching the lights on manually when the lux is above 45lux, the next change in Lux value if still above 45 would put the lights off?
Had the flows running a couple of days now and this has not happened yet, but not sure if it won't !
So do i need to put a variable in there to detect a Forced Off or even Forced On situation?
So, if time is between 09:00 and 22:00 and lux is lower than 35, and lights are on, and i switch them off, then Forced Off = True.
In the first flow below, the flow would check for a forced Off situation and leave the lights off till a further manual On, or the forced Off variable was reset at say midnight.
Still learning this Homey stuff so this may not be the best way to achieve what i am trying to do, all comments good or bad most welcome.
Andrew
Comments
Or a countdown timer.
Then if the timer runs, forced OFF is on/active.
When the timer stops. its back to using the LUX for turning on/off the lamps.
the example with it looks a lot at what you want.
forced off and give prio to a condition
Explanation and example
https://github.com/SergeRegoor/nl.regoor.statecontrol/wiki
The app
https://apps.athom.com/app/nl.regoor.statecontrol
And the developer isn't active anymore.... It has ~200 installs but the current version isn't usable in Homey 2.0.
is there a way for me to see if an app is updates to sdk2? And if users are still active?
If you look in the public GitHub app repository you can see in the apps.json file if sdk2 is defined. But apps without that are sdk1 and still no problem if they don't have a settings page. Also some developers with affected apps are working hard on a update hopefully providing a seamless upgrade to a SDK 2 version before or just after the Homey firmware 2.0 goes live.
BTW just found soesome in developers that is trying to update state control for his own usage. But still no guarantee!
BTW 2 as moderator I think am going to spit this to a new thread...