Created
August 11, 2020 22:53
-
-
Save tomekziel/0ae0f6d2c12c8d92bc145648f915b4e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== https://github.com/msillano/UD18-protocol-and-node-red/blob/master/UD18_protocol.txt | |
============= commands PC => UD18 | |
[WHreset] ff 55 11 03 01 00 00 00 00 51 | |
[AHreset] ff 55 11 03 02 00 00 00 00 52 | |
[resetTIME] ff 55 11 03 03 00 00 00 00 53 | |
[resetALL] ff 55 11 03 05 00 00 00 00 5d | |
. | |
[SETUP] ff 55 11 03 31 00 00 00 00 01 | |
[ENTER] ff 55 11 03 32 00 00 00 00 02 | |
[+]command ff 55 11 03 33 00 00 00 00 03 | |
[-]command ff 55 11 03 34 00 00 00 00 0c | |
============== ack-comands UD18 => PC | |
(ok-WHreset)ff 55 02 01 01 00 00 40 | |
============== data push (1 sec) UD18 => PC | |
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
00000050 FF 55 01 03 00 01 F3 00 00 00 00 06 38 00 00 03 | |
00000060 11 00 07 00 0A 00 00 00 12 2E 33 3C 00 00 00 00 | |
00000070 00 00 00 4E | |
000000E0 FF 55 01 03 00 01 F3 00 00 00 00 06 38 00 00 03 | |
000000F0 11 00 07 00 0A 00 00 00 12 2E 33 3C 00 00 00 00 | |
00000100 00 00 00 4E | |
============== data map (big endien) | |
0000 FF | |
0001 55 | |
0002 01 type: 01: data, 0x11: command, 02: ack-command | |
0003 03 ?? | |
0004 00 V | |
0005 00 V | |
0006 00 V, as INT24, /100 | |
0007 00 I | |
0008 00 I | |
0009 00 I, as INT24, /100 | |
000A 00 mAh | |
000B 00 mAh | |
000C 00 mAh, as INT24, | |
000D 00 Wh | |
000E 00 Wh | |
000F 00 Wh | |
0010 00 Wh, as INT32, /100 | |
0011 00 D- | |
0012 07 D- as INT16, /100 | |
0013 00 D+ | |
0014 0A D+ as INT16, /100 | |
0015 00 | |
0016 00 | |
0017 00 | |
0018 12 t-h, as BYTE, hour | |
0019 2E t-m, as BYTE, min | |
001A 33 t-s, as BYTE, sec. | |
001B 3C | |
001C 00 | |
001D 00 | |
001E 00 | |
001F 00 | |
0020 00 | |
0021 00 | |
0022 00 | |
0023 4E CRC ?? unknow algorithm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment