diff --git a/docs/_tabs/scenarios.md b/docs/_tabs/scenarios.md index 1758fbf56..0641c3619 100644 --- a/docs/_tabs/scenarios.md +++ b/docs/_tabs/scenarios.md @@ -10,7 +10,7 @@ image: --- On this page you can find various information on how to setup areas and create scenarios. -

Timer wizard

+

Timer wizard

Using the weather or timer mode in an area, you can set the following 6 fields. The minimal fields that needs to be entered are the begin and end time field. All other fields are optional. Using a value of '' or 0 will ignore the setting. Change some values in the form to see the outcome of the timer schedule.

The graph area in red is the time the relay(s) are toggled on

And when you have selected sensors, used light state or door state, then the relay will only go on when that state is met during the on period in the red are of the graph.

@@ -51,4 +51,79 @@ On this page you can find various information on how to setup areas and create s - \ No newline at end of file + + + + +

Dependencies

+

There are multiple dependencies levels. Here we describe all the different dependencies that are possible to use.

+ +

General dependencies

+

There are 2 basic dependencies. When you choose something other than Ignore, then the selected option will be enforced.

+Example general dependencies +

+ These are: +

    +
  1. Light status + + + +
  2. +
  3. Door status + + +
  4. +
+In the above example we have a raining area setup which will toggle the relays 'Mister' and 'Sprayer' when the humidity is to low. But, there are 2 dependencies selected and active. +

+

+- In this case, the main lights needs to be on, so it is day, and the water of the sprayer can vaporize. +
+- And the door needs to be closed. So you are sure that when you are working in the terrarium, and the door is open, you will not get wet. +

+ +

Area dependency

+Example area dependency +

+Here you can select other areas on which this area depends on. If the depending area is in an alarm state, this area will not toggle on, or if already on, toggle off. +

+

+For example you have a water tank area and a humidity area where you use a sprayer. When the water tank is (near) empty the low alarm of the water tank will go on, and this humidity area will then not toggle on. +
+This will protect the water sprayer against running hot/dry when there is no water. +

+ +

Relay dependency

+

+With relay dependencies you can make extra complex logic. A possibility is to 'share' a relay between two areas. As the basic rule is that a relay can only be used once. In order to 'share' a relay between the areas you need to create a new third area. In the third area you can select a timer window to toggle the 'shared' relay on. And select the relays used in the other two areas as dependening relays. And choice that at least one on dependency mode. +
+This way the relay in the third area will only go on when one of the selected relays of other areas are on. +

+

+When you select depending relays, you also need to select the dependency mode. +There are 3 dependency modes: +

+
    +
  1. All on
  2. +
  3. At least one on
  4. +
  5. None on
  6. +
+ +Example relay dependency +

+In the example above we have selected an area which is controlling a fan. This will clear the air in the terrarium and should be running when there is either the rain relay is toggled on or the mister relay is toggled on. In this case, those relays are in different areas with different logic. +The fan should be on based on a timer from 08:00 till 20:00 hours. This is a 12 hour on time. +
+But with the selected dependency relays, this area will only go on when on of the two selected relays is on. And when there is no depending relay is on, the power of this area will also shut down. So the fan will only be running when either the mister is running, or the sprayer is running. +

+

+You can also use the 'Power on time' and 'Settle time' values to fine tune. +

\ No newline at end of file diff --git a/docs/assets/img/Area_dependecies.webp b/docs/assets/img/Area_dependecies.webp new file mode 100644 index 000000000..fea306618 Binary files /dev/null and b/docs/assets/img/Area_dependecies.webp differ diff --git a/docs/assets/img/General_dependencies.webp b/docs/assets/img/General_dependencies.webp new file mode 100644 index 000000000..605db290c Binary files /dev/null and b/docs/assets/img/General_dependencies.webp differ diff --git a/docs/assets/img/Relay_dependencies.webp b/docs/assets/img/Relay_dependencies.webp new file mode 100644 index 000000000..f17d83727 Binary files /dev/null and b/docs/assets/img/Relay_dependencies.webp differ