Author |
|
JaredM Newbie
Joined: November 04 2007
Online Status: Offline Posts: 36
|
Posted: January 08 2011 at 00:55 | IP Logged
|
|
|
I'm looking for a programmatic way to figure out if a given Insteon device is "StatusOnly." What I mean by that is whether or not it accepts on\off\dim commands. Examples of StatusOnly devices are motion sensors and door\window sensors.
PowerHome seems to know b/c it doesn't show on\off\dim buttons for these on the device status screen.
The question is, how can I programmatically determine this. Any tips? Do I need to look at DevCat and SubCat in the Insteon Types table?
Thanks,
Jared
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: January 08 2011 at 01:46 | IP Logged
|
|
|
Each type of Insteon device can be identified by the cat/subcat combination. Controller only devices (what you are referring to as StatusOnly devices) can issue commands to control other devices but they have no Responder capability. That is, they cannot be turned On/Off. Examples of Controller only devices are ControLinc, RemoteLinc, Motion Sensor, TriggerLinc, IRLinc Tx, several of the Simplehomenet family of devices, and likely many more that do not immediately come to mind. Most devices can be queried for their cat/subcat value. Devices such as the RemoteLinc, Motion Sensor, and TriggerLinc sleep most of the time and cannot be queried unless placed in linking mode to keep them awake for 4 minutes.
__________________ Lee G
|
Back to Top |
|
|
JaredM Newbie
Joined: November 04 2007
Online Status: Offline Posts: 36
|
Posted: January 09 2011 at 20:37 | IP Logged
|
|
|
Thanks for the info, Lee. I want to ask PH if it thinks the dev is Controller only or no, so sounds like DevCat is what I'm looking for.
|
Back to Top |
|
|