iSmart LED 3P Plugin

Getting Started

This is a plugin for the iSmart LED Controller manufactured by Automation@Home (http://x10-hk.com/store/product_info.php?products_id=283) , it is both a WiFi and Serial controllable three channel LED control module that is capable of switching between 12 and 24V at 6A combined total current. The plugin is available through the HomeSeer updater and when installed will appear in the HomeSeer list of interfaces.

ismart7001_icon_1024x768.png 

Once the plugin is enabled it will proceed to create a set of devices for the instance created, this plugin is multi instance and will enable you to have multiple instances for other devices that you may have (as you can see I have one device that is set aside for Christmas lighting which just sits unloaded outside of the time those lights are operated). The devices will show the following:

  1. Root Device - If you go into the properties of this device it will enable you configure the properties for the unit (more later concerning this.
  2. Channel 1, 2, 3 devices - These devices represent the three channels on the unit, they are three identical devices that have both an on/off control and a slider for the 255 dim levels.
  3. RGB Colour Picker - This device will produce a colour picker that enables you to specify a particular colour for the unit to be set to, this will be then sent to the unit. It will only ever be approximate on the basis of quality of the LED’s and the fact some colours will never correctly replace.
  4. Fade Time - If set this device will then send the command to the unit to change the fade time, this is in a value of 0-128, it is unclear what this value actually signifies in terms of the duration of the fades.

If those devices have been set correctly and your iSmart unit is connected to your serial port/wireless network then you will need to find out either the serial port name or the IP address for the unit. This will be needed to establish the connection with the unit.

Configuration & Operation

The unit should be simple to configure and operate, in short once configured the devices will just control the LED channels. As the device does not have to necessarily have RGB LED’s connected to it then it may be that the colour picker device is rendered useless. I would suggest hiding this device rather than deleting it to prevent you having to create all of the devices again in the future. Once you have your serial port or IP address then please click on the properties for the root device, in that you should now see a tab at the top of the device which contains the plugin name and the interface name. Please click on that tab, you should now be presented with a screen that looks like this;

By default you will see that it will say ‘NoneSet’, if you are using the serial connection then you need to put in this box ‘COMx’ or the equivalent Linux port name. The plugin will check the input data to establish whether or not it contains what it thinks is a serial port or an IP address. As I imagine the default will be connection over IP then put the IP address in this box, do not add the port number as that is fixed in the plugin.

When you have input the data please press ‘Update Changes’ and look in the HomeSeer log. If the connection has been successful then you should see entries similar to;


Jan-22 10:50:32                 iSmart LED 3P        Connection Worker Thread Completed
Jan-22 10:50:32                 iSmart LED 3P        Sending Data To iSmart LED Controller : 81-CC
Jan-22 10:50:32                 iSmart LED 3P        Sending Data To iSmart LED Controller : 81-BB
Jan-22 10:50:32                 iSmart LED 3P        Firmware Version: 01-00-08
Jan-22 10:50:32                 iSmart LED 3P        Sending Data To iSmart LED Controller : 50
Jan-22 10:50:32                 iSmart LED 3P        Connection Worker Thread Started

As can be seen the unit has replied with the firmware version (TCP client only), this confirms that there has been a successful connection of the LED controller. If the unit is connected via serial port then you should see a message saying that the serial port has been opened.

Controlling the devices should then control the unit.

Remote Connections

It is possible to run this plugin remotely on another computer. For this to happen the contents of the HTML folder should be left in the HomeSeer HTML directory, the following files should go onto the remote computer preferably in their own folder. Please also ensure on this computer you have the Visual C++ runtime redistributable installed http://www.microsoft.com/en-us/download/details.aspx?id=5555.

The plugin should then be run by passing the HomeSeer IP address to the plugin like this:

C:\Plugin\HSPI_ISMART3P.exe server=192.168.0.107

Known Issues

The plugin has a handful of known issues and should be considered when you come to decide on implementation, they are known to be at this time;

Linux Support

This plugin has been untested on Linux, on the basis of the implemented code there is no reason that it should not work.

If you have any issues with the plugin please post them here:

http://forums.homeseer.com/showthread.php?t=165447