Skip to content

Instantly share code, notes, and snippets.

@hscissors
Last active April 18, 2020 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hscissors/26448b38eaf36be9aa64da85fd28de9e to your computer and use it in GitHub Desktop.
Save hscissors/26448b38eaf36be9aa64da85fd28de9e to your computer and use it in GitHub Desktop.
12:41:09,567 root INFO Broadlink API Debug
12:41:09,568 __main__ DEBUG Starting discovery...
12:41:09,570 __main__ DEBUG [Request]
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\xf6\xff\xff\xff\xe4\x07)\x0c\x14\x06\x12\x04\x00\x00\x00\x00\xc0\xa8\x01/\x1c\xdf\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00')
12:41:09,723 __main__ DEBUG [Response]
bytearray(b"\x00\x00\x00\x00\x00\x00\x00\x00\xf6\xff\xff\xff\xe4\x07)\x0c\x14\x06\x12\x04\x00\x00\x00\x00\xc0\xa8\x01/\x1c\xdf\x00\x00\xb1\xd5\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00<\xb2(\xe67\'a\x01\xa8\xc0\x08\x8c6\xa7\xdf$\xe6\x99\xba\xe8\x83\xbd\xe9\x81\xa5\xe6\x8e\xa7\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00")
12:41:14,574 __main__ DEBUG [Device 0]
12:41:14,574 __main__ DEBUG Host: ('192.168.1.97', 80)
12:41:14,583 __main__ DEBUG Mac: 088c36a7df24
12:41:14,583 __main__ DEBUG Type: 0x2737
12:41:14,583 __main__ DEBUG Starting authentication...
12:41:14,583 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcb\xf6\x00\x007\'e\x00\x92\x7f\x08\x8c6\xa7\xdf$\x00\x00\x00\x00\xa1\xc3\x00\x00E4R\xe7\xf9.\xda\x95\x83D\x93\x085\xef\x9am\xfbi-\xc3p\xb9\x04C\xac\\\xd6?\xbbS\xad\xfa\x08\x81L\xa7\xf8\xcfAq\x002\x8eW\x0c;\x86\xc9M\x05p\x84I\xa3\x89\xe2\x9a\xe1\x04T6\xa0[\xdd\xdc\x02\xc1a\xaf\x13%\xe8~\x19\xb0\xf7\xd1\xce\x06\x8d\xe5\x1ba\x91V\x87m3\x8c\xff;\x99\x1e@\xcd\xb1")
12:41:14,610 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xac\xdb\x00\x007'\xe9\x03\x92\x7f\x08\x8c6\xa7\xdf$\x00\x00\x00\x00\x11\xc6\x00\x00\xc7K%\x91\x9b\xe3r\xb0l\x13\x9d\xefc\xd7\xf5G\xf1\xd4\x15D\xa9\xacn\xcf\x95\xdd\xdc\xf5\xac\xed\xb33", ('192.168.1.97', 80))
12:41:14,611 __main__ DEBUG Authentication successful.
12:41:14,611 __main__ DEBUG Entering learning mode...
12:41:14,611 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00g\xd1\x00\x007\'j\x00\x93\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb2\xbe\x00\x00\xb0\xc2\xdd\\\'\x1ax\xaaK\xab\x85\x9b\xf0\xe2O\xb8")
12:41:14,640 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xee\xd1\x00\x007'\xee\x03\x93\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb2\xbe\x00\x00\xb0\xc2\xdd\\'\x1ax\xaaK\xab\x85\x9b\xf0\xe2O\xb8", ('192.168.1.97', 80))
12:41:14,640 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb5\xcf\x00\x007\'j\x00\x94\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:14,665 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xe9\xca\xfb\xff7'\xee\x03\x94\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:15,667 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb6\xcf\x00\x007\'j\x00\x95\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:15,692 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xea\xca\xfb\xff7'\xee\x03\x95\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:16,694 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb7\xcf\x00\x007\'j\x00\x96\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:16,722 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xeb\xca\xfb\xff7'\xee\x03\x96\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:17,723 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb8\xcf\x00\x007\'j\x00\x97\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:17,751 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xec\xca\xfb\xff7'\xee\x03\x97\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:18,753 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb9\xcf\x00\x007\'j\x00\x98\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:18,778 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xed\xca\xfb\xff7'\xee\x03\x98\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:19,780 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xba\xcf\x00\x007\'j\x00\x99\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:19,808 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xee\xca\xfb\xff7'\xee\x03\x99\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:20,810 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbb\xcf\x00\x007\'j\x00\x9a\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:20,835 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xef\xca\xfb\xff7'\xee\x03\x9a\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:21,837 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xcf\x00\x007\'j\x00\x9b\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:21,863 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\xca\xfb\xff7'\xee\x03\x9b\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:22,865 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbd\xcf\x00\x007\'j\x00\x9c\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:22,893 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\xca\xfb\xff7'\xee\x03\x9c\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:23,894 __main__ DEBUG [Request]
bytearray(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbe\xcf\x00\x007\'j\x00\x9d\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xb3\xbe\x00\x00\xbe\xe15\x042\xc1\xbfR\xb6[-\xc9\xad.R9")
12:41:23,919 __main__ DEBUG [Response]
(b"Z\xa5\xaaUZ\xa5\xaaU\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf2\xca\xfb\xff7'\xee\x03\x9d\x7f\x08\x8c6\xa7\xdf$\x01\x00\x00\x00\xaf\xbe\x00\x00", ('192.168.1.97', 80))
12:41:24,920 __main__ DEBUG Failed to learn: no code received.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment