Venstar Thermostat Adapter

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

INSTEON Hidden Door Sensor

Micro Module Shutter. Micro Module Shutter

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

Developer Notes for KeypadLinc Line

1 Firmware Description

COMMUNICATION M-BUS PROTOCOL PR 118

Serial Communication Control Interface User s Manual

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

The RS-485 user manual for B800 series communication

COMMUNICATION M-BUS PROTOCOL CE4DMID0M (MBus meter)

SRF02 Ultrasonic range finder Technical Specification

PRE32 RS232 protocol v1.21 Tomas Andersson

Technical Specification. Third Party Control Protocol. AV Revolution

Logosol Joystick Node LS-731

JMY505G User's Manual

Elotech Standard Protocol. for Single R8200 SC

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

M-BUS PROTOCOL for ML 311

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

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

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

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

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

Specifications Manual

Modbus Manual. ACL3200 Controller

1. Implemented CM11 protocol

OWL 640 Analogue COTS Instruction Manual

Version Action Author Date

CaMate Series User s Manual

Titan Dot Matrix Display (A05)

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

JPEG2000 HDTV RECORDER

JMY504M User's Manual

SRF08 Ultra sonic range finder Technical Specification

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

Modbus Protocol For FTS/FTM 3x&8x

Technical Documentation 0630

C628 Enhanced JPEG Module. User Manual

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

C1098 JPEG Module User Manual

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

SPI Lasers UK Limited. Serial Command Reference for the PRISM Laser Platform

Digi-Star ISOBUS / CAN Application Notes

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

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

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

Aeon Labs Water Sensor 6

AN-881 APPLICATION NOTE

AX-18F/ AX-18A. Part Photo. H/W Specification [AX-18F] [AX-18A]

EGON FAMILY PROGRAMMING NOTES

Operating Instructions

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

Modbus Register Map: InRow ACRD60x / ACRC60x

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

Specification E2 Interface

Home Automation, Inc. Omni-Link. Serial Protocol Description

RS232 User Guide. Planar Simplicity Series 4K Displays SL4364K SL5564K SL6564K SL7564K SL8664K. Simplicity Series 4K Displays User Guide A

Fingerprint_Protocol_All_English

1.1 Errors and Event list

PRELIMINARY. CoolMasterNet PRM. CoolMasterNet Universal Interface Adapter for HVAC Systems. Document Revision /11/2014

Specification. For. Serial Interface DN-T645/625

THANK YOU. Control System Communication Protocol Manual RackLink. Monitor Control Alert Report Analyze. Thank you for purchasing a RackLink product.

Aeon Labs Smart Switch 6 (Z-Wave Smart Switch 6)

IQ Home Modbus-RTU Master

PROTOCOL TRANSPORTS 4 RS232 SPECIFICATIONS 4 RS232 CABLING 4 TCP/IP 4 PROTOCOL DOCUMENT NOTES 4 COMMUNICATION 4

JMY607H User's Manual

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

W8735A1013 EnviraCOM Serial Adapter

MPR Serial Communication Protocol III - 1-9/11/2013. MPR Serial Communication Protocol III

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

Description of communication protocols of Txxxx series

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

MIDI Sysex Messages for the Eventide Factor series pedals

imetos LoRa Data payload structure

Aeon Labs Nano Switch

Aeroflex Colorado Springs Application Note

Baracoda - September 2007

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

POWERKEY PRO & POWERKEY

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

AN-946 APPLICATION NOTE

OPTRIS CT communication interface

Analyzing the command string for switch to input #

GIGAVAC Contactors J1939 Protocol

KT403A Datasheet(Part)

JMY501H User's Manual

Planar Simplicity Series

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

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

Home Automation, Inc. Omni-Link. Serial Protocol Description

IF96017 MODBUS COMMUNICATION PROTOCOL

RS232C Serial Interface for Pirani Diaphragm and Pirani Standard Gauges. Caution. binary 8 data bits 1 stop bit no parity bit no handshake

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

Home Automation, Inc. Omni-Link II. Protocol Description

JDICON 1000 JDICON B Interface Description 3.99/ Universal Process Controller. Universal Profile Controller

OSPREY Instruction Manual

Optris CT/ CTlaser/ CTvideo communication interface

Card Dispensing/Collecting Machine

Interface Card, Interface Box, Datalogger & Interface. Bedienungsanleitung. Kommunikationsprotokoll. Operating Instructions. Communications protocol

Transcription:

