With this plugin you can add GPIO controlled valves to Homebridge as an irrigation system.
The GPIO control is done by the library onoff. You have to configure your raspberry pi so that onoff can access the GPIOs. Instructions see GPIO . Depending on the outlet device, you may want to invert the GPIO signal. This can be done in the configuration of each zone / valve.
A time control for the valves is also included. It is possible to define times at which watering takes place for a certain time. The library cron is used. You can specify hour, minute and dayOfWeek as time pattern to start a zone / valve for a specified duration. See Scheduling Example for details.