Energy Module API

From OpenMotics
Revision as of 12:43, 30 March 2018 by Kenneth (talk | contribs) (Created page with "The documentation for the Energy Module RS485 API {| class="wikitable" |1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || || || || || || || 12 || 13 || 14 |- |||...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The documentation for the Energy Module RS485 API

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Start Address CID mode Type LEN Data Stop
S T R 1 2 1 2 3 1 2 3 n CRC \r \n
83 84 82
start always STR
Address 1=type module, 2=address of that type
mode G=get,S=set in request and G=answer for GET request, S=set of data or command is done, N = No Ack and 1 data byte with nack number
CID Communication id
Type 3 bytes in ascii with discription of the data
LEN length of the data
Data in raw format, LSB first and first the first index
CRC CRC-7 of everything from Address to data