Code:
I am not sure what the current Ocelot plugin supports...
Serial based plugin that: Send and receive local and remote IR, set and get variables and timers, set I/O relays on/off, send Speak messages.
Code:
1. Once you are connected to the Ocelot you need to have a list of devices. The Ocelot plugin should publish its events using a Publisher class.
Devices - as in IR1, IR2... Var1, Var2, Var3... (item names) or as in Slider bar, On/Off buttons, data entry boxes (kind of like Action UI form items)
Publisher class? Is there a review of these classes, which ones to use for what...? The Ocelot plugin would be where, in the Plugins folder, or is this the "Component" you were talking about? And where should it be located?
Code:
2. The provider is started by the Ocelot plugin. It listens to events from the Ocelot publish. It creates the devices in the the Device Manager using whatever device types it needs.
Provider is started how? Some kind of Provider call? Ocelot publish is like a config or action item? Example, how do I create a list of IR codes to name and use as devices?
IR1 = Tuner on
IR2 = Vol Up
IR3 = Vol Dn
Code:
3. The provider communicates back with the Ocelot plugin to have it perform actions on devices.
So the actions are coded into the plugin, not in the treescript UI page?
Code:
The HAI Provider might give you a basic idea.
HAI is a DLL type plugin... the only file I see is in \DeviceManage\Providers\
?? Nothing in \Luascript\ or \Component\ or \Classes\ But, I will review it!