EspIrrigation is a irrigation controller based on the Homie-Framework. It can control up to 16 valves in either auto or manual mode. In manual mode the valves can be opened individually and in auto mode the valves open in a specific order. The durations of each valve can be programmed and are also available after power loss as they are stored in the EEPROM of the ESP8266.
EspIrrigation provides the following nodes as ranges from 1
to NUM_VALVES
. n
is the corresponding valve.
valve/open_n
: (true|false)valve/duration_n
: time in secondsvalve/order_n
: [0-NUM_VALVES]
The open
nodes define whether the corresponding valves are opened or closed. If the node is set to true
the valve is opened for the given time, else if the node is set to false
the valve closes immediately.
The duration
nodes define the duration a valve is opened. These durations apply in auto mode as well as in manual mode.
The order
nodes define the order the valves are opened in auto mode. Only the first order elements greater than 0 are taken into account.
Example:
valve/order_1
: 2valve/order_2
: 1valve/order_3
: 0valve/order_4
: 3
In auto mode the first valve opened is valve number 2, followed by valve number 1. All order elements after order_3
are not taken into account as order_3
is 0 and thus stops the auto mode.
The following image shows the internal Architecture of espirrigation.