Author |
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 01 2008 at 10:10 | IP Logged
|
|
|
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 |
|
|
nadler Super User
Joined: February 25 2006 Location: United States
Online Status: Offline Posts: 354
|
Posted: May 01 2008 at 10:19 | IP Logged
|
|
|
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 |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 01 2008 at 10:36 | IP Logged
|
|
|
You are a Genius oh great one..
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 01 2008 at 10:55 | IP Logged
|
|
|
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 |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 01 2008 at 11:21 | IP Logged
|
|
|
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 |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 02 2008 at 08:04 | IP Logged
|
|
|
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 |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 02 2008 at 08:38 | IP Logged
|
|
|
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 |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 02 2008 at 08:49 | IP Logged
|
|
|
Everything is working fine thanks to my “mentor” Nadler. Dumb overlook on my part..
__________________ Pete - X10 Oldie
|
Back to Top |
|
|