Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Group CMD Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 01 2008 at 10:10 | IP Logged Quote BeachBum

Group commands are not working. If I send ph_insteonrawgroup ( "dining_room", 102, 1019, 0 ) I get a -2 return which says Insteon not supported. This occurs for any Insteon Group command including if I specify Cleanup. I’ve checked the Links and they have all been verified. I don’t know if this is a PLM or ALPHA problem. I’m inclining to think ALPHA unless I missed a definition somewhere.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: May 01 2008 at 10:19 | IP Logged Quote nadler

My groups commands are working with the PLM. There might be another step necessary. Did you go to Insteon Explorer>PLM/PLC Groups and change the controller to PLM for each group? If you haven't done that yet, that might do the trick.
Back to Top View nadler's Profile Search for other posts by nadler
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 01 2008 at 10:36 | IP Logged Quote BeachBum

You are a Genius oh great one..

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 01 2008 at 10:55 | IP Logged Quote dhoward

Pete,

Your syntax for the ph_insteonrawgroup command is not correct.

The first parm is the ID of the Insteon controller (defined in Setup|Controllers) and not the ID of the device to control. The second parm is the number of the group...1 to 254. The third parameter is the actual group command such as on or off. 1019 is not a valid command. The 4th parameter is the cmd2 value and is typically 0 unless youre using start manual change.

The ph_insteongroup function is probably what you want and allows you to use the actual "ID" representations of the group you defined in the PLC/PLM Groups tab.

HTH,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 01 2008 at 11:21 | IP Logged Quote BeachBum

Thanks Dave… I did try the others and I think I had those correct. I noticed the problem when I was issuing Insteon Group from the Command pull down in Macros. I then tried to isolate it with formulas which are not my forte.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 02 2008 at 08:04 | IP Logged Quote BeachBum

Dave, I went back to PH Help and reread the cmd1 field. “Usage….. Add 1000 to the standard Insteon commands to always force a group cleanup regardless of the controller setting.” That was how I came up with 1019. The ph_insteongroup also says the same thing. Can I assume that was/is no longer true?

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 02 2008 at 08:38 | IP Logged Quote dhoward

Dohh!!! Guess I need to read the manual myself sometimes . Nope, you are correct. Add the 1000 to the CMD1 to force PH to send the appropriate group cleanup command.

Are you still getting the -2 return?

Let me know and Im sure we'll get it worked out.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 02 2008 at 08:49 | IP Logged Quote BeachBum

Everything is working fine thanks to my “mentor” Nadler. Dumb overlook on my part..

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum