INSTEON Hidden Door Sensor

Similar documents
Micro Module Shutter. Micro Module Shutter

Venstar Thermostat Adapter

SwitchLinc 2-Wire Dimmer (RF Only) (2474DWH - Dev 0x01 / Sub 0x24)

Developer Notes for KeypadLinc Line

Developer Notes INSTEON Thermostat v012. Developer Notes. INSTEON Thermostat. Revision History

1 Firmware Description

COMMUNICATION M-BUS PROTOCOL PR 118

Technical Specification. Third Party Control Protocol. AV Revolution

C1098 JPEG Module User Manual

FN-BC04 MP3 Sound Module with 10W Amplifier. User s Manual

JMY504M User's Manual

COMMUNICATION M-BUS PROTOCOL CE4DMID0M (MBus meter)

The RS-485 user manual for B800 series communication

SRF02 Ultrasonic range finder Technical Specification

Supports ISO14443A Mifare Classic 1K, Mifare Classic 4K, Mifare Ultralight. Fast data transfer - Contactless communication up to 106 KHz

JMY505G User's Manual

Digi-Star ISOBUS / CAN Application Notes

SRF08 Ultra sonic range finder Technical Specification

VZ8(6)9 rev B I2C communication quick manual. SGX Sensortech

QBridge. I2C, SPI, CAN Control Software User s Manual. Date: Rev 1.3

HDV100A3 Command Response Protocol

Serial Communication Control Interface User s Manual

JMY607H User's Manual

20 Channel MP3 Sound Board. User s Manual. Model: FN-BC20

Modbus Protocol For FTS/FTM 3x&8x

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

Modbus/TCP is supported on some controllers. See QCI-AN028 Modbus TCP.

imetos LoRa Data payload structure

JMY501H User's Manual

Specification. For. Serial Interface DN-T645/625

Logosol Joystick Node LS-731

Baracoda - September 2007

M-BUS PROTOCOL for ML 311

Q.link protocol ver Q.link protocol. QuickWood Automation /16

A0021. Overview. Features. Ordering Information. HSS Touch Signature IC 6 Input - I 2 C. Part Number Format: A X Y Z

Specification E2 Interface

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82)

1. Implemented CM11 protocol

LORD Data Communications Protocol Manual 3DM -GX5-10. Inertial Measurement Unit

PRE32 RS232 protocol v1.21 Tomas Andersson

C628 Enhanced JPEG Module. User Manual

RS 232 PINOUTS. 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out.

LORD MANUAL. Wireless Sensor Networks LXRS Data Communications Protocol

POWERKEY PRO & POWERKEY

MIDI Sysex Messages for the Eventide Factor series pedals

Card Dispensing/Collecting Machine

4. Specifications and Additional Information

Fingerprint_Protocol_All_English

BMS CAN Manual. V2.0, September 3, 2018 Visit to download the latest revision of this manual Copyright 2018 Roboteq, Inc

Device: MOD This document Version: 1.0. Matches module version: v1. Date: 24 February Description: MP3 Audio Module

CaMate Series User s Manual

INGICS. ibs01 Payload Format. Jul, 2016 rev. 3

OSPREY Instruction Manual

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

UPB US1-40 Single Rocker Wall Switch with Dimmer Firmware Specification

Aeon Labs Water Sensor 6

UNH-IOL MIPI Alliance Test Program

VS-LC101/ VS-LC102 RS-232 command set

EGON FAMILY PROGRAMMING NOTES

Technical Documentation 0630

INT-RS module - short technical description

Modbus Register Map: InRow ACRD60x / ACRC60x

Control Codes. Viewing control state (Get control command) Controlling (Set control command) Command. No. Command type Command Value range

Version Action Author Date

AVT J1939 / J1708 Controller. Interface Control Document and Related Technical Information

GoGo Board Tethered Mode Protocol Arnan (Roger) Sipitakiat Updated: July 8, 2011

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

General Monitors S5000 Modbus Specification. Order No.: MANS5000M/00. MSAsafety.com

Gateway Ascii Command Protocol

