Plugin has been UPDATED!!!
From Xlobby Forum:
Posted: Fri Sep 22, 2006 1:14 pm Post subject:
--------------------------------------------------------------------------------
Ok, I have made all the changes and done a little testing with it. The plugin appears to be working properly.
I updated the first post of this thread to point to the latest plugin zip file.
Here is what is in this version.
1. Fixed PLC status on startup and if a light is turned on/off through some other means then the plugin.
2. Added support for individual zone, output and PLC images.
3. Added support for getting and setting custom values.
The individual images are based off of the index you are trying to receive.
Place the individual images into the xlobby/plugins/xelk/images directory.
For example let’s say you have a special image for zone 5. When plugin>elkm1>zoneStatusImg>5 is requested the plugin first looks for the file zone5Normal.png, zone5Violated.png, zone5Trouble.png or zone5Bypass.png. If it does not exist then it returns zoneNormal.png, zoneViolated.png, zoneTrouble.png or zoneBypass.png.
For outputs you would have an image outputXOn.png and outputXOff.png. Replace the X with the output number. For PLC the image would be plcXYOn.png and plcXYOff.png. Replace XY with the code and unit code. For example plcA2On.png and plcA2Off.png.
A custom value can be retried with plugin>elkm1>customValue>â€xâ€. All time of day formats are returned in 24 hour format.
To set a custom value use:
customValue – Set the customValue to a new setting. Two variables, “customValueNumber†“newValueâ€. If the custom value which is being set is a time of day value then the time entered must be in 24 hour format, that is “16:00†for 4:00 PM. So to set custom value 10 to 10:30 PM you would have
customValue 10 22:30
If you have any problems let me know.
Andrew