Skip to content

Instantly share code, notes, and snippets.

@fliphess
Last active February 8, 2018 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fliphess/f82ef187bc454e8e6d52e2bda33166a7 to your computer and use it in GitHub Desktop.
Save fliphess/f82ef187bc454e8e6d52e2bda33166a7 to your computer and use it in GitHub Desktop.

(ngrep below)

Server: 172.16.15.1 Aqara gateway: 172.16.15.100

17:03:48.560091 IP aqara.home.4321 > 224.0.0.50.9898: UDP, length 136
	0x0000:  4500 00a4 07f9 0000 ff11 17a9 ac10 0f64  E..............d
	0x0010:  e000 0032 10e1 26aa 0090 eae7 7b22 636d  ...2..&.....{"cm
	0x0020:  6422 3a22 6865 6172 7462 6561 7422 2c22  d":"heartbeat","
	0x0030:  6d6f 6465 6c22 3a22 6761 7465 7761 7922  model":"gateway"
	0x0040:  2c22 7369 6422 3a22 3334 6365 3030 6662  ,"sid":"34ce00fb
	0x0050:  3734 3338 222c 2273 686f 7274 5f69 6422  7438","short_id"
	0x0060:  3a22 3022 2c22 746f 6b65 6e22 3a22 6463  :"0","token":"dc
	0x0070:  7735 7673 6d43 3347 4b35 4b45 6f48 222c  w5vsmC3GK5KEoH",
	0x0080:  2264 6174 6122 3a22 7b5c 2269 705c 223a  "data":"{\"ip\":
	0x0090:  5c22 3137 322e 3136 2e31 352e 3130 305c  \"172.16.15.100\
	0x00a0:  227d 227d                                "}"}
17:03:54.223034 IP server.home.53737 > aqara.home.9898: UDP, length 102
	0x0000:  4500 0082 7ab3 4000 4011 4932 ac10 0f01  E...z.@.@.I2....
	0x0010:  ac10 0f64 d1e9 26aa 006e 7705 7b22 6461  ...d..&..nw.{"da
	0x0020:  7461 223a 207b 226b 6579 223a 2022 6230  ta":.{"key":."b0
	0x0030:  6663 3532 6466 6364 3330 3265 3730 6334  fc52dfcd302e70c4
	0x0040:  3061 3533 3235 3334 6336 6361 3336 222c  0a532534c6ca36",
	0x0050:  2022 7267 6222 3a20 307d 2c20 2263 6d64  ."rgb":.0},."cmd
	0x0060:  223a 2022 7772 6974 6522 2c20 2273 6964  ":."write",."sid
	0x0070:  223a 2022 3334 6365 3030 6662 3734 3338  ":."34ce00fb7438
	0x0080:  227d                                     "}
17:03:54.624651 IP aqara.home.9898 > server.home.53737: UDP, length 77
	0x0000:  4500 0069 07fa 0000 ff11 3d04 ac10 0f64  E..i......=....d
	0x0010:  ac10 0f01 26aa d1e9 0055 9bf8 7b22 636d  ....&....U..{"cm
	0x0020:  6422 3a22 7772 6974 655f 6163 6b22 2c22  d":"write_ack","
	0x0030:  7369 6422 3a22 3334 6365 3030 6662 3734  sid":"34ce00fb74
	0x0040:  3338 222c 2264 6174 6122 3a22 7b5c 2265  38","data":"{\"e
	0x0050:  7272 6f72 5c22 3a5c 2249 6e76 616c 6964  rror\":\"Invalid
	0x0060:  206b 6579 5c22 7d22 7d                   .key\"}"}

More:

root@flip:~# tcpdump -i enp1s0f0 ether host 34:ce:00:fb:74:38 or port 9898 or port 4321 -X -S

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp1s0f0, link-type EN10MB (Ethernet), capture size 262144 bytes

20:50:52.002688 IP server.home.53737 > aqara.home.9898: UDP, length 102
	0x0000:  4500 0082 5288 4000 4011 715d ac10 0f01  E...R.@.@.q]....
	0x0010:  ac10 0f64 d1e9 26aa 006e 7705 7b22 6461  ...d..&..nw.{"da
	0x0020:  7461 223a 207b 226b 6579 223a 2022 6230  ta":.{"key":."b0
	0x0030:  6663 3532 6466 6364 3330 3265 3730 6334  fc52dfcd302e70c4
	0x0040:  3061 3533 3235 3334 6336 6361 3336 222c  0a532534c6ca36",
	0x0050:  2022 7267 6222 3a20 307d 2c20 2263 6d64  ."rgb":.0},."cmd
	0x0060:  223a 2022 7772 6974 6522 2c20 2273 6964  ":."write",."sid
	0x0070:  223a 2022 3334 6365 3030 6662 3734 3338  ":."34ce00fb7438
	0x0080:  227d                                     "}