Developer Venstar Thermostat Adapter v001 Developer Venstar Thermostat Adapter Version 001 May 23, 2013 Revision History Rev Date Comments 001 05/23/13 Initial Release Page 1 of 13

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 Venstar Thermostat adapter commands:... 4 1.1.3 length Venstar Thermostat Adapter commands:... 7 Checksum Information...11 1.2 Memory Map... 122 1.2.1 All-Link Database (AL /L) Overview... 122 1.2.2 Thermostat External EEPROM Structure Overview... 122 1.2.3 AL /L Record Format... 122 1.2.4 Overwriting an Empty AL /L Record... 133 1.2.5 Creating a New AL /L Record... 133 Page 2 of 13

1 Firmware Description 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 Thermostat Adapter will reply with a NAK and 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 05 03 XX CF 01 YY (where AA.BB.CC is the Thermostat s ) SD Assign to ALL-Link Group To Device 0x05, 0x03, 0xXX (Firmware Revision) Broadcast 0x01 0xYY (Hardware Revision) Sent when holding down SET Button for 3 seconds. Group number for Thermostat 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 05 03 XX CF 02 YY (where AA.BB.CC is the Thermostat s ) Delete from ALL-Link Group Device 0x05, 0x03, 0xXX (Firmware Revision) Broadcast 0x02 0xYY (Hardware Revision) Group number for Thermostat is 0x01 INSTEON Engine Version Description: Returns the INSTEON Engine version in the acknowledgement. INSTEON Engine Version To device Sender s Direct 0x0D 0x00 Response Sender s Ack 0x0D 0x02 Indicate i2cs engine version Ping Description: Returns the exact same message with an acknowledgement. Ping To device Sender s Direct 0x0F (Don t Care Value) Response Sender s Ack 0x0F 0xFB 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 05 03 XX 0F 0A YY (where DD.EE.FF is the Sender s, AA.BB.CC is the Devices s Id) Request To device Sender s Direct 0x10 (Don t Care Value) Response Sender s Ack 0x10 Same as sent Sent from Device 0x05 0x0B 0xXX (firmware revision) Broadcast 0x01 0xYY (Hardware Revision) Same as holding down SET Button for 3 seconds, but device not in linking mode Page 3 of 13

1.1.2 Standard length Venstar Thermostat Adapter commands: SD Increase Set Point To To device Sender s Broadcast 0x15 0x00 Increase current temperature setting by 1 unit Response Sender s Ack 0x15 Same as sent Decrease Set Point To device Sender s Broadcast 0x16 0x00 Decrease current temperature setting by 1 unit Response Sender s Ack 0x16 Same as sent On device Direct 0x11 (Don t Care Value) Off device Direct 0x13 (Don t Care Value) SD Thermostat To To device Sender s Direct 0x6A See Thermostat Info Response Sender s Ack 0x6A Same as sent Thermostat Info Description Thermostat Comments Support 0x00 returned in ACK yes In 1 degree units 0x20 Setpoint returned in ACK yes In 1 degree units 0x60 Humidity returned in ACK yes In 1 percent units Page 4 of 13

SD To Mode To device Sender s Direct 0x6B See Mode Info Response Sender s Ack 0x6B Same as sent Thermostat Control Info Description Thermostat Comments Adapter 1.1 Support 0x02 ACK contains 1-byte thermostat mode in 2 yes Get thermostat mode 0x00 = Off 0x01 = Heat 0x02 = Cool 0x03 = Auto 0x04 = Fan 0x05 = Program 0x06 = Program Heat 0x07 = Program Cool 0x08 => Unused 0x03 ACK returns temp x 2 yes Get ambient temperature SD Reporting Reporting Humidity To device Direct 0x6E ( Change x 0.5) device Direct 0x6F (Humidity) Reporting Mode/Fan Reporting Cool set point device Direct 0x70 0x00 = Off 0x01 = Heat 0x02 = Cool 0x03 = Auto 0x04 = Program 0x05 = Program Heat 0x06 = Program Cool 0x10 = Off-Fan On 0x11 = Heat-Fan On 0x12 = Cool-Fan On 0x13 = Auto-Fan On 0x14= Program- Fan On 0x15 = Program Heat-Fan On 0x16 = Program Cool-Fan On 0x17=> Not Used device Direct 0x71 (Cool set point) Page 5 of 13

Reporting Heat set point Get Fan device Direct 0x72 (Heat set) To device Sender s Direct 0xF0 0x4B Response Sender s Ack 0xF0 Bit 4 set = Fan On (0x10) Bit 4 clear = Fan Auto (0x00) Get Units To device Sender s Direct 0xF0 0x49 Response Sender s Ack 0xF0 Bit 0 set = Celsius (0x01) Bit 0 clear = Fahrenheit (0x00) SD Read Operating Flags To To device Sender s Direct 0x1F Operating Flags Response Sender s Ack 0x1F Same as sent Read Operating Flags Table bit 0 = N/A bit 1 = N/A bit 2 = Report Humidity bit 4 = N/a bit 5 = LED On/Off bit 6 = N/A 0 bit 7 = Programming Lock 1 Database Delta See Read Operating Flags Table Page 6 of 13