EZ Protocol. Communication Protocol for EZPLC. For use of EZAutomation and AVG Customers with EZPLC Products. Copyright 2005 AVG

Aeroflex Colorado Springs Application Note

Meiligao GPRS Communication Protocol Between GPS Tracker and Server

3DM-GX3-35 Data Communications Protocol

Specification. for. Serial Interface DN-C635

Wireless Sensor Networks. Data Communications Protocol

Tag4M Getting Started

B Interface description 12.01/

TRANSMITTER T3311, T3411

LynX-10 Legacy Protocol Specification Version 1.01

JPEG2000 HDTV RECORDER

Communication protocols description of. Hx4xx and Hx3xx regulators with RS485 and RS232 communication interface

OWL 640 Analogue COTS Instruction Manual

YHY502CTG++ DATASHEET MHz RFID Mifare Read/Write Module. YHY502CTG++ Datasheet Revision 2.0 Oct, 2009 Page 1 of 21

Operating Instructions

INNOVATIVE TECHNOLOGY LTD CC2. Communications Protocol Manual GA863. Issue version Page 1 of 108

SANDMAN Power Management User Manual

CMOS TYPE CAMERA JC406M-W01

Register Map: Ecoflair Indirect Air Economizer

CHT NB-IoT UDP Message Protocol

UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification

GoGo Board Serial Protocol Revision 4.0.2

I 2 C Application Note in Protocol B

KT403A Datasheet(Part)

Description of communication protocols of Txxxx series

Interface design document MODBUS Protocol. Ab s t r a c t Description of the MODBUS implementation for the Modbus I/O board

CC888 EZcarsharing Control System & T-Box Communication Protocol-V3.5

DS402 Implementation on Roboteq Motor Controllers

Planar Simplicity Series

Transcription:

Developer Notes INSTEON Door Sensor Developer Notes INSTEON Hidden Door Sensor Version 005 October 18, 2013 Revision History Rev Date Comments 001 4/15/13 Initial Release 002 8/2/13 Updated s 003 9/6/13 Updated s 004 10/17/13 Updated s (Notes added to Remote Linking, Heartbeat, and Low Battery) 005 10/18/13 Updated s (Get for Group/Button, Set Low Battery Level) Page 1 of 14

Table of Contents 1 Firmware Description... 3 1.1 INSTEON s Supported... 3 1.1.1 Standard length common INSTEON commands:... 3 1.1.2 Standard length Door Sensor INSTEON commands:... 5 1.1.3 length Door Sensor INSTEON commands: Page 2 of 14

