Which trigger for 7:00AM set brightness 40% and 9:00PM set brightness to 0% ?
My flow can contain only condition ?
Which trigger for 7:00AM set brightness 40% and 9:00PM
Moderator: Martin
Which trigger for 7:00AM set brightness 40% and 9:00PM
Last edited by natong on 31 Aug 2015 17:01, edited 1 time in total.
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Or create two flows separated?
Last edited by natong on 31 Aug 2015 17:02, edited 1 time in total.
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Hi,
A flow can not just contain a condition since flows are only executed by the events defined in the trigger.
You could either create two flows (as in the second post) or you could add two triggers to the first flow and use the condition to check if it's the morning or the evening case and set the corresponding brightness. The solution with one flow has the advantage that you could add other triggers, for example 'Automagic Startup' when the device is booted.
Regards,
Martin
A flow can not just contain a condition since flows are only executed by the events defined in the trigger.
You could either create two flows (as in the second post) or you could add two triggers to the first flow and use the condition to check if it's the morning or the evening case and set the corresponding brightness. The solution with one flow has the advantage that you could add other triggers, for example 'Automagic Startup' when the device is booted.
Regards,
Martin
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
oh! thank, I just known that we can use multiple triggers in one flow.
It's better if we can make them to show in separate diagrams as the pictures below:
(note: pictures edited by photoshop)
It's better if we can make them to show in separate diagrams as the pictures below:
(note: pictures edited by photoshop)
Last edited by natong on 29 Oct 2015 01:50, edited 1 time in total.
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
I also thought about this but at the moment I want to keep flows as simple as possible so that a flow usually serves a single purpose. Adding multiple triggers withing the same flow could encourage to build multiple flows within one flow. Not that this is necessarily a bad thing but flow options like the emergency stop and the execution policy would not fit in very well.
-
- Posts: 6
- Joined: 16 Feb 2014 16:04
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
How did you create those two Time: everyday triggers? I can't figure it out how to add a second trigger. Thanks!
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
The image is only an edited version from originals. It is NOT possible to create two trigger boxes. However, you can add two or more triggers in one box by tapping the box and selecting the list button. Then you can add a condition to check which trigger was triggered and follow true or false paths as appropriate.
-
- Posts: 6
- Joined: 16 Feb 2014 16:04
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Ahhh. I didn't realize that flowchart was edited. I am aware that you can add multiple triggers to one trigger box.
Many thanks!
Many thanks!