I have implemented support for the Relay05 and is incorporated in the most current version in the problems/features thread. The following is implemented:
1) Interface Tab checkbox for Relay05. When checked the plugin will confirm 8 relay devices have been created in the plugin's house code devices 51..58. It will create them if not yet created as an output IO type.
2) On homeseer restart and on each "Update" the plugin will send a "RLY S" command to the Temp05. It is expecting the Temp05 to return something like Relay=on,off,on,off,off,on,on,on.
The plugin will update the virtual device for the relay based upon this status if it is different than what is currently stored in the virtual device. When it updates the status change trigger will be activated if there is a difference. The device value is not used since when the plugin set's the device value homeseer will call the plugin to set the relay to this value and that is not needed.
3) The standard homeseer GUI/Web Interface should be able to be used to set each relay on/off.
4) A plugin script interface SetRelays is implemented with one string input parameter. If the input string is "on" or "1" then it will send a "RLYA on" command. Any other parameter value will send a "RLYA off" command. This should turn all 8 relays on or off respectively.
5) No support for the Relay timer was implemented. I need a strategy as to how it will be used and what you need the plugin to do. I also need to know the commands to/from the Temp05 to manage the relay timer.
6) If the commands to and data stream from the Temp05 is not as I described above then please let me know the syntax.
7) What else should the plugin do with respect to these relays?
[This message was edited by Michael McSharry on Thursday, 13 February 2003 at 01:21 AM.]
1) Interface Tab checkbox for Relay05. When checked the plugin will confirm 8 relay devices have been created in the plugin's house code devices 51..58. It will create them if not yet created as an output IO type.
2) On homeseer restart and on each "Update" the plugin will send a "RLY S" command to the Temp05. It is expecting the Temp05 to return something like Relay=on,off,on,off,off,on,on,on.
The plugin will update the virtual device for the relay based upon this status if it is different than what is currently stored in the virtual device. When it updates the status change trigger will be activated if there is a difference. The device value is not used since when the plugin set's the device value homeseer will call the plugin to set the relay to this value and that is not needed.
3) The standard homeseer GUI/Web Interface should be able to be used to set each relay on/off.
4) A plugin script interface SetRelays is implemented with one string input parameter. If the input string is "on" or "1" then it will send a "RLYA on" command. Any other parameter value will send a "RLYA off" command. This should turn all 8 relays on or off respectively.
5) No support for the Relay timer was implemented. I need a strategy as to how it will be used and what you need the plugin to do. I also need to know the commands to/from the Temp05 to manage the relay timer.
6) If the commands to and data stream from the Temp05 is not as I described above then please let me know the syntax.
7) What else should the plugin do with respect to these relays?
[This message was edited by Michael McSharry on Thursday, 13 February 2003 at 01:21 AM.]
Comment