20:50:52.004539 IP aqara.home.9898 > server.home.53737: UDP, length 77
	0x0000:  4500 0069 1251 0000 ff11 32ad ac10 0f64  E..i.Q....2....d
	0x0010:  ac10 0f01 26aa d1e9 0055 9bf8 7b22 636d  ....&....U..{"cm
	0x0020:  6422 3a22 7772 6974 655f 6163 6b22 2c22  d":"write_ack","
	0x0030:  7369 6422 3a22 3334 6365 3030 6662 3734  sid":"34ce00fb74
	0x0040:  3338 222c 2264 6174 6122 3a22 7b5c 2265  38","data":"{\"e
	0x0050:  7272 6f72 5c22 3a5c 2249 6e76 616c 6964  rror\":\"Invalid
	0x0060:  206b 6579 5c22 7d22 7d                   .key\"}"}
20:50:52.885609 IP aqara.home.4321 > 224.0.0.50.9898: UDP, length 136
	0x0000:  4500 00a4 1252 0000 ff11 0d50 ac10 0f64  E....R.....P...d
	0x0010:  e000 0032 10e1 26aa 0090 43a2 7b22 636d  ...2..&...C.{"cm
	0x0020:  6422 3a22 6865 6172 7462 6561 7422 2c22  d":"heartbeat","
	0x0030:  6d6f 6465 6c22 3a22 6761 7465 7761 7922  model":"gateway"
	0x0040:  2c22 7369 6422 3a22 3334 6365 3030 6662  ,"sid":"34ce00fb
	0x0050:  3734 3338 222c 2273 686f 7274 5f69 6422  7438","short_id"
	0x0060:  3a22 3022 2c22 746f 6b65 6e22 3a22 5031  :"0","token":"P1
	0x0070:  4138 7a5a 5761 4e46 3575 6b46 4d78 222c  A8zZWaNF5ukFMx",
	0x0080:  2264 6174 6122 3a22 7b5c 2269 705c 223a  "data":"{\"ip\":
	0x0090:  5c22 3137 322e 3136 2e31 352e 3130 305c  \"172.16.15.100\
	0x00a0:  227d 227d                                "}"}
	20:50:59.386882 IP aqara.home.4321 > 224.0.0.50.9898: UDP, length 117
	0x0000:  4500 0091 1253 0000 ff11 0d62 ac10 0f64  E....S.....b...d
	0x0010:  e000 0032 10e1 26aa 007d 9c70 7b22 636d  ...2..&..}.p{"cm
	0x0020:  6422 3a22 7265 706f 7274 222c 226d 6f64  d":"report","mod
	0x0030:  656c 223a 2273 656e 736f 725f 6d6f 7469  el":"sensor_moti
	0x0040:  6f6e 2e61 7132 222c 2273 6964 223a 2231  on.aq2","sid":"1
	0x0050:  3538 6430 3030 3232 3336 3730 6622 2c22  58d000223670f","
	0x0060:  7368 6f72 745f 6964 223a 3131 3233 352c  short_id":11235,
	0x0070:  2264 6174 6122 3a22 7b5c 226e 6f5f 6d6f  "data":"{\"no_mo
	0x0080:  7469 6f6e 5c22 3a5c 2233 3030 5c22 7d22  tion\":\"300\"}"
	0x0090:  7d                                       }
