Page 1 of 1
Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 29 Aug 2015 05:35
by natong
Which trigger for 7:00AM set brightness 40% and 9:00PM set brightness to 0% ?
My flow can contain only condition ?

- 1.jpeg (48.49 KiB) Viewed 14867 times
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 29 Aug 2015 05:48
by natong
Or create two flows separated?

- 2.jpeg (37.09 KiB) Viewed 14867 times

- 3.jpeg (40.08 KiB) Viewed 14867 times
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 30 Aug 2015 10:57
by Martin
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
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 30 Aug 2015 14:34
by natong
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:

- 4.jpg (46.86 KiB) Viewed 14867 times

- 5.jpg (39.64 KiB) Viewed 14867 times
(note: pictures edited by photoshop)
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 31 Aug 2015 18:52
by Martin
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.
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 28 Oct 2015 17:14
by But first the Tranya
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
Posted: 28 Oct 2015 18:51
by MURTUMA
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.
Re: Which trigger for 7:00AM set brightness 40% and 9:00PM
Posted: 28 Oct 2015 19:09
by But first the Tranya
Ahhh. I didn't realize that flowchart was edited. I am aware that you can add multiple triggers to one trigger box.
Many thanks!