Version 3 (modified by guessed, 13 years ago) (diff) |
---|
Installation
Plugin Installation
WARNING: Please do not use the Internet Explorer "IE" Browser to install this plugin. There have been multiple reported problems with IE being used to upload plugins via Vera's Luup Plug installation pages.
- Download the ZIP file from directly from Source control
- Expand the ZIP File to extract the 9x files, their names should be exactly as follows:
- D_IORelay1.xml
- I_IORelay1.xml
- L_IORelay1.lua
- S_IORelay1.xml
- Follow the instructions for Plugin Installation outlined Install Luup Plugins
- For the UpnpDevFilename field, use "D_IORelay1.xml"
- For the UpnpImplFilename field, use "I_IORelay1.xml"
- For the Description field, use "IORelay"
This will create the IORelay device, but it's Serial Port still needs to be assigned and another Save / Restart cycle performed.
Serial Port Assignment
If you're using a direct-attached USB-Serial device to attach to your IORelay ProXR Lite or Reactor Relay, then follow these steps to associate the Serial Port with this plugin.
- In MiOS developers -> Serial Port configuration, find your newly connected USB-Serial port, and set the Baud rate to 115200
- Select your newly created IORelay Device in the Used by device dropdown
- The screen will change to this
- Close this Dialog and perform a MiOS (Save) action.
Configure the Plugin
Adding More Relays or Inputs
By default, the Plugin will configure itself for all 8 Inputs and 2 Outputs (Relays). This can be changed by adjusting the Inputs and Outputs parameter(s) in the Advanced Tab of the Device's dialog.
- Open the Dialog for the IORelay Device (using the wrench/spanner) and select the Advanced Tab
- Change the value of the Inputs parameter to a value between 0 and 8
- Change the value of the Outputs parameter to a value between 0 and 8
- Close this Dialog and perform a MiOS (Save) action.
TODO: Document the Interval parameter for polling interval
TODO: Document the Control parameter for manual (default), manual-reactor and reactor values
Errors
Releases
- 27-Aug-2011
Initial "pre-alpha" shown in the Forums. - 29-Aug-2011
Patch the polling, which would randomly stop working using call_timer, move to call_delay.