Z-Wave World Forums > General Discussion > Programming Ideas and Examples![]() ![]() |
Mar 20 2012, 07:53 PM
Post
#1
|
|
|
Newb ![]() Group: Members Posts: 1 Joined: 20-March 12 Member No.: 2,886 Location:Edmonton, Alberta |
I am new with using Z-Wave and have limited VBA experience. I am needing to remote control a light connected to a switch which is connected using Z-Wave from ControlThink v.2.4.5. I need to use VBA 6.5 code from another software application to connect through the ControlThink software to turn on/off the light. I don't know where to start, except, that reading many forums and help sites, it says to use the ControlThink.ZWave.dll to accomplish this. I have been unable to locate code samples as to how to do this. I am unable to add the .dll as a reference using the Tools/References menu in the Visual Basic Editor. Reading up in the VB hjelp files shows me how to add a .dll to a module, but I do not know what parameters to use, nor can I find any examples how to actually do anything with the functions and subroutines within this .dll and how to use them to accomplish the task at hand. If anyone can help, it would be greatly appreciated.
|
|
|
|
Mar 24 2012, 02:17 PM
Post
#2
|
|
|
Newb ![]() Group: Members Posts: 3 Joined: 24-March 12 From: Jamestown, NC Member No.: 2,893 Location:Jamestown, NC |
I am new with using Z-Wave and have limited VBA experience. I am needing to remote control a light connected to a switch which is connected using Z-Wave from ControlThink v.2.4.5. I need to use VBA 6.5 code from another software application to connect through the ControlThink software to turn on/off the light. I don't know where to start, except, that reading many forums and help sites, it says to use the ControlThink.ZWave.dll to accomplish this. I have been unable to locate code samples as to how to do this. I am unable to add the .dll as a reference using the Tools/References menu in the Visual Basic Editor. Reading up in the VB hjelp files shows me how to add a .dll to a module, but I do not know what parameters to use, nor can I find any examples how to actually do anything with the functions and subroutines within this .dll and how to use them to accomplish the task at hand. If anyone can help, it would be greatly appreciated. You can find the VBA source for a FREE working system that supports the ThinkStick at this url: http://www.ihousehomeautomation.com/phpBB/...?f=33&t=473 While this application also supports X10 protocol, you can use just Zwave if you wish. FAIR WARNING: this is the last release of iHouse that will support the ThinkStick. Because the ThinkStick is no longer actively supported since Leviton bought ControlThink, support is being switched to the Aeon Labs stick. But if all you need is code examples, the iHouse version above should provide what you need. ITguy |
|
|
|
Mar 24 2012, 05:04 PM
Post
#3
|
|
|
Z-Wave Guru ![]() ![]() ![]() Group: Z-Wave Guru Posts: 478 Joined: 18-November 07 From: Florida Member No.: 982 |
Here are a couple of other places to look besides above:
ControlThink SDK: http://forums.controlthink.com/5.aspx Z-Wave Commander: http://melloware.com/products/zwave/ Hope one of the options works for you |
|
|
|
May 5 2012, 09:14 PM
Post
#4
|
|
|
Z-Wave Enthusiast ![]() ![]() Group: Members Posts: 22 Joined: 3-October 09 Member No.: 1,553 Location:Naperville, IL |
Follow the links in my signature for an easy to use software option. The software uses an open source z-wave driver written in easy to understand vbscript. The GUI is very intuitive and event driven.
-------------------- Advanced FREE home automation software called Premise:
http://cocoontech.com/forums/files/category/1-premise/ http://www.cocoontech.com/wiki/Premise Open-source VRC0P (Z-Wave) driver for use with Premise: http://code.google.com/p/zwave-driver-for-...trunk%2FViziaRF http://cocoontech.com/forums/files/file/17...le-for-premise/ |
|
|
|
Oct 28 2012, 01:33 AM
Post
#5
|
|
|
Newb ![]() Group: Members Posts: 2 Joined: 28-October 12 Member No.: 3,060 Location:Albany, NY |
I am having the same problem too and someone from another forum agreed to help me out. But it would take another week.
-------------------- |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 06:19 PM |
