View unanswered posts | View active topics It is currently Wed May 22, 2013 7:02 pm



Reply to topic  [ 6 posts ] 
 SendInsteonRaw? 
Author Message

Joined: Jul 14, 2006
Posts: 88
Post SendInsteonRaw?
So, I remember reading *somewhere* on here that there's an AppleScript function to send a raw insteon command to the powerline.

Did I mis-read that? Has anyone used it?

I'm wondering if I can set up Insteon groups with another app (to the PLC), then trigger them from Indigo....


Fri Apr 20, 2007 10:13 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11692
Location: Texas
Post Re: SendInsteonRaw?
I've used it before. :-)

Unfortunately, it is only for sending a direct INSTEON command from the PowerLinc to another module. It cannot send out the group broadcast commands.

It is useful for hacking around with some hardware like the EZIOxx and EZRain though.

Regards,
Matt


Sun Apr 22, 2007 10:30 am
Profile WWW

Joined: Sep 06, 2005
Posts: 60
Post 
Hmm...PeekInsteon and PokeInsteon, and then we can build a link management app in AppleScript Studio...wink.


Mon May 21, 2007 1:42 pm
Profile

Joined: Dec 16, 2004
Posts: 51
Location: Florida
Post 
I wanted to use the "send insteon raw" command, but I was not exactly sure how to use it.

I tried a ping (I think) with:
send insteon raw cmd1 10 cmd2 0 to address "05.95.97"

and in the log, I see:
Sent INSTEON "sp1" raw insteon command (0A 00; ack: 00)

What does that mean? Is that the expected result?

What I would like to try is to see what the sprinkler timers are (I set them up with a windows box), but I would like to see if I can verify them from Indigo. The command reference says cmd1=0x41 and cmd2=0x01 (for timer 1).

When I try that, I get:
Sent INSTEON "sp1" raw insteon command (29 01; ack: 01)

Which does not mean a whole lot to me. Am I supposed to get more information back? Or is that it? Or do I need to send it some other command?

Thanks for the help,
John


Wed May 23, 2007 11:24 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11692
Location: Texas
Post 
JohnConrader wrote:send insteon raw cmd1 10 cmd2 0 to address "05.95.97"

Close, but note that the AppleScript verb takes a decimal integer and you want to send hex 0x10. If you want to ping the device then send cmd1 16 cmd2 0.

JohnConrader wrote:What I would like to try is to see what the sprinkler timers are (I set them up with a windows box), but I would like to see if I can verify them from Indigo. The command reference says cmd1=0x41 and cmd2=0x01 (for timer 1).

Unfortunately, that command won't work. It is an extended length command and although the EZRain supports it, your PowerLinc and SignaLincs do not support extended commands.

But, Indigo automatically extracts all of the output timer durations for you automatically when you sync (via a different technique of peeking the memory inside the EZRain). So just re-sync the device and check the UI in Indigo and it will show the output timer durations pulled out of the EZRain.

One last note -- the EZRain only stores the output timer durations. The actual timers (like 5:00 MWF) are stored in the PowerLinc itself by the PC EZRain setup application. Indigo cannot retrieve those timer values.

Regards,
Matt


Thu May 24, 2007 8:00 am
Profile WWW

Joined: Dec 16, 2004
Posts: 51
Location: Florida
Post 
Thanks for the help.

I did figure out the hex vs decimal thing after playing around a little.

I didn't know the timer times (5:00 MWF) were kept in the PowerLinc. That makes it not very useful for my situation. I guess I need to move my computer over to do all the controlling. I was trying to avoid moving my computer to my new location until a couple weeks from now, but the lawn will need sprinkling in the meantime.

Thanks again,
John


Thu May 24, 2007 11:16 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.