Skip to content

signal15/vera-litetouch-2000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vera-litetouch-2000

Automatically exported from code.google.com/p/vera-litetouch-2000

#Instructions for LiteTouch 2000 plugin for Vera

= Introduction =

This plugin is for the MiCasaVerde Vera and adds support for the LiteTouch 2000 system. It is known to work with UI5, and is now working on UI7. It supports dimmer and relay loads, and polling with the right cable. It will NOT work with the 5000LC controller, it only supports the ASCII protocol which is spoken by both the Compact and Standard CCU.

This protocol doesn't support anything to enumerate the loads, so you'll need to define them all yourself when setting up the plugin. Examples of loads would be 01-1, 03-4, or 10-6. These are NOT keypad identifiers, these are load identifiers. If you have the standard CCU, you can go into the LCD interface on it and view the loads that are assigned to each button. Or, you can open up your panels and look at the dimmer and relay modules to see where the little dials are set to find out the ID. The "10" in "10-6" is the module number, and the "6" is the output number. 10-6 would be the load. Keep track of which are dimmer modules and which are relay modules.

If you plan on going into the LCD interface to find out loads, it's a really slow process going through the menus. You'll need to know the button ID's to find the load they are assigned to. To do that, pop the cover off the switch. Usually the installer has written an identifier on the keypad like 1a or 2c. Buttons are numbered from 1-9. So a button ID might be 1a-1 or 2c-6. If you go into your LCD menu, you can use the view/change button menu to see which loads are assigned to that button. Note that some buttons will be assigned to scenes, and it's not a 1 to 1 mapping. The easiest way is to open up your panel, look at the modules to find out the ID and how many outputs it has, and then just keep a list. So if you had a module that was set to 05 on the two dials and it had 6 outputs, you'd have 05-1, 05-2, 05-3, 05-4, 05-5, and 05-6. After you get them all in there, you'll need to walk through your house with turning on/off the different loads in Vera to figure out what they are for.

Or maybe you are lucky and the installer left you a spreadsheet with all of this info. :)

= Requirements =

  • UI5
  • Standard or Compact CCU
  • A working USB->serial converter. There is plenty of info on this on the MiCasaVerde forums.
  • LiteTouch integration cable. You can make this with pins 2, 3, and 5 straight through. If you want polling to work, you will need to bridge pins 7 & 8 at the CCU side (don't hook them up to your Vera). The best way to make a cable is to get 2 RJ45->RS232 converters (ask your favorite network guy, he's got a drawer full)

= Setup =

  • Install the plugin, restart LUUP
  • Go into the settings tab for the plugin, select your serial interface, restart LUUP
  • Go into the advanced tab and set the RelayLoads and DimmerLoads variables. Enter them as a comma separated list with no spaces, for example: "07-1,07-2,07-3,07-4,07-5,07-6,08-1,08-2,08-3,08-4,08-5,08-6,09-1,09-2,10-1,10-2,10-3,10-4,10-5,10-6"
  • Restart LUUP

Now all of your devices will show up. As they are polled, the statuses will start updating. Setting a load through Vera will poll the device immediately. Otherwise, polling runs down a list of loads and polls one every two seconds, only to start back at the top after they've all been polled. There are some limitations in the serial protocol which forced it to be done this way. This means that if you have 48 total loads and you change one with a wall keypad, it could take up to 96 seconds for the Vera to pick it up.

You can now name your devices and start assigning them to rooms.

= Making the cable =

The LiteTouch system has TWO different serial cables. There's a programming cable, and an integration cable. The programming cable is used for LiteWare. It has pins 2, 3, and 5 straight though, and pins 7&8 are crossed end to end. The implementation cable is the same, except pins 7&8 are not connected to the vera side at all, but are bridged together on the CCU side.

The easiest way to do this is to get a couple of RJ45->RS232 adapters. Cisco and Juniper ship them with every piece of network equipment, so if you know an IT guy, he can get them for you. Or, you can order them off amazon. Connect them together with a standard ethernet cable (not a crossover). Then, pop the plug out of one end, cut the wires for pins 7&8 and twist them together and tape. Plug the modified end into the CCU.

You should also note that the plug on the CCU side is a female plug. So pick up a male->male gender bender while you're at it, or make sure one of the RJ45->RS232 things has male pins on it.

= Future enhancements =

  • Exponential dimming for those that use LED lighting. Unfortunately, this will be a global setting for all devices controlled by the plugin, and not on a per switch basis. There will be a variable to set the exponent value.
  • Ability to set the fade time for dimmers. Again, this will be global for all dimmers controlled by the plugin. Another limitation is that it's in whole seconds, no fractions of a second allowed because of limitations with the LiteTouch system.
  • 7/5/2015 - It's unlikely that I will update this plugin further. Email me if you actually use it. I've upgraded to an 5000LC controller, and will be putting effort into creating a plugin for that instead. If you do use this, and need updates for some reason, or if it doesn't work with newer versions of Vera (i.e. UI7), let me know.
  • 6/23/2016 - Updated to work with UI7.

About

Automatically exported from code.google.com/p/vera-litetouch-2000

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published