1.1.3 length Venstar Thermostat Adapter commands: Thermostat Up Thermostat Down To To device Sender s Direct 0x68 ( Change x 2) Response Sender s Ack 0x68 Same as sent To device Sender s Direct 0x69 ( Change x 2) Response Sender s Ack 0x69 Same as sent Increase current temperature setting by Change x 0.5 Decrease current temperature setting by Change x 0.5 Thermostat Control To To device Sender s Direct 0x6B See Thermostat Control Info Response Sender s Ack 0x6B Same as sent Thermostat Control Info Description Thermostat Comments Adapter 1.1 Support 0x04 Set mode to Heat and returns 04 in ACK yes On Heat 0x05 Set mode to Cool and returns 05 in ACK yes On Cool 0x06 Set mode to Auto and returns 06 in ACK yes On Auto 0x07 Turn Fan on and returns 07 in ACK yes On Fan 0x08 Turn Fan auto mode and returns 08 in ACK yes Off Fan 0x09 Set mode to Off and returns 09 in ACK Yes Off Mode 0x0A Set mode to Program Heat and returns 0A in ACK Yes On Program Heat 0x0B Set mode to Program Cool and returns 0B in ACK Yes On Program Cool 0x0C Set mode to Program Auto and returns oc in ACK yes On Program Auto Thermostat Set Cool set point Thermostat set heat set point To To device Sender s Direct 0x6C ( x 2) Response Sender s Ack 0x6C Same as sent To device Sender s Direct 0x6D ( x 2) Response Sender s Ack 0x6D Same as sent change current temperature cool set point to x 0.5 change current temperature heat set point to x 0.5 Page 7 of 13

Set Operating Flags To To device Sender s Direct 0x20 Operating Flags Response Sender s Ack 0x20 Same as sent Set Operating Flags Table (bold denotes default settings after factory reset) 0 Report Humdity on change 1 Do Not Report Humidity on Change 4 Programming lock On 5 Programming lock off 6 LED On 7 LED Off See Set Operating Flags Table below. Data14 contains checksum (3 bytes) Read Data To device Sender s To Direct (1 byte) Data 1 0x2E 0x00 (Group/Button) Data 2 See Read Data Info Response Sender s Standard Ack 0x2E 0x00 Same as sent N/A Read Data Info Data 2 0x00 0x01 Description Data 2: 0 is for Read Data (Responder unit will send back a Data 2: 1 below) Data2: 1 return of data Data3: Mode Data4: Humidity Data5: Data6: Cool Setpoint Data7: Heat Setpoint Data8 : LED Data9 Fan Mode Data10: N/A Data11: N/A Data12: N/A Data 13: N/A Data 14: N/A All temp data is not x2; LED 00=Off, 01=On (Red or Green), 02=(Red); Fan 00=Auto, 10=On Read Data 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 Page 8 of 13

(3 bytes) Get Database To device Sender s Response device To Sender s Sender s Direct Standard Ack Direct (1 byte) Data 1 0x2F 0x00 (Don t Care Value) 0x2F 0x00 N/A N/A Data 2 See Get Database Info 0x2F 0x00 Same as sent See Returned Get Database Info Get Database Info Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 10 Data 11 0x00 (Hi Byte ) (Lo Byte ) (# 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) Data 2 0x01 (Hi Byte ) Data 3 Data 4 (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 (3 bytes) Set Database To device Sender s Response To Sender s Direct Standard Ack (1 byte) Data 1 0x2F 0x00 (Don t Care Value) 0x2F 0x00 N/A N/A Data 2 See Set Database Info Set Database Info Data 2 Data 3 Data 4 0x02 (Hi (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 9 of 13

Set Units To To device Sender s Direct 0xF1 Bit 0 set = Celsius (0x01) Bit 0 clear = Fahrenheit (0x00) Response Sender s Ack 0xF1 Same as sent Data 1 (1 byte) Set Units Info Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data 10 -> Data 13 Data 14 Checksum Page 10 of 13

Checksum Information 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 11 of 13

1.2 Memory Map 1.2.1 All-Link Database (AL /L) Overview The AL /L starts at the top of external (serial) EEPROM and grows downward. In the Thermostat, 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. 1.2.2 Thermostat 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 1.2.3 AL /L Record Format Thermostat AL Record Format load. Database entries with Record Control Bit 6: 0 = Responder and Group 1 will control the local Field Length (bytes) 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 Data 2 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 12 of 13

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. 1.2.4 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, Data 2, and Data 3 fields appropriately for the Record Class you are storing. 1.2.5 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 13 of 13