Boo!
* ddamron sneaks a peek!
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: chrisbirkinshaw on June 28, 2009, 08:30:40 PMChris:
Still get the same error. As a test I tried this:4:#### 192 ####################################################################
5:def cmd_192(pk_pipe, pk_device_pipes, cmd=nil)
6:@returnParamArray.clear
7:log('Turning off device: ' + device_.devdata_[278].to_s)
8:#switch('192')
9:
10:from = "128"
11:to = "128"
12:priority = "1"
13:type = "1"
14:command = "192"
15:
16:mycmd = Command.new(from, to, priority, type, command)
17:mycmd.devdata_[120] = "1"
18:
19:SendCommand(mycmd)
20:return @returnParamArray
21:end
)
i.e. the exact code copy/pasted from above
and I get the same error:01 06/28/09 19:25:23.801 Error while calling method: Cannot call class method: cmd_192
error: No matching function for overloaded 'new_RubyCommandWrapper', line: 16
backtrace:
in: (eval): 16
from (eval):16:in `initialize'
from (eval):16:in `new'
from (eval):16:in `cmd_192'
<0xb584bb90>
I created the template by adding a new GSD device template then ticking the Ruby Internal Commands and the Standard Receiver Commands.
Thanks,
Chris
Quote from: eran on October 11, 2008, 08:41:49 AM
Oliver
just as I wrote to you: this is most of Dan's PLCBUS template. (I left some ruby code out but the big 373 routine is there)
by the way when I am trying to take existing one I am getting:<?php
error_reporting(E_ALL);
$link = mysql_connect("localhost","root");
mysql_select_db("pluto_main",$link);
$deviceTemplateID = $newPK;
print "New DeviceTemplate: " . $newPK;
?>
this is for template 1779
Eran.
Quote from: pigdog on April 08, 2009, 09:33:53 PM
Hi,
Another item.
The system I have hooked up to a CRT via S-Video has the following...
EP-8KDA3+ NVIDIA nForce3-250 Socket 754 with audio, SATA, 1GbE LAN
NVIDIA Boot Agent 201.0440
Nvidia 6200 PCI video card.
At this time the system has spawned twice.
Once with MAC address 00:04:61:FF:DF:FF:FF
Second with MAC address 00:04:61:FF:FF:FF:FF
There is a single on board NIC.
This is obviously related to forcedeth drivers.
Just to get this system to even PXE boot without failing has been interesting.
At the moment I'm just trying to work out a routine that provides consistent MAC assignment.
Prior to using this system Windows 2000 told me the address was FF's.
The BIOS reports the address as DF.
Sometimes it boots one way, sometimes the other.
At one time it wouldn't boot if the AC97 audio out to the TV was connected.
Strange.
Oh well.
Quote from: PeteK on March 16, 2009, 09:34:41 PMQuote from: ddamron on March 16, 2009, 08:22:28 PM
Check the log, it may be that the socket connection is still open.. or cannot connect, because the other end (not gsd) isn't designed for multiple connections.. (ie, 1 socket connection at a time, and it must be closed prior to reopening)
Try adding a conn_.close() in the apropriate GSD routine.
I've used IP via GSD for a lot of things, including my first stab at Insteon...
Good Luck, HTH
Dan
OK, Dan. I'll give it a shot. I've started revisiting my Insteon code in hopes of getting it cleaned up and improve the functionality. Did you see that there's a USB PLM now?