Charmed Quark Systems
Google
WWW CharmedQuark.com

Go Back   Charmed Quark Systems > General Discussion > Beta Driver Development
Register FAQ Members List Calendar Mark Forums Read

Beta Driver Development Discussion of new drivers, finding someone to write a new driver, etc...

Reply
 
Thread Tools Display Modes
  #1  
Old 07-18-2008, 03:02 PM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Lightbulb Universal Devices ISY Insteon Driver



ISY Insteon Driver - Version 2.0

Description:

This driver controls the Universal Devices ISY Insteon Lighting controllers. As this driver is based on the ISY Web Services 1.0 standard, at least version 2.6.6 of the firmware is required on the ISY device.

Release Info
Quote:
Version 1.0
  • Original Version - tested with firmware 2.6.6 and 2.6.13
Version 1.1
  • Added configurable timeout for commands
Version 1.2 - tested with firmware 2.7 (Release) and 2.7.15 (Release)
  • Fixed bug with OnLevel/RampRate not showing
  • Adjust GetNodes Timeout to support large networks
  • Reset Subscription on Reload (to get updated status)
Version 1.3
  • Reinit Event Subscription on Reload
  • WSDL 2.0 Support
  • Filtering of NodesUpdated Events - Less reloading
Version 1.4
  • User Action/Load Events Added
  • Get/Set ISY Variables
  • Allow Thermostat fields for all climate devices
  • CQC Standard Lighting Fields Support
Version 1.5
  • Ignore 404 Errors when Getting Variables (No Variables Configured)
  • AutoDebugmode On LogLev=High Upon Restart
  • Additional Logging (BuildCmd)
  • Fixed Device Category in Manifest
Version 1.6
  • Thermostat SP/Status Fixes
  • VariableStatus Event on Variable Changes
  • Reload On Unknown Variable Status Event
Version 1.7
  • Thermostat Fixes
Version 1.8
  • Fix In/Out Issue w/CQC 4.2.906+
Version 1.9
  • Automatic Reload on BuildCmd Errors
Version 2.0
  • Updated to POST subscription method (support for firmware 4.x+)


Available in CQC 4.2.922+

See the attached HTML file for additional information...

Attached Files
File Type: html Universal Devices ISY.html (31.4 KB, 30 views)

Last edited by wuench : 04-20-2013 at 05:09 AM. Reason: Version 2.0 Update
Reply With Quote
  #2  
Old 07-28-2008, 10:51 AM
SomeWhatLost SomeWhatLost is offline
 
Join Date: Dec 2006
Location: Illinois
Posts: 1,123
Default

couple of questions:
would this driver be a replacement for the PLM driver?
how does the isy work? does it have a better signal/whatever then the PLM?
would this solve my problem of not being able to read the status of a switch in CQC?
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
disagree with Dean at your own peril...
Reply With Quote
  #3  
Old 07-28-2008, 11:03 AM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default

Quote:
Originally Posted by SomeWhatLost
couple of questions:
would this driver be a replacement for the PLM driver?
how does the isy work? does it have a better signal/whatever then the PLM?
would this solve my problem of not being able to read the status of a switch in CQC?

The ISY uses a PLM. So I doubt you will see any better signal etc, unless maybe because you can move the ISY/PLM away from the PC. The ISY is basically a mini-controller with ENET and PLM ports. It becomes your centralized controller and it can be controlled via ENET by the ElkM1 and CQC so no need for multiple PLMs.
Reply With Quote
  #4  
Old 12-20-2008, 05:13 AM
sreev sreev is offline
 
Join Date: Dec 2008
Posts: 9
Default Two Problems - Please help

Problem 1 (probably will help resolve Problem 2): The HTML link in wuench's first posting is not working for me.
http://www.charmedquark.com/vb_forum...3&d=1224072605

Problem 2: I tried to add the ISY driver - it seems to be hanging at "Wait for Comm Resource". I can't see any fields for ISY to add to my screens.

I'm hoping that someone can help. I have 6 days left on my CQC trial. Being able to control Insteon with ISY will be a big factor in my decision to buy.
Reply With Quote
  #5  
Old 12-20-2008, 06:16 AM
SomeWhatLost SomeWhatLost is offline
 
Join Date: Dec 2006
Location: Illinois
Posts: 1,123
Default

the link works fine for me, and your link to the link works fine too...
*EDIT*: Doh!, I hate when people just say "it works fine for me"... it's of absolutely no help... and it's annoying... and I just did it to you, sorry about that...

as far as "Wait for Comm Resource" that usually means CQC could not get access to the enet port on the PC that it need to talk to the isy... do you have something running that is tying up that port?