1 Firmware Description The Door Sensor is a battery operated device and to preserve battery life goes to sleep quickly. Door Sensor must be awake when receiving commands to operate as expected. 1.1 INSTEON s Supported 1.1.1 Standard length common INSTEON commands: All direct commands will be ignored if the sender s is not in the I2CS device s database with the exceptions below. The Door Sensor will reply with a NAK and 0xFF in cmd2 to indicate that the is not in the database. Assign to ALL-Link Group Description: Sent when holding down the SET Button for 3 seconds on the device. Blinks the LED green for 4 minutes or until linked to another device. Example (Hex): AA BB CC XX YY ZZ CF 01 DD (where AA.BB.CC is the Door Sensor s ) SD Assign to ALL-Link Group To Device 0xXX (DevCat), 0xYY (SubCat), 0xZZ (firmware Broadcast 0x02 (Controller only) 0xDD (hardware Notes Sent when holding down SET Button for 3 seconds. Group number for Door Sensor is 0x01 Delete from ALL-Link Group Description: Blinks the LED red for 4 minutes or until unlinked from another device. Example (Hex): AA BB CC XX XX XX CF 02 01 (where AA.BB.CC is the Door Sensor s ) Delete from ALL-Link Group Device 0xXX (DevCat), 0xYY (SubCat), 0xZZ (firmware Broadcast 0x02 0xDD (hardware Group number for Door Sensor is 0x01 INSTEON Engine Version Description: Returns the INSTEON Engine version in the acknowledgement. INSTEON Engine Version To device 0x0D 0x00 Ack 0x0D 0x02 Indicate i2cs engine version Ping Description: Returns the exact same message with an acknowledgement. Ping To device 0x0F 0x00 -> 0xFF (Don t Care Value) Ack 0x0F Same as sent Page 3 of 14

Request Description: Same as holding down the SET Button for 3 seconds on the device, but without going into linking mode Example (Hex): AA BB CC DD EE FF 0F 0A 01 (where DD.EE.FF is the, AA.BB.CC is the Devices s Id) SD Request To device Sent from Device To 0x10 0x00 -> 0xFF (Don t Care Value) Ack 0x10 Same as sent 0xXX (DevCat), 0xYY (SubCat), 0xZZ (firmware Broadcast 0x02 (Controller Only) 0xDD (hardware Notes Same as holding down SET Button for 3 seconds, but device not in linking mode Success Report Broadcast Description: Sent at the end of a group broadcast Example (Hex): AA BB CC 11 03 01 CF 06 01 (where AA.BB.CC is the, cleanup of cmd1 = 0x11, group = 0x01, 1 out of 3 devices failed to cleanup correctly) SD Broadcast cleanup To device To Hi byte = cmd1 being Cleaned up Group Broadcast 0x06 0x00 -> 0xFF Notes Med byte = Number of devices to be cleaned up (Number of Failed Cleanups) Lo byte = Group Number SD To Notes Status Request To device 0x19 Status Request See Read Operating Flags Table Ack 0x19 Same as sent Read Operating Flags Table ACK of this command has the status of end button (Open=FF/Closed=00) in 0 and Database Delta in ACK of this command has battery level in. Measurements showed: 61=1.75V, 1 54=1.6V, 51=1.5V, 40=1.25V (Low Battery) Page 4 of 14

1.1.2 Standard length Door Sensor INSTEON commands: SD Door Sensor Entering Open State To Device 0x00 0x00 0x01 Broadcast 0x11 0x01 Notes Door Sensor Entering Closed State Device 0x00 0x00 0x01 Broadcast 0x13 0x01 Heartbeat Device 0x00 0x00 0x04 Broadcast 0x11 = open; 0x13 = closed Heartbeat is sent about once every 24 hours by default or sent at whatever interval set to. There must be a link in Group 4 for Hidden Door Sensor to send this message. 0x04 Low Battery Device 0x00 0x00 0x03 Broadcast 0x11 = open; 0x13 = closed Low Battery is sent once every time device wakes up if battery is low. There must be a link in Group 3 for Hidden Door Sensor to send this message. 0x03 SD To Notes Read Operating Flags To device 0x1F Operating Flags Ack 0x1F Same as sent See Read Operating Flags Table Read Operating Flags Table bit 0 = Do Cleanup Report bit 1 = 2 Groups bit 2 = Repeat Open bit 3 = Repeat Closed bit 4 = Link to FF Group bit 5 = LED Disable bit 6 = N/A 0 bit 7 = Programming Lock 1 Data Base Delta flag.gets incremented with any change in the Database Page 5 of 14

1.1.3 length Door Sensor INSTEON commands: Remote Enter Linking Mode Description: Same as holding down the SET Button for 3 seconds on the device. Blinks the LED green for 4 minutes or until linked to another device. Hidden Door Sensor is a Controller only, therefore it must be put into linking mode first. Enter Linking Mode To device Sent from Device To 0xXX (DevCat), 0xYY (SubCat), 0xZZ (firmware 0x09 Group Number Ack 0x09 Same as sent Broadcast 0x02 (Controller Only 0xDD (hardware Data 1 0x00 Same as holding down SET Button for 3 seconds See Enter Linking mode Info Same as holding down SET Button for 3 seconds Enter Linking mode Info Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 14 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Checksum (0xF6, for group 1 in cmd2) Remote Exit Linking Mode Description: Same as tapping Set Button twice to exit Linking Mode Example (Hex): DD EE FF AA BB CC 0F 08 01 (where DD.EE.FF is the, AA.BB.CC is the Id) Exit Linking Mode To device To (1 byte) 0x08 0x00 -> 0xFF (Don t Care Value) Ack 0x08 Same as sent Data 1 0x00 See Exit Linking mode Info Enter Unlinking mode Info Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 14 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Checksum (0xF5, for group 1 in cmd2) Page 6 of 14

To Notes Set To device 0x20 Operating Flags See Set Operating Operating Flags Flags Table below Data 14 to contain Checksum Ack 0x20 Same as sent Page 7 of 14

Set Operating Flags Table Programming lock On... No 00 P&H Linking 01 Programming lock off 02 LED OFF 03 LED ON Two Groups. Group1 ON 04 Group2 ON 05 One Group Link to ALL (FF in database group). One Link with FF and it s automatically in all groups OPEN/CLOSED/BATTERY 06 LOW/HEARTBEAT 07 Link to one Repeat Closed. Send a closed message every 5 minutes for 08 50 minutes 09 Don t Repeat Closed Page 8 of 14

Repeat Open Send a closed message every 5 minutes for 50 0A minutes 0B Don t Repeat Open 16 Cleanup Report OFF 17 Cleanup Report ON Stay awake On (Uses FF for the awake 18 interval) 19 Stay awake Off Get for Group/Button To device Sent from Device To 0x01 0xXX 0xXX (firmware (1 byte) Data 1 0x2E 0x00 0x00-> 0xFF Group/Button# Ack 0x2E Same as sent Broadcast 0x01 (Group # for Door Sensor) Same as sent 0x00 Same as sent See Get for Group/Button Info Get for Group/Button Info Data 3 Data 4 0x01 Operating 0x61 -> 0x27 (Battery Level to Flag Byte indicate low voltage. Some examples: [61=~1.75v 54=~1.6 51=~1.5 40=~1.25(default low battery)] All voltage levels are approximate values.) Data 5 Sensor Status (FF=Closed, 00= Open) Data 6 Heart Beat Interval Data 7 Battery Low Level Page 9 of 14

Set Heartbeat Interval To device To Standard Ack (1 byte) Data 1 0x2E 0x00 0x00 -> 0xFF (Group/Button) 0x2E 0x00 N/A N/A See Set Heartbeat Interval Info Set Heartbeat Interval Info 0x02 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 14 0x00 -> 0xFF (5 minute intervals for Heartbeat; 1 would be Heartbeat every 5 minutes; FF would be 255 x 5 min.; 0x00 = 24 Hr.) N/A N/A N/A N/A N/A N/A N/A Checksum Set Low Battery Level To device To Standard Ack (1 byte) Data 1 0x2E 0x00 0x00 -> 0xFF (Group/Button) 0x2E 0x00 N/A N/A See Set Low Battery Level Info Set Low Battery Level Info 0x03 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 14 Low Battery Level (Default is 0x40=1.25V. All voltage levels for Low Battery are approximate values.) N/A N/A N/A N/A N/A N/A N/A Checksum Get Database To device device To Standard Ack (1 byte) Data 1 0x2F 0x00 0x00 -> 0xFF (Don t Care Value) 0x2F 0x00 N/A N/A See Get Database Info 0x2F 0x00 Same as sent See Returned Get Database Page 10 of 14

Info Get Database Info 0x00 0x00 -> 0xFF (Hi Byte ) Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 10 Data 11 0x00 -> 0xFF (Lo Byte ) 0x00 -> 0xFF (# of Records, 0x00 dumps all records N/A N/A N/A N/A N/A N/A Returned Get Database Info (will continue to be sent until # of records is sent or until the first never been used record is sent) 0x01 0x00 -> 0xFF (Hi Byte ) Data 3 Data 4 0x00 -> 0xFF (Lo Byte ) Data 5 Data 6 Data 7 Data 8 Data 9 Data 13 0x00 Byte 1 of record Byte 2 of record Byte 3 of record Byte 4 of record Byte 8 of record Set Database To device To Standard Ack (1 byte) Data 1 0x2F 0x00 0x00 -> 0xFF (Don t Care Value) 0x2F 0x00 N/A N/A See Set Database Info Set Database Info Data 3 Data 4 0x02 0x00 -> 0x00 -> 0xFF (Hi 0xFF (Lo Byte Byte ) ) Data 5 Data 6 Data 7 Data 8 Data 9 Data 13 Data 14 0x01 -> 0x08 (# of bytes to write, over 0x08 is an error and ignored) Byte 1 of data Byte 2 of data Byte 3 of data Byte 4 of data Byte 8 of data Checksum Page 11 of 14

Checksum Information For Set Database, Set Properties and 0x20, Data14 will contain a 2s compliment of cmd1 through 2nd to last data record in the last data record. Example of Checksum: 01 02 03 04 05 06 1F 2F 00 01 02 0F FF 08 E2 01 08 B6 EA 00 1B 01 11 01.02.03 to 04.05.06 a record at 0FFF (A valid boundary) 08 bytes a record that 04.05.06 will control Group 1 the responder is 08.B6.EA (00 1B 01 DNC) 11 is the check sum Int Hex 47 2F 0 00 1 01 2 02 15 0F 255 FF 8 08 226 E2 1 01 8 08 182 B6 234 EA 0 00 27 1B 1 01 1007 3EF Sum 10 Compliment (Last byte) 11 Add 1 Page 12 of 14

Memory Map All-Link Database (AL /L) Overview The AL /L starts at the top of external (serial) EEPROM and grows downward. In the Micro Module Shutter, top of memory is 0x0FFF. Each AL /L Record is 8 bytes long, so the first record starts at 0x0FF8, the second record starts at 0x0FF0, and so on down to 0x0300 for a total of 416 links. In what follows, the 3-byte INSTEON contained in a record is called the Device or sometimes just the. The high byte (MSB) of the Device is 2, the middle byte is 1, and the low byte (LSB) is 0. Micro Module Shutter External EEPROM Structure Overview Location Comments 0x0FF8 0xA2 01 AA BB CC FF FE 00 All-Link Database Record 0x0FF0 0x0FD8 0x0300 Last Record, 416 total links allowed 0x02XX N/A ing below 0x0300 is ignored by database AL /L Record Format Micro Module Shutter AL Record Format load. Database entries with Record Control Bit 6: 0 = Responder and Group 1 will control the local Field Length ( Description Linear ALL-Link Database (AL /L) Record Format Record Control 1 Record Control Flag Bits: Bit 7: 1 = Record is in use, 0 = Record is available Bit 6: 1 = Controller (Master) of Device, 0 = Responder to (Slave of) Device Bit 5: Not used Bit 4: Not used Bit 3: Not used Bit 2: Not used Bit 1: 1 = Record has been used before, 0 = High-water Mark Bit 0: Not used Group 1 ALL-Link Group Number this Device belongs to 3 Device (2, 1, 0 in that order) Data 1 1 Not used 1 Not used Data 3 1 Not used To add a record to an AL /L, you search for an existing record that is marked available. (Available means the same as empty, unused or deleted.) If none is available, you create a new record at the end of the AL /L. Page 13 of 14

An unused record will have bit 7 of the Record Control byte set to zero. The last record in an AL /L will have bit 1 of the Record Control byte set to zero. Overwriting an Empty AL /L Record If you found an empty record, you simply overwrite it with your new record data. Change bit 7 of the Record Control byte from zero to one to show that the record is now in use. Set bit 6 of the Record Control byte to one if the device containing the AL /L is an INSTEON Controller of the INSTEON Responder Device whose is in the record. If instead the device containing the AL /L is an INSTEON Responder to the INSTEON Controller Device whose is in the record, then clear bit 6 of the Record Control byte to zero. In other words, within an AL /L, setting bit 6 means I m a Controller, and clearing bit 6 means I m a Responder. Put the ALL-Link Group number in the Group field, and put the Device in the field. Finally, set the Data 1,, and Data 3 fields appropriately for the Record Class you are storing. Creating a New AL /L Record To create a new record at the end of the AL /T, find the record with bit 1 of the Record Control byte set to zero, indicating that it is the last record in the AL /L. Flip that bit to one. Page 14 of 14