homebridge-gpio-irrigationsystem
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

homebridge-gpio-irrigationsystem

With this plugin you can add GPIO controlled valves to Homebridge as an irrigation system.

GPIO

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.

Settings

Look at config.example.json or use the Homebridge Config UI X Plugin.

Scheduling

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.

Package Sidebar

Install

npm i homebridge-gpio-irrigationsystem

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Unpacked Size

62.1 kB

Total Files

53

Last publish

Collaborators

  • spobel