are you sure your running the isy driver and not the PLM driver? (I know, it's a stupid question, but I am running out of insightful ones)

here are the relevant bits from the instruction HTML:
Driver Configuration

* Username - Enter a valid username for your ISY device.
* Password - Enter a valid password for your ISY device.
* MyURL - The driver has the capability to discover the address and configuration locations of the ISY device using Universal Plug and Play. To use UPnP leave this blank. If you do not wish to use UPnP to discover the ISY controller, you can alternatively enter the ISY's URL here. This can be found on the Admin console's Help/About menu.

Connection Details

The ISY uses UPnP broadcasts to announce it's location to the network (UDP port 1900). Commands are sent using Web Services to a Control URL using HTTP POST commands and an Event Subscription connection to a second URL is used to communicate events to clients asynchronously. The Event Subscription uses keepalives to keep the connection open, if no event traffic is seen on the subscription socket after 40 seconds the driver is reloaded.
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
disagree with Dean at your own peril...

Last edited by SomeWhatLost : 12-20-2008 at 06:24 AM.
Reply With Quote
  #6  
Old 12-20-2008, 07:00 AM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default

Yeah, the links work for me too. Not sure what's up there. Maybe your browser is blocking it somehow.

What version of firmware are you on? Version 1.0 of the ISY driver was tested on 2.6.6 firmware which was the latest at the time, it will not work with 2.6.5 and below. BTW, 2.6.6 does have a bug where access via CQC and the web interface will lock up every few weeks and require a poweron/off of the ISY to get it back up. I have run into this myself.

They are up to firmware 2.6.12 and version 1.0 of the driver hasn't been tested with these, they are recommending to wait for 2.6.13 as 2.6.12 also has a bug with web services which the driver uses. YMMV with later versions. I need to upgrade my ISY and test it, but it looks like there aren't any good candidate versions at this time. They all have a lot of bugs. They are working their way up to a 2.7 production release, hopefully beta 2.6.13 will be a good candidate for that.

If anyone has used a different version of firmware and has any feedback please let me know.

Last edited by wuench : 12-22-2008 at 05:15 PM.
Reply With Quote
  #7  
Old 12-20-2008, 07:17 AM
sreev sreev is offline
 
Join Date: Dec 2008
Posts: 9
Default

Thank you both very much for your prompt replies. I tried the link in IE and it works (still doesn't work from Google Chrome - strange)! Sorry about that.

I bought the ISY-99i IR/PRO just a week ago from SmartHome and it still has v.2.6.5. I am surprised at this because I just saw that your first post from July refers to 2.6.6. I will try to upgrade the firmware and see if it helps. I will report back.

Thanks again!
Reply With Quote
  #8  
Old 12-20-2008, 07:31 AM
sreev sreev is offline
 
Join Date: Dec 2008
Posts: 9
Default

That was it. I upgraded the ISY firmware to 2.6.11 (12 is in beta) and it immediately connected. Thank you so much.

Smarthome sold me old stock then. I hope firmware is the only difference.
Reply With Quote
  #9  
Old 12-20-2008, 09:26 AM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default

All 2.6.x releases are beta. The only production versions are 1.0 and the upcoming 2.7. If they ever release it.
Reply With Quote
  #10  
Old 01-18-2009, 09:00 AM
daddyd daddyd is offline
 
Join Date: Dec 2008
Location: Windsor, Ontario, Canada
Posts: 115
Default

I give up, I need some help, I have been pulling my hair out trying to get my isy99ir connected to CQC. The following is an excerpt from the log:


01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, CQCKit_DriverBase.cpp.2582, Status/App Status
Driver 'isy' is trying to get its comm resource
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
GetCommRes: Bound to TCP Port 2343
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
GetCommRes: Location URL(Manually Set):http://192.168.0.194/desc
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
SetupFields: Getting URLs.
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
GetURLs: ISY Address: 192.168.0.194:80
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
GetURLs: Base URL: http://192.168.0.194
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
GetURLs: Control URL: http://192.168.0.194/services
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
GetURLs: Event URL: /eventing
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
SetupFields: Authenticating
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
Send: Auth Response:200 - SOAP OK
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
SetupFields: Getting ISY Configuration
}
01/18 12:49:55-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
Send: GetConf Response:200 - SOAP OK
}
01/18 12:49:56-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
ParseResp: ISY Model:ISY 99i 1024 IR Firmware:2.6.13
}
01/18 12:49:56-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.114, Status/App Status
SetupFields: Getting ISY Nodes
}
01/18 12:49:57-DOWNLOADS, CQCServer, CQCDrv_isy_Thread3
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.108, Status/App Status
Send Exception: No reply to HTTP GET/POST request
}

It just keeps repeating this over and over. Any thoughts?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:38 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.