20:50:59.388240 IP aqara.home.54321 > 124.251.57.11.8053: UDP, length 160
	0x0000:  4500 00bc 1254 0000 ff11 3762 ac10 0f64  E....T....7b...d
	0x0010:  7cfb 390b d431 1f75 00a8 8625 2131 00a0  |.9..1.u...%!1..
	0x0020:  0000 0000 03c4 c1c0 5a5b b407 f061 5b29  ........Z[...a[)
	0x0030:  eeaf 075d 88cb c052 c4df cdf6 707f 9027  ...]...R....p..'
	0x0040:  b8f4 e233 5c9d b041 6179 2eca 2c5c dad9  ...3\..Aay..,\..
	0x0050:  440b 784e f373 0bd9 cdb9 479d c320 ebb3  D.xN.s....G.....
	0x0060:  9d3e 2a83 6f61 b0fd e58d 2268 3de7 95d1  .>*.oa...."h=...
	0x0070:  1683 2f95 5ffa 17a4 ad50 8deb de82 bd28  ../._....P.....(
	0x0080:  ab67 e59e b18e 24d3 e9d7 61ac 442c 6091  .g....$...a.D,`.
	0x0090:  ea52 98f8 f33c b4c3 9599 a9c4 cb1c c6ba  .R...<..........
	0x00a0:  76ea c4ed 25ab fcda 64b3 3cf7 a992 9534  v...%...d.<....4
	0x00b0:  3868 ce37 1d34 9908 9224 05aa            8h.7.4...$..
20:50:59.486918 IP aqara.home.54321 > 124.251.57.11.8053: UDP, length 32
	0x0000:  4500 003c 1255 0000 ff11 37e1 ac10 0f64  E..<.U....7....d
	0x0010:  7cfb 390b d431 1f75 0028 c2f4 2131 0020  |.9..1.u.(..!1..
	0x0020:  0000 0000 03c4 c1c0 5a5b b407 2864 4f1f  ........Z[..(dO.
	0x0030:  4ef1 0800 7617 bd97 cfe6 1044            N...v......D
20:50:59.730659 IP 124.251.57.11.8053 > aqara.home.54321: UDP, length 64
	0x0000:  4520 005c 0000 4000 2a11 def6 7cfb 390b  E..\..@.*...|.9.
	0x0010:  ac10 0f64 1f75 d431 0048 fabf 2131 0040  ...d.u.1.H..!1.@
	0x0020:  0000 0000 03c4 c1c0 5a5b b407 e6f7 7a75  ........Z[....zu
	0x0030:  6222 02cf 081f e155 4741 8632 9591 a47c  b".....UGA.2...|
	0x0040:  d4a6 01a4 3c0a 1d38 0d48 eb8b 3d0b d786  ....<..8.H..=...
	0x0050:  c060 d32d a948 2066 57ed 00b0            .`.-.H.fW...
20:50:59.828757 IP 124.251.57.11.8053 > aqara.home.54321: UDP, length 32
	0x0000:  4520 003c 0000 4000 2a11 df16 7cfb 390b  E..<..@.*...|.9.
	0x0010:  ac10 0f64 1f75 d431 0028 c2f4 2131 0020  ...d.u.1.(..!1..
	0x0020:  0000 0000 03c4 c1c0 5a5b b407 2864 4f1f  ........Z[..(dO.
	0x0030:  4ef1 0800 7617 bd97 cfe6 1044            N...v......D
20:51:02.860914 IP aqara.home.4321 > 224.0.0.50.9898: UDP, length 136
	0x0000:  4500 00a4 1256 0000 ff11 0d4c ac10 0f64  E....V.....L...d
	0x0010:  e000 0032 10e1 26aa 0090 aacc 7b22 636d  ...2..&.....{"cm
	0x0020:  6422 3a22 6865 6172 7462 6561 7422 2c22  d":"heartbeat","
	0x0030:  6d6f 6465 6c22 3a22 6761 7465 7761 7922  model":"gateway"
	0x0040:  2c22 7369 6422 3a22 3334 6365 3030 6662  ,"sid":"34ce00fb
	0x0050:  3734 3338 222c 2273 686f 7274 5f69 6422  7438","short_id"
	0x0060:  3a22 3022 2c22 746f 6b65 6e22 3a22 5258  :"0","token":"RX
	0x0070:  7a35 7564 5456 6a62 7030 5043 7756 222c  z5udTVjbp0PCwV",
	0x0080:  2264 6174 6122 3a22 7b5c 2269 705c 223a  "data":"{\"ip\":
	0x0090:  5c22 3137 322e 3136 2e31 352e 3130 305c  \"172.16.15.100\
	0x00a0:  227d 227d                                "}"}
20:51:12.838804 IP aqara.home.4321 > 224.0.0.50.9898: UDP, length 136
	0x0000:  4500 00a4 1257 0000 ff11 0d4b ac10 0f64  E....W.....K...d
	0x0010:  e000 0032 10e1 26aa 0090 7977 7b22 636d  ...2..&...yw{"cm
	0x0020:  6422 3a22 6865 6172 7462 6561 7422 2c22  d":"heartbeat","
	0x0030:  6d6f 6465 6c22 3a22 6761 7465 7761 7922  model":"gateway"
	0x0040:  2c22 7369 6422 3a22 3334 6365 3030 6662  ,"sid":"34ce00fb
	0x0050:  3734 3338 222c 2273 686f 7274 5f69 6422  7438","short_id"
	0x0060:  3a22 3022 2c22 746f 6b65 6e22 3a22 476f  :"0","token":"Go
	0x0070:  3867 3459 444f 496d 5250 7459 6134 222c  8g4YDOImRPtYa4",
	0x0080:  2264 6174 6122 3a22 7b5c 2269 705c 223a  "data":"{\"ip\":
	0x0090:  5c22 3137 322e 3136 2e31 352e 3130 305c  \"172.16.15.100\
	0x00a0:  227d 227d                                "}"}
20:51:14.798674 IP aqara.home.54321 > 124.251.57.11.8053: UDP, length 32
	0x0000:  4500 003c 1258 0000 ff11 37de ac10 0f64  E..<.X....7....d
	0x0010:  7cfb 390b d431 1f75 0028 2752 2131 0020  |.9..1.u.('R!1..
	0x0020:  0000 0000 03c4 c1c0 5a5b b417 3ec6 a717  ........Z[..>...
	0x0030:  d82e c41c aa1c da59 c026 b71a            .......Y.&..
20:51:15.140288 IP 124.251.57.11.8053 > aqara.home.54321: UDP, length 32
	0x0000:  4520 003c 0000 4000 2a11 df16 7cfb 390b  E..<..@.*...|.9.
	0x0010:  ac10 0f64 1f75 d431 0028 2752 2131 0020  ...d.u.1.('R!1..
	0x0020:  0000 0000 03c4 c1c0 5a5b b417 3ec6 a717  ........Z[..>...
	0x0030:  d82e c41c aa1c da59 c026 b71a            .......Y.&..
20:51:20.144798 ARP, Request who-has aqara.home tell server.home, length 28
	0x0000:  0001 0800 0604 0001 0015 17f3 1c74 ac10  .............t..
	0x0010:  0f01 0000 0000 0000 ac10 0f64            ...........d
20:51:20.149160 ARP, Reply aqara.home is-at 34:ce:00:fb:74:38 (oui Unknown), length 46
	0x0000:  0001 0800 0604 0002 34ce 00fb 7438 ac10  ........4...t8..
	0x0010:  0f64 0015 17f3 1c74 ac10 0f01 0000 0000  .d.....t........
	0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
20:51:22.816323 IP aqara.home.4321 > 224.0.0.50.9898: UDP, length 136
	0x0000:  4500 00a4 1259 0000 ff11 0d49 ac10 0f64  E....Y.....I...d
	0x0010:  e000 0032 10e1 26aa 0090 5982 7b22 636d  ...2..&...Y.{"cm
	0x0020:  6422 3a22 6865 6172 7462 6561 7422 2c22  d":"heartbeat","
	0x0030:  6d6f 6465 6c22 3a22 6761 7465 7761 7922  model":"gateway"
	0x0040:  2c22 7369 6422 3a22 3334 6365 3030 6662  ,"sid":"34ce00fb
	0x0050:  3734 3338 222c 2273 686f 7274 5f69 6422  7438","short_id"
	0x0060:  3a22 3022 2c22 746f 6b65 6e22 3a22 4a61  :"0","token":"Ja
	0x0070:  5730 4255 7559 4a6f 3338 4565 6d72 222c  W0BUuYJo38Eemr",
	0x0080:  2264 6174 6122 3a22 7b5c 2269 705c 223a  "data":"{\"ip\":
	0x0090:  5c22 3137 322e 3136 2e31 352e 3130 305c  \"172.16.15.100\
	0x00a0:  227d 227d                                "}"}

root@flip:~# ngrep -d enp1s0f0 -W byline port 9898

interface: enp1s0f0 (172.16.15.0/255.255.255.0)
filter: (ip or ip6) and ( port 9898 )
#
U 172.16.15.1:53737 -> 172.16.15.100:9898
{"data": {"key": "b0fc52dfcd302e70c40a532534c6ca36", "rgb": 0}, "cmd": "write", "sid": "34ce00fb7438"}
#
U 172.16.15.100:9898 -> 172.16.15.1:53737
{"cmd":"write_ack","sid":"34ce00fb7438","data":"{\"error\":\"Invalid key\"}"}
#
U 172.16.15.1:53737 -> 172.16.15.100:9898
{"data": {"key": "b0fc52dfcd302e70c40a532534c6ca36", "rgb": 0}, "cmd": "write", "sid": "34ce00fb7438"}
#
U 172.16.15.100:9898 -> 172.16.15.1:53737
{"cmd":"write_ack","sid":"34ce00fb7438","data":"{\"error\":\"Invalid key\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"WD7UZ9lrW7LGy3Ly","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.1:53737 -> 172.16.15.100:9898
{"data": {"key": "b0fc52dfcd302e70c40a532534c6ca36", "rgb": 0}, "cmd": "write", "sid": "34ce00fb7438"}
#
U 172.16.15.100:9898 -> 172.16.15.1:53737
{"cmd":"write_ack","sid":"34ce00fb7438","data":"{\"error\":\"Invalid key\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"qMp6VHWOSu3XZ2x1","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"AY7kqYZoyjYqIGfd","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"report","model":"sensor_motion.aq2","sid":"158d00022367d1","short_id":8032,"data":"{\"lux\":\"1\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"report","model":"sensor_motion.aq2","sid":"158d00022367d1","short_id":8032,"data":"{\"status\":\"motion\"}"}
#
U 172.16.15.1:53737 -> 172.16.15.100:9898
{"data": {"key": "b0fc52dfcd302e70c40a532534c6ca36", "rgb": 0}, "cmd": "write", "sid": "34ce00fb7438"}
#
U 172.16.15.100:9898 -> 172.16.15.1:53737
{"cmd":"write_ack","sid":"34ce00fb7438","data":"{\"error\":\"Invalid key\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"TGHYZuTFM1vhHcAp","data":"{\"ip\":\"172.16.15.100\"}"}	

Restart HA

root@flip:~# ngrep -d enp1s0f0 -W byline port 9898
interface: enp1s0f0 (172.16.15.0/255.255.255.0)
filter: (ip or ip6) and ( port 9898 )


#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"rjWTG3anaJ1Kt1AW","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"WRdTIw48Qm9CxzYc","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"report","model":"sensor_motion.aq2","sid":"158d00022367d1","short_id":8032,"data":"{\"lux\":\"1\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"report","model":"sensor_motion.aq2","sid":"158d00022367d1","short_id":8032,"data":"{\"status\":\"motion\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"xgDqjlpC71EoddXj","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"83Ddd8YSPnTJy4qP","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"CwbgKApvoWN6Ko9O","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"LAnwoNPVZhOZNZuh","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"FZvWcN3sgBQm9AIB","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"p9MeT40zFKBzKGXF","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"GfWq1w1FyBp4jwKj","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"wKF8DQSgm2bDgENI","data":"{\"ip\":\"172.16.15.100\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"report","model":"sensor_motion.aq2","sid":"158d000223670f","short_id":11235,"data":"{\"lux\":\"0\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d000223670f","short_id":11235,"data":"{\"voltage\":3055}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd" : "get_id_list"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"get_id_list_ack","sid":"34ce00fb7438","token":"QQzGSFTmbTT8Jdi2","data":"[\"158d0001b1b8a1\",\"158d0001b1b7d4\",\"158d000200a532\",\"158d00022367d1\",\"158d0001e7b472\",\"158d000223670f\",\"158d00019df092\",\"158d00016bfc16\"]"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d0001b1b8a1"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"magnet","sid":"158d0001b1b8a1","short_id":56278,"data":"{\"voltage\":2995,\"status\":\"close\"}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d0001b1b7d4"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"magnet","sid":"158d0001b1b7d4","short_id":40836,"data":"{\"voltage\":2975,\"status\":\"close\"}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d000200a532"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"sensor_ht","sid":"158d000200a532","short_id":2891,"data":"{\"voltage\":3005,\"temperature\":\"1892\",\"humidity\":\"3900\"}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d00022367d1"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d00022367d1","short_id":8032,"data":"{\"voltage\":3045,\"lux\":\"1\"}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d0001e7b472"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"sensor_ht","sid":"158d0001e7b472","short_id":22314,"data":"{\"voltage\":2985,\"temperature\":\"1935\",\"humidity\":\"4416\"}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d000223670f"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d000223670f","short_id":11235,"data":"{\"voltage\":3055}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d00019df092"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"switch","sid":"158d00019df092","short_id":64368,"data":"{\"voltage\":3062}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"158d00016bfc16"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"switch","sid":"158d00016bfc16","short_id":54031,"data":"{\"voltage\":3112}"}
#
U 172.16.15.1:54487 -> 172.16.15.100:9898
{"cmd":"read","sid":"34ce00fb7438"}
#
U 172.16.15.100:9898 -> 172.16.15.1:54487
{"cmd":"read_ack","model":"gateway","sid":"34ce00fb7438","short_id":0,"data":"{\"rgb\":1694433284,\"illumination\":978,\"proto_version\":\"1.0.9\"}"}
#
U 172.16.15.100:4321 -> 224.0.0.50:9898
{"cmd":"heartbeat","model":"gateway","sid":"34ce00fb7438","short_id":"0","token":"QU9nHjMRlyFMci5j","data":"{\"ip\":\"172.16.15.100\"}"}
#```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment