Which trigger for 7:00AM set brightness 40% and 9:00PM

Post your questions and help other users.

Moderator: Martin

Post Reply
natong
Posts: 80
Joined: 29 Aug 2015 05:24

Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by natong » 29 Aug 2015 05:35

Which trigger for 7:00AM set brightness 40% and 9:00PM set brightness to 0% ?

My flow can contain only condition ?

1.jpeg
1.jpeg (48.49 KiB) Viewed 14870 times
Last edited by natong on 31 Aug 2015 17:01, edited 1 time in total.

natong
Posts: 80
Joined: 29 Aug 2015 05:24

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by natong » 29 Aug 2015 05:48

Or create two flows separated?
2.jpeg
2.jpeg (37.09 KiB) Viewed 14870 times
3.jpeg
3.jpeg (40.08 KiB) Viewed 14870 times
Last edited by natong on 31 Aug 2015 17:02, edited 1 time in total.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by Martin » 30 Aug 2015 10:57

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

natong
Posts: 80
Joined: 29 Aug 2015 05:24

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by natong » 30 Aug 2015 14:34

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
4.jpg (46.86 KiB) Viewed 14870 times
5.jpg
5.jpg (39.64 KiB) Viewed 14870 times
(note: pictures edited by photoshop)
Last edited by natong on 29 Oct 2015 01:50, edited 1 time in total.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by Martin » 31 Aug 2015 18:52

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.

But first the Tranya
Posts: 6
Joined: 16 Feb 2014 16:04

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by But first the Tranya » 28 Oct 2015 17:14

How did you create those two Time: everyday triggers? I can't figure it out how to add a second trigger. Thanks!

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by MURTUMA » 28 Oct 2015 18:51

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.

But first the Tranya
Posts: 6
Joined: 16 Feb 2014 16:04

Re: Which trigger for 7:00AM set brightness 40% and 9:00PM

Post by But first the Tranya » 28 Oct 2015 19:09

Ahhh. I didn't realize that flowchart was edited. I am aware that you can add multiple triggers to one trigger box.

Many thanks!

Post Reply