I have developed a plugin for the velleman k8055 usb io board - described in this thread http://board.homeseer.com/showthread.php?t=102005and also at this website http://www.velleman.be/common/produc...an=1&id=351346
Basically usb connected 5 digital inputs, 8 digital outputs, 2 analog in 2 analog out all at about 20 pounds in kit form - winner!
PRE-REQUISITES:
Install the velleman demo program - this will put the dll in the right place, and you can also check your board works - NOTE: The velleman site has a newer DLL - apparently fixes a memory leak - I haven't downloaded and tested it yet - I will do once the digital ink has dried on this plugin, but you may want to try it - let me know if it works OK....
Plugin description:
Supports 1 velleman board currently
Provides 19 devices,
5 digital inputs - devices K8055-0-DI1..5
2 analog input - devices K8055-0-AI1..2
8 digital output - devices K8055-0-DO1..8
2 analog output - devices K8055-0-AO1..2
2 counters - devices K8055-0-DC1..2 (counts the number of times digital input 1 and 2 have been "triggered".
Installation
Copy hspi_malk8055.ocx to your homeseer directory (c:\program files\homeseer as a guess)
Fire up homeseer, view.. options.. interfaces.. plugins drop down select malk8055
restart homeseer with your velleman board attached
If all goes well new devices appear - restart one more time to get the initial values.
Using it - press the buttons on the velleman board - homeseer devices should change from off to on - (this version has a 250ms fixed poll interval - will fix that in next release - so you have to hold it for .25 secs to get it to register)
skin resistance should be enough to get the analog inputs working - I tested mine with a wet finger.
digital outputs - set them on from the device menu - light should come on.
analog outputs - I drive them from a script -
for i = 1 to 255
hs.setdevicevalue "[16",i
next
Makes the output test light go from dim to bright.
digital counters - press the input buttons for di 1 and 2 and watch the numbers go up - right click in device view - goto properties and then configure - you can set the switch debounce times in there and chose to preserve counter values over a homeseer restart.
Think thats about it apart from the disclaimers
VERY RAW CODE - BETA QUALITY - DO YOUR BACKUPS - DON'T BLAME ME IF IT BLOWS UP.
The plugin is currently (and for the forseable future) free - I am not making the source code public at the moment (open to email conversations if you want it) - if/when I get bored of it I will publish source.
Please let me know if it works or fails - I will be issuing some updates but I was keen to get it published.
Malarcy
Basically usb connected 5 digital inputs, 8 digital outputs, 2 analog in 2 analog out all at about 20 pounds in kit form - winner!
PRE-REQUISITES:
Install the velleman demo program - this will put the dll in the right place, and you can also check your board works - NOTE: The velleman site has a newer DLL - apparently fixes a memory leak - I haven't downloaded and tested it yet - I will do once the digital ink has dried on this plugin, but you may want to try it - let me know if it works OK....
Plugin description:
Supports 1 velleman board currently
Provides 19 devices,
5 digital inputs - devices K8055-0-DI1..5
2 analog input - devices K8055-0-AI1..2
8 digital output - devices K8055-0-DO1..8
2 analog output - devices K8055-0-AO1..2
2 counters - devices K8055-0-DC1..2 (counts the number of times digital input 1 and 2 have been "triggered".
Installation
Copy hspi_malk8055.ocx to your homeseer directory (c:\program files\homeseer as a guess)
Fire up homeseer, view.. options.. interfaces.. plugins drop down select malk8055
restart homeseer with your velleman board attached
If all goes well new devices appear - restart one more time to get the initial values.
Using it - press the buttons on the velleman board - homeseer devices should change from off to on - (this version has a 250ms fixed poll interval - will fix that in next release - so you have to hold it for .25 secs to get it to register)
skin resistance should be enough to get the analog inputs working - I tested mine with a wet finger.
digital outputs - set them on from the device menu - light should come on.
analog outputs - I drive them from a script -
for i = 1 to 255
hs.setdevicevalue "[16",i
next
Makes the output test light go from dim to bright.
digital counters - press the input buttons for di 1 and 2 and watch the numbers go up - right click in device view - goto properties and then configure - you can set the switch debounce times in there and chose to preserve counter values over a homeseer restart.
Think thats about it apart from the disclaimers
VERY RAW CODE - BETA QUALITY - DO YOUR BACKUPS - DON'T BLAME ME IF IT BLOWS UP.
The plugin is currently (and for the forseable future) free - I am not making the source code public at the moment (open to email conversations if you want it) - if/when I get bored of it I will publish source.
Please let me know if it works or fails - I will be issuing some updates but I was keen to get it published.
Malarcy
Comment