Show Posts

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.


Topics - trippleg

Pages: [1]
1
Users / Web Orbiter Ulta Blank Buttons
« on: April 25, 2012, 09:05:09 pm »
I have created a web orbiter for my Smart phone using the Ulta skin.  The orbiter seems to generate fine with the exception of not displaying any text on the displayed buttons.  It works correctly when I switch it to the Titanium Blue skin.  Anyone have any ideas on where to start troubleshooting this problem?

Thanks,

-Gregg

2
Users / Tutorial added to wiki for Insteon Venstar Thermostat
« on: February 09, 2012, 12:33:16 am »
I just added a small how to for the Insteon Venstar Thermostat to the wiki.  Go easy on my it is my first stab at it  :)

-Gregg

3
Users / Copying a thermostat template a bit of help
« on: December 01, 2011, 05:22:25 pm »
I copied the Thermostat template 4  to a new one to add Insteon support, and for some reason it shows in the template "No test commands supported for this climate device"
Can someone point me in the right direction to fix this?  The original Thermostat template shows test commands.

Thanks.

-Gregg

4
Users / Temperature display in orbiter?
« on: November 19, 2011, 03:47:21 pm »
I am installing an Insteon thermostat, and was wondering if there is a way to display the current temperature in the web orbiter from the device state field?

Thanks.

-Gregg

5
Users / GSD Error anyone know how to fix it?
« on: November 17, 2011, 05:06:05 pm »
I am trying to send a heating command and get the following error.

Code: [Select]
GSD-Sleep Post 280 : 0 <0xb7113b90>
05 11/17/11 7:55:31.169 _QueueProc Post - 280 : 0 <0xb7113b90>
05 11/17/11 7:56:27.069 GSDMessageTranslator isCmdImplemented = false <0xb5910b90>
05 11/17/11 7:56:27.072 #### Pre-Process Queue = 1 <0xb5910b90>
05 11/17/11 7:56:27.105 _QueueProc Pre - 280 : 0 <0xb7113b90>
05 11/17/11 7:56:27.106 GSD-Sleep Pre 280 : 0 <0xb7113b90>
05 11/17/11 7:56:27.106 Process Queue = 1 <0xb7113b90><0xb5910b90>

Thanks.

-Gregg

6
Users / A bit of help with some code...
« on: November 17, 2011, 12:57:52 am »
I am trying to log an event and assign a template id once a string is found.  I am modifying existing code, but I can not figure it out.  Right now it assigns all devices to template 4, but I only want to assign 0x6B to template 4.  Below is the code.

Code: [Select]
when 0x05 # Climate Control
case $childdatabases[insteonID][0][2..3].hex
when 0x00; @work += 'Broan SMSC080 Exhaust Fan'
when 0x01; @work += 'Simplehomenet EZTherm'
when 0x02; @work += 'Broan SMSC110 Exhaust Fan'
when 0x03; @work += 'Venstar RF Thermostat Module'
when 0x04; @work += 'Simplehomenet EZStat Thermostat'
when 0x6B; @work += 'Venstar RF Thermostat Module'
end
@work += "\t\t4" # Set Template 4

any ideas??

Thanks.

-Gregg

7
Users / Best Practice for templates? Create one or mod existing?
« on: November 16, 2011, 09:06:23 pm »
I am working on the Insteon PLM for 2412n adding thermostat compatibility the code change should work for the Insteon powerlinc modem as well.  I have most of it working now, but the generic thermostat template is missing some items.  Should I add the items to the generic template and submit it for change, or create a new one.  It is missing 3 elements.

-Gregg

8
Users / Help retrieving template id for ruby script
« on: November 15, 2011, 08:55:22 pm »
I am modifying the following code and I can not figure out how to get the template id for the child I am sending the command to. I added childtype, but I fear it is incorrect. I need the template id because the command to send it a little different from the default command.

Code: [Select]
#### Written by Dan Damron
#### #760 Send Command to Child ####


@insteonID = id.chomp.split('.')
@parameters = parameters
@command = pk_command
@cmd = cmd
childtype =device_.childdevices_[cmdTo].devtemplid_ # find out device type

log('#760:id=' + id.inspect)
log('#760:parameters=' + parameters.inspect)
log('#760:pk_command=' + pk_command.inspect)
log('#760:cmd=' + cmd.inspect)
### ok, I get the insteonID in @insteonID
# pk_command has one of THREE values, 192, 193, or NOTHING
# when I click 50%, I get in parameters: 76
# but NOTHING in pk_command.

case pk_command

when '193' #OFF
when childtype == 4 #used when Device is Thermostat
param = {'Command' => 'SndIns',
'Parameter1' => @insteonID[0],
'Parameter2' => @insteonID[1],
'Parameter3' => @insteonID[2],
'Parameter4' => '0F',
'Parameter5' => '6B',
'Parameter6' => '09'} #OFF
when childtype != 4 #used when Device not Thermostat
param = {'Command' => 'SndIns',
'Parameter1' => @insteonID[0],
'Parameter2' => @insteonID[1],
'Parameter3' => @insteonID[2],
'Parameter4' => '0F',
'Parameter5' => '13', #OFF
'Parameter6' => '00'}
$cmdqueue << param
SndIns()

Thanks.

-Gregg

9
Users / Insteon 2412N Addition?
« on: November 08, 2011, 05:06:07 pm »
I am new to Linuxmce, and the home automation scene, but I have an Smartlinc 2412N.  I have learned that is has a raw port open 9761 that allows for PLM much like the USB or serial versions.  I am wondering if anyone can point me in the right direction on getting this to work.  I noticed that LinuxMCE uses Python, I am not much of a developer, but I am sure I can learn.  I found some code that allows for communication at  github(dot)com/zonyl/pyinsteon.  I have also written some perl code that works with the raw plm as well posted below.  Any advise or help is greatly appreciated.


#smartlinc.pl

use IO::Socket;

$socket = new IO::Socket::INET (
                                PeerAddr  => '192.168.0.112', #SetAddress of Smartlinc
                                PeerPort  =>  9761,       #Defaultport number of smartlinc
                                Proto => 'tcp',
                             )
or die "Couldn't connect to Server\n";

while (1)
{

#used to test input to smartlinc User friendly loop
      print "Type Command for Smartlinc( Type x to Exit):";

      $input_data = <STDIN>;
      chop($input_data);
      $send_data_hex = pack("H*", $input_data), "\n";


      if ($input_data ne 'x' and $input_data ne 'X')
      {
              $socket->send($send_data_hex);
      }
      else
      {
          close $socket;
          last;
      }
#receives and Prints smart linc return response in ASCII
  $socket->recv($recv_data,1024);
  print "Smartlinc Replied:", unpack("H*", $recv_data), "\n" ;


Thanks.

-Gregg

Pages: [1]