Author Topic: New Template ISY994i uploaded  (Read 20077 times)

mkbrown69

  • Guru
  • ****
  • Posts: 213
    • View Profile
Re: New Template ISY994i uploaded
« Reply #15 on: December 14, 2013, 01:17:39 am »
edited: Basically, GSD _SUCKS_ when you need to maintain more than one socket. Full stop.
-Thom

Thom,

I can understand your position.  Practically speaking, with the mysql dependency satisfied, the driver works pretty well.  The ruby/GSD driver does make for a good prototype platform, to finish the feature set. It's taken me the better part of a year to get it to this point, and that is with some ruby knowledge. I had to teach myself some more advanced ruby, XML parsing, plus the ISY SDK.  If I had to learn C++ simultaneously, it'd be another year before I got anything out...  ;)

I figure if I can get enough done and kitted out, someone more knowledgable than myself could port it to C++.

As a GSD, it's not perfect, but it does work well...

HTH!

/Mike

Michaelree

  • Regular Poster
  • **
  • Posts: 17
    • View Profile
Re: New Template ISY994i uploaded
« Reply #16 on: December 14, 2013, 05:02:20 am »
Mike,
I added those two packages and it is working now.

Thanks so much for all your hard work!!!!

Chris

Michaelree

  • Regular Poster
  • **
  • Posts: 17
    • View Profile
Re: New Template ISY994i uploaded
« Reply #17 on: December 14, 2013, 06:52:49 am »
Mike,

I have not had time to test everything, but I am getting this error in the XX_Generic_Serial_Device.log

error: undefined method `percenttohexint' for #, line: 1460
backtrace:
   in: (eval): 1460
   from (eval):1460:in `cmd_ReceiveCommandForChild'
   from (eval):1460
 <0xb4f70b70>
05   12/13/13 23:46:40.418      GSD-Sleep Post 184 : 0 <0xb7774b70>
05   12/13/13 23:46:40.418      _QueueProc Post - 184 : 0 <0xb7774b70>
05   12/13/13 23:46:40.418      _QueueProc Pre - 184 : 0 <0xb7774b70>
05   12/13/13 23:46:40.418      GSD-Sleep Pre 184 : 0 <0xb7774b70>
05   12/13/13 23:46:40.418      Process Queue = 1 <0xb7774b70>
01   12/13/13 23:46:40.576      Error while calling method: Cannot call class method: cmd_ReceiveCommandForChild
error: undefined method `percenttohexint' for #, line: 1460
backtrace:
   in: (eval): 1460
   from (eval):1460:in `cmd_ReceiveCommandForChild'
   from (eval):1460
 <0xb4f70b70>
05   12/13/13 23:46:58.419      GSD-Sleep Post 184 : 0 <0xb7774b70>
05   12/13/13 23:46:58.419      _QueueProc Post - 184 : 0 <0xb7774b70>
05   12/13/13 23:46:58.419      _QueueProc Pre - 184 : 0 <0xb7774b70>
05   12/13/13 23:46:58.419      GSD-Sleep Pre 184 : 0 <0xb7774b70>
05   12/13/13 23:46:58.419      Process Queue = 1 <0xb7774b70>
01   12/13/13 23:46:58.579      Error while calling method: Cannot call class method: cmd_ReceiveCommandForChild
error: undefined method `percenttohexint' for #, line: 1460
backtrace:
   in: (eval): 1460
   from (eval):1460:in `cmd_ReceiveCommandForChild'
   from (eval):1460
 <0xb4f70b70>



Chris

mkbrown69

  • Guru
  • ****
  • Posts: 213
    • View Profile
Re: New Template ISY994i uploaded
« Reply #18 on: December 14, 2013, 04:13:22 pm »
Chris,

That was a lingering bug I had fixed in the last update I'd committed.   I'd refactored the code at one point, and forgot to rename that function call which is sitting in the event handler in a different code file.

This is where you need to go through the web admin, Advanced -> SQLCVS -> Update and then wait a while.  When it says success, you can then reload the router and check the logs.  Triggering some lights should generate the status update events, and you'll find your errors will disappear.

If they don't clear up, let me know...

HTH!

/Mike

mkbrown69

  • Guru
  • ****
  • Posts: 213
    • View Profile
Re: New Template ISY994i uploaded
« Reply #19 on: March 04, 2014, 03:25:23 am »
Chris,

How's this been working out for you?  I got a PM from someone having trouble, so just want to confirm no other problems out there...  I'm going on the assumption no news is good news...

Is all your Insteon hardware supported by my driver?  I only have lighting devices, so I haven't added support for motions or sensors, but I could if I have someone willing to be the test lab...

Cheers!

/Mike

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: New Template ISY994i uploaded
« Reply #20 on: March 05, 2014, 12:46:29 am »
Another question, did the mysql-ruby dependencies ever get added to the device template?  Then the required packages would install automatically when the device template is added.

J.

mkbrown69

  • Guru
  • ****
  • Posts: 213
    • View Profile
Re: New Template ISY994i uploaded
« Reply #21 on: March 05, 2014, 04:31:09 am »
Hi Phenigma!

Another question, did the mysql-ruby dependencies ever get added to the device template? 

Not yet; I plan on adding it in the next round of updates.  I'm working on integrating the ISY's WeatherBug module with Thom's Weather plugin, and updating some hardware support.

Thanks for following up on this!

/Mike