INSTEON Hub: Developer’s Guide
Page 49 © 2013 INSTEON
Set Host Device Category
Set Host Device Category (0x66)
What it does Lets you set the Device Category (DevCat) and Device Subcategory (SubCat) of the host device
connected to the IM.
What you send
5 bytes.
What you’ll get
6 bytes.
LED indication
None.
Related Commands
IM 0x60 Get IM Info
48
Command Sent from Host to IM
Byte Value Meaning
1 0x02 Start of IM Command
2
0x66
IM Command Number
3 <Device Category> INSTEON Device Category (DevCat) of the host device connected to the IM.
4 <Device Subcategory> INSTEON Device Subcategory (SubCat) of the host device connected to the IM.
5 <0xFF | Firmware Version> 0xFF
In legacy devices this byte represented a BCD-encoded firmware version. The high
nibble (4 bits) gave the major revision number and the low nibble gave the minor
revision.
In current devices use the INSTEON Product Data Request and Product Data
Response Commands to retrieve the firmware version as user-defined data.
Message Returned by IM to Host
Byte Value Meaning
1 0x02 Echoed Start of IM Command
2
0x66
Echoed IM Command Number
3 <Device Category> Echoed <Device Category>
4 <Device Subcategory> Echoed <Device Subcategory>
5 <0xFF | Firmware Version> Echoed <0xFF> or <Firmware Version>
6 <ACK/NAK> 0x06 (ACK) if the IM executed the Command correctly
0x15 (NAK) if an error occurred
Notes
For INSTEON compliance, you must obtain an approved DevCat and SubCat assignment for your host
product from SmartLabs.
The IM stores these values in EEPROM so they will not be erased if power is lost.
When the IM is in the IM Factory Reset State
11
, these values will be set to those hard-coded into the
IM’s firmware at the factory.
Using this Command to change the host’s DevCat and SubCat will only affect the data transmitted by
the IM to other INSTEON devices during ALL-Linking.
When the host sends a Get IM Info
48
Command to the IM, the IM will return the original DevCat, SubCat
and firmware version hard-coded into the IM’s firmware at the factory.
For the latest list of assigned INSTEON DevCats, please download the INSTEON Device Categories
and Product Keys Document
2
from http://code.insteon.com.