In this tutorial we'll look at the different options when creating a Security Alarm.
In this first part we'll present the main functions by creating an alarm against possible floods.
In the second part we will learn how to create interactions between the peripherals,
implementing one example for a Fire Alarm.
We start by creating a Security Alarm.
We call it "Inundación".
We select the flood detector from SoilBot.
And now we have three options.
The first, "Single Device" will turn off all the devices except one we choose.
We'll give an example on the next tutorial.
The second option allows us to disconnect selectively all the devices
associated to a specific Area and/or Grows.
The first one will turn off all the elements associated with all Areas and Grows.
But will not act on all devices that are not associated with an Area or a Grow.
The second one to all devices associated with Area 1.
The third one to all associated with Grow 1, and last the ones associated with Grow 2.
Finally we have another option that will turn off all the devices present in the GroNode network,
not regarding their association with Area or Grows.
Since our water pump is associated with the Grow 1, we could choose to turn off
Only the elements on Grow 1.
For this example we'll create a full shutdown.
Keep in mind that for this type of alarms, the buzzer and the notifications e-mails should be active
so you can rapidly check this type of incidents.
When the sensor detects a flood, we have to take care of the issue.
Once your flood detector is dry, we need to go to the application and click on the button "VALIDATE".
We can see that all Alarms and Schedules with elements associated with this type of Alarm
are now disabled.
Once we validate the alarm, they automatically get enabled and start working as they should.
Access the next tutorial to see how to make devices interact between themselves.
One good way to make a Fire Alarm.