Version 11 (modified by chrisfsb, 11 years ago) (diff)

--

OpenSprinkler Irrigation Controller

http://opensprinkler.cfowl.postinbox.com/Title.png

Version 1.0

Introduction

This plugin provides monitoring and control of an OpenSprinkler irrigation controller. OpenSprinkler is a product manufactured by Rayshobby.

Plugin Features

  • Mode Control : Off / Manual / Auto
  • Configure irrigation stations to be controlled
  • Station name discovery
  • Station status with UI5 icons showing activity
  • Manual station control

Installation

  1. Upload the attached files: "Apps > Develop Apps > Luup Files"

http://opensprinkler.cfowl.postinbox.com/Step1.png

  1. Create device: "Apps > Develop Apps > Create device" Fill in these fields:
    1. "Upnp Device Filename": "D_OpenSprinkler1.xml"
    2. "Upnp Implementation Filename": "I_OpenSprinkler1.xml"
    3. "Ip Address": "Enter the IP Address of OpenSprinkler"

http://opensprinkler.cfowl.postinbox.com/Step1b.png

  1. Click "Create Device"
  2. Click "Reload"
  1. Navigate to the "Devices" page. The newly created device looks like:

http://opensprinkler.cfowl.postinbox.com/Step2.png

  1. Refresh the browser (Typically pressing F5). OpenSprinkler will show the default configuration

http://opensprinkler.cfowl.postinbox.com/Step3.png

  1. After 60 seconds the station names will be pulled from the OpenSprinkler

http://opensprinkler.cfowl.postinbox.com/Step4.png

  1. Configure various options. e.g. Stations being controller, password, etc.

http://opensprinkler.cfowl.postinbox.com/Step5.png

  1. Note how the individual station and controller icons change state when active

http://opensprinkler.cfowl.postinbox.com/Step7.png

Configuration Variables

Password

OpenSprinkler's default password of "opendoor" is prepopulated. If the OpenSprinkler is configured to "Ignore passwords" then this variable is not required.

http://opensprinkler.cfowl.postinbox.com/IgnorePassword.png

RefreshStatusSec

This controls how frequently the OpenSprinkler controller will be polled (in seconds). There is no push notification from OpenSprinkler. The lower the number the more "real time" the updates in MCV.

Debug Mode

By default verbose logging is switched off. To enable logging change the following line in I_OpenSprinkler1.xml, upload and restart Luup.

Change

local DEBUG_MODE = false

To

local DEBUG_MODE = true

Debug information is written to /tmp/log/cmh/LuaUPnP.log

Attachments