ip:10.0.1.12,mask:255.255.255.0,gw:10.0.1.1 [2018-03-16 16:36:51] >>> wifi_config: wifi_config_sta_connect_timeout_callback: Successfully connected [2018-03-16 16:36:51] >>> HomeKit: Starting server [2018-03-16 16:36:51] >>> HomeKit: Using existing accessory ID: ED:E5:DD:B5:E3:78 [2018-03-16 16:36:51] >>> HomeKit: Found admin pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269, disabling pair setup [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] Function called without core lock [2018-03-16 16:36:51] >>> HomeKit: Configuring mDNS [2018-03-16 16:36:51] >>> HomeKit: mDNS announcement system started: Name=SonoffB 96E42A c#=1ff=0id=ED:E5:DD:B5:E3:78md=Sonoff Basic wPOWpv=1.0sf=0ci=8s#=1 Port=5556 TTL=255 [2018-03-16 16:36:51] >>> homekit_run_server: Staring HTTP server [2018-03-16 16:36:51] >>> HomeKit: Got new client connection: 4 [2018-03-16 16:36:51] >>> homekit_client_process: [Client 4] Got 168 incomming data [2018-03-16 16:36:51] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:36:51] >>> homekit_server_on_pair_verify: Free heap: 32084 [2018-03-16 16:36:51] >>> tlv_debug: Got following TLV values: [2018-03-16 16:36:51] >>> tlv_debug: Type 3 value (32 bytes): \xF2\xE8\x96\x1F;bd\x1B\xA7\xE6\x85\xD3\x97\xE6\xD8Z`\xE3\xA2\xA8\xF4\xA77\x0A\x98\xA4t\xAFJ4\x8DI [2018-03-16 16:36:51] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:36:51] >>> HomeKit: [Client 4] Pair Verify Step 1/2 [2018-03-16 16:36:51] >>> homekit_server_on_pair_verify: [Client 4] Importing device Curve25519 public key [2018-03-16 16:36:51] >>> homekit_server_on_pair_verify: [Client 4] Generating accessory Curve25519 key [2018-03-16 16:36:53] >>> homekit_server_on_pair_verify: [Client 4] Exporting accessory Curve25519 public key [2018-03-16 16:36:53] >>> homekit_server_on_pair_verify: [Client 4] Generating Curve25519 shared secret [2018-03-16 16:36:54] >>> homekit_server_on_pair_verify: [Client 4] Generating signature [2018-03-16 16:36:55] >>> homekit_server_on_pair_verify: [Client 4] Generating proof [2018-03-16 16:36:55] >>> homekit_server_on_pair_verify: [Client 4] Encrypting response [2018-03-16 16:36:55] >>> send_tlv_response: [Client 4] Sending TLV response [2018-03-16 16:36:55] >>> tlv_debug: Got following TLV values: [2018-03-16 16:36:55] >>> tlv_debug: Type 5 value (101 bytes): \xD5^&+?\xE9\xF8\xDE\x1F3Q\x16@\xB5\x19\xD2b\x12E\xEA\x9B\x03\x09\x88\x89\x0C\x8A\x0C\x1AA}\x13\x86\x13#\xD3\xED\x9E\xDBG\xD5K\xEC\xA5\xD16\xE7\xFE\xA6\xA9!')\xEFW\xC26x\xBD\x9D;\xBB\x02\x8EV,[\x97)9\xF6\xAF\x81\x0E\x94\x96\x82[\x0Ad\x8C\x86\xA0&\xF8\x00H\xB6\x1B\xD5\x15S\xB6\x033%\xAA_\x82\xA1\xE8 [2018-03-16 16:36:56] >>> tlv_debug: Type 3 value (32 bytes): \x1BW\xE5\x1B\xB1\xB3\x17\xFC\x178\x92\xAD\x87tY\xE8\x17(\xB0q\xE9o\x14Ur@y3\xF5\x06n% [2018-03-16 16:36:56] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:36:56] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xD5^&+?\xE9\xF8\xDE\x1F3Q\x16@\xB5\x19\xD2b\x12E\xEA\x9B\x03\x09\x88\x89\x0C\x8A\x0C\x1AA}\x13\x86\x13#\xD3\xED\x9E\xDBG\xD5K\xEC\xA5\xD16\xE7\xFE\xA6\xA9!')\xEFW\xC26x\xBD\x9D;\xBB\x02\x8EV,[\x97)9\xF6\xAF\x81\x0E\x94\x96\x82[\x0Ad\x8C\x86\xA0&\xF8\x00H\xB6\x1B\xD5\x15S\xB6\x033%\xAA_\x82\xA1\xE8\x03 \x1BW\xE5\x1B\xB1\xB3\x17\xFC\x178\x92\xAD\x87tY\xE8\x17(\xB0q\xE9o\x14Ur@y3\xF5\x06n%\x06\x01\x02 [2018-03-16 16:36:56] >>> homekit_client_process: [Client 4] Finished processing [2018-03-16 16:36:56] >>> HomeKit: Got new client connection: 5 [2018-03-16 16:36:56] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-16 16:36:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:36:56] >>> homekit_server_on_pair_verify: Free heap: 28464 [2018-03-16 16:36:56] >>> tlv_debug: Got following TLV values: [2018-03-16 16:36:56] >>> tlv_debug: Type 3 value (32 bytes): n&L\xC22\xD1\x89<\\\xAAa\xD2\xE6w\xDCc\xA6\x8FL\xF5\xDE\x15!\xA1\xAE"^\xA2|\xE9%w [2018-03-16 16:36:56] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:36:56] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-16 16:36:56] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-16 16:36:56] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-16 16:36:57] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-16 16:36:57] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-16 16:36:58] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-16 16:37:00] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 16:37:00] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:00] >>> tlv_debug: Type 5 value (101 bytes): \xD8\xF6\xC2=9J\xE6\x00\x15\xB0\x89\x94H\xE4\x8FIHr~o\xC8(\xF5\x94\xE1\xBCR\xAE\xCF\xF4X%\x91\x15\xC3\xB5\x07\xD7ro\xCE#\xA2\x02 \xE0&\xC8\xFAK\x95\x92\xE4\xF8\x8C\xDE,\x0E\xB0=\x8F\x83[r\x15\xC8_o\xD9\x92\xC7\xDD\x0AR\xC6{$\x02?\xEC\x0D\xEFa\xEE'i\x1D\x8F\xE7\x17\x97U5\xB7\xBE\xC0r\xD5\xBD\xD0z [2018-03-16 16:37:00] >>> tlv_debug: Type 3 value (32 bytes): \x8F>\x86\xA2F\xE7\x91\xF1v#TL+\x0BB$\xC1\x9D /`\x8A|\x82\xD8O`\x07Y\x95\xEEu [2018-03-16 16:37:00] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:37:00] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xD8\xF6\xC2=9J\xE6\x00\x15\xB0\x89\x94H\xE4\x8FIHr~o\xC8(\xF5\x94\xE1\xBCR\xAE\xCF\xF4X%\x91\x15\xC3\xB5\x07\xD7ro\xCE#\xA2\x02 \xE0&\xC8\xFAK\x95\x92\xE4\xF8\x8C\xDE,\x0E\xB0=\x8F\x83[r\x15\xC8_o\xD9\x92\xC7\xDD\x0AR\xC6{$\x02?\xEC\x0D\xEFa\xEE'i\x1D\x8F\xE7\x17\x97U5\xB7\xBE\xC0r\xD5\xBD\xD0z\x03 \x8F>\x86\xA2F\xE7\x91\xF1v#TL+\x0BB$\xC1\x9D /`\x8A|\x82\xD8O`\x07Y\x95\xEEu\x06\x01\x02 [2018-03-16 16:37:00] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 16:37:00] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: Free heap: 28176 [2018-03-16 16:37:00] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:00] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 16:37:00] >>> tlv_debug: Type 5 value (120 bytes): \x05\xA9d\x9A\xFD\xBE?!\x1D\x94~\x97\xF2m\x94\xF2\x84\x0E:\x1E_f\xF74j\xFF03\x82\x8E\xC9{\xBC\xF2\xCE\xB4\xED\x03\xCA\x14\x0E\xE2\xE2o,\xD3\xD2\xF2\x89\xB0\xB5<\xFB\x99~D\xDC\xB9$\xDE\xE2\xAA\xB2\xC9\x18\xFC\x89\x8F\xC2\xE2\x05B\xD5\xED\xA5\xA0\xB7\x8F\x0A\x80\x05\x9C\x1B\xDA\x92\xB6\xC3T9\x1C\x8D\x17\x989\xB4+\xD1\x93{g\x17]\x83\xC9M\xB8L\x8F\x8E\xD9\xEE;\xFF\xF8\xC8\xBB\xE7y\xD9 [2018-03-16 16:37:00] >>> HomeKit: [Client 4] Pair Verify Step 2/2 [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: [Client 4] Decrypting payload [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: [Client 4] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 16:37:00] >>> HomeKit: [Client 4] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 16:37:00] >>> homekit_server_on_pair_verify: [Client 4] Verifying device signature [2018-03-16 16:37:03] >>> send_tlv_response: [Client 4] Sending TLV response [2018-03-16 16:37:03] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:03] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 16:37:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 16:37:03] >>> HomeKit: [Client 4] Verification successful, secure session established [2018-03-16 16:37:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-16 16:37:03] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-16 16:37:03] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:37:03] >>> homekit_server_on_pair_verify: Free heap: 29900 [2018-03-16 16:37:03] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:03] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 16:37:03] >>> tlv_debug: Type 5 value (120 bytes): \xEF\xB8[\xDE\x1C\x8DW\xE2\xEB\x09\x05g\x84\xA4\x93\x82\xF8\xFF\x1Dg\xC2\x84\x8En\xA2\xF9\x88^\x1E\xA0\xFD\xC7)\xB1\x9D\x8BUcP\xFA\xB8p #\xEF\x15\xB1\xF8\xAE`\x87\xBDC\x81\x85T\xBB\xEA\xF1\xF5\xD6\xA0\xD0\x89\xF3q\xAD\xB1\x1B82\x08\xD6\x0AZb;\x0C\xF6\x12\x8E]:K\xD2\x82\x84p_wMg\xDC)\x90\xF0\x9F\\V\x92\xE1\xEA$B\x0Bc\xEB(\xF8i\x03\xAAa\x14\xE8\xBC\x0B\x83\xCE\x07 [2018-03-16 16:37:03] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-16 16:37:03] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-16 16:37:03] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 16:37:03] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 16:37:03] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-16 16:37:06] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 16:37:06] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:06] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 16:37:06] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 16:37:06] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-16 16:37:06] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 16:37:06] >>> homekit_client_process: [Client 4] Got 88 incomming data [2018-03-16 16:37:06] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-16 16:37:06] >>> homekit_client_process: [Client 4] Decrypted 70 bytes, available 0 [2018-03-16 16:37:06] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 16:37:06] >>> HomeKit: [Client 4] Get Accessories [2018-03-16 16:37:06] >>> homekit_server_on_get_accessories: Free heap: 28472 [2018-03-16 16:37:06] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 16:37:06] >>> client_send: [Client 4] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 16:37:06] >>> client_send: [Client 4] Sending payload: 27c\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":true}]}]}]}\x0D\x0A [2018-03-16 16:37:06] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 16:37:06] >>> homekit_client_process: [Client 4] Finished processing [2018-03-16 16:37:06] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-16 16:37:06] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-16 16:37:06] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-16 16:37:06] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 16:37:06] >>> HomeKit: [Client 5] Get Accessories [2018-03-16 16:37:06] >>> homekit_server_on_get_accessories: Free heap: 26736 [2018-03-16 16:37:06] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 16:37:06] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 16:37:06] >>> client_send: [Client 5] Sending payload: 27c\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":true}]}]}]}\x0D\x0A [2018-03-16 16:37:06] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 16:37:06] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 16:37:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:37:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:37:13] >>> HomeKit: Got new client connection: 6 [2018-03-16 16:37:13] >>> homekit_client_process: [Client 6] Got 168 incomming data [2018-03-16 16:37:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:37:13] >>> homekit_server_on_pair_verify: Free heap: 28648 [2018-03-16 16:37:13] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:13] >>> tlv_debug: Type 3 value (32 bytes): m\xB8sO\xEB\x8D\x95\xBF\x9B\xA6\x1A'\x0D\xB3\x1B\xED\x0F\xCF\xDFW-U\xB7y\x92Hck\xF9\xE7t{ [2018-03-16 16:37:13] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:37:13] >>> HomeKit: [Client 6] Pair Verify Step 1/2 [2018-03-16 16:37:13] >>> homekit_server_on_pair_verify: [Client 6] Importing device Curve25519 public key [2018-03-16 16:37:13] >>> homekit_server_on_pair_verify: [Client 6] Generating accessory Curve25519 key [2018-03-16 16:37:14] >>> homekit_server_on_pair_verify: [Client 6] Exporting accessory Curve25519 public key [2018-03-16 16:37:14] >>> homekit_server_on_pair_verify: [Client 6] Generating Curve25519 shared secret [2018-03-16 16:37:15] >>> homekit_server_on_pair_verify: [Client 6] Generating signature [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: [Client 6] Generating proof [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: [Client 6] Encrypting response [2018-03-16 16:37:17] >>> send_tlv_response: [Client 6] Sending TLV response [2018-03-16 16:37:17] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:17] >>> tlv_debug: Type 5 value (101 bytes): \xC6\xB9\x13<\xDD@\xD9\xA64g\xC4\x0CU\x88\x0CH\xC8\xBEY<#\x8F)|\x987'=\x1D\xCD5\xD9\x97o&\xBF\xFD\x8B79\xF0!\x93\x1E/1\x0ECU\xF8\xEA\x1Ck\x03\xCC+l\xC8`$:\x0E\x07\xF3\x13\xDBX\xECUR\x1B\xAB\xF6\xB4\x99\x06M\x87\x12\x88Mdw[~\xDE\x98\x88KGAY\xFD\xACE\xF4O\xC1v\xE5> [2018-03-16 16:37:17] >>> tlv_debug: Type 3 value (32 bytes): :K\x15&\x81\x02\xADy\xBA\x0Bd\x9A%a\xFE\xDDM\x8B\xC8\xF2Q\xFB\xF2\x09\x03O\xF4\x81\xCE\xD7Y [2018-03-16 16:37:17] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:37:17] >>> client_send: [Client 6] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC6\xB9\x13<\xDD@\xD9\xA64g\xC4\x0CU\x88\x0CH\xC8\xBEY<#\x8F)|\x987'=\x1D\xCD5\xD9\x97o&\xBF\xFD\x8B79\xF0!\x93\x1E/1\x0ECU\xF8\xEA\x1Ck\x03\xCC+l\xC8`$:\x0E\x07\xF3\x13\xDBX\xECUR\x1B\xAB\xF6\xB4\x99\x06M\x87\x12\x88Mdw[~\xDE\x98\x88KGAY\xFD\xACE\xF4O\xC1v\xE5>\x03 :K\x15&\x81\x02\xADy\xBA\x0Bd\x9A%a\xFE\xDDM\x8B\xC8\xF2Q\xFB\xF2\x09\x03O\xF4\x81\xCE\xD7Y\x06\x01\x02 [2018-03-16 16:37:17] >>> homekit_client_process: [Client 6] Finished processing [2018-03-16 16:37:17] >>> homekit_client_process: [Client 6] Got 257 incomming data [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: Free heap: 28360 [2018-03-16 16:37:17] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:17] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 16:37:17] >>> tlv_debug: Type 5 value (120 bytes): e\x08\xFF\x0C<,\xE0\xE8;$+\xA2\x96\xF8^\x05\x99\xBE\xE7U\xC6%p\xD3\xA0\xAE\xFEg\x8E\xDA\xE1%\xC4\xD7\xB6\x87\x15R\x0E\x0CY\x02\x0B\xFF\xB7\x96\x1EAsf\x8B\xBE\xA8\x0E\xFCctU\x19\xB7tp\xD7\xD5\x8B\x14\x0E\xE7\xC6\x03\xCF\xCF\x10\xCC\x18G\xDF\xC8\x0B\x07\x18\xA6]30\x1B\xF7\xDC9\xDD\x02\x0A\x9D\xEAy\x19\x82\x89c?)\xD67\xBA\xD8\xF4\xBB\x92\xC2\xD4qE\x9A\x1C\xBC\xAF.\x90G [2018-03-16 16:37:17] >>> HomeKit: [Client 6] Pair Verify Step 2/2 [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: [Client 6] Decrypting payload [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: [Client 6] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 16:37:17] >>> HomeKit: [Client 6] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 16:37:17] >>> homekit_server_on_pair_verify: [Client 6] Verifying device signature [2018-03-16 16:37:20] >>> send_tlv_response: [Client 6] Sending TLV response [2018-03-16 16:37:20] >>> tlv_debug: Got following TLV values: [2018-03-16 16:37:20] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 16:37:20] >>> client_send: [Client 6] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 16:37:20] >>> HomeKit: [Client 6] Verification successful, secure session established [2018-03-16 16:37:20] >>> homekit_client_process: [Client 6] Finished processing [2018-03-16 16:37:21] >>> homekit_client_process: [Client 6] Got 88 incomming data [2018-03-16 16:37:21] >>> homekit_client_process: [Client 6] Decrypting data [2018-03-16 16:37:21] >>> homekit_client_process: [Client 6] Decrypted 70 bytes, available 0 [2018-03-16 16:37:21] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 16:37:21] >>> HomeKit: [Client 6] Get Accessories [2018-03-16 16:37:21] >>> homekit_server_on_get_accessories: Free heap: 28532 [2018-03-16 16:37:21] >>> client_send: [Client 6] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 16:37:21] >>> client_send: [Client 6] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 16:37:21] >>> client_send: [Client 6] Sending payload: 27c\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":true}]}]}]}\x0D\x0A [2018-03-16 16:37:21] >>> client_send: [Client 6] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 16:37:21] >>> homekit_client_process: [Client 6] Finished processing [2018-03-16 16:37:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:37:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:37:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:37:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:38:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:38:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:38:27] >>> HomeKit: Got new client connection: 7 [2018-03-16 16:38:27] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-16 16:38:27] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:38:27] >>> homekit_server_on_pair_verify: Free heap: 26472 [2018-03-16 16:38:27] >>> tlv_debug: Got following TLV values: [2018-03-16 16:38:27] >>> tlv_debug: Type 3 value (32 bytes): \xBB_\xC9\xABQ\x08\x9C\x19\xB5\xF2\xEE\x938\x08"g\xBC\x04\xD3(n\x0B\xB5\xD9\x9C`\x15\x8F\x8E\x18HP [2018-03-16 16:38:27] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:38:27] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-16 16:38:27] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-16 16:38:27] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-16 16:38:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:38:28] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-16 16:38:28] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-16 16:38:29] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-16 16:38:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:38:31] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-16 16:38:31] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-16 16:38:31] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-16 16:38:31] >>> tlv_debug: Got following TLV values: [2018-03-16 16:38:31] >>> tlv_debug: Type 5 value (101 bytes): \x08-\xE7q\x8F\x9D\x9D\xED\x82\x04\xBB\x16\xFF\x85\x8A(\xADZ\x10M\x88\x9A\xF0\xF6eJs^]\xBC\xDE)~\xFAN\xD5\xC3Y\xE2Ju\x97\x10t\x0B\xB0\xD03\x89\x12\xF5\x17\xDE\xC4\xBF\x1FQ^sF\xCC\xE5\x13v\x8F_\xC4\xFA\xB3\xB4\xA0\x85 [2018-03-16 16:38:31] >>> tlv_debug: Type 3 value (32 bytes): \x99\xB8\x0B\x13\x95\xA0\xCC\x13\xE5\xF7L8SZ\xD2Zz^\x13d\xCDO\x15?\x89u\xF1\xB0\xECnI< [2018-03-16 16:38:31] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:38:31] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x08-\xE7q\x8F\x9D\x9D\xED\x82\x04\xBB\x16\xFF\x85\x8A(\xADZ\x10M\x88\x9A\xF0\xF6eJs^]\xBC\xDE)~\xFAN\xD5\xC3Y\xE2Ju\x97\x10t\x0B\xB0\xD03\x89\x12\xF5\x17\xDE\xC4\xBF\x1FQ^sF\xCC\xE5\x13v\x8F_\xC4\xFA\xB3\xB4\xA0\x85\x03 \x99\xB8\x0B\x13\x95\xA0\xCC\x13\xE5\xF7L8SZ\xD2Zz^\x13d\xCDO\x15?\x89u\xF1\xB0\xECnI<\x06\x01\x02 [2018-03-16 16:38:31] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 16:38:32] !!! HomeKit: [Client 7] Error reading data from socket (code 104). Disconnecting [2018-03-16 16:38:32] >>> HomeKit: [Client 7] Closing client connection [2018-03-16 16:38:34] >>> HomeKit: Got new client connection: 7 [2018-03-16 16:38:34] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-16 16:38:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:38:34] >>> homekit_server_on_pair_verify: Free heap: 26748 [2018-03-16 16:38:34] >>> tlv_debug: Got following TLV values: [2018-03-16 16:38:34] >>> tlv_debug: Type 3 value (32 bytes): \x98l\x93\x92T\xC1j\xB7\xB3\x0D\x9F\xD6\x08R\xFAYG\xF8]\x02 [2018-03-16 16:38:34] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:38:34] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-16 16:38:34] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-16 16:38:34] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-16 16:38:35] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-16 16:38:35] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-16 16:38:36] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-16 16:38:38] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-16 16:38:38] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-16 16:38:38] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-16 16:38:38] >>> tlv_debug: Got following TLV values: [2018-03-16 16:38:38] >>> tlv_debug: Type 5 value (101 bytes): \xFE\xE1\xE6\xBA\xE49\x95\xBDo\xBE\xE8p`\xFA(\x96o\x1F#\xD7\xCBM\x88\xAE\xE3\x1Fu\x9F\xFD\xA0\x88\xCD\xFF\xF6\x9D\xF3\x83\xAA\xC7n\x9B\xBD"\xDB\xC6;\xA4\x1D\x9FN-[13\x8FN1(\x87-\x12\xB1sJM\x82\x87C\xEAn\xF4\xDE\xBB\xA5nX\xFCjmoe\xB6~^d\xD8\xDC\xBB_\x19\xE1\xEB"\xC9\x15\xEB[\xC07\x04^ [2018-03-16 16:38:38] >>> tlv_debug: Type 3 value (32 bytes): \x87C}-\xF5\xC0l\x19G\xFE\xC8\xA3\x97RP\x9AO\x8E\x04\x94k\x19r\xF5=9\xE1\xF6\xCF\xF6\x156 [2018-03-16 16:38:38] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:38:38] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xFE\xE1\xE6\xBA\xE49\x95\xBDo\xBE\xE8p`\xFA(\x96o\x1F#\xD7\xCBM\x88\xAE\xE3\x1Fu\x9F\xFD\xA0\x88\xCD\xFF\xF6\x9D\xF3\x83\xAA\xC7n\x9B\xBD"\xDB\xC6;\xA4\x1D\x9FN-[13\x8FN1(\x87-\x12\xB1sJM\x82\x87C\xEAn\xF4\xDE\xBB\xA5nX\xFCjmoe\xB6~^d\xD8\xDC\xBB_\x19\xE1\xEB"\xC9\x15\xEB[\xC07\x04^\x03 \x87C}-\xF5\xC0l\x19G\xFE\xC8\xA3\x97RP\x9AO\x8E\x04\x94k\x19r\xF5=9\xE1\xF6\xCF\xF6\x156\x06\x01\x02 [2018-03-16 16:38:38] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 16:38:40] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-16 16:38:40] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:38:40] >>> homekit_server_on_pair_verify: Free heap: 26468 [2018-03-16 16:38:40] >>> tlv_debug: Got following TLV values: [2018-03-16 16:38:40] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 16:38:40] >>> tlv_debug: Type 5 value (120 bytes): RJ$\xF7,l\xB7\xA0n\xB4\x94&\xFA},\x9C\xB4\x8C\xA8,\x9B\x1F1\x9E\x94\x82)\x11vNyq\xEBYJ\xE6\xBB~P\xFC\x185\xDC\x91\x0A\x9DQRo%\xE7~-\xD8$\xDEBw\xF4\x15d\xF5\xE9\xCA[!vJ(\xC8d\xD4\xBA*\x95\xF6\xCB\x14\x1C%\xA8K\x9F\xDF\x8E\x86\x93z\x0A\x87\xD0\xCB\xAF\xA80NG\x05\xB3Dj+\xFF\xD91{\x96\xCC\xAB\x98\x1A5\x8B\xA3\x1C\xE3L\xB6 [2018-03-16 16:38:40] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-16 16:38:40] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-16 16:38:40] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 16:38:40] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 16:38:40] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-16 16:38:43] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-16 16:38:43] >>> tlv_debug: Got following TLV values: [2018-03-16 16:38:43] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 16:38:43] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 16:38:43] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-16 16:38:43] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 16:38:43] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-16 16:38:43] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-16 16:38:43] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-16 16:38:43] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 16:38:43] >>> HomeKit: [Client 7] Get Accessories [2018-03-16 16:38:43] >>> homekit_server_on_get_accessories: Free heap: 26644 [2018-03-16 16:38:43] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 16:38:43] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 16:38:43] >>> client_send: [Client 7] Sending payload: 27c\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":true}]}]}]}\x0D\x0A [2018-03-16 16:38:43] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 16:38:43] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 16:38:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:38:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:39:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:39:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:39:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:39:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:39:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:39:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:40:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:40:09] >>> HomeKit: Got new client connection: 8 [2018-03-16 16:40:09] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-16 16:40:09] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:40:09] >>> homekit_server_on_pair_verify: Free heap: 24868 [2018-03-16 16:40:09] >>> tlv_debug: Got following TLV values: [2018-03-16 16:40:09] >>> tlv_debug: Type 3 value (32 bytes): n\x9C\xA0\x1FX\xB6\xE8@m\xD2\xC9\x1B\xCE\xB22\xEF\x13\xC0.\x19\x1B0\\\x05\xF2\x1B|p\x16\x15\x89] [2018-03-16 16:40:09] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:40:09] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-16 16:40:09] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-16 16:40:09] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-16 16:40:10] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-16 16:40:10] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-16 16:40:11] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-16 16:40:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:40:13] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-16 16:40:13] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-16 16:40:13] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 16:40:13] >>> tlv_debug: Got following TLV values: [2018-03-16 16:40:13] >>> tlv_debug: Type 5 value (101 bytes): Z\xDC\xEB\x9CG\xC4\xDB\x93\xCB\x80\x12\xFDD\xB0\xCCoL\xE4\xBA\x1C\x99\xF2\xE2\xE7\xFD\x94\x85|\xE1\x94\xC2\x18\xAE\x89.,\x0DR[:\x9A,\xE6\x17W\xAB3\x04\xC7\x92\x8D\xF9\x12\x86\xEF\xB2\x12\x9A\xFE@\xC0\xD5\x84A\xA1\xD9\xB3\x00\xB1K\xC5\x00z\xE5X\x14]\xFBFa\xE2\xB3\xD6\xFD\x0D\xE0\xD6D=\x88\x00\xB2\x9F\x0A\x0E\\F\xC1R? [2018-03-16 16:40:13] >>> tlv_debug: Type 3 value (32 bytes): \xFDP*\x11\xD8CSRY\xCD(s\xAB\xFD\xCF\x07v\x99\x83\xFC\x1E\x9F$\xBBq\xFA\xFBw\x10\xB3dQ [2018-03-16 16:40:13] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:40:13] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eZ\xDC\xEB\x9CG\xC4\xDB\x93\xCB\x80\x12\xFDD\xB0\xCCoL\xE4\xBA\x1C\x99\xF2\xE2\xE7\xFD\x94\x85|\xE1\x94\xC2\x18\xAE\x89.,\x0DR[:\x9A,\xE6\x17W\xAB3\x04\xC7\x92\x8D\xF9\x12\x86\xEF\xB2\x12\x9A\xFE@\xC0\xD5\x84A\xA1\xD9\xB3\x00\xB1K\xC5\x00z\xE5X\x14]\xFBFa\xE2\xB3\xD6\xFD\x0D\xE0\xD6D=\x88\x00\xB2\x9F\x0A\x0E\\F\xC1R?\x03 \xFDP*\x11\xD8CSRY\xCD(s\xAB\xFD\xCF\x07v\x99\x83\xFC\x1E\x9F$\xBBq\xFA\xFBw\x10\xB3dQ\x06\x01\x02 [2018-03-16 16:40:13] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 16:40:13] >>> HomeKit: [Client 8] Closing client connection [2018-03-16 16:40:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:40:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:40:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:40:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:41:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:41:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:41:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:41:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:41:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:41:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:42:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:42:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:42:23] >>> HomeKit: Got new client connection: 8 [2018-03-16 16:42:23] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-16 16:42:23] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:42:23] >>> homekit_server_on_pair_verify: Free heap: 24868 [2018-03-16 16:42:23] >>> tlv_debug: Got following TLV values: [2018-03-16 16:42:23] >>> tlv_debug: Type 3 value (32 bytes): \xE7k\xF1\x1B\xFD\x1CY3|\x1D\x08t\xC9\xFB\xEB\x14\x1A\xA6\x19+\xFB\x9D\xC0\xB4vJJ\x1B\xAA\xA1v< [2018-03-16 16:42:23] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:42:23] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-16 16:42:23] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-16 16:42:23] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-16 16:42:24] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-16 16:42:24] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-16 16:42:26] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-16 16:42:27] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-16 16:42:27] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-16 16:42:27] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 16:42:27] >>> tlv_debug: Got following TLV values: [2018-03-16 16:42:27] >>> tlv_debug: Type 5 value (101 bytes): \xC0L\xF2\x0Am\x95\xCA\x14^f\x11\x0A\xB2cjU\xD8\xB3`\x06\x13\x03gF\xF2\x17\xE2\x91\xB7\xEFT\xCF\xFE5#LK\x0AS\x9A\xAC\xE2\\9\xE2\xC9D\x05\xD3\xEDz\xF6\xB6\xC1\x96\xAB\xA9\x03\xAB\xE5\x9F\x00\xD1\x9D\xD9B\xED\x16V\xBBAoS*\xD9,\xC9t\xFA%\xEC\x8D\xB6m\x15bl\x8B\x0A\xF6\x0F\xA0\x14!\xDE\xAC\x04\x93)T\x91 [2018-03-16 16:42:27] >>> tlv_debug: Type 3 value (32 bytes): \xBD\xA4\xA5\xF8\x18j={V\xC7[y\x00\x1BI\xB6\xB2v\xB3\x9F\x86\xB4E\xBA\x99\xCA{@\x1E\x80\x18\x02 [2018-03-16 16:42:27] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:42:27] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC0L\xF2\x0Am\x95\xCA\x14^f\x11\x0A\xB2cjU\xD8\xB3`\x06\x13\x03gF\xF2\x17\xE2\x91\xB7\xEFT\xCF\xFE5#LK\x0AS\x9A\xAC\xE2\\9\xE2\xC9D\x05\xD3\xEDz\xF6\xB6\xC1\x96\xAB\xA9\x03\xAB\xE5\x9F\x00\xD1\x9D\xD9B\xED\x16V\xBBAoS*\xD9,\xC9t\xFA%\xEC\x8D\xB6m\x15bl\x8B\x0A\xF6\x0F\xA0\x14!\xDE\xAC\x04\x93)T\x91\x03 \xBD\xA4\xA5\xF8\x18j={V\xC7[y\x00\x1BI\xB6\xB2v\xB3\x9F\x86\xB4E\xBA\x99\xCA{@\x1E\x80\x18\x02\x06\x01\x02 [2018-03-16 16:42:27] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 16:42:27] >>> HomeKit: [Client 8] Closing client connection [2018-03-16 16:42:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:42:29] >>> HomeKit: Got new client connection: 8 [2018-03-16 16:42:29] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-16 16:42:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:42:29] >>> homekit_server_on_pair_verify: Free heap: 24868 [2018-03-16 16:42:29] >>> tlv_debug: Got following TLV values: [2018-03-16 16:42:29] >>> tlv_debug: Type 3 value (32 bytes): 0\x17\x81ZP\x1B@s\x09\x08}\xC0\x80\xE0\xD2\xA4a\x02\xD6x\xCC\x02\xF1\xC5\x85\xC3!\xAB \x9E\x0A [2018-03-16 16:42:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 16:42:29] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-16 16:42:29] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-16 16:42:29] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-16 16:42:30] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-16 16:42:30] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-16 16:42:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:42:32] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-16 16:42:33] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-16 16:42:33] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-16 16:42:33] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 16:42:33] >>> tlv_debug: Got following TLV values: [2018-03-16 16:42:33] >>> tlv_debug: Type 5 value (101 bytes): \xE1y\x0F\xB6\x0C]@2\xC6\x10\xC1\x80\x1CH\xCD\xA9\x1D\xAAV\xE9\x09\x8Eb[cCe\xB5\xE1&jR\xE4\x81\xC7\xA0B\x04\x98\xA6A!\xABS\x8C\xD9\x1C!\x1Aj\x84\x88^Q\x01\x9F\xED\xCD\x98\x82\xA2\x08G\xF8\xBF\x02!\xED\xB9W\xC3Koa\xF2+\x86\x1D\xCAkg\xB1\xF2\x84\xFB\x15\x9B\xAA\x82\xA4\x88\xAD0\xD0"\xCB\x14\xB7\xC3\x85\xD9 [2018-03-16 16:42:33] >>> tlv_debug: Type 3 value (32 bytes): \xB7\xC3\x87U\xBB\xF7\xAE\x89Tr$\xE5\x80F\x95\x06\xF9`\xBD\xB7\xFE'k\x9De\x90\xCE\x11\x8F\x8A\xF4v [2018-03-16 16:42:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 16:42:33] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE1y\x0F\xB6\x0C]@2\xC6\x10\xC1\x80\x1CH\xCD\xA9\x1D\xAAV\xE9\x09\x8Eb[cCe\xB5\xE1&jR\xE4\x81\xC7\xA0B\x04\x98\xA6A!\xABS\x8C\xD9\x1C!\x1Aj\x84\x88^Q\x01\x9F\xED\xCD\x98\x82\xA2\x08G\xF8\xBF\x02!\xED\xB9W\xC3Koa\xF2+\x86\x1D\xCAkg\xB1\xF2\x84\xFB\x15\x9B\xAA\x82\xA4\x88\xAD0\xD0"\xCB\x14\xB7\xC3\x85\xD9\x03 \xB7\xC3\x87U\xBB\xF7\xAE\x89Tr$\xE5\x80F\x95\x06\xF9`\xBD\xB7\xFE'k\x9De\x90\xCE\x11\x8F\x8A\xF4v\x06\x01\x02 [2018-03-16 16:42:33] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 16:42:34] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-16 16:42:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 16:42:34] >>> homekit_server_on_pair_verify: Free heap: 24576 [2018-03-16 16:42:34] >>> tlv_debug: Got following TLV values: [2018-03-16 16:42:34] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 16:42:34] >>> tlv_debug: Type 5 value (120 bytes): \x1A&2\xCC\xC1X\x84N\x1AW\xD7n\xC1\x83a\xBA**d\xC4\xCA\xEA\xE5b\xBFf\x86-\xBE]\xB3H\x8B\x17)\xC9\xCE\xE67/Z\x99C\x87/"\xB5\x18\xB3&\xAB\xFC\x97\xA5\xCF\xD6\x8B]\x99*J\xAA\xA2o[\xF9#7\xE3\xB5+%\xF4\xAB`\xA8\xD1k\x18\xE6#U\xAB\xF5=\x80\xF3\xD2\x1C\x89D\xB1\xB4\x82*v]\xED\xF5\x1D\xA4\xC4\xA58\xB4\x90O\x14\x8B|\xA82zf\xC7l\xBE\x8C\xA3z [2018-03-16 16:42:34] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-16 16:42:34] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-16 16:42:34] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 16:42:34] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 16:42:34] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-16 16:42:37] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 16:42:37] >>> tlv_debug: Got following TLV values: [2018-03-16 16:42:37] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 16:42:37] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 16:42:37] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-16 16:42:37] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 16:42:37] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-16 16:42:37] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-16 16:42:37] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-16 16:42:37] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 16:42:37] >>> HomeKit: [Client 8] Get Accessories [2018-03-16 16:42:37] >>> homekit_server_on_get_accessories: Free heap: 24756 [2018-03-16 16:42:37] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 16:42:37] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 16:42:37] >>> client_send: [Client 8] Sending payload: 27c\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":true}]}]}]}\x0D\x0A [2018-03-16 16:42:37] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 16:42:37] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 16:42:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:42:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:43:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:43:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:43:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:43:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:43:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:43:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:44:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:44:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:44:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:44:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:44:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:44:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:45:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:45:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:45:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:45:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:45:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:45:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:46:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:46:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:46:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:46:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:46:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:46:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:47:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:47:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:47:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:47:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:47:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:47:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:48:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:48:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:48:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:48:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:48:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:48:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:49:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:49:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:49:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:49:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:49:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:49:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:50:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:50:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:50:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:50:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:50:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:50:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:51:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:51:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:51:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:51:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:51:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:51:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:52:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:52:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:52:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:52:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:52:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:52:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:53:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:53:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:53:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:53:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:53:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:53:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:54:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:54:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:54:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:54:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:54:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:54:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:55:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:55:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:55:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:55:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:55:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:55:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:56:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:56:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:56:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:56:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:56:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:56:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:57:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:57:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:57:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:57:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:57:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:57:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:58:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:58:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:58:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:58:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:58:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:58:51] >>> Power Outage Warning: OFF event sent [2018-03-16 16:59:08] >>> Power Outage Warning: ON event sent [2018-03-16 16:59:11] >>> Power Outage Warning: OFF event sent [2018-03-16 16:59:28] >>> Power Outage Warning: ON event sent [2018-03-16 16:59:31] >>> Power Outage Warning: OFF event sent [2018-03-16 16:59:48] >>> Power Outage Warning: ON event sent [2018-03-16 16:59:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:00:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:00:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:00:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:00:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:00:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:00:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:01:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:01:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:01:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:01:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:01:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:01:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:02:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:02:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:02:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:02:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:02:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:02:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:03:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:03:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:03:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:03:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:03:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:03:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:04:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:04:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:04:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:04:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:04:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:04:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:05:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:05:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:05:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:05:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:05:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:05:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:06:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:06:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:06:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:06:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:06:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:06:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:07:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:07:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:07:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:07:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:07:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:07:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:08:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:08:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:08:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:08:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:08:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:08:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:09:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:09:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:09:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:09:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:09:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:09:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:10:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:10:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:10:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:10:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:10:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:10:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:11:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:11:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:11:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:11:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:11:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:11:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:12:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:12:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:12:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:12:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:12:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:12:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:13:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:13:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:13:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:13:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:13:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:13:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:14:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:14:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:14:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:14:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:14:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:14:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:15:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:15:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:15:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:15:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:15:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:15:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:16:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:16:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:16:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:16:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:16:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:16:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:17:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:17:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:17:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:17:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:17:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:17:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:18:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:18:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:18:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:18:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:18:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:18:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:19:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:19:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:19:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:19:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:19:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:19:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:20:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:20:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:20:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:20:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:20:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:20:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:21:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:21:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:21:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:21:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:21:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:21:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:22:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:22:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:22:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:22:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:22:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:22:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:23:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:23:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:23:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:23:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:23:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:23:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:24:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:24:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:24:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:24:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:24:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:24:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:25:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:25:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:25:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:25:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:25:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:25:51] >>> Power Outage Warning: OFF event sent [2018-03-16 17:26:08] >>> Power Outage Warning: ON event sent [2018-03-16 17:26:11] >>> Power Outage Warning: OFF event sent [2018-03-16 17:26:28] >>> Power Outage Warning: ON event sent [2018-03-16 17:26:31] >>> Power Outage Warning: OFF event sent [2018-03-16 17:26:48] >>> Power Outage Warning: ON event sent [2018-03-16 17:26:51] >>> Power Outage Warning: OFF event sent [2018-03-16 18:14:34] >>> HomeKit: Got new client connection: 9 [2018-03-16 18:14:34] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-16 18:14:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 18:14:34] >>> homekit_server_on_pair_verify: Free heap: 24176 [2018-03-16 18:14:34] >>> tlv_debug: Got following TLV values: [2018-03-16 18:14:34] >>> tlv_debug: Type 3 value (32 bytes): \xE4\xFEu\xCC(\x86\x92\xA1]\xDF\x10 \x19V\xD3\x1Af\xDBsP}8\xCA\xD1\xDC\xE4\xE60\\X*\x15 [2018-03-16 18:14:34] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 18:14:34] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-16 18:14:34] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-16 18:14:34] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-16 18:14:36] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-16 18:14:36] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-16 18:14:37] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-16 18:14:38] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-16 18:14:38] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-16 18:14:38] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 18:14:38] >>> tlv_debug: Got following TLV values: [2018-03-16 18:14:38] >>> tlv_debug: Type 5 value (101 bytes): fQ\xA0\xCA\xCAz\xB1h?Z\xA3H\xCE\xAD{\x8C\xDD\xAD\xC7\xEB\x10\x14A\x9F\xC9\xA5(\xFF\xF2\xF1lR9\xBEH\x88\xFA\x886pG\xDF\x1F\x85\xB0\x0CdubY\xDC\xA0\xE8JY@L>q\x81s\xE8qU\xE2\x8F\x19'$\xBDfy\xEF9e\xA3\x16;=8\x92\x1D\xA7\xABt\x1B\xD3?\xF7\x14T\xE1\xF3Nf\x9D\x86\x03\x05\xD0\xC3 [2018-03-16 18:14:38] >>> tlv_debug: Type 3 value (32 bytes): \xA4\xF5O\xB7\xF4\xBE%b\xCB\x89\xD9|~!\xC9\x10\xB4 \xF0\xEB;I"\xACw;\xD6\x92\x80\xE2]P [2018-03-16 18:14:38] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 18:14:38] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05efQ\xA0\xCA\xCAz\xB1h?Z\xA3H\xCE\xAD{\x8C\xDD\xAD\xC7\xEB\x10\x14A\x9F\xC9\xA5(\xFF\xF2\xF1lR9\xBEH\x88\xFA\x886pG\xDF\x1F\x85\xB0\x0CdubY\xDC\xA0\xE8JY@L>q\x81s\xE8qU\xE2\x8F\x19'$\xBDfy\xEF9e\xA3\x16;=8\x92\x1D\xA7\xABt\x1B\xD3?\xF7\x14T\xE1\xF3Nf\x9D\x86\x03\x05\xD0\xC3\x03 \xA4\xF5O\xB7\xF4\xBE%b\xCB\x89\xD9|~!\xC9\x10\xB4 \xF0\xEB;I"\xACw;\xD6\x92\x80\xE2]P\x06\x01\x02 [2018-03-16 18:14:39] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 18:14:41] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-16 18:14:41] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 18:14:41] >>> homekit_server_on_pair_verify: Free heap: 22304 [2018-03-16 18:14:41] >>> tlv_debug: Got following TLV values: [2018-03-16 18:14:41] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 18:14:41] >>> tlv_debug: Type 5 value (120 bytes): \xF8\xC1\xAA\x80\xF6\xD3\xBA\xC2\xBC\xE29\xA2=\xD5\x93\x19HW\xE6\x84\xA2\x03\xA1s\x1E\xA4\x88\xCE\\CW\xE0\xD1\xA5u\xE5LL\xC3n\xF7\xDC^_\x02\x94X\x06\xE9`E\x04\xA6\x9FQ\xE0\x1B\xC0\x9C\xDBoB\xD0m\xC2J{I\x80m\x8C\xD1fW-f\xE7?N"w\x82\xD7\x1D.?\x1E\xF2\xB7\xFB\x08\xD2>'\xF6\x89\xED+V\xE9\xD7\x80\x8AAR\xE2\xB3\xB05\xB4\x98\x8AO\x1A\xE1\x8C)M\xDF\x0B [2018-03-16 18:14:41] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-16 18:14:41] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-16 18:14:41] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 18:14:41] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 18:14:41] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-16 18:14:44] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 18:14:44] >>> tlv_debug: Got following TLV values: [2018-03-16 18:14:44] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 18:14:44] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 18:14:44] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-16 18:14:44] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 18:14:44] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-16 18:14:44] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-16 18:14:44] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-16 18:14:44] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 18:14:44] >>> HomeKit: [Client 9] Get Accessories [2018-03-16 18:14:44] >>> homekit_server_on_get_accessories: Free heap: 24064 [2018-03-16 18:14:44] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 18:14:44] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 18:14:44] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 18:14:44] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 18:14:44] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 18:43:16] >>> HomeKit: [Client 9] Closing client connection [2018-03-16 18:43:19] >>> HomeKit: Got new client connection: 9 [2018-03-16 18:43:19] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-16 18:43:19] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 18:43:19] >>> homekit_server_on_pair_verify: Free heap: 24176 [2018-03-16 18:43:19] >>> tlv_debug: Got following TLV values: [2018-03-16 18:43:19] >>> tlv_debug: Type 3 value (32 bytes): \xE0\x12$63\xA2\xE37Q\xC8\xBF\xBB\xE1\x90\xC6\x0B\xE7\xF3H\x9C\xE5\xB2q\xA8\xC9\xE5\xB1\xFDS\xFA\x8F [2018-03-16 18:43:19] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 18:43:19] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-16 18:43:19] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-16 18:43:19] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-16 18:43:20] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-16 18:43:20] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-16 18:43:21] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-16 18:43:23] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-16 18:43:23] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-16 18:43:23] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 18:43:23] >>> tlv_debug: Got following TLV values: [2018-03-16 18:43:23] >>> tlv_debug: Type 5 value (101 bytes): \x8F\xED\xF3y\x96\x0D3\xCC\xE4[[\x13\x12\x11X\xF0\x1AI4\xF0$\xDC\xA2\x90\x8B,\xC8\x07e\xA9T\x0C\x10\xA8\x88\x98XU\x80XK\x02[\xFFz\xFF\xFA7yN\xA4\xD2\xB1\x17\xDA\xD4\x8D\xDC\x98m\xC8\xBC\xC9\xA8RJ\x9E\xD5\xC7\xA1\x9D\x0E\xAE\x9CR_X\x1F\xA9\x80\xE9\x04\xA3H\xE0i\x0C\xF8\xC8q\x1EP\xA8S4*\xDE\x9D\xEA\xC0\xC8 [2018-03-16 18:43:23] >>> tlv_debug: Type 3 value (32 bytes): Jc\xD0\xE4\xBF\x01\xE9]:w\x11\x85\xC7|/k\xBE\\\x10:\xDC\xD1\xC1`\x00\xCB\x05\xA6$\x87\xF5# [2018-03-16 18:43:23] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 18:43:23] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x8F\xED\xF3y\x96\x0D3\xCC\xE4[[\x13\x12\x11X\xF0\x1AI4\xF0$\xDC\xA2\x90\x8B,\xC8\x07e\xA9T\x0C\x10\xA8\x88\x98XU\x80XK\x02[\xFFz\xFF\xFA7yN\xA4\xD2\xB1\x17\xDA\xD4\x8D\xDC\x98m\xC8\xBC\xC9\xA8RJ\x9E\xD5\xC7\xA1\x9D\x0E\xAE\x9CR_X\x1F\xA9\x80\xE9\x04\xA3H\xE0i\x0C\xF8\xC8q\x1EP\xA8S4*\xDE\x9D\xEA\xC0\xC8\x03 Jc\xD0\xE4\xBF\x01\xE9]:w\x11\x85\xC7|/k\xBE\\\x10:\xDC\xD1\xC1`\x00\xCB\x05\xA6$\x87\xF5#\x06\x01\x02 [2018-03-16 18:43:23] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 18:43:23] >>> HomeKit: [Client 9] Closing client connection [2018-03-16 18:43:45] >>> HomeKit: Got new client connection: 9 [2018-03-16 18:43:45] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-16 18:43:45] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 18:43:45] >>> homekit_server_on_pair_verify: Free heap: 22180 [2018-03-16 18:43:45] >>> tlv_debug: Got following TLV values: [2018-03-16 18:43:45] >>> tlv_debug: Type 3 value (32 bytes): \xFD\xB9&\xB8\xCB\x9C\x08\xE4\xFE$\xC7oZ\xAA\xE3KE+\xB8\x12\xA2\xA2\x8C\xE5\x83'\x9C\x19A-k) [2018-03-16 18:43:45] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 18:43:45] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-16 18:43:45] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-16 18:43:45] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-16 18:43:46] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-16 18:43:46] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-16 18:43:48] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-16 18:43:49] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-16 18:43:49] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-16 18:43:49] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 18:43:49] >>> tlv_debug: Got following TLV values: [2018-03-16 18:43:49] >>> tlv_debug: Type 5 value (101 bytes): z\xDCw\xE0FQ\xBC\xD4\xC0\x06\xFC\xC0\x9E\xB6\x1C\x14v\x1E\xD1H\x8C-,!\xB8\xF2\xC4\xC6C\x95(dq\xC6\xF2\xAA\xE7\x17\xFF:\xE4\xC2l\x9E\x90*g@j`?\xAE\x8E\x10\xDF\x19\xD3\xBA\xC9\xD4\x05\x1F\x04z!\xD1\x8D\xBA\xA8`\xF2V\x9A\x14\xD8\xB0\xD5\xB72~\xE4o\x1B\xB7;\x13\x9B\xDA\x0E$\xEB\x12\xE0K\xC4$\xF3\xFD\xDB\xF3M [2018-03-16 18:43:49] >>> tlv_debug: Type 3 value (32 bytes): t\xE8\xFD\xE8\xAC\xC7-\x90/\xE8\xB0)\x8BJ\x15\xA73\xC2\x82\x1A\xFD,\x07H\xA0\xD0\xDF\x93\xE2\xDCk\x02 [2018-03-16 18:43:49] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 18:43:49] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ez\xDCw\xE0FQ\xBC\xD4\xC0\x06\xFC\xC0\x9E\xB6\x1C\x14v\x1E\xD1H\x8C-,!\xB8\xF2\xC4\xC6C\x95(dq\xC6\xF2\xAA\xE7\x17\xFF:\xE4\xC2l\x9E\x90*g@j`?\xAE\x8E\x10\xDF\x19\xD3\xBA\xC9\xD4\x05\x1F\x04z!\xD1\x8D\xBA\xA8`\xF2V\x9A\x14\xD8\xB0\xD5\xB72~\xE4o\x1B\xB7;\x13\x9B\xDA\x0E$\xEB\x12\xE0K\xC4$\xF3\xFD\xDB\xF3M\x03 t\xE8\xFD\xE8\xAC\xC7-\x90/\xE8\xB0)\x8BJ\x15\xA73\xC2\x82\x1A\xFD,\x07H\xA0\xD0\xDF\x93\xE2\xDCk\x02\x06\x01\x02 [2018-03-16 18:43:49] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 18:43:50] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-16 18:43:50] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 18:43:50] >>> homekit_server_on_pair_verify: Free heap: 21888 [2018-03-16 18:43:50] >>> tlv_debug: Got following TLV values: [2018-03-16 18:43:50] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 18:43:50] >>> tlv_debug: Type 5 value (120 bytes): \x87\xDC\xE6:+\xE67N\xAD\x13\xD0\xC6U\x03\x92:h\xCF\xA8\x8C\x13\x1C\xDF#Ea1\xA2\x12\\\xC6Q+F\xEF\x06\xADDpCg\xA9F\xBD\xAD.\xAA\x18d\xC1\xD7\xE8\x01\x9EpT\x8C\xC3\xF9q\x9CV\x92q:\x08W\xC0\xD7t\xAB\xAB\xCA\\~o\xFC\x8E\xC2m\x07F\xD9\x06\x14h\x0DQ\xDD\xB5q_\x08 \x84r\x94:V<\x16x\xB3\xA8#$9\x85\xC2\x12I\xEB\x1A\x80\xA8[\xDCg\x8C< [2018-03-16 18:43:50] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-16 18:43:50] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-16 18:43:50] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 18:43:50] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 18:43:50] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-16 18:43:53] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 18:43:53] >>> tlv_debug: Got following TLV values: [2018-03-16 18:43:53] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 18:43:53] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 18:43:53] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-16 18:43:53] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 18:43:53] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-16 18:43:53] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-16 18:43:53] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-16 18:43:53] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 18:43:53] >>> HomeKit: [Client 9] Get Accessories [2018-03-16 18:43:53] >>> homekit_server_on_get_accessories: Free heap: 22056 [2018-03-16 18:43:53] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 18:43:53] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 18:43:53] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 18:43:53] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 18:43:53] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Decrypted 239 bytes, available 0 [2018-03-16 22:08:53] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-16 22:08:53] >>> HomeKit: [Client 9] Update Characteristics [2018-03-16 22:08:53] >>> homekit_server_on_update_characteristics: Free heap: 23244 [2018-03-16 22:08:53] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-16 22:08:53] "aid": 1, [2018-03-16 22:08:53] "iid": 10, [2018-03-16 22:08:53] "ev": true [2018-03-16 22:08:53] } [2018-03-16 22:08:53] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-16 22:08:53] "aid": 1, [2018-03-16 22:08:53] "iid": 13, [2018-03-16 22:08:53] "ev": true [2018-03-16 22:08:53] } [2018-03-16 22:08:53] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-16 22:08:53] "aid": 1, [2018-03-16 22:08:53] "iid": 16, [2018-03-16 22:08:53] "ev": true [2018-03-16 22:08:53] } [2018-03-16 22:08:53] >>> homekit_server_on_update_characteristics: [Client 9] There were no processing errors, sending No Content response [2018-03-16 22:08:53] >>> client_send: [Client 9] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Got 110 incomming data [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Decrypted 92 bytes, available 0 [2018-03-16 22:08:53] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 22:08:53] >>> HomeKit: [Client 9] Get Characteristics [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: Free heap: 23652 [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Query paramter id = 1.10,1.16,1.13 [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.10 [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.16 [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.13 [2018-03-16 22:08:53] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.10 [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.16 [2018-03-16 22:08:53] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.13 [2018-03-16 22:08:53] >>> client_send: [Client 9] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-16 22:08:53] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 22:08:53] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 22:09:04] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-16 22:09:04] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-16 22:09:04] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-16 22:09:04] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-16 22:09:04] >>> HomeKit: [Client 4] Update Characteristics [2018-03-16 22:09:04] >>> homekit_server_on_update_characteristics: Free heap: 23388 [2018-03-16 22:09:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-16 22:09:04] "aid": 1, [2018-03-16 22:09:04] "iid": 10, [2018-03-16 22:09:04] "ev": true [2018-03-16 22:09:04] } [2018-03-16 22:09:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-16 22:09:04] "aid": 1, [2018-03-16 22:09:04] "iid": 13, [2018-03-16 22:09:04] "ev": true [2018-03-16 22:09:04] } [2018-03-16 22:09:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-16 22:09:04] "aid": 1, [2018-03-16 22:09:04] "iid": 16, [2018-03-16 22:09:04] "ev": true [2018-03-16 22:09:04] } [2018-03-16 22:09:04] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-16 22:09:04] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-16 22:09:04] >>> homekit_client_process: [Client 4] Finished processing [2018-03-16 22:11:07] >>> homekit_client_process: [Client 9] Got 260 incomming data [2018-03-16 22:11:07] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-16 22:11:07] >>> homekit_client_process: [Client 9] Decrypted 242 bytes, available 0 [2018-03-16 22:11:07] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-16 22:11:07] >>> HomeKit: [Client 9] Update Characteristics [2018-03-16 22:11:07] >>> homekit_server_on_update_characteristics: Free heap: 23056 [2018-03-16 22:11:07] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-16 22:11:07] "aid": 1, [2018-03-16 22:11:07] "iid": 10, [2018-03-16 22:11:07] "ev": false [2018-03-16 22:11:07] } [2018-03-16 22:11:07] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-16 22:11:07] "aid": 1, [2018-03-16 22:11:07] "iid": 13, [2018-03-16 22:11:07] "ev": false [2018-03-16 22:11:07] } [2018-03-16 22:11:07] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-16 22:11:07] "aid": 1, [2018-03-16 22:11:07] "iid": 16, [2018-03-16 22:11:07] "ev": false [2018-03-16 22:11:07] } [2018-03-16 22:11:07] >>> homekit_server_on_update_characteristics: [Client 9] There were no processing errors, sending No Content response [2018-03-16 22:11:07] >>> client_send: [Client 9] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-16 22:11:07] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 22:11:19] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-16 22:11:19] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-16 22:11:19] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-16 22:11:19] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-16 22:11:19] >>> HomeKit: [Client 4] Update Characteristics [2018-03-16 22:11:19] >>> homekit_server_on_update_characteristics: Free heap: 23376 [2018-03-16 22:11:19] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-16 22:11:19] "aid": 1, [2018-03-16 22:11:19] "iid": 10, [2018-03-16 22:11:19] "ev": false [2018-03-16 22:11:19] } [2018-03-16 22:11:19] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-16 22:11:19] "aid": 1, [2018-03-16 22:11:19] "iid": 13, [2018-03-16 22:11:19] "ev": false [2018-03-16 22:11:19] } [2018-03-16 22:11:19] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-16 22:11:19] "aid": 1, [2018-03-16 22:11:19] "iid": 16, [2018-03-16 22:11:19] "ev": false [2018-03-16 22:11:19] } [2018-03-16 22:11:19] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-16 22:11:19] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-16 22:11:19] >>> homekit_client_process: [Client 4] Finished processing [2018-03-16 22:20:10] >>> HomeKit: [Client 7] Closing client connection [2018-03-16 22:20:12] >>> HomeKit: Got new client connection: 7 [2018-03-16 22:20:12] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-16 22:20:12] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:20:12] >>> homekit_server_on_pair_verify: Free heap: 23856 [2018-03-16 22:20:12] >>> tlv_debug: Got following TLV values: [2018-03-16 22:20:12] >>> tlv_debug: Type 3 value (32 bytes): .Qo\xAD\xF0\xB4\xCA\x1FPX\xBB\x18_\xE1\x0A\xF5\\&\xE5\xCE\x93\xCBn\xF7\xC4\xC9\xF8\xDF\x8E>\x9As [2018-03-16 22:20:12] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 22:20:12] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-16 22:20:12] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-16 22:20:12] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-16 22:20:13] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-16 22:20:13] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-16 22:20:14] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-16 22:20:16] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-16 22:20:16] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-16 22:20:16] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-16 22:20:16] >>> tlv_debug: Got following TLV values: [2018-03-16 22:20:16] >>> tlv_debug: Type 5 value (101 bytes): \xE9\x94\x9E"\xC94B\xC4%\xB9T\xE6\x86\x11\xD9%\xAF\xEA\xDA\xC0\x0BR\xC4M\xAFR\xAC\xC4\x8E\xEB\x1C\x91\x17:\x01rz\x81\x94\xCDl\xD4>\x04\xE7\x9F\x1A\xE6P\xFF\x98\xC7\xEF\xAE\x0D\xF9\x90\xD4\xC4\xD3\xB48s\xFF\x09 \xA0\x03)3\x0C\xBAkm\xADJt\x05\xDA\xA4\xC3\xD7\x1F\x15\x86\x8CK\xAFGP\x8Exy\xDBw\xDA\x01\xA9\xB8B\xE2 [2018-03-16 22:20:16] >>> tlv_debug: Type 3 value (32 bytes): \xBA\x19zJ\x88U\x01R\xEC\x1E\xBB\x12\xC9"\xA5\xFD\xC7\xF8Dnb-\x86\x92\xDEO\xE6\xE6\xD3z [2018-03-16 22:20:16] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 22:20:16] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE9\x94\x9E"\xC94B\xC4%\xB9T\xE6\x86\x11\xD9%\xAF\xEA\xDA\xC0\x0BR\xC4M\xAFR\xAC\xC4\x8E\xEB\x1C\x91\x17:\x01rz\x81\x94\xCDl\xD4>\x04\xE7\x9F\x1A\xE6P\xFF\x98\xC7\xEF\xAE\x0D\xF9\x90\xD4\xC4\xD3\xB48s\xFF\x09 \xA0\x03)3\x0C\xBAkm\xADJt\x05\xDA\xA4\xC3\xD7\x1F\x15\x86\x8CK\xAFGP\x8Exy\xDBw\xDA\x01\xA9\xB8B\xE2\x03 \xBA\x19zJ\x88U\x01R\xEC\x1E\xBB\x12\xC9"\xA5\xFD\xC7\xF8Dnb-\x86\x92\xDEO\xE6\xE6\xD3z\x06\x01\x02 [2018-03-16 22:20:16] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 22:20:16] >>> HomeKit: [Client 7] Closing client connection [2018-03-16 22:20:17] >>> HomeKit: Got new client connection: 7 [2018-03-16 22:20:17] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-16 22:20:17] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:20:17] >>> homekit_server_on_pair_verify: Free heap: 23856 [2018-03-16 22:20:17] >>> tlv_debug: Got following TLV values: [2018-03-16 22:20:17] >>> tlv_debug: Type 3 value (32 bytes): )\x1E\xC3i!\xE5a\x8E\x00\xCAKe\xF0\xCFP\xAFF\xE90\xDC=n\x88\xAE\x94\xDA\x06\xB8/\x09J/ [2018-03-16 22:20:17] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 22:20:17] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-16 22:20:17] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-16 22:20:17] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-16 22:20:18] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-16 22:20:18] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-16 22:20:20] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-16 22:20:21] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-16 22:20:21] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-16 22:20:21] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-16 22:20:21] >>> tlv_debug: Got following TLV values: [2018-03-16 22:20:21] >>> tlv_debug: Type 5 value (101 bytes): \xC1,\x01/\xF8\xEB\xCB\xDE\xDBt\x80(\xE4p\xE3\xDC\x00W\xF2b,\x1C\x06\xFA\x06\x1B6\xBAC\x1B\x88\x1C\xD9\xF6\xC2\xB8\xF5\x17\xA7\xA8\x1B\x9F\xA7n\xD1\xBF`\xFC\xB2\xBA\xB9>G\x8A\xF1\x18\xAC(\xC7y\xEC\xFE.\xFE\xCBQ\x99\x9E\xC0\x0C`\xDFdS-\xA7\xA5\xA4\xE6\x0DN\x0E\x18X\xE2 \xE9}\xCA\xCD\x19\x1Db\xFAs\x00\\\xBE\xD7\xA1\xAB [2018-03-16 22:20:21] >>> tlv_debug: Type 3 value (32 bytes): k\xE2\x89\x08c$h\xC0>!\x9F|\xA2\xABEV\x9D& [2018-03-16 22:20:21] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 22:20:21] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC1,\x01/\xF8\xEB\xCB\xDE\xDBt\x80(\xE4p\xE3\xDC\x00W\xF2b,\x1C\x06\xFA\x06\x1B6\xBAC\x1B\x88\x1C\xD9\xF6\xC2\xB8\xF5\x17\xA7\xA8\x1B\x9F\xA7n\xD1\xBF`\xFC\xB2\xBA\xB9>G\x8A\xF1\x18\xAC(\xC7y\xEC\xFE.\xFE\xCBQ\x99\x9E\xC0\x0C`\xDFdS-\xA7\xA5\xA4\xE6\x0DN\x0E\x18X\xE2 \xE9}\xCA\xCD\x19\x1Db\xFAs\x00\\\xBE\xD7\xA1\xAB\x03 k\xE2\x89\x08c$h\xC0>!\x9F|\xA2\xABEV\x9D&\x06\x01\x02 [2018-03-16 22:20:21] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 22:20:22] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-16 22:20:22] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:20:22] >>> homekit_server_on_pair_verify: Free heap: 23556 [2018-03-16 22:20:22] >>> tlv_debug: Got following TLV values: [2018-03-16 22:20:22] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 22:20:22] >>> tlv_debug: Type 5 value (120 bytes): \xAEQ\xC6\xAD/\xED2RFC\xB0Y\xF6\x8F\xB8<|Z\x84\x98\x92\x15k\x1B\xCA\xDDl\x96\x80wJu\x0B\xF3\x8C\xC0\xCC\xF1\xE4!\x9A\x92\xADjT\x0D(x?\x14[F%\xD8\x80/5\x8AP\xE8\x83r\xFE\x9E\x99\x0F\xFCK\xAAJ\xCD\x0B+\xEB\x88\xFEez\x9DY\x146\x163\x1E(]\xFD\xBF\xD7\xA2"\x99\xDE\xD5\xEF\xB2f\xDBC\xEE}\x11\x02\x18\xA4\xD8\xE2W\xBB\xFC/,\xD8\xBD\xF0\x8AA\xE9\xDD [2018-03-16 22:20:22] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-16 22:20:22] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-16 22:20:22] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 22:20:22] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 22:20:22] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-16 22:20:25] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-16 22:20:25] >>> tlv_debug: Got following TLV values: [2018-03-16 22:20:25] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 22:20:25] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 22:20:25] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-16 22:20:25] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 22:20:26] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-16 22:20:26] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-16 22:20:26] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-16 22:20:26] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 22:20:26] >>> HomeKit: [Client 7] Get Accessories [2018-03-16 22:20:26] >>> homekit_server_on_get_accessories: Free heap: 23736 [2018-03-16 22:20:26] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 22:20:26] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 22:20:26] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 22:20:26] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 22:20:26] >>> homekit_client_process: [Client 7] Finished processing [2018-03-16 22:36:15] >>> HomeKit: [Client 5] Closing client connection [2018-03-16 22:36:15] >>> HomeKit: Got new client connection: 5 [2018-03-16 22:36:15] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-16 22:36:15] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:36:15] >>> homekit_server_on_pair_verify: Free heap: 23848 [2018-03-16 22:36:15] >>> tlv_debug: Got following TLV values: [2018-03-16 22:36:15] >>> tlv_debug: Type 3 value (32 bytes): l\x94\xEEQEe\xEF2\x94\x08\xBD\xCA\xB9\x02G\x95\xFEk`\x93\xAA\xA0=\xAD\xED\xA6\x89\xB4}n\xD2\x13 [2018-03-16 22:36:15] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 22:36:15] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-16 22:36:15] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-16 22:36:15] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-16 22:36:16] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-16 22:36:16] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-16 22:36:17] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-16 22:36:19] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 22:36:19] >>> tlv_debug: Got following TLV values: [2018-03-16 22:36:19] >>> tlv_debug: Type 5 value (101 bytes): o\xBD:\xB5O\x93M\x17U\xBEE\xC3#6P\xC4\xB2\xC5p'<\xEF\xD3\x16\xD4\xFB\x8D\x0D\xF5\xAF8&\xA0Z\x1E\xB9\x98g\xAC\xFD\x163U\xF3\xE0\x0BEp\xACsAr]y\x99w\xB6\x0E\x1A\xAE\xA3|=\xF6\xFF$h\xE2p\x9Bt\x81\xD9\xCD\xBB\xB9\x13\xD0\\)\xF7&\x06\x96\xE4\\\x0D\xD6\x8D\x15!\x0EI\x84*c\x10u6\xFA [2018-03-16 22:36:19] >>> tlv_debug: Type 3 value (32 bytes): \x10x\xEF\xFC\xAE\x89=\xCA\xD4\x1E,5\xF3\xEE\xF1\xD1\xBF*\x1EX\xE1\x06\x0Cjq\x10\xA7L\xD7ZN5 [2018-03-16 22:36:19] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 22:36:19] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eo\xBD:\xB5O\x93M\x17U\xBEE\xC3#6P\xC4\xB2\xC5p'<\xEF\xD3\x16\xD4\xFB\x8D\x0D\xF5\xAF8&\xA0Z\x1E\xB9\x98g\xAC\xFD\x163U\xF3\xE0\x0BEp\xACsAr]y\x99w\xB6\x0E\x1A\xAE\xA3|=\xF6\xFF$h\xE2p\x9Bt\x81\xD9\xCD\xBB\xB9\x13\xD0\\)\xF7&\x06\x96\xE4\\\x0D\xD6\x8D\x15!\x0EI\x84*c\x10u6\xFA\x03 \x10x\xEF\xFC\xAE\x89=\xCA\xD4\x1E,5\xF3\xEE\xF1\xD1\xBF*\x1EX\xE1\x06\x0Cjq\x10\xA7L\xD7ZN5\x06\x01\x02 [2018-03-16 22:36:19] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:36:19] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: Free heap: 23560 [2018-03-16 22:36:19] >>> tlv_debug: Got following TLV values: [2018-03-16 22:36:19] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 22:36:19] >>> tlv_debug: Type 5 value (120 bytes): E\xB4\xAB0\xFF\x16i\xF70\x17\xB3rrV]\x0C\xD9g\x8A>\xC1\x9B{\x81\x9Bz\xC8<\xDF\xD1\x12\xB7\xC2\xC7\x8F\xFF\xBC\x80\xDC&\x03\xC0))\x15\x94\xA5\x9A]\xBC;\x07\x17\xCF[fx\x92I\x86*fT\xC2\xA8I\xC4\xAB\x89\xA7\x11\xE7\x9EV\xD9\xFD>JP\xE1x\xF0\x1D\xA7\xFB\x91\xFAo\x00\xC6\xC7[t\xD7\x91OQ5\xF3Z\x00\xB8\x93p@\x8B\xA4\xFB\xDF-\xDE\\dRS\xAE\x82f\x12 [2018-03-16 22:36:19] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 22:36:19] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 22:36:19] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-16 22:36:22] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 22:36:22] >>> tlv_debug: Got following TLV values: [2018-03-16 22:36:22] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 22:36:22] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 22:36:22] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-16 22:36:22] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:36:22] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-16 22:36:22] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-16 22:36:22] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-16 22:36:22] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 22:36:22] >>> HomeKit: [Client 5] Get Accessories [2018-03-16 22:36:22] >>> homekit_server_on_get_accessories: Free heap: 23732 [2018-03-16 22:36:22] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 22:36:22] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 22:36:22] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 22:36:22] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 22:36:22] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:39:35] >>> HomeKit: [Client 5] Closing client connection [2018-03-16 22:40:29] >>> HomeKit: Got new client connection: 5 [2018-03-16 22:40:29] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-16 22:40:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:40:29] >>> homekit_server_on_pair_verify: Free heap: 23852 [2018-03-16 22:40:29] >>> tlv_debug: Got following TLV values: [2018-03-16 22:40:29] >>> tlv_debug: Type 3 value (32 bytes): \\O\x17\xD6gu"\xD0\xFBt\x82\x1FB\xFD_.N\x1D5B\xE5\xC2,\x9A\x85\x00G\xA0\xE7\xD8\x0E\x11 [2018-03-16 22:40:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 22:40:29] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-16 22:40:29] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-16 22:40:29] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-16 22:40:30] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-16 22:40:30] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-16 22:40:31] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-16 22:40:33] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-16 22:40:33] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-16 22:40:33] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 22:40:33] >>> tlv_debug: Got following TLV values: [2018-03-16 22:40:33] >>> tlv_debug: Type 5 value (101 bytes): CtD\xCD\xC4\xD5\xA5\x94\xB4W\xCC\x15o\x115E\x1Fj\xEE\xD9\xC4!\xB4\xAA\xC9\x17VH\xA3)\x98;\x0D\x0B\xF0\xD0\x03\xAF$\xF6,@C\x17\xE2\xCC\xD8Q\xDF|z\xD3l\x9C\xBD\xE8G\x97\xA7\xAEz\xFDuub\x91}\x1D\xB5\x04!\xA4\xE8-\xFD\xBET^\x8Ct\x1D\xB2hz\xE2\xD9`\xA5\x1C\xE5\x0F\xE5\xF13\xBD\xFB\xD7\xEEy\xDD\xE4 [2018-03-16 22:40:33] >>> tlv_debug: Type 3 value (32 bytes): \xA9\xEC3\x0Fb}\xB8f\x05\xC3\xF5X)b\x1B\x9E0\xA5\x8C\xE7J\x9F\xCD\x82\xBB[ \xE6E\x86w$ [2018-03-16 22:40:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 22:40:33] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eCtD\xCD\xC4\xD5\xA5\x94\xB4W\xCC\x15o\x115E\x1Fj\xEE\xD9\xC4!\xB4\xAA\xC9\x17VH\xA3)\x98;\x0D\x0B\xF0\xD0\x03\xAF$\xF6,@C\x17\xE2\xCC\xD8Q\xDF|z\xD3l\x9C\xBD\xE8G\x97\xA7\xAEz\xFDuub\x91}\x1D\xB5\x04!\xA4\xE8-\xFD\xBET^\x8Ct\x1D\xB2hz\xE2\xD9`\xA5\x1C\xE5\x0F\xE5\xF13\xBD\xFB\xD7\xEEy\xDD\xE4\x03 \xA9\xEC3\x0Fb}\xB8f\x05\xC3\xF5X)b\x1B\x9E0\xA5\x8C\xE7J\x9F\xCD\x82\xBB[ \xE6E\x86w$\x06\x01\x02 [2018-03-16 22:40:33] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:40:34] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-16 22:40:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:40:34] >>> homekit_server_on_pair_verify: Free heap: 23556 [2018-03-16 22:40:34] >>> tlv_debug: Got following TLV values: [2018-03-16 22:40:34] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 22:40:34] >>> tlv_debug: Type 5 value (120 bytes): \xA7\xBB\xEC\xBF\x17\x81\xA4\x1CB\x0Fo\x00\xF7P\xDF\x8D\xE4v\xB9_:6\\\xDA\x83m>+\xF1\x0A\x0A\xB5\x8D\x0BY\x0F%\x18\xEEm\x00\x14A\xCB\x084F\x9EX\x05\x06\x1E%\x1A\xA8i\xF3\x96\xEC\xA29\xB0\x9A\xC3o@\x0F\xAE\xA9\xBDO\xD87\xF0ow\xD4\xD4aM\x8F\xCF\xEC\xB9\x9A\xE3\xCD\x9E\xD4\xE6\x9A\x1AU\xDD\x01\x14\x1B\xE2\xF6\xC7\xFD\xB1\x8C\xBD\x81\x97\x15!s\xA4\x99\x8E\xE7j\xB6\xEB\x0Cbw\x9C [2018-03-16 22:40:34] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-16 22:40:34] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-16 22:40:34] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 22:40:34] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 22:40:34] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-16 22:40:37] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 22:40:37] >>> tlv_debug: Got following TLV values: [2018-03-16 22:40:37] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 22:40:37] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 22:40:37] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-16 22:40:37] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:40:37] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-16 22:40:37] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-16 22:40:37] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-16 22:40:37] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 22:40:37] >>> HomeKit: [Client 5] Get Accessories [2018-03-16 22:40:37] >>> homekit_server_on_get_accessories: Free heap: 23604 [2018-03-16 22:40:37] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 22:40:37] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 22:40:37] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 22:40:37] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 22:40:37] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:59:51] >>> HomeKit: [Client 5] Closing client connection [2018-03-16 22:59:52] >>> HomeKit: Got new client connection: 5 [2018-03-16 22:59:52] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-16 22:59:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:59:52] >>> homekit_server_on_pair_verify: Free heap: 23844 [2018-03-16 22:59:52] >>> tlv_debug: Got following TLV values: [2018-03-16 22:59:52] >>> tlv_debug: Type 3 value (32 bytes): >> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 22:59:52] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-16 22:59:52] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-16 22:59:52] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-16 22:59:53] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-16 22:59:53] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-16 22:59:54] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-16 22:59:56] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 22:59:56] >>> tlv_debug: Got following TLV values: [2018-03-16 22:59:56] >>> tlv_debug: Type 5 value (101 bytes): \xBDk\x9F2FT5\xF1\xE3h\xFFS\x8B0\x03\xF7\x1F\xDAY\xFAz\x16\xABX\xADa\xED\x15\x0A\x09\xDC\xD1\x0EG\xE6\xA5\x8D\xA8\xD0\xC4\x1A\x1B\xF8\xDB:\x0C\x0F\x00\xDC+]\x93\x89l\x12\x0F\x9E\xAB\x94\xEE\xE5\xAA+7\x9D?\x90\xFD\xFDi\x91\xED\xE4\xC8\xE97\xFF\xA1\x18&O\xDC\x0E\x02\x02\xF8\xCAz\xDE\x02I\xF6J\xCBE\x1F\x8C[(\\\x09 [2018-03-16 22:59:56] >>> tlv_debug: Type 3 value (32 bytes): \xE3\x14\xC0\xE8\x80Gy\x87z\xDA\xBF'\x01\xAF)\xB1\xD5\x1F\x00b"_u[\x8B\xE7'\x88\x87\x0E\x11 [2018-03-16 22:59:56] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 22:59:56] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xBDk\x9F2FT5\xF1\xE3h\xFFS\x8B0\x03\xF7\x1F\xDAY\xFAz\x16\xABX\xADa\xED\x15\x0A\x09\xDC\xD1\x0EG\xE6\xA5\x8D\xA8\xD0\xC4\x1A\x1B\xF8\xDB:\x0C\x0F\x00\xDC+]\x93\x89l\x12\x0F\x9E\xAB\x94\xEE\xE5\xAA+7\x9D?\x90\xFD\xFDi\x91\xED\xE4\xC8\xE97\xFF\xA1\x18&O\xDC\x0E\x02\x02\xF8\xCAz\xDE\x02I\xF6J\xCBE\x1F\x8C[(\\\x09\x03 \xE3\x14\xC0\xE8\x80Gy\x87z\xDA\xBF'\x01\xAF)\xB1\xD5\x1F\x00b"_u[\x8B\xE7'\x88\x87\x0E\x11\x06\x01\x02 [2018-03-16 22:59:56] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:59:56] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: Free heap: 23544 [2018-03-16 22:59:56] >>> tlv_debug: Got following TLV values: [2018-03-16 22:59:56] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 22:59:56] >>> tlv_debug: Type 5 value (120 bytes): \x8FP\x9B\x09s\xDB\x18\xE9\x80\xD2]\xA3#\x0D\xD9\xF1\xEB$\xCA\xADW\xEE0\xB2\xB0p\x07\xCD\x92\xF3C\xF3\x1BD\x18\xE8\xCF1\xF2\xFE\x10\xE1R\xA0CA\x9A\xC2\xD5)\x81J\xE5\xF8!\xCBm\xFD\x00\xE4^5\xE3\xAE\x0CE\xF1\xB0\x88Q\x81@S\x90/\xCD\\KQ\x0Ab\xBA\x89\xBC<\x08\x80z\x0C\x09\xC1~\x13\x88\xD8G\x96'\xB8q\xCA\xE6u\xDB+\x0A\xE7]\xFF\xCA\xA3\xF9\x1F\x03\x09L@,Z\x80 [2018-03-16 22:59:56] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 22:59:56] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 22:59:56] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-16 22:59:59] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-16 22:59:59] >>> tlv_debug: Got following TLV values: [2018-03-16 22:59:59] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 22:59:59] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 22:59:59] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-16 22:59:59] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 22:59:59] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-16 22:59:59] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-16 22:59:59] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-16 22:59:59] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 22:59:59] >>> HomeKit: [Client 5] Get Accessories [2018-03-16 22:59:59] >>> homekit_server_on_get_accessories: Free heap: 23724 [2018-03-16 22:59:59] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 22:59:59] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 22:59:59] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 22:59:59] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 22:59:59] >>> homekit_client_process: [Client 5] Finished processing [2018-03-16 23:15:23] >>> HomeKit: [Client 9] Closing client connection [2018-03-16 23:15:24] >>> HomeKit: Got new client connection: 9 [2018-03-16 23:15:24] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-16 23:15:24] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 23:15:24] >>> homekit_server_on_pair_verify: Free heap: 23864 [2018-03-16 23:15:24] >>> tlv_debug: Got following TLV values: [2018-03-16 23:15:24] >>> tlv_debug: Type 3 value (32 bytes): bl\x81\xB4\xEC(\xBED\xDE~\xE2\x9FD\x8F\xA4O\x97B\xE4\x17\xFB\x93#\xBB\x18\xD1\xF1\xE1\x85vh\x06 [2018-03-16 23:15:24] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 23:15:24] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-16 23:15:24] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-16 23:15:24] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-16 23:15:26] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-16 23:15:26] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-16 23:15:27] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-16 23:15:28] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-16 23:15:28] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-16 23:15:28] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 23:15:28] >>> tlv_debug: Got following TLV values: [2018-03-16 23:15:28] >>> tlv_debug: Type 5 value (101 bytes): mV\xB1\xAF\x0E\xD0&\xC1\x85\xFF\xE7\x8A\xD5.\xB3\xBA\x1DJY^\x95\x0F\xAC+\x90\xCCY@')\x84]:\xB9\xDDT\x95\xDB\x12\xAF\xA4\x19\xC9u\xAC5\xDE\x89\x85\x00\xFFP\xEEx\xA1\xA9\xB9'\x88\xE1-Mn\xB8pQ\x18\x85\xA7\xF2w\x95\xD1\x04J\xE8\x80,\x1E(\xAA\xD8\xAB7\x96\x0F\xB1p0\xE9\xAEU\xC0\xCA\xF0\xAFhS2b\x0A [2018-03-16 23:15:28] >>> tlv_debug: Type 3 value (32 bytes): \xCE\x9A\xE9\xFA} W\xFD\xED\x97\x9A%\xAC\\$\xCE?\xD3\x93\xAC\x0E\xD2\x823\xD1\xE2\xE7?Ec4p [2018-03-16 23:15:28] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 23:15:28] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05emV\xB1\xAF\x0E\xD0&\xC1\x85\xFF\xE7\x8A\xD5.\xB3\xBA\x1DJY^\x95\x0F\xAC+\x90\xCCY@')\x84]:\xB9\xDDT\x95\xDB\x12\xAF\xA4\x19\xC9u\xAC5\xDE\x89\x85\x00\xFFP\xEEx\xA1\xA9\xB9'\x88\xE1-Mn\xB8pQ\x18\x85\xA7\xF2w\x95\xD1\x04J\xE8\x80,\x1E(\xAA\xD8\xAB7\x96\x0F\xB1p0\xE9\xAEU\xC0\xCA\xF0\xAFhS2b\x0A\x03 \xCE\x9A\xE9\xFA} W\xFD\xED\x97\x9A%\xAC\\$\xCE?\xD3\x93\xAC\x0E\xD2\x823\xD1\xE2\xE7?Ec4p\x06\x01\x02 [2018-03-16 23:15:29] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 23:15:29] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-16 23:15:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 23:15:29] >>> homekit_server_on_pair_verify: Free heap: 23564 [2018-03-16 23:15:29] >>> tlv_debug: Got following TLV values: [2018-03-16 23:15:29] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 23:15:29] >>> tlv_debug: Type 5 value (120 bytes): A\xCD\xD1\xB3\xDCe\x99br\x97\x15Q\xD8L\xC3\xD0\xC5\xD1\x93\\\xFAjq(\xEB\x94U\x1C_l\xE1\x98\xAC\xA05\xDE\xF4\x02\xEB\xD4\xEA\x80\xE9\xA9\xDE\xD2\xB2\xFC\x84*\xF0\x1C\xB9|\xE6\xD6\xDC\xB6\x19C\xF1\xA7\xDC\xE1'\xC9\x05\x144\x88\x9B\xD8\xA2|\xB8*R3\xBC\x0F\xDC\x95=!\xA7;\x80\x9F\\\xB9a\xAA\x96\xBF\xBB{\xD8\xFBT\xE3\xB3"c\xF2\x84\xBF\xF1A\x85\xA8\xBF\xFC\x9F\x15\xB0\xD8\xF7\x0F [2018-03-16 23:15:29] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-16 23:15:29] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-16 23:15:29] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 23:15:29] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-16 23:15:29] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-16 23:15:32] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-16 23:15:32] >>> tlv_debug: Got following TLV values: [2018-03-16 23:15:32] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 23:15:32] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 23:15:32] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-16 23:15:32] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 23:15:32] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-16 23:15:32] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-16 23:15:32] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-16 23:15:32] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 23:15:32] >>> HomeKit: [Client 9] Get Accessories [2018-03-16 23:15:32] >>> homekit_server_on_get_accessories: Free heap: 23744 [2018-03-16 23:15:32] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 23:15:32] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 23:15:32] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 23:15:32] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 23:15:32] >>> homekit_client_process: [Client 9] Finished processing [2018-03-16 23:18:13] >>> HomeKit: [Client 8] Closing client connection [2018-03-16 23:18:14] >>> HomeKit: Got new client connection: 8 [2018-03-16 23:18:14] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-16 23:18:14] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 23:18:14] >>> homekit_server_on_pair_verify: Free heap: 23848 [2018-03-16 23:18:14] >>> tlv_debug: Got following TLV values: [2018-03-16 23:18:14] >>> tlv_debug: Type 3 value (32 bytes): \xCA \xD8X!\x03\xB9\xC3_R,o\x14Z\x94\xF9\xAA\xD2b\x0CJq\x1D\xF1\xD2\xA4\x8B\x81\x90\xEEAi [2018-03-16 23:18:14] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 23:18:14] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-16 23:18:14] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-16 23:18:14] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-16 23:18:15] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-16 23:18:15] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-16 23:18:16] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-16 23:18:18] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 23:18:18] >>> tlv_debug: Got following TLV values: [2018-03-16 23:18:18] >>> tlv_debug: Type 5 value (101 bytes): @\x91\x8DLV\x07v\x9A\xE3\xAF\xB5L\xDF\x06\x8E\x1F\\\xEB\x8F\xC9\x16\xC3\xF6\xDE\x07\xC9qU\xE5\x85\xAC\x02>\xA2\x8D\xFCd\xAB\x91I\xAD\xBD\xFET\xA2/\x8E\x83\xE6\xEE\xA1\xC2\x0C&\xE1]\xA4\x11\xB7\x17\xFFKD\xD8_\x05\xFF|\xA2\x0C\x0E\xD3\xA9]\x00^}AA\xAE\xA8S\xBF\xB0\xC5\xF7\xE7e\x9B\xDC\xCF\x926%]s\xB3\x1B\xC4\x91C [2018-03-16 23:18:18] >>> tlv_debug: Type 3 value (32 bytes): \x84\x0B\xE7\x0D\xBA\xA3\x9DC\xE1\xB6\x8D\xA6\xE1\x05\xD3wI\xC8\x08\xCEL\xB0\xA5\xEF=.\xD1=\x9Fd]{ [2018-03-16 23:18:18] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 23:18:18] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e@\x91\x8DLV\x07v\x9A\xE3\xAF\xB5L\xDF\x06\x8E\x1F\\\xEB\x8F\xC9\x16\xC3\xF6\xDE\x07\xC9qU\xE5\x85\xAC\x02>\xA2\x8D\xFCd\xAB\x91I\xAD\xBD\xFET\xA2/\x8E\x83\xE6\xEE\xA1\xC2\x0C&\xE1]\xA4\x11\xB7\x17\xFFKD\xD8_\x05\xFF|\xA2\x0C\x0E\xD3\xA9]\x00^}AA\xAE\xA8S\xBF\xB0\xC5\xF7\xE7e\x9B\xDC\xCF\x926%]s\xB3\x1B\xC4\x91C\x03 \x84\x0B\xE7\x0D\xBA\xA3\x9DC\xE1\xB6\x8D\xA6\xE1\x05\xD3wI\xC8\x08\xCEL\xB0\xA5\xEF=.\xD1=\x9Fd]{\x06\x01\x02 [2018-03-16 23:18:18] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 23:18:18] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: Free heap: 23560 [2018-03-16 23:18:18] >>> tlv_debug: Got following TLV values: [2018-03-16 23:18:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 23:18:18] >>> tlv_debug: Type 5 value (120 bytes): \xBFgW\x987s~\xEF\xCE\xD1\x16\xD3\xF5\xD6\xBD\x02\xE1{^\x8FnB4\x09\xCC\xAA\x95X\x80 \x93\xDEi\xAD\xD4\xC4bV\x97\x13\x9C\xC6\xF39\x11\xED'\xCF\xEC\xE4C\xFA\xCA\xE2\xE2\xD3Kx~U\xAE\x12\xC8\xE4b\x82\x18Z\x07V:\x94P^\xEC\xA7\x8B\x12~\xE3b\xC47\xCD\x0C\xAB\xF7\x9Cu\x1F\x0C>\xA4K\xB7\xB39\xE1\x86\xB2\x8F\xDD\x99\x91\x1Cf\x89\xDC\x01\xB3\xA8\xBA\xCAvj\x14\xF4\x86\xFE [2018-03-16 23:18:18] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 23:18:18] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 23:18:18] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-16 23:18:21] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 23:18:21] >>> tlv_debug: Got following TLV values: [2018-03-16 23:18:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 23:18:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 23:18:21] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-16 23:18:21] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 23:18:21] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-16 23:18:21] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-16 23:18:21] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-16 23:18:21] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 23:18:21] >>> HomeKit: [Client 8] Get Accessories [2018-03-16 23:18:21] >>> homekit_server_on_get_accessories: Free heap: 23728 [2018-03-16 23:18:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 23:18:21] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 23:18:22] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 23:18:22] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 23:18:22] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 23:59:48] >>> HomeKit: [Client 8] Closing client connection [2018-03-16 23:59:49] >>> HomeKit: Got new client connection: 8 [2018-03-16 23:59:49] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-16 23:59:49] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 23:59:49] >>> homekit_server_on_pair_verify: Free heap: 23852 [2018-03-16 23:59:49] >>> tlv_debug: Got following TLV values: [2018-03-16 23:59:49] >>> tlv_debug: Type 3 value (32 bytes): \xC2(\xF9M\x09\xAB>\xBA_\xACF\xA5Q\xD2\xFB\x0C\x84\xC5\xED\xDF \xCCT\x97{\xE9T\x8F\x0D\xE6|M [2018-03-16 23:59:49] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-16 23:59:49] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-16 23:59:49] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-16 23:59:49] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-16 23:59:50] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-16 23:59:50] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-16 23:59:51] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-16 23:59:53] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 23:59:53] >>> tlv_debug: Got following TLV values: [2018-03-16 23:59:53] >>> tlv_debug: Type 5 value (101 bytes): \xFA]\x81Y?\xF7\xFA\xE6\x0B\xEEW\x06\xDB\xCC%\xC2\xF5\x99\x06\x81\xB5\xB7\xACw\x8Ey\x8C\x81&C,\x03\xE7:m\x90\xEC\xA9\xBD\xF6|X\xB3\x83\x0D\xFA\xB9\x8F\xC1\xEB\xD5\x07Z{,J\xAC\xD0 \xEA\xAA6\xBF\xF8T\xA2\xD6\x8Fu\xB3\x89iL\xA4=V\x10u\xBF\xC6\x01\x04m[\x1F\x86\x02\xA6\x1C\xAF\x8F\xDBs/\x16\xF6\x00\xDD\xBC\x19\x18 [2018-03-16 23:59:53] >>> tlv_debug: Type 3 value (32 bytes): '\xC0\x06\xA7x\xF3D\xF4\xD9\xF9?M\xA0T\xB4H\xD2\xB3V\xB4y\xFE\xE4\x1E\xFB1\xDC\x16\xC4\x03\xA2\x1B [2018-03-16 23:59:53] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-16 23:59:53] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xFA]\x81Y?\xF7\xFA\xE6\x0B\xEEW\x06\xDB\xCC%\xC2\xF5\x99\x06\x81\xB5\xB7\xACw\x8Ey\x8C\x81&C,\x03\xE7:m\x90\xEC\xA9\xBD\xF6|X\xB3\x83\x0D\xFA\xB9\x8F\xC1\xEB\xD5\x07Z{,J\xAC\xD0 \xEA\xAA6\xBF\xF8T\xA2\xD6\x8Fu\xB3\x89iL\xA4=V\x10u\xBF\xC6\x01\x04m[\x1F\x86\x02\xA6\x1C\xAF\x8F\xDBs/\x16\xF6\x00\xDD\xBC\x19\x18\x03 '\xC0\x06\xA7x\xF3D\xF4\xD9\xF9?M\xA0T\xB4H\xD2\xB3V\xB4y\xFE\xE4\x1E\xFB1\xDC\x16\xC4\x03\xA2\x1B\x06\x01\x02 [2018-03-16 23:59:53] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 23:59:53] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: Free heap: 23564 [2018-03-16 23:59:53] >>> tlv_debug: Got following TLV values: [2018-03-16 23:59:53] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-16 23:59:53] >>> tlv_debug: Type 5 value (120 bytes): \x86\xA4\xFD$xw\xC5r\xA8\x87\xF45h\xAD%@\xEF3\xFD\xE2\xF6\xA9\xB3\xEE\xA1U\xF8\xAFoR\xA8\x80\xAB\x92\xFBJ\x9D\xC4\x8B\x08\xA5PgR\x00\xFC\xF2\x1A\xF4\xEC \xD1\xD3\x0B\xAFs\x9A=lI\xF9 \xC7)\xB6\xB8\x0Cd_\xB3Hm\xE0\x18\x85_\x19m\xBF \xF2~\x85\xB9C\x8AD@\xFE\x8A`c}\xDE\xB1t|w\xAF\x92\x00_\xF7\x07k\xBD\x80\xA5}\x81\xAB\x01\xE0|\x18T\xD5\xD3\x9E\xA1 [2018-03-16 23:59:53] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 23:59:53] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-16 23:59:53] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-16 23:59:56] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-16 23:59:56] >>> tlv_debug: Got following TLV values: [2018-03-16 23:59:56] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-16 23:59:56] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-16 23:59:56] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-16 23:59:56] >>> homekit_client_process: [Client 8] Finished processing [2018-03-16 23:59:56] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-16 23:59:56] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-16 23:59:56] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-16 23:59:56] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-16 23:59:56] >>> HomeKit: [Client 8] Get Accessories [2018-03-16 23:59:56] >>> homekit_server_on_get_accessories: Free heap: 23732 [2018-03-16 23:59:56] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-16 23:59:56] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-16 23:59:56] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-16 23:59:57] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-16 23:59:57] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 00:01:43] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 00:01:44] >>> HomeKit: Got new client connection: 5 [2018-03-17 00:01:44] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 00:01:44] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:01:44] >>> homekit_server_on_pair_verify: Free heap: 23848 [2018-03-17 00:01:44] >>> tlv_debug: Got following TLV values: [2018-03-17 00:01:44] >>> tlv_debug: Type 3 value (32 bytes): \x04a\x87$)\x19\x0D\xA8lO<\x16\x92\x82t\xCCuT\x9ED\xB0e]1\xFC\x89\x06Q\xA9t\xE9e [2018-03-17 00:01:44] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:01:44] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 00:01:44] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 00:01:44] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 00:01:45] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 00:01:45] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 00:01:46] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 00:01:48] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 00:01:48] >>> tlv_debug: Got following TLV values: [2018-03-17 00:01:48] >>> tlv_debug: Type 5 value (101 bytes): \xA0\x006\xD3\xE5'(N>x\xEA\xC3\xBEvgwZ\x90\xDBip\x16\x87\xE2\xF4\x95\xB3\xE8#\xFD\xB2\xF4@\x90\x89Q\x17\xAEM\xE9NT\xDD\xD9\xA3\xC9\xBC\xAB1\x00#E\xA1\xCBP[\xCFy\x8F\x1C\x046\xF9\xBE U\x9B\x892R\x16_|m\x87\xEBi\xB8y\xC4\xDD\xB2\xB0~It\xCB\xFD\xB98\\\xA1\x14\xDDm\xD4~xd\x9B& [2018-03-17 00:01:48] >>> tlv_debug: Type 3 value (32 bytes): \xB9mP\xD3\x14\x04n\x97\xBCk\x02\x0B\x04WU\x07Qt\x8Eh\xF6}l\x8B4\x19\xBC\x98@S\x89/ [2018-03-17 00:01:48] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:01:48] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xA0\x006\xD3\xE5'(N>x\xEA\xC3\xBEvgwZ\x90\xDBip\x16\x87\xE2\xF4\x95\xB3\xE8#\xFD\xB2\xF4@\x90\x89Q\x17\xAEM\xE9NT\xDD\xD9\xA3\xC9\xBC\xAB1\x00#E\xA1\xCBP[\xCFy\x8F\x1C\x046\xF9\xBE U\x9B\x892R\x16_|m\x87\xEBi\xB8y\xC4\xDD\xB2\xB0~It\xCB\xFD\xB98\\\xA1\x14\xDDm\xD4~xd\x9B&\x03 \xB9mP\xD3\x14\x04n\x97\xBCk\x02\x0B\x04WU\x07Qt\x8Eh\xF6}l\x8B4\x19\xBC\x98@S\x89/\x06\x01\x02 [2018-03-17 00:01:48] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 00:01:48] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: Free heap: 23556 [2018-03-17 00:01:48] >>> tlv_debug: Got following TLV values: [2018-03-17 00:01:48] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:01:48] >>> tlv_debug: Type 5 value (120 bytes): ^\xD6\xF8Nn\xB1]\xBB\x86\xBBY\x11\x06\xB2\x08\xAE\xB8\\\xC9\x127\xA7V\xC46\x96\xDF\x15;\xACI\x1ELj\x92\xA5sU\x99\xAEo\x17\xB4\x1Dk{<\x19\xD8\x18\xB1\xC4\x17#\x8B\x14\xB8M \x0A\xA9\x9B\x93\x89\x96\xC2\x98Db\x01\xD8\x0Ak\xCC@\xBF~\x8E\x99\xC1\xAD\x8A\x83\x9F\x16\xB8\x99\x05\xFE\x0D\xEA$\xBEw\xAD\xFC8\x8F\xDF+\x00'\xFF\xD3\xCD+\xC4\x94-\x140c\xC8\xCE\x8Eti#\xFD\xC4 [2018-03-17 00:01:48] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 00:01:48] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 00:01:48] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 00:01:51] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 00:01:51] >>> tlv_debug: Got following TLV values: [2018-03-17 00:01:51] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:01:51] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:01:51] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 00:01:51] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 00:01:51] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 00:01:51] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 00:01:51] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 00:01:51] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:01:51] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 00:01:51] >>> homekit_server_on_get_accessories: Free heap: 23728 [2018-03-17 00:01:51] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:01:51] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 00:01:52] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 00:01:52] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:01:52] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 00:03:37] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 00:03:37] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 00:03:37] >>> homekit_client_process: [Client 9] Decrypted 239 bytes, available 0 [2018-03-17 00:03:37] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 00:03:37] >>> HomeKit: [Client 9] Update Characteristics [2018-03-17 00:03:37] >>> homekit_server_on_update_characteristics: Free heap: 23444 [2018-03-17 00:03:37] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-17 00:03:37] "aid": 1, [2018-03-17 00:03:37] "iid": 10, [2018-03-17 00:03:37] "ev": true [2018-03-17 00:03:37] } [2018-03-17 00:03:37] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-17 00:03:37] "aid": 1, [2018-03-17 00:03:37] "iid": 13, [2018-03-17 00:03:37] "ev": true [2018-03-17 00:03:37] } [2018-03-17 00:03:37] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-17 00:03:37] "aid": 1, [2018-03-17 00:03:37] "iid": 16, [2018-03-17 00:03:37] "ev": true [2018-03-17 00:03:37] } [2018-03-17 00:03:37] >>> homekit_server_on_update_characteristics: [Client 9] There were no processing errors, sending No Content response [2018-03-17 00:03:37] >>> client_send: [Client 9] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 00:03:37] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:03:38] >>> homekit_client_process: [Client 9] Got 110 incomming data [2018-03-17 00:03:38] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 00:03:38] >>> homekit_client_process: [Client 9] Decrypted 92 bytes, available 0 [2018-03-17 00:03:38] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:03:38] >>> HomeKit: [Client 9] Get Characteristics [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: Free heap: 23580 [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Query paramter id = 1.10,1.16,1.13 [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.10 [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.16 [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.13 [2018-03-17 00:03:38] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.10 [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.16 [2018-03-17 00:03:38] >>> homekit_server_on_get_characteristics: [Client 9] Requested characteristic info for 1.13 [2018-03-17 00:03:38] >>> client_send: [Client 9] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 00:03:38] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:03:38] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:03:48] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-17 00:03:48] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 00:03:48] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-17 00:03:48] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 00:03:48] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 00:03:48] >>> homekit_server_on_update_characteristics: Free heap: 23328 [2018-03-17 00:03:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 00:03:48] "aid": 1, [2018-03-17 00:03:48] "iid": 10, [2018-03-17 00:03:48] "ev": true [2018-03-17 00:03:48] } [2018-03-17 00:03:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 00:03:48] "aid": 1, [2018-03-17 00:03:48] "iid": 13, [2018-03-17 00:03:48] "ev": true [2018-03-17 00:03:48] } [2018-03-17 00:03:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 00:03:48] "aid": 1, [2018-03-17 00:03:48] "iid": 16, [2018-03-17 00:03:48] "ev": true [2018-03-17 00:03:48] } [2018-03-17 00:03:48] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 00:03:48] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 00:03:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 00:05:19] >>> homekit_client_process: [Client 9] Got 260 incomming data [2018-03-17 00:05:19] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 00:05:19] >>> homekit_client_process: [Client 9] Decrypted 242 bytes, available 0 [2018-03-17 00:05:19] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 00:05:19] >>> HomeKit: [Client 9] Update Characteristics [2018-03-17 00:05:19] >>> homekit_server_on_update_characteristics: Free heap: 23260 [2018-03-17 00:05:19] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-17 00:05:19] "aid": 1, [2018-03-17 00:05:19] "iid": 10, [2018-03-17 00:05:19] "ev": false [2018-03-17 00:05:19] } [2018-03-17 00:05:19] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-17 00:05:19] "aid": 1, [2018-03-17 00:05:19] "iid": 13, [2018-03-17 00:05:19] "ev": false [2018-03-17 00:05:19] } [2018-03-17 00:05:19] >>> homekit_server_on_update_characteristics: [Client 9] Processing element { [2018-03-17 00:05:19] "aid": 1, [2018-03-17 00:05:19] "iid": 16, [2018-03-17 00:05:19] "ev": false [2018-03-17 00:05:19] } [2018-03-17 00:05:19] >>> homekit_server_on_update_characteristics: [Client 9] There were no processing errors, sending No Content response [2018-03-17 00:05:19] >>> client_send: [Client 9] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 00:05:19] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:05:31] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-17 00:05:31] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 00:05:31] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-17 00:05:31] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 00:05:31] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 00:05:31] >>> homekit_server_on_update_characteristics: Free heap: 23324 [2018-03-17 00:05:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 00:05:31] "aid": 1, [2018-03-17 00:05:31] "iid": 10, [2018-03-17 00:05:31] "ev": false [2018-03-17 00:05:31] } [2018-03-17 00:05:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 00:05:31] "aid": 1, [2018-03-17 00:05:31] "iid": 13, [2018-03-17 00:05:31] "ev": false [2018-03-17 00:05:31] } [2018-03-17 00:05:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 00:05:31] "aid": 1, [2018-03-17 00:05:31] "iid": 16, [2018-03-17 00:05:31] "ev": false [2018-03-17 00:05:31] } [2018-03-17 00:05:31] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 00:05:31] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 00:05:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 00:26:00] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 00:26:01] >>> HomeKit: Got new client connection: 9 [2018-03-17 00:26:01] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 00:26:01] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:26:01] >>> homekit_server_on_pair_verify: Free heap: 23800 [2018-03-17 00:26:01] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:01] >>> tlv_debug: Type 3 value (32 bytes): \xB1\xCC\xDA\xE8p\x97\xEF!\xB0+\xD9\xBE \xF9b\x83\x8E"p\x07 [2018-03-17 00:26:01] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:26:01] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 00:26:01] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 00:26:01] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 00:26:02] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 00:26:02] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 00:26:04] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 00:26:05] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 00:26:05] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 00:26:05] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 00:26:05] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:05] >>> tlv_debug: Type 5 value (101 bytes): \xEF`\x85\xA5\x15\xB3k\x0E\x04\x94r\xAB\x91\xDE\x04j(`F\x13\xB3\x88'[\xB4\xFDp1\xEFd\xC5\xCE<\xC9m\x85z\xA7\x17\xD1fUg\xEF\xAD+\xDC\xD8N\xB0b\xA49\xA5\xFC\xFF\xB7f\x96\xAAx-y\xC5\x86\x9A\xC36\xA8i\x19\xC2\xFC\xCE\xF8|\xAA"\x84\xEB\x1Dc\xF1^)S\xE6\x97d{\xF7rQ\xE2\xE1\xB5\x18\x98^-\x06 [2018-03-17 00:26:05] >>> tlv_debug: Type 3 value (32 bytes): \xB5\xF1pw\xFB/b\x17wYL(\xA9X\x1D\xE3-t\x8E\x11\xA3\xCE\xFB\x0B\xCE\x87;\xC7\xCF\xE2\xB8\x0D [2018-03-17 00:26:05] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:26:05] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xEF`\x85\xA5\x15\xB3k\x0E\x04\x94r\xAB\x91\xDE\x04j(`F\x13\xB3\x88'[\xB4\xFDp1\xEFd\xC5\xCE<\xC9m\x85z\xA7\x17\xD1fUg\xEF\xAD+\xDC\xD8N\xB0b\xA49\xA5\xFC\xFF\xB7f\x96\xAAx-y\xC5\x86\x9A\xC36\xA8i\x19\xC2\xFC\xCE\xF8|\xAA"\x84\xEB\x1Dc\xF1^)S\xE6\x97d{\xF7rQ\xE2\xE1\xB5\x18\x98^-\x06\x03 \xB5\xF1pw\xFB/b\x17wYL(\xA9X\x1D\xE3-t\x8E\x11\xA3\xCE\xFB\x0B\xCE\x87;\xC7\xCF\xE2\xB8\x0D\x06\x01\x02 [2018-03-17 00:26:05] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:26:06] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 00:26:06] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:26:06] >>> homekit_server_on_pair_verify: Free heap: 23508 [2018-03-17 00:26:06] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:06] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:26:06] >>> tlv_debug: Type 5 value (120 bytes): \x89\xB0\xD3\xF1\xAAk\xC1a/w=\x15Q\xE8\x0B{`\x92J\x08\xD8&O'\xE5\xA5\x87\xD9\xFEJYE\xA5Wa%\xE9\xB4\x10\x01\x9C\xB5?R]\xDE\xE8\xFC\xCE\xB1\xF5\x09\x9B\xDD\xF6W}]\x82x\xD4\xB5M\x03\xCA\x0D\xA8x\xE1\xC2wq\xB9\x94_:\x1Fmp\xAB\xA3\xF62\x16\xB6\x07Q\xBE\xC0ya\xADN\xFE\xD6Ac\xC6\x83P\xF7P\xA5\x89J\x82#\xC5x\xAFbp\x9E\xDEt\x8Au\x04\xAE| [2018-03-17 00:26:06] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 00:26:06] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 00:26:06] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:26:06] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:26:06] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 00:26:09] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 00:26:09] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:09] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:26:09] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:26:09] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 00:26:09] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:26:09] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 00:26:09] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 00:26:09] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 00:26:09] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:26:09] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 00:26:09] >>> homekit_server_on_get_accessories: Free heap: 23680 [2018-03-17 00:26:09] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:26:09] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 00:26:09] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 00:26:09] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:26:09] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:26:34] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 00:26:36] >>> HomeKit: Got new client connection: 7 [2018-03-17 00:26:36] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 00:26:36] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:26:36] >>> homekit_server_on_pair_verify: Free heap: 23772 [2018-03-17 00:26:36] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:36] >>> tlv_debug: Type 3 value (32 bytes): \x9A\xFC\xEC$F\xA8\xF7\x82@\x0D\xAB\xC9t\xFC\xE6<\xD2\x12a\xB4Ep\xC0a\xA2\xCF\xDB\xC8\xB1\x82\x8Ax [2018-03-17 00:26:36] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:26:36] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 00:26:36] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 00:26:36] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 00:26:37] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 00:26:37] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 00:26:38] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 00:26:40] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 00:26:40] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:40] >>> tlv_debug: Type 5 value (101 bytes): >\xBB8\xB8\xB0\x09\x1FJIp\x84\x98\xBAmf\xAF\x17\x81\xA3\x80\xB5\xC6_\xE7<\xEDB6\x9F\x0F\xC3\xAB\x12->\x02\x18\x94\xF9\xBB6\x1DH\xDB\xF9\xF8X1M^\x17V\x82\xE0\x94\xA3Y\xD3\xEA7k{u\xEF\xA8\x03\x8B-G\x86\x06v,X\xCC4R\x0E\xCDII\xEB\x81\xF6\\\xC7\xB2\xA4\xB6A\xF3\xB3\xD5r\xB8\xC9\x91\x02\xB9q\xEE [2018-03-17 00:26:40] >>> tlv_debug: Type 3 value (32 bytes): \xAE\xF3DT\xAE\xC2J\xB6\x03\xE8r\x12\x02\xDC\xC5\x85\xED\xB2e3\x9A\xA7\xBDv\x95\x17\x8F\xDFz\xFDj\x18 [2018-03-17 00:26:40] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:26:40] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e>\xBB8\xB8\xB0\x09\x1FJIp\x84\x98\xBAmf\xAF\x17\x81\xA3\x80\xB5\xC6_\xE7<\xEDB6\x9F\x0F\xC3\xAB\x12->\x02\x18\x94\xF9\xBB6\x1DH\xDB\xF9\xF8X1M^\x17V\x82\xE0\x94\xA3Y\xD3\xEA7k{u\xEF\xA8\x03\x8B-G\x86\x06v,X\xCC4R\x0E\xCDII\xEB\x81\xF6\\\xC7\xB2\xA4\xB6A\xF3\xB3\xD5r\xB8\xC9\x91\x02\xB9q\xEE\x03 \xAE\xF3DT\xAE\xC2J\xB6\x03\xE8r\x12\x02\xDC\xC5\x85\xED\xB2e3\x9A\xA7\xBDv\x95\x17\x8F\xDFz\xFDj\x18\x06\x01\x02 [2018-03-17 00:26:40] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 00:26:40] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: Free heap: 23484 [2018-03-17 00:26:40] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:40] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:26:40] >>> tlv_debug: Type 5 value (120 bytes): Q\x01AT\xE2\xCF(\x11\x90$\xC4\xFC\xB2\x86#l\x83\x877\xDE\xCA\xA8\x07\xFD\xED\x18a\xD0\xDE\x15\xBE\xA06\x19\xD2\x1Er\xC6o\x03\x9F\xD3<\x95P\xEA0's\xBD\xC6X\\\xE3\xD6\x89\xBB\xA5\xC0we\x8DrRS! \x8F\xFBh8<\xF6\xEE\xE1\xFF]\xF3\xA0;\xE8\x0C\x84Pz4\xC3Br\xFAV\xE8i\x06\xF0\xED\xA9\xF4eF\x98\xE6\xF7\x08&K\xD9\x0A:%\xC0\x87\x9AlS#\x85\xA5\xF6 [2018-03-17 00:26:40] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:26:40] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:26:40] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 00:26:43] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 00:26:43] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:43] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:26:43] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:26:43] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 00:26:43] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 00:26:43] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 00:26:47] >>> HomeKit: Got new client connection: 7 [2018-03-17 00:26:47] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 00:26:47] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:26:47] >>> homekit_server_on_pair_verify: Free heap: 23772 [2018-03-17 00:26:47] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:47] >>> tlv_debug: Type 3 value (32 bytes): \xB1k\x06\\&\xAC\xB0\x03\xB8\xC4l\xB7\x0F-D\xEF\x01||\xF5\xC8\xD4vR,\xBC\x9C*\x9D\x83^\x10 [2018-03-17 00:26:47] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:26:47] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 00:26:47] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 00:26:47] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 00:26:48] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 00:26:48] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 00:26:49] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 00:26:51] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 00:26:51] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 00:26:51] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 00:26:51] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:51] >>> tlv_debug: Type 5 value (101 bytes): \xF1\xE0\xE9\xA0\xC73N|1\x89\xD9\x04\xFF@A\x93\xB3\xB9\x9E\x17\x99\xE8`(Re\xD6\xE6w\xD1\xA7C_:\xFA,\xE3Bg\xB4\xBB\xE5\x92\xC4\xFA\xF8\xEA\xE4\x1B\x18\x1B\x92hH\x04X'\xB6K\xED\xFF\x96\x12\xAE\x1A+r)\xDF\xD2k\x8D\xC8{|H\x93\xB7dlZ\xF2\xC7\x05\x94\x1A\xC1\xFA6G\xE7\x82#ej\xEE>\xE7\\\xAF [2018-03-17 00:26:51] >>> tlv_debug: Type 3 value (32 bytes): \x86Q@e\x19\xF6\x95\xDC\x06}\xD9&i\x0F\x89 \x1Cixo\xC8\xEA\x9E\x98\xAF\xA5\x14\xD7\x8F\xF8\x19L [2018-03-17 00:26:51] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:26:51] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xF1\xE0\xE9\xA0\xC73N|1\x89\xD9\x04\xFF@A\x93\xB3\xB9\x9E\x17\x99\xE8`(Re\xD6\xE6w\xD1\xA7C_:\xFA,\xE3Bg\xB4\xBB\xE5\x92\xC4\xFA\xF8\xEA\xE4\x1B\x18\x1B\x92hH\x04X'\xB6K\xED\xFF\x96\x12\xAE\x1A+r)\xDF\xD2k\x8D\xC8{|H\x93\xB7dlZ\xF2\xC7\x05\x94\x1A\xC1\xFA6G\xE7\x82#ej\xEE>\xE7\\\xAF\x03 \x86Q@e\x19\xF6\x95\xDC\x06}\xD9&i\x0F\x89 \x1Cixo\xC8\xEA\x9E\x98\xAF\xA5\x14\xD7\x8F\xF8\x19L\x06\x01\x02 [2018-03-17 00:26:51] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 00:26:52] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 00:26:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:26:52] >>> homekit_server_on_pair_verify: Free heap: 23484 [2018-03-17 00:26:52] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:52] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:26:52] >>> tlv_debug: Type 5 value (120 bytes): \x82\x9B\x8F\x0E\xEDGl\xA3\x83\xEBz\xEF\xC2\xE0\xFB\x03\x17-\x94/\x18!\x15\xCA\xFD"\xD0\xA0W\xCF\xC2\x1B!2VQi\xAA\xEB&\xD40\x1Dx\xB6\xD6\x00\xCA\xE3<\xF2V\xFDyD\x81\xCF\x0C\xC9\x06\xD5VD\xF8M\x06\xB7\xBC\xAC1\xDEd\x8B\xEAQ\xABI\xBD\xB1\x8E\x84\xC9}2n\x1E\x8AN\x13_\xB7\xE5/\xF4\x03B\x9B\xA1\x1E\x0F\x10\x12\xE6\x1C\xEE\xA6C\x02?s2\xBF\x16\x16\xE6\xAA\x16\x81*F [2018-03-17 00:26:53] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 00:26:53] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 00:26:53] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:26:53] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:26:53] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 00:26:55] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 00:26:55] >>> tlv_debug: Got following TLV values: [2018-03-17 00:26:55] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:26:55] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:26:55] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 00:26:55] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 00:26:56] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 00:26:56] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 00:26:56] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 00:26:56] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:26:56] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 00:26:56] >>> homekit_server_on_get_accessories: Free heap: 23656 [2018-03-17 00:26:56] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:26:56] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 00:26:56] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 00:26:56] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:26:56] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 00:37:27] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 00:37:29] >>> HomeKit: Got new client connection: 9 [2018-03-17 00:37:29] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 00:37:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:37:29] >>> homekit_server_on_pair_verify: Free heap: 23780 [2018-03-17 00:37:29] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:29] >>> tlv_debug: Type 3 value (32 bytes): \xC8\x0F\x04\x9E\x98"\xCD\x15\xA5X\xE4\xBC\x06\xED\x05\x8DX`\x99\xA1\x1241\xC8TZ\x88<27\x1E [2018-03-17 00:37:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:37:29] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 00:37:29] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 00:37:29] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 00:37:30] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 00:37:30] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 00:37:31] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 00:37:33] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 00:37:33] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:33] >>> tlv_debug: Type 5 value (101 bytes): S\x9E\xCA_\x8AQ\xD93\x86\xD4\x99\xD9\xD4\x08'\x00\xF0\x02\xE6\x87\x8DY\x0E\xBD?\x0A\xFDq;\xC9Z\x82a\xB2\xB6z\xE2\xFB\x8E\x09S\xDFw\xB9=\x8A\xD1\xC1\xF7\xF3o\xB4<\x0B\xE9@\x85{l\xF9\x1F\x8D\x85Bk\xE5:\x05\xAEt\x1C\x08\xEA\x9E\x81\x170\x1F\x85\x08\x80\x8B\x9E\x12F5\xB9\x11X\x93\xE1\xD5\x0A_\x0DrO\x01\x11i\xF6 [2018-03-17 00:37:33] >>> tlv_debug: Type 3 value (32 bytes): \x05J\x85N\x0D\x17\xD8\xBA\x01)\xA5\xB0\xA3\x02v\x1A\xCBR,\xBFHl\xB1mk\x82\x9D\xBEU5\xC5= [2018-03-17 00:37:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:37:33] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eS\x9E\xCA_\x8AQ\xD93\x86\xD4\x99\xD9\xD4\x08'\x00\xF0\x02\xE6\x87\x8DY\x0E\xBD?\x0A\xFDq;\xC9Z\x82a\xB2\xB6z\xE2\xFB\x8E\x09S\xDFw\xB9=\x8A\xD1\xC1\xF7\xF3o\xB4<\x0B\xE9@\x85{l\xF9\x1F\x8D\x85Bk\xE5:\x05\xAEt\x1C\x08\xEA\x9E\x81\x170\x1F\x85\x08\x80\x8B\x9E\x12F5\xB9\x11X\x93\xE1\xD5\x0A_\x0DrO\x01\x11i\xF6\x03 \x05J\x85N\x0D\x17\xD8\xBA\x01)\xA5\xB0\xA3\x02v\x1A\xCBR,\xBFHl\xB1mk\x82\x9D\xBEU5\xC5=\x06\x01\x02 [2018-03-17 00:37:33] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:37:33] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: Free heap: 23492 [2018-03-17 00:37:33] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:33] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:37:33] >>> tlv_debug: Type 5 value (120 bytes): ?\xA5H\xE4\xF1Ik\x8F\xE1\xE0\x90Sn\xB2(\x03\xC3Z\xC1\xFA\x97\x14\xFCF\xEB\x969'\x82\xD0\xA8&\x07\x9A\xF0\xD9\xBC\xD80\x12\xA1\x1B5\xBAl\xE0\xD4>\x90[\x12>\xF3\x08\x85\xE08\x93v\x11\xC2\xAD\x02\xB4\xD4\xF2\xF9\xC5\x0Bdm\xA5/w\x13\xAC\x0A\x83\xF5\xF7\x1A\xB6~\xAD\xE6{SC#\x1B\xCBS\xE5,\xCBM\x8D.0\x9C0\x8AFq\x93K"KYSNR\x1B`\xE6s\xF0\x06\x8C' [2018-03-17 00:37:33] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:37:33] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:37:33] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 00:37:36] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 00:37:36] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:36] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:37:36] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:37:36] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 00:37:36] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:37:36] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 00:37:36] >>> HomeKit: Got new client connection: 9 [2018-03-17 00:37:36] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 00:37:36] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:37:36] >>> homekit_server_on_pair_verify: Free heap: 23780 [2018-03-17 00:37:36] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:36] >>> tlv_debug: Type 3 value (32 bytes): \xA4\xA6\xB8\x92R<\xA4?|1\x15Xe\xF2\xD9\xEC\x99Y\x17\x89\xCA\xB7\xBE\x97P\x81\xC93tB\x04} [2018-03-17 00:37:36] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:37:36] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 00:37:36] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 00:37:36] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 00:37:38] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 00:37:38] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 00:37:39] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 00:37:40] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 00:37:40] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 00:37:40] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 00:37:40] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:40] >>> tlv_debug: Type 5 value (101 bytes): "\x17\xB0i\xE8\x85\x09\x97\xDAs2\xEDw\xE9\xA3N\xAE\x17\xD4\xC1\xBD\x96[\x936W\x03-\xD1r\x03\xA8\x9D\x9B\xAD\x06\xF3gQ#\x8C\xD3}-\xA0me\x0C\xAE\xF8\xA4F!\xEEz0\x07lt\x9F\xAA\x06\xC1\xFA\x0AU\x18\x02\x1Bh'\xEFz\x8A\xE7\xF0\x85~7\xE0\xC8\xAE\xAE\x03\xDD\xC8\x13M\x11/\x10\xD4)\x13,\x9F\xD9c\xBDp [2018-03-17 00:37:40] >>> tlv_debug: Type 3 value (32 bytes): \xB7\xFBI0\xAD}\x0A\x1B\x08jZ6\xFE\xD7\\n\xA5\xF9kZO\xE5H\xAE|8\xCE\x8CKnmj [2018-03-17 00:37:40] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:37:40] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e"\x17\xB0i\xE8\x85\x09\x97\xDAs2\xEDw\xE9\xA3N\xAE\x17\xD4\xC1\xBD\x96[\x936W\x03-\xD1r\x03\xA8\x9D\x9B\xAD\x06\xF3gQ#\x8C\xD3}-\xA0me\x0C\xAE\xF8\xA4F!\xEEz0\x07lt\x9F\xAA\x06\xC1\xFA\x0AU\x18\x02\x1Bh'\xEFz\x8A\xE7\xF0\x85~7\xE0\xC8\xAE\xAE\x03\xDD\xC8\x13M\x11/\x10\xD4)\x13,\x9F\xD9c\xBDp\x03 \xB7\xFBI0\xAD}\x0A\x1B\x08jZ6\xFE\xD7\\n\xA5\xF9kZO\xE5H\xAE|8\xCE\x8CKnmj\x06\x01\x02 [2018-03-17 00:37:41] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:37:41] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 00:37:41] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:37:41] >>> homekit_server_on_pair_verify: Free heap: 23492 [2018-03-17 00:37:41] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:41] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:37:41] >>> tlv_debug: Type 5 value (120 bytes): &\x8F\xB3F\xB7\x94h\xB4\xD9\xFF\x96Y\xD32\x04\xE5\xBB\x97ED\x91\x99\xB2R\xC6\xC1\xBA\xE6}R\xAA\x9E\x03sT\xA1L\\\x92OE\xD1R\xD3\xA7>F/\x97c\x17\xAB\x8A@\xE9y\x1D \xBDQ&:\xD1e\xAE\xC8R\x85\x02\x05\x0F\xEF\x91\xFE\xD6#\x12\xCC.\xD0\xB5\x88h\xCB\xA5\xCF'\xFE#\x89>p\xBB\x15\x1C}_\xCA\xA1\xC0;\x96s\xDD\xE4\xBE\xC49\xB3\xEAu\xAA\xE3\x13\xB6\x87|\xC31\x1F [2018-03-17 00:37:41] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 00:37:41] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 00:37:41] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:37:41] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 00:37:41] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 00:37:44] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 00:37:44] >>> tlv_debug: Got following TLV values: [2018-03-17 00:37:44] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:37:44] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:37:44] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 00:37:44] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:37:44] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 00:37:44] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 00:37:44] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 00:37:44] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:37:44] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 00:37:44] >>> homekit_server_on_get_accessories: Free heap: 23664 [2018-03-17 00:37:44] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:37:44] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 00:37:44] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 00:37:44] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:37:44] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 00:54:06] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 00:54:07] >>> HomeKit: Got new client connection: 8 [2018-03-17 00:54:07] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 00:54:07] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:54:07] >>> homekit_server_on_pair_verify: Free heap: 23784 [2018-03-17 00:54:07] >>> tlv_debug: Got following TLV values: [2018-03-17 00:54:07] >>> tlv_debug: Type 3 value (32 bytes): \x19\xDF{\x08\x92\x94\xCF;\xC9)\xBC\xC2\xC6h=w!YbA\xD3\xD0\xD3\xC5\x02L\x1B;\xDB\x07\xA0\x17 [2018-03-17 00:54:07] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:54:07] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 00:54:07] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 00:54:07] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 00:54:08] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 00:54:08] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 00:54:09] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 00:54:11] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 00:54:11] >>> tlv_debug: Got following TLV values: [2018-03-17 00:54:11] >>> tlv_debug: Type 5 value (101 bytes): \xE3\x9A\x0A\x12\xE6\xA3\xF8:\xADQUs|\x16#4%UV\xC7\x07"_08\x1F\xBEg$\xBA\x06py\x1E\xF2o\xA4R_\x0D\xD0\xE1\x9Ex\x9A\xB9\x82\x15<\x9C\xB0\x83`\x09`H\x19\xADJ\xBE\xDD\xB70o\xA1\xACj\xEB\xBC\x88F\xA8\xB3\x9C\xDFB\x8D\xBD\xA3*\xB2\xB9tev\xA9\xD6i\xDB\x02\x99\xAC9\xA1L\x09\xE6Q\xF3\x15\xF3 [2018-03-17 00:54:11] >>> tlv_debug: Type 3 value (32 bytes): h\xEB\xDA\xF0\xF8\xEE\xAB\xCCyt\xA0\x05*$\x92\xD8\xF5\x84\xA6\xD5.\xF6\xAB\x92\xBB\xE2W0\x13A0C [2018-03-17 00:54:11] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:54:11] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE3\x9A\x0A\x12\xE6\xA3\xF8:\xADQUs|\x16#4%UV\xC7\x07"_08\x1F\xBEg$\xBA\x06py\x1E\xF2o\xA4R_\x0D\xD0\xE1\x9Ex\x9A\xB9\x82\x15<\x9C\xB0\x83`\x09`H\x19\xADJ\xBE\xDD\xB70o\xA1\xACj\xEB\xBC\x88F\xA8\xB3\x9C\xDFB\x8D\xBD\xA3*\xB2\xB9tev\xA9\xD6i\xDB\x02\x99\xAC9\xA1L\x09\xE6Q\xF3\x15\xF3\x03 h\xEB\xDA\xF0\xF8\xEE\xAB\xCCyt\xA0\x05*$\x92\xD8\xF5\x84\xA6\xD5.\xF6\xAB\x92\xBB\xE2W0\x13A0C\x06\x01\x02 [2018-03-17 00:54:11] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 00:54:11] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: Free heap: 23488 [2018-03-17 00:54:11] >>> tlv_debug: Got following TLV values: [2018-03-17 00:54:11] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:54:11] >>> tlv_debug: Type 5 value (120 bytes): \x8F\x08\xBCBq\x95\x0BB\xC8\xF2\xD72\x91\xD1\x8B\x00\x8D\x89\xCC6\x88\xCBS\xD05\xDB\x08\xC3\xD1/SS\xB3(\xEA\x17}!z\xFB\x96c;\xF4k,\x00[\xF4\xF7\xC1\xE9\x02\xDE\xA0\xF9\x13\xE4\\\xDF;\xFB\x86\x86\xB6\xD5 \xE1\x9C\x06\xDD\x9A\x0D\xF7K\xD9mHT%H\xF9\xC5\xD0]\x82\xDC\x0D\xE0iv\xDF\x9Av4\xE7\x9CY\xA7\xBE.[S\x07\xEA\x93\xCFb\xAAWb\x9E\xB2\xF7a\x0Cg\x88` [2018-03-17 00:54:11] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 00:54:11] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 00:54:11] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 00:54:14] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 00:54:14] >>> tlv_debug: Got following TLV values: [2018-03-17 00:54:14] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:54:14] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:54:14] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 00:54:14] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 00:54:14] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 00:54:14] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 00:54:14] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 00:54:14] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:54:14] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 00:54:14] >>> homekit_server_on_get_accessories: Free heap: 23672 [2018-03-17 00:54:14] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:54:14] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 00:54:15] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 00:54:15] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:54:15] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 00:55:13] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 00:55:16] >>> HomeKit: Got new client connection: 8 [2018-03-17 00:55:16] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 00:55:16] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:55:16] >>> homekit_server_on_pair_verify: Free heap: 23784 [2018-03-17 00:55:16] >>> tlv_debug: Got following TLV values: [2018-03-17 00:55:16] >>> tlv_debug: Type 3 value (32 bytes): \xF6\xB6\x9F\x15\x8E\xF4F.\xB7\x9F\xE8\x95?A\xCCb\xE6\x9C\x05\x13k\xA1\xE8\x866\xC4\x8F\x19\xE9]e* [2018-03-17 00:55:16] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 00:55:16] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 00:55:16] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 00:55:16] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 00:55:17] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 00:55:17] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 00:55:18] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 00:55:20] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 00:55:20] >>> tlv_debug: Got following TLV values: [2018-03-17 00:55:20] >>> tlv_debug: Type 5 value (101 bytes): \xBD\xAF\xCE\xF0\xABw\xC7\xD5\xD5\xB8\xFF\xD3\x09\xFEy\xF6\x9Bd\x9A\xABV\x02\x81\xA1K\x15R\x8D\xA4\xD6(\xC4\x1C\x85\x8C&\xF0\xB3\xCFM/ t\xAF\xB2?\xCC\xCD%_\x06\x8A\xD1ty7\xD3\xC5\x9D\xE2\xEE_\xCA\xB1l\x9E\xB7\xF4\xC9X\xD2\xB6\xA2Q\xF9\x99\x94\xD3q\xD4\xC5\xE0\xB9:\x1AB8B\xCB\x90\x1E\xE1\x8F\x19\xBB\xCA^\x12\x83t [2018-03-17 00:55:20] >>> tlv_debug: Type 3 value (32 bytes): R>hg\xEA\x9Ei\xD0\x9C\x81\xE4=^bZ\xF0;\xA7l2\x14(\xF7\x18}8\xB2A\x9F\xB9\xDBp [2018-03-17 00:55:20] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 00:55:20] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xBD\xAF\xCE\xF0\xABw\xC7\xD5\xD5\xB8\xFF\xD3\x09\xFEy\xF6\x9Bd\x9A\xABV\x02\x81\xA1K\x15R\x8D\xA4\xD6(\xC4\x1C\x85\x8C&\xF0\xB3\xCFM/ t\xAF\xB2?\xCC\xCD%_\x06\x8A\xD1ty7\xD3\xC5\x9D\xE2\xEE_\xCA\xB1l\x9E\xB7\xF4\xC9X\xD2\xB6\xA2Q\xF9\x99\x94\xD3q\xD4\xC5\xE0\xB9:\x1AB8B\xCB\x90\x1E\xE1\x8F\x19\xBB\xCA^\x12\x83t \x03 R>hg\xEA\x9Ei\xD0\x9C\x81\xE4=^bZ\xF0;\xA7l2\x14(\xF7\x18}8\xB2A\x9F\xB9\xDBp\x06\x01\x02 [2018-03-17 00:55:20] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 00:55:20] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: Free heap: 23488 [2018-03-17 00:55:20] >>> tlv_debug: Got following TLV values: [2018-03-17 00:55:20] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 00:55:20] >>> tlv_debug: Type 5 value (120 bytes): (\xAA\x91G\xE8\x9D\xE0\x11\xAF$N\x1B\xDAoE\x036\x0A\xE2c\xBC[)\xEEB\xB5wP\xA6\x10\xCD_1\xCB\x98\xC0\xBDFS\x12\x9EvI4\xD8>8\xAA\x1CA~\x1D6qS\xFD\xAEt])p\x88\xF0r<\xDBdd\xFB\\\xF7\xAB\xC8\x96"\xD05\xFC\xB8VGMh\x91gKW4\xD9\xB8\x08x\xF4\xAB\xC4d\xFB\x84r7\x0B3\x8D\xC1\xE2o\xD3Z\xC7uL.\xC2\xD3P\xCF\xEB2\x0D= [2018-03-17 00:55:20] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 00:55:20] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 00:55:20] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 00:55:23] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 00:55:23] >>> tlv_debug: Got following TLV values: [2018-03-17 00:55:23] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 00:55:23] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 00:55:23] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 00:55:23] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 00:55:24] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 00:55:24] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 00:55:24] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 00:55:24] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 00:55:24] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 00:55:24] >>> homekit_server_on_get_accessories: Free heap: 23532 [2018-03-17 00:55:24] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 00:55:24] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 00:55:24] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 00:55:24] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 00:55:24] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 02:18:26] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 02:18:28] >>> HomeKit: Got new client connection: 7 [2018-03-17 02:18:28] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 02:18:28] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 02:18:28] >>> homekit_server_on_pair_verify: Free heap: 23788 [2018-03-17 02:18:28] >>> tlv_debug: Got following TLV values: [2018-03-17 02:18:28] >>> tlv_debug: Type 3 value (32 bytes): \x8E\xF9Dm\xE1\x1E:\xD8\x13l\xD4\x99\xCBs\xE3\xA0_\x07\x1C\xBBb\xFB:\xAB\x19\xC9\xA6\xD6\xFBTf\x09 [2018-03-17 02:18:28] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 02:18:28] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 02:18:28] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 02:18:28] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 02:18:29] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 02:18:29] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 02:18:30] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 02:18:32] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 02:18:32] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 02:18:32] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 02:18:32] >>> tlv_debug: Got following TLV values: [2018-03-17 02:18:32] >>> tlv_debug: Type 5 value (101 bytes): \xB0Er\xA8a\x07\x12\x8A\xD8\xC6\x16\xD35\x8E\xA7_>\xA5\x0Aga\x0F1/\xAD\xEE[\x15\xC5\x99\xE2\x9B\xB7DL\xEC}&\x8E\x0C5_.L\xB3\x16\xEF[\xA0\x12\x05\xFCXp\x158DO1\x9C\xF9\xA4\xD9\x8B\xDD\xB0f\xB7\xB1\x1B\x83\xA6\xB5\x87@\xC8E\xD2P\xFF\xBE\xC4\xA1BL\x86Dn\xC3)\xBA\xFA&\xEFO\xACoy4h\x0D [2018-03-17 02:18:32] >>> tlv_debug: Type 3 value (32 bytes): \xF4m\x18\x005\xD3\xF5'\x8C\xE6\xF8\xAC\xB85\xC9\xB5\xAA\xE4Y:\x9DGm-\xC9N\x82$\x82\xB92\x1E [2018-03-17 02:18:32] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 02:18:32] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB0Er\xA8a\x07\x12\x8A\xD8\xC6\x16\xD35\x8E\xA7_>\xA5\x0Aga\x0F1/\xAD\xEE[\x15\xC5\x99\xE2\x9B\xB7DL\xEC}&\x8E\x0C5_.L\xB3\x16\xEF[\xA0\x12\x05\xFCXp\x158DO1\x9C\xF9\xA4\xD9\x8B\xDD\xB0f\xB7\xB1\x1B\x83\xA6\xB5\x87@\xC8E\xD2P\xFF\xBE\xC4\xA1BL\x86Dn\xC3)\xBA\xFA&\xEFO\xACoy4h\x0D\x03 \xF4m\x18\x005\xD3\xF5'\x8C\xE6\xF8\xAC\xB85\xC9\xB5\xAA\xE4Y:\x9DGm-\xC9N\x82$\x82\xB92\x1E\x06\x01\x02 [2018-03-17 02:18:32] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 02:18:32] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 02:18:34] >>> HomeKit: Got new client connection: 7 [2018-03-17 02:18:34] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 02:18:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 02:18:34] >>> homekit_server_on_pair_verify: Free heap: 23788 [2018-03-17 02:18:34] >>> tlv_debug: Got following TLV values: [2018-03-17 02:18:34] >>> tlv_debug: Type 3 value (32 bytes): 8\xD6\x09B\xCF'\xF7\xF8T/\xAF}S\xE0\x0E\x10\xD9\xF2-\x96\xBE'o\x97\xF32\x903)\x16MC [2018-03-17 02:18:34] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 02:18:34] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 02:18:34] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 02:18:34] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 02:18:35] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 02:18:35] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 02:18:36] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 02:18:38] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 02:18:38] >>> tlv_debug: Got following TLV values: [2018-03-17 02:18:38] >>> tlv_debug: Type 5 value (101 bytes): X\x9F\x9F\xB2\xF6wi\xAD\xAC~\\\xCD\x90\x04}\xD4\xC3\xB6#\x16\xF3\xFED\x10\x93\x84\xFD\xF8 \x87\xB91\xF3!\x80w\xB4\xEA\xE1\x18s\x85#\xFD\xA08\xE3p\xD7\xDA=\xD5\x82\x03\xDA\xF2\xC3.0\xB7(\xF1\x1B5\x16\xFFm\xF2\x83R~A\xE4M\xC8p\xBF\xC7^\x02\xF1\x146\xFFHc\xBD\xCD\xBE+\x0D\xAD\xD7\x03\xB1\xDF?\xA8\x1F\xB0 [2018-03-17 02:18:38] >>> tlv_debug: Type 3 value (32 bytes): JrX\xC9\x85&\xDB\xC3\x82\xD0\xA7\xBD\xA1*\x11\x17\xD7{\x0F\x16\xA0\xAC}\x97\xE6Q\x86\xC1R\x05\xC67 [2018-03-17 02:18:38] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 02:18:38] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eX\x9F\x9F\xB2\xF6wi\xAD\xAC~\\\xCD\x90\x04}\xD4\xC3\xB6#\x16\xF3\xFED\x10\x93\x84\xFD\xF8 \x87\xB91\xF3!\x80w\xB4\xEA\xE1\x18s\x85#\xFD\xA08\xE3p\xD7\xDA=\xD5\x82\x03\xDA\xF2\xC3.0\xB7(\xF1\x1B5\x16\xFFm\xF2\x83R~A\xE4M\xC8p\xBF\xC7^\x02\xF1\x146\xFFHc\xBD\xCD\xBE+\x0D\xAD\xD7\x03\xB1\xDF?\xA8\x1F\xB0\x03 JrX\xC9\x85&\xDB\xC3\x82\xD0\xA7\xBD\xA1*\x11\x17\xD7{\x0F\x16\xA0\xAC}\x97\xE6Q\x86\xC1R\x05\xC67\x06\x01\x02 [2018-03-17 02:18:38] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 02:18:38] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: Free heap: 23488 [2018-03-17 02:18:38] >>> tlv_debug: Got following TLV values: [2018-03-17 02:18:38] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 02:18:38] >>> tlv_debug: Type 5 value (120 bytes): ?7B\x07\xE5J\x13.\xDF\x18Q\x029\xCC\xD8\xC3R\xD1s\xF8\xB5h\xEA\x11*\xB8\xFE\x89\xF9\x87<\xEE|E\xC9\x09\xC7k\xFB\x06\xD2\xD1\x8B\x9DZt\x1B(\xFE\xF0\xB9\xE5\xD6\x8D_\xF4\x8A\x99\xF61\x19\xD42\x03\xD4\x1AS\xBB\x10\x0B\x8F\xF6\x8D_\x9B\xEE`n^\xBE\x09\xBA\xB04\x99\x12I\x0E\x0F\xE6\xD3\x18\x86r\x00\xA3\xE0\x00\xF0\x8B\xB0\xDAX\x0B\x95\x98\x86\x85\x1DE\xC7\x07\x09\xB4\xC5\x91\xB3*U [2018-03-17 02:18:38] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 02:18:38] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 02:18:38] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 02:18:41] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 02:18:41] >>> tlv_debug: Got following TLV values: [2018-03-17 02:18:41] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 02:18:41] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 02:18:41] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 02:18:41] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 02:18:42] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 02:18:42] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 02:18:42] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 02:18:42] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 02:18:42] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 02:18:42] >>> homekit_server_on_get_accessories: Free heap: 23676 [2018-03-17 02:18:42] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 02:18:42] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 02:18:42] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 02:18:42] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 02:18:42] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 02:41:38] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 02:41:40] >>> HomeKit: Got new client connection: 5 [2018-03-17 02:41:40] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 02:41:40] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 02:41:40] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 02:41:40] >>> tlv_debug: Got following TLV values: [2018-03-17 02:41:40] >>> tlv_debug: Type 3 value (32 bytes): \xEB\x0E/F\x95x(7gv\x16;\xDA6\x91\x8A%f\xADk\\\\\xB8\x81\xF3\xA7I\xFF\xEC\x92\xE0} [2018-03-17 02:41:40] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 02:41:40] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 02:41:40] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 02:41:40] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 02:41:41] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 02:41:41] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 02:41:42] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 02:41:44] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 02:41:44] >>> tlv_debug: Got following TLV values: [2018-03-17 02:41:44] >>> tlv_debug: Type 5 value (101 bytes): \xDD\xD39\xFB\xEC\x01Lo\xD3G\x88Y\x81~\x85e\xD5\xB3u\x82r\xDELi\xBC4\xFE CT\xAD\x83\x17\xB3\x16p\x08z`\xAAb\xBD\xDC\x0D\xD1#\xC4\xC8\xB4\xE3\xCE\xF8Lk\xCD\xD8\xB6,\xD8\xC8\xA2\x0C\xF2mvA\xD7`0\x11;&\x11\xCF\xD7\x0F\xD31\xACK\x0F\x81I]^\xA0\xC0\x14\xF8\xD6\x8B\xB1F\xAA\x01D\xE0yI\xFE\xC3 [2018-03-17 02:41:44] >>> tlv_debug: Type 3 value (32 bytes): \xDB\x11I\x1C\xF5|p\x02\xE6t\x82-\xD6\xF1D\xEE[m\xF4\\\x05}\xC1\x97G\xEA\x1BBEY\x0A% [2018-03-17 02:41:44] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 02:41:44] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xDD\xD39\xFB\xEC\x01Lo\xD3G\x88Y\x81~\x85e\xD5\xB3u\x82r\xDELi\xBC4\xFE CT\xAD\x83\x17\xB3\x16p\x08z`\xAAb\xBD\xDC\x0D\xD1#\xC4\xC8\xB4\xE3\xCE\xF8Lk\xCD\xD8\xB6,\xD8\xC8\xA2\x0C\xF2mvA\xD7`0\x11;&\x11\xCF\xD7\x0F\xD31\xACK\x0F\x81I]^\xA0\xC0\x14\xF8\xD6\x8B\xB1F\xAA\x01D\xE0yI\xFE\xC3\x03 \xDB\x11I\x1C\xF5|p\x02\xE6t\x82-\xD6\xF1D\xEE[m\xF4\\\x05}\xC1\x97G\xEA\x1BBEY\x0A%\x06\x01\x02 [2018-03-17 02:41:44] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 02:41:44] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: Free heap: 23488 [2018-03-17 02:41:44] >>> tlv_debug: Got following TLV values: [2018-03-17 02:41:44] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 02:41:44] >>> tlv_debug: Type 5 value (120 bytes): \xCE\xD6\xCF+\xB8\xAD\x85\xAA\x971$?\x9F|\xC4\xE9G\xE8\xD2Uv\xCC\x92y\x04\xFA'\x18\x80\xA4%\xFF\xF3?\xDD\xEF/4\xDA\xCEt\xEF\x00\xE0\xB9\xAFz`H\x9A\x06\xBD\x94S\xA3\xCC\xA9\xF1\xDB \xF5\xF9o\xADb\xAD\x00\x12\x99.&\xB9\xC3\xA7\x9D\xFCw\x9F\x8D#a\xDF\x9F\x81\x87H%s\xD9\x83\x9CV\x0C\x99\x82$\xFE\x89\x83\xFAw\xD3\x0E\xEC\xA2r\x95\x17L\xA6\xF9\xB3$0\xD7o\xE9\xBB\x9A\xF7 [2018-03-17 02:41:44] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 02:41:44] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 02:41:44] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 02:41:47] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 02:41:47] >>> tlv_debug: Got following TLV values: [2018-03-17 02:41:47] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 02:41:47] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 02:41:47] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 02:41:47] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 02:41:47] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 02:41:47] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 02:41:47] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 02:41:47] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 02:41:47] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 02:41:47] >>> homekit_server_on_get_accessories: Free heap: 23676 [2018-03-17 02:41:47] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 02:41:47] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 02:41:47] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 02:41:48] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 02:41:48] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 03:03:46] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 03:03:47] >>> HomeKit: Got new client connection: 8 [2018-03-17 03:03:47] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 03:03:47] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:03:47] >>> homekit_server_on_pair_verify: Free heap: 23800 [2018-03-17 03:03:47] >>> tlv_debug: Got following TLV values: [2018-03-17 03:03:47] >>> tlv_debug: Type 3 value (32 bytes): \xBD\xC0\xEE\x91*A\x98c\x87J\x0D\xD2\x89NB\xC30t\xD5\xC3\xDFE\xCDP\xEA\xEB\x9Fy\xC9\x01\x9A [2018-03-17 03:03:47] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 03:03:47] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 03:03:47] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 03:03:47] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 03:03:48] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 03:03:48] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 03:03:49] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 03:03:51] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 03:03:51] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 03:03:51] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 03:03:51] >>> tlv_debug: Got following TLV values: [2018-03-17 03:03:51] >>> tlv_debug: Type 5 value (101 bytes): \xB9\x00[\x17\xE7\xA2\xC3\xD6F\x83\xAA;\xD2\x1E\xBB^\xBCix\x87\xBD\x1D\xAE\x86\x94{\xB3P\xA2\xFE\xAF\xCA\xF8\xBA83\xC45!\xA03p\xFF\xB0\xE8}\x91\xCD\xA9\x82\xBCM\xD1\x80\x06K(zk"3\x1B\x1D\xA3w\xF9\x85\x94\xAB\xBA\xD4m>> tlv_debug: Type 3 value (32 bytes): 15\x8F\xC4s\xECo\x93m\xACn/\x14\x99-\x04\xA8+H\xFBvp}\xF4\xBA\xF6\x1F\xC5^\xE8\xB5\x03 [2018-03-17 03:03:51] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 03:03:51] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB9\x00[\x17\xE7\xA2\xC3\xD6F\x83\xAA;\xD2\x1E\xBB^\xBCix\x87\xBD\x1D\xAE\x86\x94{\xB3P\xA2\xFE\xAF\xCA\xF8\xBA83\xC45!\xA03p\xFF\xB0\xE8}\x91\xCD\xA9\x82\xBCM\xD1\x80\x06K(zk"3\x1B\x1D\xA3w\xF9\x85\x94\xAB\xBA\xD4m>> homekit_client_process: [Client 8] Finished processing [2018-03-17 03:03:51] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 03:03:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:03:52] >>> homekit_server_on_pair_verify: Free heap: 23504 [2018-03-17 03:03:52] >>> tlv_debug: Got following TLV values: [2018-03-17 03:03:52] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 03:03:52] >>> tlv_debug: Type 5 value (120 bytes): \xFE\xFC\xA0t0n\x9F\x0Al\x00vG\x11tj\x86wF\x078\xFDX\xF8H?\xDC;I\xDDK\x9C\xEE_\xD4":\xC7\xB3\xE7QUe\x93<\x98\xF2&\x1D>\xD2\x8F\xD31\xDB\xFDy\xBA\xD2\x8E\x18\xEB\x9A\x8C:;6\x06\x13%\x1E\x1E\x84.\xC5\x8E\xC1\xEDo\xB6=w\xC9~p\xDEc7\xC2\xB4,S9p\xE7;\xD5b\xD6\xE6e\x85&\xCC4\xC6\xBB\xBD\x8E\xB2\x04\xBF\xF1~\xA4\xA0Ie\\/ [2018-03-17 03:03:52] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 03:03:52] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 03:03:52] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 03:03:52] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 03:03:52] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 03:03:55] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 03:03:55] >>> tlv_debug: Got following TLV values: [2018-03-17 03:03:55] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 03:03:55] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 03:03:55] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 03:03:55] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 03:03:55] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 03:03:55] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 03:03:55] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 03:03:55] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 03:03:55] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 03:03:55] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 03:03:55] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 03:03:55] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 03:03:55] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 03:03:55] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 03:03:55] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 03:10:28] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 03:10:29] >>> HomeKit: Got new client connection: 5 [2018-03-17 03:10:29] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 03:10:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:10:29] >>> homekit_server_on_pair_verify: Free heap: 23800 [2018-03-17 03:10:29] >>> tlv_debug: Got following TLV values: [2018-03-17 03:10:29] >>> tlv_debug: Type 3 value (32 bytes): \xF8\xF7\x04f\xFC}2\xE1\x8B\x9E5\x9Ai\xBC9~GKB\xA5\x0Av\xC2\xF6\xE6\xD1v\xB6\x09\xC1\xF1^ [2018-03-17 03:10:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 03:10:29] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 03:10:29] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 03:10:29] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 03:10:30] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 03:10:30] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 03:10:31] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 03:10:33] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 03:10:33] >>> tlv_debug: Got following TLV values: [2018-03-17 03:10:33] >>> tlv_debug: Type 5 value (101 bytes): S\x0B\x0Cx,?\x10l\x84\x1C\xAC\xE0\xCA\xA8\xD1\xED\xC4\x0E\x89Ti\x13\xFEX|,\xF3!{~\xBC\xA4\x06\x8Fva\xD6 L\xAB\x9A8\xD54\x1D\x93\x14\xB3\xCAacsT\xBB\xFF\xD3\xDE\xC0j\xC7\xBD9\xF7\xC9\xC0Z\xEE&\x87\xBB\x02\xE2\x12\x1D\x10\xDC\xFE\xE0\xC0\x8C\xA6(\x9C\xD8\x8D\x0C'\x98t7\x8A\x90x\x01^m$\x09\x00 [2018-03-17 03:10:33] >>> tlv_debug: Type 3 value (32 bytes): E\xA4\xBD\x0A\xE5r\xC5|[j\xC6p}\x86jQ\xC9S\xF8"W\xB5\xB0D\xF7\x83\xD7Tv\x19\xA1\x16 [2018-03-17 03:10:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 03:10:33] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e S\x0B\x0Cx,?\x10l\x84\x1C\xAC\xE0\xCA\xA8\xD1\xED\xC4\x0E\x89Ti\x13\xFEX|,\xF3!{~\xBC\xA4\x06\x8Fva\xD6 L\xAB\x9A8\xD54\x1D\x93\x14\xB3\xCAacsT\xBB\xFF\xD3\xDE\xC0j\xC7\xBD9\xF7\xC9\xC0Z\xEE&\x87\xBB\x02\xE2\x12\x1D\x10\xDC\xFE\xE0\xC0\x8C\xA6(\x9C\xD8\x8D\x0C'\x98t7\x8A\x90x\x01^m$\x09\x00\x03 E\xA4\xBD\x0A\xE5r\xC5|[j\xC6p}\x86jQ\xC9S\xF8"W\xB5\xB0D\xF7\x83\xD7Tv\x19\xA1\x16\x06\x01\x02 [2018-03-17 03:10:33] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 03:10:33] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 03:10:33] >>> tlv_debug: Got following TLV values: [2018-03-17 03:10:33] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 03:10:33] >>> tlv_debug: Type 5 value (120 bytes): \xAC\xA09\xA2\xBAe\xCBy\xCE\xA5\x94&%\x86=\xDFjv\x81\xEF|U\xFC6\x00\xA0HK\x14\x93e\xFEF\x8F\xD1\x00\x93\x9D\xDFg\xBB\xAD29\x88\x95\xB2\x10\x01\x8B&\xB8\xF6c\x18\x8FV\xD3\xE1\x19\x01\xAA\xC5\xA2.\xB7a\xFC~}\x0D:\xEFMa\x19\xC6\x9E \x0Ck\xC6\xFF\x0A\xD9\xDA\x9A\x08\xE5s\xE1\xB8\x03\xC6n\xF4\xD0\x1E\xC2}T\xFCZv"\x9Ca\x94\xC3\x01"K?\x88}MM\xB1\xE7\x11 [2018-03-17 03:10:33] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 03:10:33] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 03:10:33] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 03:10:36] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 03:10:36] >>> tlv_debug: Got following TLV values: [2018-03-17 03:10:36] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 03:10:36] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 03:10:36] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 03:10:36] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 03:10:36] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 03:10:36] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 03:10:36] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 03:10:36] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 03:10:36] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 03:10:36] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 03:10:36] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 03:10:36] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 03:10:36] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 03:10:36] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 03:10:36] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 03:38:42] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 03:38:43] >>> HomeKit: Got new client connection: 9 [2018-03-17 03:38:43] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 03:38:43] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:38:43] >>> homekit_server_on_pair_verify: Free heap: 23804 [2018-03-17 03:38:43] >>> tlv_debug: Got following TLV values: [2018-03-17 03:38:43] >>> tlv_debug: Type 3 value (32 bytes): \x9Cw\xA0\x12\xE4\xF46\xC9b\x00\xFB$\x0AWU\xA2\xEDm\x18\xE6&\x88\xA8\xE6\xDD`t\xEC\x0F\xA4\xC5k [2018-03-17 03:38:43] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 03:38:43] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 03:38:43] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 03:38:43] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 03:38:45] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 03:38:45] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 03:38:46] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 03:38:47] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 03:38:47] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 03:38:47] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 03:38:47] >>> tlv_debug: Got following TLV values: [2018-03-17 03:38:47] >>> tlv_debug: Type 5 value (101 bytes): \x01\xED\xE6\x8D?wD)VSi\xB9\xA21v<\x8B9\xC3\xE3\xD8w\x83\x1B(\xE7\x88b[\x1EI\xB9\xF6]\x93\xBEDR\xF9\xD1\x1F\xF7\xFB&Q\x90\xCBCR\xA5E[\xA4@m\x17\xE5\xAC\x17\x9E\x17=[\xD9:\xDE\xD7*\x03\x87\x03\xAC\xD0?0e\xA4V'\x11\x18\xED\xDF\xF4\x98\xA8\x99\xEA~Q@*\xC7d\x1F\x05\xC3nW [2018-03-17 03:38:48] >>> tlv_debug: Type 3 value (32 bytes): \x93?\x99\xF1\x91\xD6\x82\x0C={\x99\x96b\xA2\xE7;\xF6\xE1\x0B}\xAF\x00_\x85\xE7t\x08n3\x9C~S [2018-03-17 03:38:48] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 03:38:48] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x01\xED\xE6\x8D?wD)VSi\xB9\xA21v<\x8B9\xC3\xE3\xD8w\x83\x1B(\xE7\x88b[\x1EI\xB9\xF6]\x93\xBEDR\xF9\xD1\x1F\xF7\xFB&Q\x90\xCBCR\xA5E[\xA4@m\x17\xE5\xAC\x17\x9E\x17=[\xD9:\xDE\xD7*\x03\x87\x03\xAC\xD0?0e\xA4V'\x11\x18\xED\xDF\xF4\x98\xA8\x99\xEA~Q@*\xC7d\x1F\x05\xC3nW\x03 \x93?\x99\xF1\x91\xD6\x82\x0C={\x99\x96b\xA2\xE7;\xF6\xE1\x0B}\xAF\x00_\x85\xE7t\x08n3\x9C~S\x06\x01\x02 [2018-03-17 03:38:48] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 03:38:48] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 03:38:48] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:38:48] >>> homekit_server_on_pair_verify: Free heap: 23508 [2018-03-17 03:38:48] >>> tlv_debug: Got following TLV values: [2018-03-17 03:38:48] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 03:38:48] >>> tlv_debug: Type 5 value (120 bytes): \\\xC0}\xEF\x8F!\x88\x1C\x05\x1Fb\x82\xE7\xE9{\xB6\x1Ad\xD82*KC.\xBB\xB2\xE5$n\xBF\x00\x11J\xB3\xC9P\xCFX\xC9\xDCWS\x85F\xE5\x1E\xF0/\xFF\x89&\x19\xDC\xF2\x87'\xEC\x9C\xA0 [2018-03-17 03:38:48] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 03:38:48] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 03:38:48] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 03:38:48] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 03:38:48] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 03:38:51] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 03:38:51] >>> tlv_debug: Got following TLV values: [2018-03-17 03:38:51] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 03:38:51] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 03:38:51] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 03:38:51] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 03:38:51] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 03:38:51] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 03:38:51] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 03:38:51] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 03:38:51] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 03:38:51] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 03:38:51] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 03:38:51] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 03:38:51] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 03:38:51] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 03:38:51] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 03:48:59] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 03:49:00] >>> HomeKit: Got new client connection: 5 [2018-03-17 03:49:00] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 03:49:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:49:00] >>> homekit_server_on_pair_verify: Free heap: 23660 [2018-03-17 03:49:00] >>> tlv_debug: Got following TLV values: [2018-03-17 03:49:00] >>> tlv_debug: Type 3 value (32 bytes): \x02c?\xA3\xA6\xEF\x117\xFE=PR\x99\x9Bx\xE1\xAD\x9F\xFF\xDF&bG\xFF\xC0\x01\x87\xE1%1\x97% [2018-03-17 03:49:00] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 03:49:00] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 03:49:00] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 03:49:00] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 03:49:01] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 03:49:01] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 03:49:02] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 03:49:04] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 03:49:04] >>> tlv_debug: Got following TLV values: [2018-03-17 03:49:04] >>> tlv_debug: Type 5 value (101 bytes): #\xA7\x9C\x91\xA5#)\xB2\xBF\x11\x12\xC7?\x0D\x9E.\xE4\x1AO\xB6\x04 \x1A\x06\x86|y\xF1\xB4D\xCD\x1B t!\xA0\xEB\x02w!\x91\xF1\x8E\x82@\xFCq\x11\xAB\x85:lz\x8C\xDFU\xCDy\xAEu\xF81\x87X\xF9{v\\\xEE\xA6[)\x9AKx\x9E\x19\xD4C\x02\xF7\x9D\xCD\xFD=\x06\xCA\xA8\x15\xCE\xC9]\xE1\xC4,\x9E\xEATa\xF9{ [2018-03-17 03:49:04] >>> tlv_debug: Type 3 value (32 bytes): g\xC4\xE8\x1F\xF8+#\xCE\x86C\xFD8t\xC0\xA2\x0A{\xA6O\x00\xA6F$92\x1C\xCAY\xB3\xA50h [2018-03-17 03:49:04] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 03:49:04] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e#\xA7\x9C\x91\xA5#)\xB2\xBF\x11\x12\xC7?\x0D\x9E.\xE4\x1AO\xB6\x04 \x1A\x06\x86|y\xF1\xB4D\xCD\x1B t!\xA0\xEB\x02w!\x91\xF1\x8E\x82@\xFCq\x11\xAB\x85:lz\x8C\xDFU\xCDy\xAEu\xF81\x87X\xF9{v\\\xEE\xA6[)\x9AKx\x9E\x19\xD4C\x02\xF7\x9D\xCD\xFD=\x06\xCA\xA8\x15\xCE\xC9]\xE1\xC4,\x9E\xEATa\xF9{\x03 g\xC4\xE8\x1F\xF8+#\xCE\x86C\xFD8t\xC0\xA2\x0A{\xA6O\x00\xA6F$92\x1C\xCAY\xB3\xA50h\x06\x01\x02 [2018-03-17 03:49:04] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 03:49:04] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 03:49:04] >>> tlv_debug: Got following TLV values: [2018-03-17 03:49:04] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 03:49:04] >>> tlv_debug: Type 5 value (120 bytes): \xAA(\xFAiA-\x8Ab\x16fL\xE2\\\xDD\xA2\xE4?\x15\x94\x88BB\xEF\x90\xFE[K1\x12%DI\xB1,]\x1D\xC9|\xBD\xB5\x14\x18sY\x1BR\x8F[\x12l\xC9."\xA51\xA0\x06\x83k;\xAFa\xC7\x81\x94\xB1\xDB\x12\xFA\xF9-\x11\x10\xA6\xD4\xE7y\xE2\x1A\x9C(R\x97\xBA\x97\xCEK\xED\xBF;\xD8\xBB\x04\xCC[z~\xE2\x9C\xC3\xFB\xB9\xEE-\x87\x84\xFE\x8FZ\xBF W(\x1Aj^\xF3\x1C\x07X [2018-03-17 03:49:04] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 03:49:04] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 03:49:04] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 03:49:07] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 03:49:07] >>> tlv_debug: Got following TLV values: [2018-03-17 03:49:07] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 03:49:07] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 03:49:07] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 03:49:07] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 03:49:07] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 03:49:07] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 03:49:07] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 03:49:07] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 03:49:07] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 03:49:07] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 03:49:07] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 03:49:07] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 03:49:07] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 03:49:07] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 03:49:07] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:05:30] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 04:05:31] >>> HomeKit: Got new client connection: 5 [2018-03-17 04:05:31] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 04:05:31] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:05:31] >>> homekit_server_on_pair_verify: Free heap: 23800 [2018-03-17 04:05:31] >>> tlv_debug: Got following TLV values: [2018-03-17 04:05:31] >>> tlv_debug: Type 3 value (32 bytes): h\x16K\x17\x8A\xEE\x12b\xA4\xAA\xCE,\x8F\xBE\xBC\x81@\x94\x13\xEF\x05/\x97\xD3\x9D\xDB\xDFa(\x18\xFBM [2018-03-17 04:05:31] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 04:05:31] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 04:05:31] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 04:05:31] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 04:05:32] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 04:05:32] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 04:05:33] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 04:05:35] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 04:05:35] >>> tlv_debug: Got following TLV values: [2018-03-17 04:05:35] >>> tlv_debug: Type 5 value (101 bytes): \xB0!5R\xB2\xF3'^\xB5Sm\x0C\xC5\x13\xED1+\xFC\x05\xB8\x8D|=\xCB\x90\x9D\x88\xBF\x15\xCD\x94\xD5\xAE;\xDD[I'\xA8\x04(]\x8C\x19n\xAE\xB6\x04LS\x8C!6\xFD\x95\x04t\x9A+g\xEC\xC1\xD3\x15c\xE1\xEC\x09\x98b.\xFA\xFDD\xE1\x9F\xD0\xE4^\xEB\xAE\xC6z\xC7R+\xFB\x91\xC7\xDD\x0F\xDE\xB8m\x81?<\xA1\x96\xEE [2018-03-17 04:05:35] >>> tlv_debug: Type 3 value (32 bytes): T\xC1\x93o'\xF7\xB2\xF8\xD0i\xB0F9\x0EkN&-3\x97\x06z\xE4\xD3.\xE4\x84A\xA5\x92>T [2018-03-17 04:05:35] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 04:05:35] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB0!5R\xB2\xF3'^\xB5Sm\x0C\xC5\x13\xED1+\xFC\x05\xB8\x8D|=\xCB\x90\x9D\x88\xBF\x15\xCD\x94\xD5\xAE;\xDD[I'\xA8\x04(]\x8C\x19n\xAE\xB6\x04LS\x8C!6\xFD\x95\x04t\x9A+g\xEC\xC1\xD3\x15c\xE1\xEC\x09\x98b.\xFA\xFDD\xE1\x9F\xD0\xE4^\xEB\xAE\xC6z\xC7R+\xFB\x91\xC7\xDD\x0F\xDE\xB8m\x81?<\xA1\x96\xEE\x03 T\xC1\x93o'\xF7\xB2\xF8\xD0i\xB0F9\x0EkN&-3\x97\x06z\xE4\xD3.\xE4\x84A\xA5\x92>T\x06\x01\x02 [2018-03-17 04:05:35] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:05:35] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 04:05:35] >>> tlv_debug: Got following TLV values: [2018-03-17 04:05:35] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 04:05:35] >>> tlv_debug: Type 5 value (120 bytes): wv\xF5\x92\x8B\x99\xE9\x83\x13\xD32\xD76}\x8CA\xF8\x81\x12\xB0\xBB\x11#p\xDD8\x84[\xF5\x07?r\xAC\xACrg&\x0E\xD2[\x0D\x84\x07$\xBF\xE2\x9D\x18\xC02\x101y\xE5\xAB\xF2\xA5\xB2\x14\xC8\xDB*\x18\xD8\xD2\x96a\x91f\xC3\xE2\xDA\x00\x05\xBC\x81bS\xF9,\x1Bj\xFC\x81E\xB63\xF5\xC9N\\-o\x91\xED\xD6\xB2\xDA\xD1\xDE\xDF\x9A\x017Y\xD4P\x05\xCA\x9Ey\xF0&-\x13>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 04:05:35] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 04:05:35] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 04:05:38] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 04:05:38] >>> tlv_debug: Got following TLV values: [2018-03-17 04:05:38] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 04:05:38] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 04:05:38] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 04:05:38] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:05:40] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 04:05:40] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 04:05:40] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 04:05:40] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 04:05:40] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 04:05:40] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 04:05:40] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 04:05:40] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 04:05:40] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 04:05:40] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 04:05:40] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:28:59] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 04:29:00] >>> HomeKit: Got new client connection: 5 [2018-03-17 04:29:00] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 04:29:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:29:00] >>> homekit_server_on_pair_verify: Free heap: 23800 [2018-03-17 04:29:00] >>> tlv_debug: Got following TLV values: [2018-03-17 04:29:00] >>> tlv_debug: Type 3 value (32 bytes): !,NC-\xCB\xE0`Z\x06\x81\x85\x8E\x9Ef\xE4\x87\x11\xD9\x9Bs\x06ph\x03\xCE\xEF"\xB1J\xFC\x12 [2018-03-17 04:29:00] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 04:29:00] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 04:29:00] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 04:29:00] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 04:29:01] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 04:29:01] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 04:29:02] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 04:29:04] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 04:29:04] >>> tlv_debug: Got following TLV values: [2018-03-17 04:29:04] >>> tlv_debug: Type 5 value (101 bytes): 8N\xD9\xC1\xA3.\x18%]XZ\x00b\xF9\\x\xAF\xED\x9D\xF4.\xF9\xB5\xB1\xCC3kD\xD2\xF7\xEB\x87\xA5sfD?\xC3\x17N/-\x0F$\xDB3\xF0h\x90\xCA\x14\x8C\xE3{Fa~\x88'i:F \x9Fz#\x9Bh\xA0\xB7\xEDv3\xC7?k\xA8`\xC1\xC1_\x09k\x80\x90w\xAFo\xCDp\xAE\xD2z^\xABU\xAE\x80\x16\xF1s [2018-03-17 04:29:04] >>> tlv_debug: Type 3 value (32 bytes): e\xEA\xF2\xCEse\xA7\xD1\\\x05\xA8\x0F\x0C\xA2\xD1\x09?\x14\x02f\x10\xFES\x1DY\x1A\xF5\xC6\xBFT3w [2018-03-17 04:29:04] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 04:29:04] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e8N\xD9\xC1\xA3.\x18%]XZ\x00b\xF9\\x\xAF\xED\x9D\xF4.\xF9\xB5\xB1\xCC3kD\xD2\xF7\xEB\x87\xA5sfD?\xC3\x17N/-\x0F$\xDB3\xF0h\x90\xCA\x14\x8C\xE3{Fa~\x88'i:F \x9Fz#\x9Bh\xA0\xB7\xEDv3\xC7?k\xA8`\xC1\xC1_\x09k\x80\x90w\xAFo\xCDp\xAE\xD2z^\xABU\xAE\x80\x16\xF1s\x03 e\xEA\xF2\xCEse\xA7\xD1\\\x05\xA8\x0F\x0C\xA2\xD1\x09?\x14\x02f\x10\xFES\x1DY\x1A\xF5\xC6\xBFT3w\x06\x01\x02 [2018-03-17 04:29:04] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:29:04] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: Free heap: 23368 [2018-03-17 04:29:04] >>> tlv_debug: Got following TLV values: [2018-03-17 04:29:04] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 04:29:04] >>> tlv_debug: Type 5 value (120 bytes): \xC9q\xCB\x9A\xC6\xF2\x1D4\xF4\xC31\x8A\xB9\x10o>\\\xCF\x0Ep\xD8\xD4\x97\xA1\x85\x81\x09\x08H\x02\xAC=\xF7\xAD\xBE\xB3\xAF\x16\x97\x02y3b8sX\x0E\xF5\x91\x97tw\xF2\xF6\xE3S\xBD\xFE\xF3\xCF\xCA\x855\xC4\x17*6\xD0\xC7B\xF7\xE45\xDC\x8D\xBD\x00w@\x98\x10`\xD9\x8E2\xA3\x9D\x18\xD8?{\xD1\x8B\xFE\xCA\xC8i\xD1%h\xCDG\x84w'\xE35\xBA\x13e2\x8A\xA0Y^\x02\xD9k\x13\x9B [2018-03-17 04:29:04] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 04:29:04] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 04:29:04] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 04:29:07] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 04:29:07] >>> tlv_debug: Got following TLV values: [2018-03-17 04:29:07] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 04:29:07] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 04:29:07] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 04:29:07] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:29:07] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 04:29:07] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 04:29:07] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 04:29:07] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 04:29:07] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 04:29:07] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 04:29:07] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 04:29:08] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 04:29:08] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 04:29:08] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 04:29:08] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:44:40] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 04:45:08] >>> HomeKit: Got new client connection: 5 [2018-03-17 04:45:08] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 04:45:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:45:08] >>> homekit_server_on_pair_verify: Free heap: 23800 [2018-03-17 04:45:08] >>> tlv_debug: Got following TLV values: [2018-03-17 04:45:08] >>> tlv_debug: Type 3 value (32 bytes): Z\x02\x0F\x8C\xDE,\xA1\xC1_\x11\xD1\x00\x03\x9E0\xFF@\x13\xDFKb\x87~\xF4L\xFDm\xDC\xB1\x9E\x185 [2018-03-17 04:45:08] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 04:45:08] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 04:45:08] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 04:45:08] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 04:45:09] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 04:45:09] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 04:45:10] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 04:45:12] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 04:45:12] >>> tlv_debug: Got following TLV values: [2018-03-17 04:45:12] >>> tlv_debug: Type 5 value (101 bytes): \x8C\x1E\xFBf\xA6D\xCC\xBCy\x19\xF7\xD1\x11\xCA\xE9\x99y\xD6u+\x8E\xC3r\x1D\x9C)tM\x14\xA3J\xB5Kn\x86\xE5\x8A\xE2DsR\xAE(\x05\xD9i\xDC\x15B\xE5\xC6\x89\xFAX\x90\xD4\x89\x84\x0Cb~@\xD4\xE2\xFDKZaR\x9C\xB8V@\x1F6\x0D\x19l)\xF8K\xAA\x9F O5o\xBA\x17\xDFN)\xA7\x93\xCB\xAD\xA0\x86\x05D\xD1 [2018-03-17 04:45:12] >>> tlv_debug: Type 3 value (32 bytes): \x98\xD98\x17#G+\xB6\xDE\x13\xF9\xB9\xFC\xA1\x92\xC2c\x9F\xB8J\x8E\x08\x1D\x0C\xA4\x91\xACWux\x80\x10 [2018-03-17 04:45:12] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 04:45:12] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x8C\x1E\xFBf\xA6D\xCC\xBCy\x19\xF7\xD1\x11\xCA\xE9\x99y\xD6u+\x8E\xC3r\x1D\x9C)tM\x14\xA3J\xB5Kn\x86\xE5\x8A\xE2DsR\xAE(\x05\xD9i\xDC\x15B\xE5\xC6\x89\xFAX\x90\xD4\x89\x84\x0Cb~@\xD4\xE2\xFDKZaR\x9C\xB8V@\x1F6\x0D\x19l)\xF8K\xAA\x9F O5o\xBA\x17\xDFN)\xA7\x93\xCB\xAD\xA0\x86\x05D\xD1\x03 \x98\xD98\x17#G+\xB6\xDE\x13\xF9\xB9\xFC\xA1\x92\xC2c\x9F\xB8J\x8E\x08\x1D\x0C\xA4\x91\xACWux\x80\x10\x06\x01\x02 [2018-03-17 04:45:12] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:45:12] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: Free heap: 23512 [2018-03-17 04:45:12] >>> tlv_debug: Got following TLV values: [2018-03-17 04:45:12] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 04:45:12] >>> tlv_debug: Type 5 value (120 bytes): \xEBU\x9DxPC]\xE6\xEF\xB5]\xCF_\xF054\xC5\xBD\x1C\xD4\xFD\xFC\x84\x13\xCD\x0E09\xA8\x80gM\x1Fk\xF4\xC6\xB1B\xD0\x93WR\x92\xBF\xE7\xDC\x8Ex\x91\xC3c\xC6;e\xEDX\xF0_\xB3\x03p\xE2\xC9\xB8o\xD4wX\xC1\xAF@\x13\xB3D\xBF\x07\xCB\xE4?\xD0\x1ACY\x0D*\x9FY\xF7\x09#\xDC]\x9B\xFD\x105\x16Q\x06\xBC\xAD\xA2&ek\x95j\x15SJ\xB0:+\x94\xE9HK\xD0\x9F [2018-03-17 04:45:12] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 04:45:12] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 04:45:12] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 04:45:15] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 04:45:15] >>> tlv_debug: Got following TLV values: [2018-03-17 04:45:15] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 04:45:15] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 04:45:15] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 04:45:15] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:45:15] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 04:45:15] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 04:45:15] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 04:45:15] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 04:45:15] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 04:45:15] >>> homekit_server_on_get_accessories: Free heap: 23680 [2018-03-17 04:45:15] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 04:45:15] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 04:45:15] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 04:45:15] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 04:45:15] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 04:58:34] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 04:58:37] >>> HomeKit: Got new client connection: 9 [2018-03-17 04:58:37] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 04:58:37] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:58:37] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 04:58:37] >>> tlv_debug: Got following TLV values: [2018-03-17 04:58:37] >>> tlv_debug: Type 3 value (32 bytes): \x84\xF0\x97\xCE\xD5$\xDA\xE5\xB8"\x8C0\xEE\xDC\xFEdes\xFAD\xDC,40\xF9KM\x15\xED*\x11m [2018-03-17 04:58:37] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 04:58:37] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 04:58:37] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 04:58:37] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 04:58:38] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 04:58:38] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 04:58:39] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 04:58:41] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 04:58:41] >>> tlv_debug: Got following TLV values: [2018-03-17 04:58:41] >>> tlv_debug: Type 5 value (101 bytes): \x05x\x0D\xDD\x01\x01\x861\x80\xC6\xA1|\x83\xB4\x04\x85\x14K:\x06)t\xB6-S\xC6\xC0\x96\xEE;\xB6\x95w\x0Ai\xBC]$\x10x\x10\x803\xC6=Ev5M\x03\x08\xD9\xCEm\xDE\xF7\xB9\x09\x19\xBF`\xD6\xFD\xB7\x12,\xBE\x10\xA8MU\xBCHr\xF1A@S>*\xF7+\xFE'\x8C\xA2\x89\x16\xBD\xFA\xB8\x0E\xC9\xE9\x84\x180g1(t [2018-03-17 04:58:41] >>> tlv_debug: Type 3 value (32 bytes): \xDD\x92\x02\x8E\xE3\xAEv\xBD\x92A@\xCEk\x99\x18\x91\xFB-<\x17\x9FA\x8D\x83\x86PN\xF08\x0A\x82\x1E [2018-03-17 04:58:41] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 04:58:41] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x05x\x0D\xDD\x01\x01\x861\x80\xC6\xA1|\x83\xB4\x04\x85\x14K:\x06)t\xB6-S\xC6\xC0\x96\xEE;\xB6\x95w\x0Ai\xBC]$\x10x\x10\x803\xC6=Ev5M\x03\x08\xD9\xCEm\xDE\xF7\xB9\x09\x19\xBF`\xD6\xFD\xB7\x12,\xBE\x10\xA8MU\xBCHr\xF1A@S>*\xF7+\xFE'\x8C\xA2\x89\x16\xBD\xFA\xB8\x0E\xC9\xE9\x84\x180g1(t\x03 \xDD\x92\x02\x8E\xE3\xAEv\xBD\x92A@\xCEk\x99\x18\x91\xFB-<\x17\x9FA\x8D\x83\x86PN\xF08\x0A\x82\x1E\x06\x01\x02 [2018-03-17 04:58:41] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 04:58:41] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 04:58:41] >>> tlv_debug: Got following TLV values: [2018-03-17 04:58:41] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 04:58:41] >>> tlv_debug: Type 5 value (120 bytes): Z\x85\xF2\xBE\x91M|\xD1Y\xE9\x11\xE3-\x13\x1F\xBA\x88\x93\x89\x87\xB6\x04\xED\x0FgXL\x07\xA9\xD2\x03\xA1 W\xE64b\x8A\x06\x8Db\xB1\x840r\x1AN1Wi\xFCT\xBC\xA3\xA5\xE5\xA0\xD8\xA5q\xDA8\xFB\xBC~\x9E\x0B\x93\xB4\xF0\xB4g,\xFEB\xE9fNe\x17BZ\xE2\x1Cs\xAF\x1E\x1B\x96.\xFC\\\xDD\x13\xAB:\x82\xB8-}\x9E\x86T\xDF4\xE8\xBC|\xD3}\xAA\xE5\x83\x87\xA4/\x0D\x14+\x95 [2018-03-17 04:58:41] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 04:58:41] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 04:58:41] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 04:58:44] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 04:58:44] >>> tlv_debug: Got following TLV values: [2018-03-17 04:58:44] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 04:58:44] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 04:58:44] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 04:58:44] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 04:58:44] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 04:58:44] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 04:58:44] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 04:58:44] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 04:58:44] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 04:58:44] >>> homekit_server_on_get_accessories: Free heap: 23544 [2018-03-17 04:58:44] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 04:58:44] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 04:58:44] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 04:58:45] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 04:58:45] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:00:54] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 05:00:56] >>> HomeKit: Got new client connection: 9 [2018-03-17 05:00:56] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 05:00:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:00:56] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 05:00:56] >>> tlv_debug: Got following TLV values: [2018-03-17 05:00:56] >>> tlv_debug: Type 3 value (32 bytes): \x9Dv\xB1\xE1\xBFh;\x8B^N\x06\xC2SDHl\xD4Vcb\xAB\xD0I\x03B\xEB\xD7\x1A\x06;\xC1\x1B [2018-03-17 05:00:56] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 05:00:56] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 05:00:56] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 05:00:56] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 05:00:57] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 05:00:57] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 05:00:58] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 05:01:00] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 05:01:00] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 05:01:00] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:01:00] >>> tlv_debug: Got following TLV values: [2018-03-17 05:01:00] >>> tlv_debug: Type 5 value (101 bytes): e\xD6\xA1\xBF\x1Eh\xDDn\xF0\xA4\xA7~\xAF#t\xF0\x07\x90\x81\x15\x9B H\xFD\x96I\xF8G\x89bJpu\xA47\xB5/=\x98\xA8\xDB\xD5\x90\x94\x89\xB7\x05e\x03e\xA6n{\xA3\xAB\xAEB\x8C\x87\xCAy\xEB\x8A\x06 4\xDD5\xE4\x07\x97=\xE0\x04\x95\xB0\x80\xF8w\xEA\xBB,\xBB+<\xF0\xAE\xEF\xF4\xCB\xA1\x9C\x9B(5N\xD4\x01\x10\xF0\x9B [2018-03-17 05:01:00] >>> tlv_debug: Type 3 value (32 bytes): \x8F\x0F\xC8+\x8D\xCBx6e\xBC:\xC0\x92\x01O\xAE\xB9bv\x1B\xF8Sou\xEB\xB0\x1EO\x87\xC8\xC2` [2018-03-17 05:01:00] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 05:01:00] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ee\xD6\xA1\xBF\x1Eh\xDDn\xF0\xA4\xA7~\xAF#t\xF0\x07\x90\x81\x15\x9B H\xFD\x96I\xF8G\x89bJpu\xA47\xB5/=\x98\xA8\xDB\xD5\x90\x94\x89\xB7\x05e\x03e\xA6n{\xA3\xAB\xAEB\x8C\x87\xCAy\xEB\x8A\x06 4\xDD5\xE4\x07\x97=\xE0\x04\x95\xB0\x80\xF8w\xEA\xBB,\xBB+<\xF0\xAE\xEF\xF4\xCB\xA1\x9C\x9B(5N\xD4\x01\x10\xF0\x9B\x03 \x8F\x0F\xC8+\x8D\xCBx6e\xBC:\xC0\x92\x01O\xAE\xB9bv\x1B\xF8Sou\xEB\xB0\x1EO\x87\xC8\xC2`\x06\x01\x02 [2018-03-17 05:01:00] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:01:00] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 05:01:03] >>> HomeKit: Got new client connection: 9 [2018-03-17 05:01:03] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 05:01:03] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:01:03] >>> homekit_server_on_pair_verify: Free heap: 23792 [2018-03-17 05:01:03] >>> tlv_debug: Got following TLV values: [2018-03-17 05:01:03] >>> tlv_debug: Type 3 value (32 bytes): \xB7\x86\xD4\x02\xDD\x96b\xFA\xC1\x98<\xC6\x1C\xD6\x9CD:\xEF-.{y]\xCA\xF1\x82\xCF\xB9\x1B\x90\x84\x18 [2018-03-17 05:01:03] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 05:01:03] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 05:01:03] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 05:01:03] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 05:01:04] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 05:01:04] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 05:01:06] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 05:01:07] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 05:01:07] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 05:01:07] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:01:07] >>> tlv_debug: Got following TLV values: [2018-03-17 05:01:07] >>> tlv_debug: Type 5 value (101 bytes): \x04^\x02\x83\xFCA\x05\xDB\xA2\x8E\xA9Vd\x9Dy\x8B\x9A"f/\xB6Iq\x06\x88\x03R\xE4i}\xD4S\xA3T\xB9\xD8\x19-7&\xE3\xD2\x19\x14b\xAEe\xC9f\xC1\xECZ\x95\x96\x92\xB4\xE8\x14\xAB\xA8\xB6E\xD8\xDD|\xA2\x86\xCE\xD7\xF3\xF8\x89%!\x16\xC8\xCBj\xA1\x8D\xD5\x05j\xDC\x03a\xE8\x0Bj_[\x07\x8E2_\x1Eq\x982\xFC` [2018-03-17 05:01:07] >>> tlv_debug: Type 3 value (32 bytes): \x91\x84\xF1<3\xAE{\x8E\xBB\xC2\x06\x97\xAE\x8B\xF8\x16\xB8\xE7k\x09V\x86CQe\xC9Ttb\xDC1G [2018-03-17 05:01:07] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 05:01:07] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x04^\x02\x83\xFCA\x05\xDB\xA2\x8E\xA9Vd\x9Dy\x8B\x9A"f/\xB6Iq\x06\x88\x03R\xE4i}\xD4S\xA3T\xB9\xD8\x19-7&\xE3\xD2\x19\x14b\xAEe\xC9f\xC1\xECZ\x95\x96\x92\xB4\xE8\x14\xAB\xA8\xB6E\xD8\xDD|\xA2\x86\xCE\xD7\xF3\xF8\x89%!\x16\xC8\xCBj\xA1\x8D\xD5\x05j\xDC\x03a\xE8\x0Bj_[\x07\x8E2_\x1Eq\x982\xFC`\x03 \x91\x84\xF1<3\xAE{\x8E\xBB\xC2\x06\x97\xAE\x8B\xF8\x16\xB8\xE7k\x09V\x86CQe\xC9Ttb\xDC1G\x06\x01\x02 [2018-03-17 05:01:07] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:01:08] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 05:01:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:01:08] >>> homekit_server_on_pair_verify: Free heap: 23508 [2018-03-17 05:01:08] >>> tlv_debug: Got following TLV values: [2018-03-17 05:01:08] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 05:01:08] >>> tlv_debug: Type 5 value (120 bytes): \xCF)q\x14\xE9\x18\xEC_]\xF3\x94\xAE0:\x83X\x0B\xB1\xAE\x1B\x19\xE7\x910\x0B\xC95\x05\xD3\xF2\x8F\x86\x82\xAB6\x93\x1D\xE1%#\xF7\x9F\x13|\x1E\xE7E>\x8E(;v\xDAE\x9B=t\x89\xD9a\xF2~\x88 \xC7\xC8 *\\@\xAC$\xB2\x08v\x82\xAE\xBE\x85\xB3P~\x07u\xDC\xC3Ln\x91\xD9&\x18F\x9B{\xC9}\xEF\x03\xDEE.\x80\xCB\xC6\xEA@z\xE7\xCCH\xD0\x1E\x08\xF9P [2018-03-17 05:01:08] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 05:01:08] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 05:01:08] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 05:01:08] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 05:01:08] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 05:01:11] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:01:11] >>> tlv_debug: Got following TLV values: [2018-03-17 05:01:11] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 05:01:11] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 05:01:11] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 05:01:11] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:01:11] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 05:01:11] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 05:01:11] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 05:01:11] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 05:01:11] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 05:01:11] >>> homekit_server_on_get_accessories: Free heap: 23684 [2018-03-17 05:01:11] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 05:01:11] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 05:01:12] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 05:01:12] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 05:01:12] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:30:26] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 05:30:27] >>> HomeKit: Got new client connection: 9 [2018-03-17 05:30:27] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 05:30:27] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:30:27] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 05:30:27] >>> tlv_debug: Got following TLV values: [2018-03-17 05:30:27] >>> tlv_debug: Type 3 value (32 bytes): Q\xE6\xDESW\xC7\x0An0`\xDF\xCC\xDC\x16\xD0\xE4\xA8\xB7\xB0\xBD*\x9E4w\x12\xDB\x9Ey\x127\x1Eg [2018-03-17 05:30:27] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 05:30:27] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 05:30:27] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 05:30:27] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 05:30:29] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 05:30:29] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 05:30:30] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 05:30:32] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 05:30:32] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 05:30:32] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:30:32] >>> tlv_debug: Got following TLV values: [2018-03-17 05:30:32] >>> tlv_debug: Type 5 value (101 bytes): \xB1k\x1A\x85?B\xC4\xD2\xE0n\x8DxX\x8B\xAD\x1E\xBF\xC1\xD4\xCF\xFE\x9F\x1C\x18\x9B\x1F\xD8\xA9L\xB2>\xDF|i\x8AoILQ\x9AE\xD6ZS\x09lG&\xE0\xAB\x82^\x15\xE7@)]\x9B\x18\x8A\xE3\xE6\xEB\xD2\xF9D\x8ET\xB0B\x1E=\x18p\xB1j\xA8\xAB.,6\xA4/L\x10>Y\x1A/\xCB\x84[\xC3G#FH}\xE2> [2018-03-17 05:30:32] >>> tlv_debug: Type 3 value (32 bytes): O\xDC_\x9E\xD2+\x8B\xEC\xA7\xEBa\x8Dh(\xDC\x11)\x93:\xC91\xE5\xC0\xC3b\xFE\xC4_\xA2\xBD\xA7} [2018-03-17 05:30:32] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 05:30:32] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB1k\x1A\x85?B\xC4\xD2\xE0n\x8DxX\x8B\xAD\x1E\xBF\xC1\xD4\xCF\xFE\x9F\x1C\x18\x9B\x1F\xD8\xA9L\xB2>\xDF|i\x8AoILQ\x9AE\xD6ZS\x09lG&\xE0\xAB\x82^\x15\xE7@)]\x9B\x18\x8A\xE3\xE6\xEB\xD2\xF9D\x8ET\xB0B\x1E=\x18p\xB1j\xA8\xAB.,6\xA4/L\x10>Y\x1A/\xCB\x84[\xC3G#FH}\xE2>\x03 O\xDC_\x9E\xD2+\x8B\xEC\xA7\xEBa\x8Dh(\xDC\x11)\x93:\xC91\xE5\xC0\xC3b\xFE\xC4_\xA2\xBD\xA7}\x06\x01\x02 [2018-03-17 05:30:32] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:30:32] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 05:30:33] >>> HomeKit: Got new client connection: 9 [2018-03-17 05:30:33] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 05:30:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:30:33] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 05:30:33] >>> tlv_debug: Got following TLV values: [2018-03-17 05:30:33] >>> tlv_debug: Type 3 value (32 bytes): X#\xBB\xA0d\\u\xF3\xED-\xED\xD6\xCD\xB26\x14\x88\x16\xC6\xE2~{\xE1\x8D\x8D\x94\x9C\xEA\xC3\xC6}I [2018-03-17 05:30:33] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 05:30:33] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 05:30:33] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 05:30:33] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 05:30:34] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 05:30:34] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 05:30:35] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 05:30:37] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:30:37] >>> tlv_debug: Got following TLV values: [2018-03-17 05:30:37] >>> tlv_debug: Type 5 value (101 bytes): $\x9A\xFA\xE8\x9B\x18m\x83T(\xF2\xA4\x8B\xB0x+\x8B\x0D\xFC\xD3\xC4\xDF\xFA~\x9CL\xE4\xE1\xB2vV\x10\xF4\x9FB\xD7\x97\x0A\xF8\x12\xCE\xFB\xF5~o\x98\xB1\x15\xD4\xEE'\xCE\x8A\xA3X\xDF\x13i\x93\xEC"W\x8F\xFC\x04[\xCD\xF5g=\x19\xE9\xBF\xFF\xCA\x97\x17\xBF\xE0-X\x18\x05dc^\xDD\xC1\xF3Y\xB7\x97\xF21\xB7`D$>y [2018-03-17 05:30:37] >>> tlv_debug: Type 3 value (32 bytes): \x1B\xBAZ\x80\xFD\xB0*]\xA5W\xF9;\x17\xEC\xCB\xC8\xAB\xBCuUM\x11Y\x02CBd\xA5\xD0\x19~ [2018-03-17 05:30:37] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 05:30:37] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e$\x9A\xFA\xE8\x9B\x18m\x83T(\xF2\xA4\x8B\xB0x+\x8B\x0D\xFC\xD3\xC4\xDF\xFA~\x9CL\xE4\xE1\xB2vV\x10\xF4\x9FB\xD7\x97\x0A\xF8\x12\xCE\xFB\xF5~o\x98\xB1\x15\xD4\xEE'\xCE\x8A\xA3X\xDF\x13i\x93\xEC"W\x8F\xFC\x04[\xCD\xF5g=\x19\xE9\xBF\xFF\xCA\x97\x17\xBF\xE0-X\x18\x05dc^\xDD\xC1\xF3Y\xB7\x97\xF21\xB7`D$>y\x03 \x1B\xBAZ\x80\xFD\xB0*]\xA5W\xF9;\x17\xEC\xCB\xC8\xAB\xBCuUM\x11Y\x02CBd\xA5\xD0\x19~\x06\x01\x02 [2018-03-17 05:30:37] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:30:37] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 05:30:37] >>> tlv_debug: Got following TLV values: [2018-03-17 05:30:37] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 05:30:37] >>> tlv_debug: Type 5 value (120 bytes): :\xC4x\x18\xD9\x06\xBE\xB5\xE6\xDAp\x9B\xFEP\xA6\xF0\x09*E\xAB\x0DuF\x9Ct\xCA\x1E\x92\xC2\xBB\xEA4X\x9E\x09\xC1\xE3\xC5\xBC\x80z\x8C'Ns\x0E\xB3\xD7\x03\xF4H\x9Dk\xA1\x1C\xB3\xAC=s\xD3\xCBXs\xBE\x10{\xAD4sXJ\x0C\x1C\xE0\xA1\xE2\x87M\x98\xE8Z\x10+\xC1\xD5EN\x11\xEE\xFB\xCDc^\xA9\x9D\xC0\xAE\x9B\x1Ab\xA0\x05=:\x90/\x08\x1D_x\xBCyad\xDA\x92k\xE9*l [2018-03-17 05:30:37] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 05:30:37] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 05:30:37] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 05:30:40] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:30:40] >>> tlv_debug: Got following TLV values: [2018-03-17 05:30:40] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 05:30:40] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 05:30:40] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 05:30:40] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:30:41] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 05:30:41] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 05:30:41] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 05:30:41] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 05:30:41] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 05:30:41] >>> homekit_server_on_get_accessories: Free heap: 23676 [2018-03-17 05:30:41] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 05:30:41] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 05:30:42] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 05:30:42] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 05:30:42] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:58:44] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 05:58:46] >>> HomeKit: Got new client connection: 9 [2018-03-17 05:58:46] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 05:58:46] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:58:46] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 05:58:46] >>> tlv_debug: Got following TLV values: [2018-03-17 05:58:46] >>> tlv_debug: Type 3 value (32 bytes): \xFDhQ\xA8U6J\x06]\xD1\xAE\x05Y_[<\xA5\x94\x0C\xFDR\xC0\xCB\xFF#bGb/\xBE\x10 [2018-03-17 05:58:46] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 05:58:46] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 05:58:46] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 05:58:46] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 05:58:47] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 05:58:47] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 05:58:48] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 05:58:50] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:58:50] >>> tlv_debug: Got following TLV values: [2018-03-17 05:58:50] >>> tlv_debug: Type 5 value (101 bytes): x\x9E\x05#vS<\xAF\xAF\xB3\xF6\xE3\xD1yy\xC7UP\xC8\xA38\xA7\x92#o\x12\x03\x80\xCF\xA0{\x03mo[\x96\xF6u\x1C\xAE\x83\xBAl\xC1\xA8\xB7\xEA&\x8A\xAB\xB7\xF44\xAD\xF3\x12\xAA]\x08w\xDC\xA9\x0F}\xFA\x846\x83`\xCD\xF7\\(\xED\xDE\x98\xF9-\x15;)\x9B\xAC\x02\xE6.\xA2\xE5&\xD5ab0\x93\x17*\xEB\xDA\x170\xC7 [2018-03-17 05:58:50] >>> tlv_debug: Type 3 value (32 bytes): \x9E"\xEE\x87\x10\xEE\xFB"Yw[\xA0+g\xC9\x9A\x0D\xBC\xE3\x8B\x94\xAB!\x8A\x94HrAs\xF6R5 [2018-03-17 05:58:50] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 05:58:50] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ex\x9E\x05#vS<\xAF\xAF\xB3\xF6\xE3\xD1yy\xC7UP\xC8\xA38\xA7\x92#o\x12\x03\x80\xCF\xA0{\x03mo[\x96\xF6u\x1C\xAE\x83\xBAl\xC1\xA8\xB7\xEA&\x8A\xAB\xB7\xF44\xAD\xF3\x12\xAA]\x08w\xDC\xA9\x0F}\xFA\x846\x83`\xCD\xF7\\(\xED\xDE\x98\xF9-\x15;)\x9B\xAC\x02\xE6.\xA2\xE5&\xD5ab0\x93\x17*\xEB\xDA\x170\xC7\x03 \x9E"\xEE\x87\x10\xEE\xFB"Yw[\xA0+g\xC9\x9A\x0D\xBC\xE3\x8B\x94\xAB!\x8A\x94HrAs\xF6R5\x06\x01\x02 [2018-03-17 05:58:50] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:58:50] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: Free heap: 23508 [2018-03-17 05:58:50] >>> tlv_debug: Got following TLV values: [2018-03-17 05:58:50] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 05:58:50] >>> tlv_debug: Type 5 value (120 bytes): \xA9\xDA\x8D\x9F\xB2;\xF4\xCB\x8Ev\xD9:gh\xFA\x15!+\x8C\x9B=\xA5\xA0\xA8\x9A\xE1\x02\xDE\x06y\xE3\xB9\x06_\xEB>\x19\x01\xB8F\x17\x9F\x92\xD4\xC1\xB7\xF1\xC4o+\x15,\x9B\x95\xE1mp\xB9\x90\x0B\xEC\xF1\xB8\x9E\xCC)\x17\x89\xE6\x17\xC2\x1B\xF5\xA54\xC35\xF5y\x84\x0E>v!\x00\xE1\x92\xB0\x18\xDDLD\x13nK\xC0\x87\x8A>\xC1\x95\xFE&,H\xE3\x1A1H\xF3\xB0dd\x0B\x1F\xE4\xAA\xEC [2018-03-17 05:58:50] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 05:58:50] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 05:58:50] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 05:58:53] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:58:53] >>> tlv_debug: Got following TLV values: [2018-03-17 05:58:53] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 05:58:53] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 05:58:53] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 05:58:53] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:58:53] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 05:59:54] >>> HomeKit: Got new client connection: 9 [2018-03-17 05:59:54] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 05:59:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 05:59:54] >>> homekit_server_on_pair_verify: Free heap: 21820 [2018-03-17 05:59:54] >>> tlv_debug: Got following TLV values: [2018-03-17 05:59:54] >>> tlv_debug: Type 3 value (32 bytes): Lk\xB7\x81w\xF3\x8A\xBA\xF9\xD6mV\xD8N\xF9\x1E\xB2\xD1\xD2\xB7\xD8\xD3\xE6\x8D\xA2\xAF\x85l\xA5\xE6t\x1B [2018-03-17 05:59:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 05:59:54] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 05:59:54] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 05:59:54] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 05:59:56] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 05:59:56] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 05:59:57] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 05:59:59] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 05:59:59] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 05:59:59] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 05:59:59] >>> tlv_debug: Got following TLV values: [2018-03-17 05:59:59] >>> tlv_debug: Type 5 value (101 bytes): \x09\xEA\xE6!\xE3]\xEE\xAB\xF0~u\xB0\xE1\x93\xFD\xB1\x9B\xD8a\xB6\xF8^\x05\xE2\x19\x00A\x83\xCF\xB0`\xE3WJ\x1F\x1BH\xA81q\xF6\xAB\xF4\xA9\x8F6\x1E\xF7\x88\xC3\xAC\x0C\xD5F\x04\xC8\xB4\xA9\x81\x97\xC3<\xA6 \x17\xE7\xFAa\xA7\xB9\x18\xA7\xDC\xB6t\xA5eNb\xCD\xD0]\xEBi]\xC9\xEDD\xF2\x86\xA6\x0D\xD1\xE2}.l&\x93\xCC [2018-03-17 05:59:59] >>> tlv_debug: Type 3 value (32 bytes): \xF5D\x9B~\xB0\xDF\xD9\xDDHj\xEA(\xAB\xC3W\xD3\x1D\x8B:\xB1j\xE7\x13\x8EV_\x0D\xBE_\xDB\xDAM [2018-03-17 05:59:59] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 05:59:59] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x09\xEA\xE6!\xE3]\xEE\xAB\xF0~u\xB0\xE1\x93\xFD\xB1\x9B\xD8a\xB6\xF8^\x05\xE2\x19\x00A\x83\xCF\xB0`\xE3WJ\x1F\x1BH\xA81q\xF6\xAB\xF4\xA9\x8F6\x1E\xF7\x88\xC3\xAC\x0C\xD5F\x04\xC8\xB4\xA9\x81\x97\xC3<\xA6 \x17\xE7\xFAa\xA7\xB9\x18\xA7\xDC\xB6t\xA5eNb\xCD\xD0]\xEBi]\xC9\xEDD\xF2\x86\xA6\x0D\xD1\xE2}.l&\x93\xCC\x03 \xF5D\x9B~\xB0\xDF\xD9\xDDHj\xEA(\xAB\xC3W\xD3\x1D\x8B:\xB1j\xE7\x13\x8EV_\x0D\xBE_\xDB\xDAM\x06\x01\x02 [2018-03-17 05:59:59] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 05:59:59] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 06:00:00] >>> HomeKit: Got new client connection: 9 [2018-03-17 06:00:00] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 06:00:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 06:00:00] >>> homekit_server_on_pair_verify: Free heap: 23152 [2018-03-17 06:00:00] >>> tlv_debug: Got following TLV values: [2018-03-17 06:00:00] >>> tlv_debug: Type 3 value (32 bytes): fi\x17\xF3\x16\x81\x1EA\xB8Yp\xB2\xE9\xCB\xDB\xD0ln\x94\xDA\xBFz{\xE5\xEF5\x93W\x17\x0A\xCEG [2018-03-17 06:00:00] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 06:00:00] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 06:00:00] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 06:00:00] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 06:00:02] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 06:00:02] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 06:00:03] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 06:00:04] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 06:00:04] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 06:00:04] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 06:00:04] >>> tlv_debug: Got following TLV values: [2018-03-17 06:00:04] >>> tlv_debug: Type 5 value (101 bytes): \x882o\x86\xC8\x86%\xB5\xCA\x14\xFD\x88\xA96\xD4\x8F\xAD\xC8\xC8X\x80\xC2z\x0F\x0E\xC5\x1D\x02\xEApk\xBF\x14\x10\x851\xA3\x1D\xB8\x167\xDB\xA8\x0E\xFC\xFF\x1Dw?\xD0@\x05\xB8\xC7\xF7Z`\xB5R[\xE6\xB8w\x99(;\x15\xA8\x0F\xBAq\xA8s\xC4\xA6!\xD1:\xF1\xE4\x93\x8C\x9F. \xC8\xE8\x1Avsw\xC3\xD1\x83\xA9>$\xC4\x9E\xCEL [2018-03-17 06:00:04] >>> tlv_debug: Type 3 value (32 bytes): \x90\x1A\xDEJn\\\xC1\x06D\xDD"?\xD5\xFF\x9B)\xB1\x8F\xDB\x86X\xF1t+\xB7\xDE\xAF\xC1\x15D\xCA\x1A [2018-03-17 06:00:04] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 06:00:04] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x882o\x86\xC8\x86%\xB5\xCA\x14\xFD\x88\xA96\xD4\x8F\xAD\xC8\xC8X\x80\xC2z\x0F\x0E\xC5\x1D\x02\xEApk\xBF\x14\x10\x851\xA3\x1D\xB8\x167\xDB\xA8\x0E\xFC\xFF\x1Dw?\xD0@\x05\xB8\xC7\xF7Z`\xB5R[\xE6\xB8w\x99(;\x15\xA8\x0F\xBAq\xA8s\xC4\xA6!\xD1:\xF1\xE4\x93\x8C\x9F. \xC8\xE8\x1Avsw\xC3\xD1\x83\xA9>$\xC4\x9E\xCEL\x03 \x90\x1A\xDEJn\\\xC1\x06D\xDD"?\xD5\xFF\x9B)\xB1\x8F\xDB\x86X\xF1t+\xB7\xDE\xAF\xC1\x15D\xCA\x1A\x06\x01\x02 [2018-03-17 06:00:05] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 06:00:05] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 06:00:05] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 06:00:05] >>> homekit_server_on_pair_verify: Free heap: 23504 [2018-03-17 06:00:05] >>> tlv_debug: Got following TLV values: [2018-03-17 06:00:05] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 06:00:05] >>> tlv_debug: Type 5 value (120 bytes): \x1F`1J\xFB_FX&"\x90^O\x94'W\x9E\xF1V\x09V\x97\x8AF\xC5\x07\x13\xDDb\xEF)\x1C\x90\x85\xD7\xAC\x08[t!*\x03\x86\x19XKw\x84C\x1CC*m\xAF{\xE0\xA8'P'b\x8C\xA0\x1F\xD7\xDDM\x81\x93\x83:\xFA\x9C\xF3\x89\x8C\xE6\xDF\xAC:$\xF9\x09\xABu\x11\xB0\xBE3\x00X\x0F\xB4\xBB\xD0\x04\x84L\x16\xEE\x8C\xD8\x1F-\xC4\xFBm\xFA\xAFM\x801\x92i\x9E\xC0fk>\xC2 [2018-03-17 06:00:05] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 06:00:05] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 06:00:05] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 06:00:05] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 06:00:05] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 06:00:08] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 06:00:08] >>> tlv_debug: Got following TLV values: [2018-03-17 06:00:08] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 06:00:08] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 06:00:08] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 06:00:08] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 06:00:09] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 06:00:09] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 06:00:09] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 06:00:09] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 06:00:09] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 06:00:09] >>> homekit_server_on_get_accessories: Free heap: 23676 [2018-03-17 06:00:09] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 06:00:09] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 06:00:09] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 06:00:09] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 06:00:09] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 06:02:52] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 06:02:52] >>> HomeKit: Got new client connection: 9 [2018-03-17 06:02:52] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 06:02:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 06:02:52] >>> homekit_server_on_pair_verify: Free heap: 23136 [2018-03-17 06:02:52] >>> tlv_debug: Got following TLV values: [2018-03-17 06:02:52] >>> tlv_debug: Type 3 value (32 bytes): ^s\xC9\x05\xB5\xB2(\x9CU=\x1C\xA6\x04Q<\xEDbZ\xD7~\xBC[_\xBA\x14\xE6~\x18\xD0\xD0\x81t [2018-03-17 06:02:52] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 06:02:52] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 06:02:52] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 06:02:52] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 06:02:54] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 06:02:54] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 06:02:55] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 06:02:56] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 06:02:56] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 06:02:56] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 06:02:56] >>> tlv_debug: Got following TLV values: [2018-03-17 06:02:56] >>> tlv_debug: Type 5 value (101 bytes): lQ\x14\x1DD6Vx\x80\x84D7F$?@4\xC7\xE0\xD8f\x0E\xAA\xACD\x09y\x1E\xD3\xB8\xA7Z\xA2Q\xA4\xCE\x9E@\x84D\xD9\xE6\x17\x07\x1E\xC9,\xF5k\x8Ed\xA9\xB7\x98\xFA\xF7\xB7\x82\xD0\xE6R\x1B\xF5\xDA\xA7)\x16P\x96\xD9\xA6\xBE\xFA~\x84n \xBD\x09\xC3\x83\x17\xFA\x09\xF4\x0B\x01\x96A\\\x899\x80\xA9^GL\x12^\x9D [2018-03-17 06:02:57] >>> tlv_debug: Type 3 value (32 bytes): iR\x03R-\xFE\xECw\xBC;\xC3BH\x9CM\x84\x1EW\xBA\x0FJc\x17\xEA)vP\xAC@}\xD4% [2018-03-17 06:02:57] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 06:02:57] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05elQ\x14\x1DD6Vx\x80\x84D7F$?@4\xC7\xE0\xD8f\x0E\xAA\xACD\x09y\x1E\xD3\xB8\xA7Z\xA2Q\xA4\xCE\x9E@\x84D\xD9\xE6\x17\x07\x1E\xC9,\xF5k\x8Ed\xA9\xB7\x98\xFA\xF7\xB7\x82\xD0\xE6R\x1B\xF5\xDA\xA7)\x16P\x96\xD9\xA6\xBE\xFA~\x84n \xBD\x09\xC3\x83\x17\xFA\x09\xF4\x0B\x01\x96A\\\x899\x80\xA9^GL\x12^\x9D\x03 iR\x03R-\xFE\xECw\xBC;\xC3BH\x9CM\x84\x1EW\xBA\x0FJc\x17\xEA)vP\xAC@}\xD4%\x06\x01\x02 [2018-03-17 06:02:57] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 06:02:57] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 06:02:57] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 06:02:57] >>> homekit_server_on_pair_verify: Free heap: 23492 [2018-03-17 06:02:57] >>> tlv_debug: Got following TLV values: [2018-03-17 06:02:57] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 06:02:57] >>> tlv_debug: Type 5 value (120 bytes): am\xE8{\x05\xC4\xED8\x03\xC85\xD9\xD7Y\xD0\xB6\x8DU\xD2\x19vv\x1D=\xB3\x179\xC5\xC0\x00\xC2w\xE0\x17;\x85[/e\x82~\xF5\xDC\x86\xE4\x06\xC6\xEE\xF6\xDE\xD0\x8E=\xAF\x9E-0\xA8X\xA5\x86\xE6mo\xE7\xCDsC\x8Ft.)\xED\xD3\xB4\xD4\xD3\x94@\xEB\xC9\x89\x03q\xF0L\x12z~\xA3Q\xEDm\x0E\xDC1\xBE\xFF?>i\xC01\xC4j\xA5\x19\x17\xCC7\x96:|Q\xF9\xFE\x11\xBA~ [2018-03-17 06:02:57] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 06:02:57] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 06:02:57] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 06:02:57] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 06:02:57] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 06:03:00] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 06:03:00] >>> tlv_debug: Got following TLV values: [2018-03-17 06:03:00] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 06:03:00] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 06:03:00] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 06:03:00] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 06:03:00] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 06:03:00] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 06:03:00] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 06:03:00] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 06:03:00] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 06:03:00] >>> homekit_server_on_get_accessories: Free heap: 23676 [2018-03-17 06:03:00] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 06:03:00] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 06:03:00] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 06:03:00] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 06:03:00] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 06:36:52] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 06:36:52] >>> HomeKit: Got new client connection: 5 [2018-03-17 06:36:52] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 06:36:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 06:36:52] >>> homekit_server_on_pair_verify: Free heap: 23400 [2018-03-17 06:36:52] >>> tlv_debug: Got following TLV values: [2018-03-17 06:36:52] >>> tlv_debug: Type 3 value (32 bytes): \x16\x8Bzv\xBE\xC2\xDF\xBB\xD4&\xC5\x0F\xA2\xE3\x83#k\x0A5,\xD6\xBAf\x05\xE1\xE9/\x19\xA1\x92\xEC# [2018-03-17 06:36:52] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 06:36:52] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 06:36:52] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 06:36:52] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 06:36:54] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 06:36:54] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 06:36:55] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 06:36:56] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 06:36:56] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 06:36:56] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 06:36:56] >>> tlv_debug: Got following TLV values: [2018-03-17 06:36:56] >>> tlv_debug: Type 5 value (101 bytes): '\x0A\xBD\x1Alh\xAE*\x1C\xC2!\xF0\x89\xE7uj@\x87\x9BX\x98\xDDQ\x05\x1B\x97\xAF\x16\x84\x07\xE3\xC9\xDF\xEAY?\x17\x08\xE3\xAC:\x8Ez\x80\xAD\x99X\xDA\xCD\x06\x9C\xA7\xB3\x06\x83\x9C\x9C\xD6\x01Zl}|\x9F\xFA+\xE6\x10z\x8C\xED\xA6\xDC\xBD\xF8\xD4\xD8\xF3\xA0\xEE}\x84q\\O\xF5\xAC\xC7\x04\xA0\x01n\x88\x94\xBBM!z\xB3R\xD9 [2018-03-17 06:36:56] >>> tlv_debug: Type 3 value (32 bytes): a\xAD\x0A\x91\xB2\xA5\x0B`\x96\xAB\x1B\xB2\xCDQ\x10$\x96\x15C\xBD\xE1z\x06\xB7\xFB\xB9\x90\xEAZ\xBB?O [2018-03-17 06:36:56] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 06:36:56] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e'\x0A\xBD\x1Alh\xAE*\x1C\xC2!\xF0\x89\xE7uj@\x87\x9BX\x98\xDDQ\x05\x1B\x97\xAF\x16\x84\x07\xE3\xC9\xDF\xEAY?\x17\x08\xE3\xAC:\x8Ez\x80\xAD\x99X\xDA\xCD\x06\x9C\xA7\xB3\x06\x83\x9C\x9C\xD6\x01Zl}|\x9F\xFA+\xE6\x10z\x8C\xED\xA6\xDC\xBD\xF8\xD4\xD8\xF3\xA0\xEE}\x84q\\O\xF5\xAC\xC7\x04\xA0\x01n\x88\x94\xBBM!z\xB3R\xD9\x03 a\xAD\x0A\x91\xB2\xA5\x0B`\x96\xAB\x1B\xB2\xCDQ\x10$\x96\x15C\xBD\xE1z\x06\xB7\xFB\xB9\x90\xEAZ\xBB?O\x06\x01\x02 [2018-03-17 06:36:57] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 06:36:57] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 06:36:57] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 06:36:57] >>> homekit_server_on_pair_verify: Free heap: 23480 [2018-03-17 06:36:57] >>> tlv_debug: Got following TLV values: [2018-03-17 06:36:57] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 06:36:57] >>> tlv_debug: Type 5 value (120 bytes): \xC4\x13\xD0\x87\x89XQ-\x98\xD8\x8C8\xBB\xF6\xEE\xBA[\xF1h\x0F\x87\xB9\x8E\xCAey\xF6\xDA\xE3\x01\xDDJ^\x0Do\x94\x076\x95BG\x9A0d.f\x15\xF2,h\x99\x8F\xC4\xB3W>o\xDF\xC0\xD5 \xE9\xCB\x8A6+\x1A\xA6\xADw\x97A\x05\xE7\x0A\xAB\xD1+\xB1\xD7\x1C=\xEB+\x86\xA5Y\xC4d6t\x8E\x11\x13;X\xB5\xAB\xAD8\xA1\xED\x04\xA4[\x98*\xFA\x86z\xA6\x86\xAB\xE8P\xE2Y\xB7\x86F [2018-03-17 06:36:57] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 06:36:57] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 06:36:57] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 06:36:57] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 06:36:57] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 06:37:00] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 06:37:00] >>> tlv_debug: Got following TLV values: [2018-03-17 06:37:00] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 06:37:00] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 06:37:00] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 06:37:00] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 06:37:00] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 06:37:00] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 06:37:00] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 06:37:00] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 06:37:00] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 06:37:00] >>> homekit_server_on_get_accessories: Free heap: 23664 [2018-03-17 06:37:00] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 06:37:00] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 06:37:00] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 06:37:00] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 06:37:00] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 07:05:24] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 07:05:26] >>> HomeKit: Got new client connection: 5 [2018-03-17 07:05:26] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 07:05:26] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 07:05:26] >>> homekit_server_on_pair_verify: Free heap: 23804 [2018-03-17 07:05:26] >>> tlv_debug: Got following TLV values: [2018-03-17 07:05:26] >>> tlv_debug: Type 3 value (32 bytes): \xE74N_\xD2\xC1'\xE6A\x04zWt\xF4>\x0E\xF8\xC6Cl\xFF[\xF3"\xFD\xD0\xB8\xEB\x9F\x17\xE2} [2018-03-17 07:05:26] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 07:05:26] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 07:05:26] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 07:05:26] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 07:05:28] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 07:05:28] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 07:05:29] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 07:05:30] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 07:05:30] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 07:05:30] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 07:05:30] >>> tlv_debug: Got following TLV values: [2018-03-17 07:05:30] >>> tlv_debug: Type 5 value (101 bytes): 6ZL:uo.Z)q\xDBa\xEF\xDB\x9B\x95\xDE\xD0$\x1DT\x91\xA0\x82f\x80\x8Bt\x97?\xBA\xA1:\xF9-\xE4.\xFC\xC8\xD2\x89-&W\xA6L\xC28\xD1\xA3/\xD3\x87>> tlv_debug: Type 3 value (32 bytes): \x95r\x96o\x18\\\x00\xB1\xBE\xD1\x82\x8C\x08\x121 \xE3\x92:\x1A\x8C\xBEK.N\x0D*\xDF~\xCF\xB3, [2018-03-17 07:05:30] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 07:05:30] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e6ZL:uo.Z)q\xDBa\xEF\xDB\x9B\x95\xDE\xD0$\x1DT\x91\xA0\x82f\x80\x8Bt\x97?\xBA\xA1:\xF9-\xE4.\xFC\xC8\xD2\x89-&W\xA6L\xC28\xD1\xA3/\xD3\x87>> homekit_client_process: [Client 5] Finished processing [2018-03-17 07:05:31] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 07:05:31] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 07:05:31] >>> homekit_server_on_pair_verify: Free heap: 23508 [2018-03-17 07:05:31] >>> tlv_debug: Got following TLV values: [2018-03-17 07:05:31] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 07:05:31] >>> tlv_debug: Type 5 value (120 bytes): \x13\xE8\xB2YLQz\xF8lEa\xA3\xB0\x820&\x86\xFC\xF8-\xD2_\x17&.\xFE\xDEl\xD4$\xFCC'}\xF4\xA3\x1C"b]g\x0F$\xF8\xD1\xC7CI\xB4D\xBAC\x8E\xF8\xBB\x86E\x18\xA4\x0B\xC9\xF1\x12\xDA\xB4\xAC\x11c\x11\xCB\xF6\xFCq]\xCC\x123\xE8\x08\x1C\xC1\xA3eD\xC3#\x8B\x16\xD4;\xB7\x175\xFA\xC9\xA8;\xF7\xE2\xBD]n\x01~\x17x=\\w\xC9H\x14\x93\xBF~\x837\xEB\xCF [2018-03-17 07:05:31] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 07:05:31] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 07:05:31] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 07:05:31] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 07:05:31] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 07:05:34] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 07:05:34] >>> tlv_debug: Got following TLV values: [2018-03-17 07:05:34] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 07:05:34] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 07:05:34] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 07:05:34] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 07:05:34] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 07:05:34] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 07:05:34] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 07:05:34] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 07:05:34] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 07:05:34] >>> homekit_server_on_get_accessories: Free heap: 23688 [2018-03-17 07:05:34] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 07:05:34] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 07:05:34] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 07:05:34] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 07:05:34] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 07:36:38] >>> HomeKit: [Client 5] Closing client connection [2018-03-17 07:36:39] >>> HomeKit: Got new client connection: 5 [2018-03-17 07:36:39] >>> homekit_client_process: [Client 5] Got 168 incomming data [2018-03-17 07:36:39] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 07:36:39] >>> homekit_server_on_pair_verify: Free heap: 23796 [2018-03-17 07:36:39] >>> tlv_debug: Got following TLV values: [2018-03-17 07:36:39] >>> tlv_debug: Type 3 value (32 bytes): \x02z\xD0\xAA\x0E \x8E\x02\xC6\x1C\xD3\x08\xEC\xE7IW\x9F\x01\xEB\xEF:\x84)\xB3\xA0\xFC`\xD63/\xC4= [2018-03-17 07:36:39] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 07:36:39] >>> HomeKit: [Client 5] Pair Verify Step 1/2 [2018-03-17 07:36:39] >>> homekit_server_on_pair_verify: [Client 5] Importing device Curve25519 public key [2018-03-17 07:36:39] >>> homekit_server_on_pair_verify: [Client 5] Generating accessory Curve25519 key [2018-03-17 07:36:40] >>> homekit_server_on_pair_verify: [Client 5] Exporting accessory Curve25519 public key [2018-03-17 07:36:40] >>> homekit_server_on_pair_verify: [Client 5] Generating Curve25519 shared secret [2018-03-17 07:36:41] >>> homekit_server_on_pair_verify: [Client 5] Generating signature [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: [Client 5] Generating proof [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: [Client 5] Encrypting response [2018-03-17 07:36:43] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 07:36:43] >>> tlv_debug: Got following TLV values: [2018-03-17 07:36:43] >>> tlv_debug: Type 5 value (101 bytes): ,\x93Pr\xFDk\xDE@\x01\x99\x03\xBF\xB0H\xB36\xF0*\x1F_\xB6\x9B\x0Dd\x89\xFB\xFCW\x9C&R\xF5\x1D\x19\xEF\xD6?\x1E\xE5~`\x9A\xA1\x85\xD4\xC2\x0F\xDAj]\xD3&\xD4\xBEVo\xA0\x19\xB4\x16\xA4\x12l\x18W\x88\xF8\x04\xA0X\x17q\xB3\x91<:\xE8\xE0\x98\xF1\xF7\xDA\x0E\x11\x814,\x1E\x18\xD7q\xF5\xE0\xFE\xDF\xF3\xD7\xB1,\xF2\xF1 [2018-03-17 07:36:43] >>> tlv_debug: Type 3 value (32 bytes): \x93J6\xC6S\xE9\x96s/\x05\xE9\x0C\x9F\x8E\x02\xB4Z&\x14&j\x0Ex\xEA\x98\x84\xD5\x13\xC8\xC0Rq [2018-03-17 07:36:43] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 07:36:43] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e,\x93Pr\xFDk\xDE@\x01\x99\x03\xBF\xB0H\xB36\xF0*\x1F_\xB6\x9B\x0Dd\x89\xFB\xFCW\x9C&R\xF5\x1D\x19\xEF\xD6?\x1E\xE5~`\x9A\xA1\x85\xD4\xC2\x0F\xDAj]\xD3&\xD4\xBEVo\xA0\x19\xB4\x16\xA4\x12l\x18W\x88\xF8\x04\xA0X\x17q\xB3\x91<:\xE8\xE0\x98\xF1\xF7\xDA\x0E\x11\x814,\x1E\x18\xD7q\xF5\xE0\xFE\xDF\xF3\xD7\xB1,\xF2\xF1\x03 \x93J6\xC6S\xE9\x96s/\x05\xE9\x0C\x9F\x8E\x02\xB4Z&\x14&j\x0Ex\xEA\x98\x84\xD5\x13\xC8\xC0Rq\x06\x01\x02 [2018-03-17 07:36:43] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 07:36:43] >>> homekit_client_process: [Client 5] Got 257 incomming data [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 07:36:43] >>> tlv_debug: Got following TLV values: [2018-03-17 07:36:43] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 07:36:43] >>> tlv_debug: Type 5 value (120 bytes): 3\x9D\xE30\xA9\x92nI\xCF\x80\xEB\x96Q/\xDC'\xDEP.\xF8\x90_\x190\xC0*\xDD\x143I\xB8\xB4J\x02\x1DL\xA8\x96\x9D\xA7\x90\x04O#\x06\x08\xFFA\xB5\xD3#"5/\x11\xD5\xD7i\x90T\x9F\xE8\x12\x9Akl\xC7\xA6 \xE4\x8D\x99\xCA\x95\x88"\x01\xA1"\xACm\x9C7\xF9\xDE\xAD\x1A\x1C\xA0c\xEA\xBD\xAC\x06\x13\xBD!\x88\xC3+\xF6\x19\x04\xA8\x9C\xE6\x19\xC7\xF0\x98\xDC\xA2\xBE\xF0\xE1ypem [2018-03-17 07:36:43] >>> HomeKit: [Client 5] Pair Verify Step 2/2 [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: [Client 5] Decrypting payload [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: [Client 5] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 07:36:43] >>> HomeKit: [Client 5] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 07:36:43] >>> homekit_server_on_pair_verify: [Client 5] Verifying device signature [2018-03-17 07:36:46] >>> send_tlv_response: [Client 5] Sending TLV response [2018-03-17 07:36:46] >>> tlv_debug: Got following TLV values: [2018-03-17 07:36:46] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 07:36:46] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 07:36:46] >>> HomeKit: [Client 5] Verification successful, secure session established [2018-03-17 07:36:46] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 07:36:47] >>> homekit_client_process: [Client 5] Got 88 incomming data [2018-03-17 07:36:47] >>> homekit_client_process: [Client 5] Decrypting data [2018-03-17 07:36:47] >>> homekit_client_process: [Client 5] Decrypted 70 bytes, available 0 [2018-03-17 07:36:47] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 07:36:47] >>> HomeKit: [Client 5] Get Accessories [2018-03-17 07:36:47] >>> homekit_server_on_get_accessories: Free heap: 23676 [2018-03-17 07:36:47] >>> client_send: [Client 5] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 07:36:47] >>> client_send: [Client 5] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 07:36:47] >>> client_send: [Client 5] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 07:36:47] >>> client_send: [Client 5] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 07:36:47] >>> homekit_client_process: [Client 5] Finished processing [2018-03-17 08:34:49] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 08:34:57] >>> HomeKit: Got new client connection: 9 [2018-03-17 08:34:57] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 08:34:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:34:58] >>> homekit_server_on_pair_verify: Free heap: 23788 [2018-03-17 08:34:58] >>> tlv_debug: Got following TLV values: [2018-03-17 08:34:58] >>> tlv_debug: Type 3 value (32 bytes): CD\x8Ec\xB8\xD1\xB5+\xEF\xD4\x98\x8D\xA0@yZ\x88\x12\x028X\xE4\x8B\xEDG\xEC\xA8f\x93\xCF=n [2018-03-17 08:34:58] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 08:34:58] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 08:34:58] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 08:34:58] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 08:34:59] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 08:34:59] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 08:35:00] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 08:35:02] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 08:35:02] >>> tlv_debug: Got following TLV values: [2018-03-17 08:35:02] >>> tlv_debug: Type 5 value (101 bytes): \x81\xD9\x9A\x17\x81\x12\xA3\x92\xA3\xCB`\xC5D\xCA/\x85\xD4\x96\xCFk\xB2%Q\xE3\xF1\xA5k\x94=\x09<\x8F\x1B\xB7c\xB2w\xD7S\xC2\xF6Gc\xB1\xACpo\xD2\xB0\xB4GM$\x1E\xECX\xE1\x96\xE3\xEEv\x15\x9B\xDC\x85\x80\x0F\xD0\x10\x96\xABt\xE08\x81|\xD2\x80\xCEm\xFD\xA4\xE6t\x9C\xE6\x8D\xE7\xB6#Pl\xB5\x84\xAE\xFE)\xC7g\xD37 [2018-03-17 08:35:02] >>> tlv_debug: Type 3 value (32 bytes): \x88n\x11)\xFB\x11H\xBD\x1Ek/\xB1\x01\xF0\xD1\xA8\xA2\x0F+2V\x19\xC96\xC6\xE9\x88\xD6m\xDCxH [2018-03-17 08:35:02] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 08:35:02] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x81\xD9\x9A\x17\x81\x12\xA3\x92\xA3\xCB`\xC5D\xCA/\x85\xD4\x96\xCFk\xB2%Q\xE3\xF1\xA5k\x94=\x09<\x8F\x1B\xB7c\xB2w\xD7S\xC2\xF6Gc\xB1\xACpo\xD2\xB0\xB4GM$\x1E\xECX\xE1\x96\xE3\xEEv\x15\x9B\xDC\x85\x80\x0F\xD0\x10\x96\xABt\xE08\x81|\xD2\x80\xCEm\xFD\xA4\xE6t\x9C\xE6\x8D\xE7\xB6#Pl\xB5\x84\xAE\xFE)\xC7g\xD37\x03 \x88n\x11)\xFB\x11H\xBD\x1Ek/\xB1\x01\xF0\xD1\xA8\xA2\x0F+2V\x19\xC96\xC6\xE9\x88\xD6m\xDCxH\x06\x01\x02 [2018-03-17 08:35:02] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:35:02] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 08:35:02] >>> tlv_debug: Got following TLV values: [2018-03-17 08:35:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 08:35:02] >>> tlv_debug: Type 5 value (120 bytes): vi\xE5\x14iR\x89\xC1\x1E\xA6%\x0A\xB4W\x93\xF7\xA3\x08%\xD5\xEF\x13~\xC2d\x06\xB1\x1E\x81\x17"\x89\xFA\x83\x01\xF9\xB0`a\x1B\xBC)\x95\x9EX\xFE4\xD2\x80\xC16\xF6\xF5"343G\xBB\xA9\xCA\xE7\x1E*\x1B\xE7\xB2'Ak}-\xD8\xF8Ce\x80\xCBL\x90\xF9\xD4\x87(\x8F\xED;7\xA1\xA6:\x86\xCA\x1A\x9D\xEB\xDF\x98\xA5p\xD9p\xC4\xE5H\x02J\x85\x11\xFA\xFF\x9Dl\x06\xFE\xB7|\xCF\x97\x0B [2018-03-17 08:35:02] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 08:35:02] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 08:35:02] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 08:35:05] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 08:35:05] >>> tlv_debug: Got following TLV values: [2018-03-17 08:35:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 08:35:05] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 08:35:05] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 08:35:05] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:35:05] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 08:35:05] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 08:35:05] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 08:35:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 08:35:05] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 08:35:05] >>> homekit_server_on_get_accessories: Free heap: 23668 [2018-03-17 08:35:05] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 08:35:05] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 08:35:05] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 08:35:05] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 08:35:05] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:37:49] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 08:43:47] >>> HomeKit: Got new client connection: 9 [2018-03-17 08:43:47] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 08:43:47] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:43:47] >>> homekit_server_on_pair_verify: Free heap: 23788 [2018-03-17 08:43:47] >>> tlv_debug: Got following TLV values: [2018-03-17 08:43:47] >>> tlv_debug: Type 3 value (32 bytes): \xD7\xB4Y\xD3\xCB\xA83V\xF2\x95\xEB\xD7\x0E9\xE5s\xC0\xCA\xD6\x82 \xED\x04\x87\xFF\x95/\x0B\xF4\xDE\xE9P [2018-03-17 08:43:47] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 08:43:47] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 08:43:47] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 08:43:47] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 08:43:48] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 08:43:48] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 08:43:49] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 08:43:51] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 08:43:51] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 08:43:51] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 08:43:51] >>> tlv_debug: Got following TLV values: [2018-03-17 08:43:51] >>> tlv_debug: Type 5 value (101 bytes): \x03\x10\x9C\x06}\xE2\xE5\xB9\x1Eq\xD8 \xA4\xBA\x18\x97\xA3,\x0E\x1B\x8Bz\xD7\x82%\x89\x95\xC1\x11V\xDD\xA2I\xBC\\\xDDO\x10\x9F\xA1Hdc\xF5\x1C\x85|\xB9`\x07\x03\xBD\xEC\xCA4\xDAY\xDB\x8E\x04#\x9B\xB1Q\xFB\xC7_\x86G!I\xC4\x95\xF6\x06+f\xF5WR\xF1\xE6\xC74D\xDCb\xD1Rd\xE5\xA8\xAD\xC3\x8F\xE9\xAA\x80\xEB6\x8A [2018-03-17 08:43:51] >>> tlv_debug: Type 3 value (32 bytes): 3\xAC*,,\xEFg\x1A\xF8\xF8\x16\x0E\xE2\xA6\x8F\xEEb\xDD\x09\xA9\xFF\x88\x09\xBC8V\xB4\xDB\xAA\xD6\xDF\x16 [2018-03-17 08:43:51] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 08:43:51] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x03\x10\x9C\x06}\xE2\xE5\xB9\x1Eq\xD8 \xA4\xBA\x18\x97\xA3,\x0E\x1B\x8Bz\xD7\x82%\x89\x95\xC1\x11V\xDD\xA2I\xBC\\\xDDO\x10\x9F\xA1Hdc\xF5\x1C\x85|\xB9`\x07\x03\xBD\xEC\xCA4\xDAY\xDB\x8E\x04#\x9B\xB1Q\xFB\xC7_\x86G!I\xC4\x95\xF6\x06+f\xF5WR\xF1\xE6\xC74D\xDCb\xD1Rd\xE5\xA8\xAD\xC3\x8F\xE9\xAA\x80\xEB6\x8A\x03 3\xAC*,,\xEFg\x1A\xF8\xF8\x16\x0E\xE2\xA6\x8F\xEEb\xDD\x09\xA9\xFF\x88\x09\xBC8V\xB4\xDB\xAA\xD6\xDF\x16\x06\x01\x02 [2018-03-17 08:43:51] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:43:51] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 08:43:53] >>> HomeKit: Got new client connection: 9 [2018-03-17 08:43:53] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 08:43:53] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:43:53] >>> homekit_server_on_pair_verify: Free heap: 23788 [2018-03-17 08:43:53] >>> tlv_debug: Got following TLV values: [2018-03-17 08:43:53] >>> tlv_debug: Type 3 value (32 bytes): \xBE\x8F\xD3\xCBx\xF5\xCFj\xB0Q\x02b\xF4\xD9\xED\x8B\xA1?\xBF\x03\x18\xC4\xFA\x9Eg\xB2\xC7\xF5\x8B\xF6\x8Cs [2018-03-17 08:43:53] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 08:43:53] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 08:43:53] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 08:43:53] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 08:43:54] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 08:43:54] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 08:43:55] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 08:43:57] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 08:43:57] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 08:43:57] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 08:43:57] >>> tlv_debug: Got following TLV values: [2018-03-17 08:43:57] >>> tlv_debug: Type 5 value (101 bytes): gc\xD5\xE0\xBDD\xEAA\x169\xF4\xD5\x99\x1E\xA6H\x9C\xE8"\xC3\xDA4\xF7A\x14\x1C-\x82xE\x99\x03\xAC\xB2u\xCC4\x9C\x02\xD7\xDE\x0F\x01\xC2\x1B\x11\xE2\xEC`\x95\x0E\xD3\x19\xB1X\x90\x9C\xC7\xB7\xA45\xBE\x01\xAD\xD2Bih\xB7\x8C\xBC\x1A\x8F\x06,\x82Er\x87\xD4\x12x\xACi\xDE>\x1B\xAEi\xEB\xC1\x96\xAC\xD1\\\xA5Hed\xCEY [2018-03-17 08:43:57] >>> tlv_debug: Type 3 value (32 bytes): \x99e[yt\xE0\x1A\x9F\x90\x1CK?\xB6\xD9\xD3C\x09\xFA\xD1B\x947[r7\xBF\xCAs\x09\x9C\\x [2018-03-17 08:43:57] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 08:43:57] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05egc\xD5\xE0\xBDD\xEAA\x169\xF4\xD5\x99\x1E\xA6H\x9C\xE8"\xC3\xDA4\xF7A\x14\x1C-\x82xE\x99\x03\xAC\xB2u\xCC4\x9C\x02\xD7\xDE\x0F\x01\xC2\x1B\x11\xE2\xEC`\x95\x0E\xD3\x19\xB1X\x90\x9C\xC7\xB7\xA45\xBE\x01\xAD\xD2Bih\xB7\x8C\xBC\x1A\x8F\x06,\x82Er\x87\xD4\x12x\xACi\xDE>\x1B\xAEi\xEB\xC1\x96\xAC\xD1\\\xA5Hed\xCEY\x03 \x99e[yt\xE0\x1A\x9F\x90\x1CK?\xB6\xD9\xD3C\x09\xFA\xD1B\x947[r7\xBF\xCAs\x09\x9C\\x\x06\x01\x02 [2018-03-17 08:43:57] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:43:58] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 08:43:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:43:58] >>> homekit_server_on_pair_verify: Free heap: 23500 [2018-03-17 08:43:58] >>> tlv_debug: Got following TLV values: [2018-03-17 08:43:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 08:43:58] >>> tlv_debug: Type 5 value (120 bytes): og\x0E\x143D\xEE\x12\xCC8r\x1B\x0A6_\x08\xF4\xF9@\x92n#\xD6\x94\xC37M#\xD7\xA7Q\xB9\x0E\xE3$\x83\xB4\xF9\xDDi]\x8E41\xCDP\xA2O\x03\xFF\xB1\xD6\\_\x0F\xDD\x9E\xE3&(\x156\xCA\x8F,\xB1\x9D\xF08\xA6\x0E_\xEF\xDC\xD4$\xEF\xF5\x8A\xFCRo\xA7y\xEA\xFB\x83)\x84a\x17\xA3\x04D\x88\x1B\xF0\x98f\x97Y\x04\xB8\xE8\x15$\xDC\xF8\x93\x12\xA5i\xA2\x9F(\xB6\xF7=\xB1\x06 [2018-03-17 08:43:58] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 08:43:58] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 08:43:58] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 08:43:58] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 08:43:58] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 08:44:01] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 08:44:01] >>> tlv_debug: Got following TLV values: [2018-03-17 08:44:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 08:44:01] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 08:44:01] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 08:44:01] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:44:01] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 08:44:01] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 08:44:01] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 08:44:01] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 08:44:01] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 08:44:01] >>> homekit_server_on_get_accessories: Free heap: 23668 [2018-03-17 08:44:01] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 08:44:01] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 08:44:01] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 08:44:01] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 08:44:01] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 08:44:02] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 08:44:03] >>> HomeKit: Got new client connection: 8 [2018-03-17 08:44:03] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 08:44:03] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:44:03] >>> homekit_server_on_pair_verify: Free heap: 23780 [2018-03-17 08:44:03] >>> tlv_debug: Got following TLV values: [2018-03-17 08:44:03] >>> tlv_debug: Type 3 value (32 bytes): \x87X\x08\xF0\xC8\x9C\x90\xCD\xDD\xBE\xD5\x9E\xCB\x0E\xD8\x9F&\xD7\xBF\x8D\xB9R\xB5\x8B\xF6/\x9AjJS\x8B\x02 [2018-03-17 08:44:03] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 08:44:03] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 08:44:03] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 08:44:03] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 08:44:05] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 08:44:05] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 08:44:06] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 08:44:07] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 08:44:07] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 08:44:07] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 08:44:07] >>> tlv_debug: Got following TLV values: [2018-03-17 08:44:07] >>> tlv_debug: Type 5 value (101 bytes): \xB6\xC7\xFE+\x05K\xBB\xD0\x1F@\xA0%_8Xv\x87\xAE@\xF0>\xD1\x12\xE4\x89\x13\x0F_^.p\xD2e^\xF52\x9B\x89_\xC4\xAE\xD6\xE9\x1B\xED`\xFD\x82\x85\xCD\xB3\xC5\xF4\x19\xF6\xCF\x0C|\x15\xA6*F\x80"\x9F1I\xB2\xFE\xC9c\xE2\xF5\x13\xC5\xFE\x0B8n\x96C\xAC\xF2\xA8\xCB\x88\xF3\x91\xC1.\xAE@\x91\x98\xA8\xA2\xC5 \xE3\xB7 [2018-03-17 08:44:08] >>> tlv_debug: Type 3 value (32 bytes): Za\xF4\xDD\x16\xE6\xC9*\xC2\x0C)Z\x81SsI\xDFc\xBE*\x8FB\x9C\x8Fk\x19;\xA2\xCC\x1C1F [2018-03-17 08:44:08] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 08:44:08] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB6\xC7\xFE+\x05K\xBB\xD0\x1F@\xA0%_8Xv\x87\xAE@\xF0>\xD1\x12\xE4\x89\x13\x0F_^.p\xD2e^\xF52\x9B\x89_\xC4\xAE\xD6\xE9\x1B\xED`\xFD\x82\x85\xCD\xB3\xC5\xF4\x19\xF6\xCF\x0C|\x15\xA6*F\x80"\x9F1I\xB2\xFE\xC9c\xE2\xF5\x13\xC5\xFE\x0B8n\x96C\xAC\xF2\xA8\xCB\x88\xF3\x91\xC1.\xAE@\x91\x98\xA8\xA2\xC5 \xE3\xB7\x03 Za\xF4\xDD\x16\xE6\xC9*\xC2\x0C)Z\x81SsI\xDFc\xBE*\x8FB\x9C\x8Fk\x19;\xA2\xCC\x1C1F\x06\x01\x02 [2018-03-17 08:44:08] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 08:44:08] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 08:44:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:44:08] >>> homekit_server_on_pair_verify: Free heap: 23488 [2018-03-17 08:44:08] >>> tlv_debug: Got following TLV values: [2018-03-17 08:44:08] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 08:44:08] >>> tlv_debug: Type 5 value (120 bytes): \xCB\x09\xAA\x9C\x80~A\xA2\xA0~\x82\\\x00\xD1\xD1\xE5d\xCB3\xC9 :\x0B\xFDqMj\x87\xB5G\x08L"c\xFF7{\xE0\x94V\xDD\xFB!B\xB4fc\x1C\xA1\x18\x8BM6\xE8R>\x1Fj\x91\x97g\x81p\xE5\xBD\xC6p\x04\xD62/i\xFCF\x02\xCE\xAA\xF5\xC8c\x1Eu\x1C\xA2]U\xB5\xFC\x9B\x1A\xD6\x05\xC15\xD6\x06\xCD\xF0o\xEE\xD7\xC1\xC3\x96p\xB4\x08\xEF\x10A\x05\x02\x99$\x19\x03\x8F\xEDY1 [2018-03-17 08:44:08] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 08:44:08] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 08:44:08] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 08:44:08] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 08:44:08] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 08:44:11] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 08:44:11] >>> tlv_debug: Got following TLV values: [2018-03-17 08:44:11] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 08:44:11] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 08:44:11] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 08:44:11] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 08:44:11] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 08:44:11] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 08:44:11] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 08:44:11] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 08:44:11] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 08:44:11] >>> homekit_server_on_get_accessories: Free heap: 23668 [2018-03-17 08:44:11] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 08:44:11] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 08:44:11] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 08:44:11] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 08:44:11] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 08:51:29] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 08:51:32] >>> HomeKit: Got new client connection: 8 [2018-03-17 08:51:32] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 08:51:32] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:51:32] >>> homekit_server_on_pair_verify: Free heap: 23760 [2018-03-17 08:51:32] >>> tlv_debug: Got following TLV values: [2018-03-17 08:51:32] >>> tlv_debug: Type 3 value (32 bytes): \xC2w\x1C!\xF6R\x0E\xA2\xCD\xF7\x9E]\x02-Z\xB8'\xED\x80\xC7\xC0\xA5\xCAH\x93\x00-\xA3kM& [2018-03-17 08:51:32] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 08:51:32] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 08:51:32] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 08:51:32] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 08:51:33] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 08:51:33] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 08:51:34] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 08:51:36] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 08:51:36] >>> tlv_debug: Got following TLV values: [2018-03-17 08:51:36] >>> tlv_debug: Type 5 value (101 bytes): \x17/\xEDa\x11\xA0^`E`3\xEBX\xAB\x0B\xDA\xF8p(\x85\x87\x8Dj\x97\x99\xF3\x0CD\xBC\xCB\xD1K4\x15\xC8\xB9t\x9D|\xC4~\x89l\xE1\x17H\x10\xC9a#\xE9.D>> tlv_debug: Type 3 value (32 bytes): \x04i\x8C\x8F\x07V\xC8\xA2\xE1\xD4\x1B%\x09\xFB\xB7\x11\xA4D\xFBT\xD7#5\xE6\xB9\x9B\xBC\xE4\x90\xAD\xEFg [2018-03-17 08:51:36] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 08:51:36] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x17/\xEDa\x11\xA0^`E`3\xEBX\xAB\x0B\xDA\xF8p(\x85\x87\x8Dj\x97\x99\xF3\x0CD\xBC\xCB\xD1K4\x15\xC8\xB9t\x9D|\xC4~\x89l\xE1\x17H\x10\xC9a#\xE9.D>> homekit_client_process: [Client 8] Finished processing [2018-03-17 08:51:36] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: Free heap: 23472 [2018-03-17 08:51:36] >>> tlv_debug: Got following TLV values: [2018-03-17 08:51:36] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 08:51:36] >>> tlv_debug: Type 5 value (120 bytes): \xCD\xAE\x15\xB9\xF1\x1C\xC9\xF8&`;\xFEw\x94\xA6Y\xBE\x82\x07\xD5]\xC1\xE1\xB17\x0A\xD64\xBA@\xE7\x09y\xC9H\x9F\xA01{\xE4+y:'\x1B\xA1\xEA\x9Di\x81\xFA\xCCI{'\xCAVM\x8831\x9B8\x04|n\xFFL>\x88I\x81\xBF\xF1\x8B\xC5\xD3\x91\xDE2\xC3\x00{;Z\xB2 [2018-03-17 08:51:36] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 08:51:36] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 08:51:36] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 08:51:39] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 08:51:39] >>> tlv_debug: Got following TLV values: [2018-03-17 08:51:39] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 08:51:39] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 08:51:39] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 08:51:39] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 08:51:39] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 08:51:39] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 08:51:39] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 08:51:39] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 08:51:39] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 08:51:39] >>> homekit_server_on_get_accessories: Free heap: 23648 [2018-03-17 08:51:39] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 08:51:39] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 08:51:39] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 08:51:39] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 08:51:39] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:01:06] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 09:01:08] >>> HomeKit: Got new client connection: 8 [2018-03-17 09:01:08] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 09:01:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:01:08] >>> homekit_server_on_pair_verify: Free heap: 23760 [2018-03-17 09:01:08] >>> tlv_debug: Got following TLV values: [2018-03-17 09:01:08] >>> tlv_debug: Type 3 value (32 bytes): 9\x1C\xFB\xC1\x85\xD2G\x85\x0D\xCD\xCA9\xC3Z\x80\xB0w\x06\x09Wv\xB3\xF0G\xE5\xCF\x98k:Q\x0Ez [2018-03-17 09:01:08] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:01:08] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 09:01:08] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 09:01:08] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 09:01:09] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 09:01:09] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 09:01:10] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 09:01:12] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 09:01:12] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 09:01:12] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 09:01:12] >>> tlv_debug: Got following TLV values: [2018-03-17 09:01:12] >>> tlv_debug: Type 5 value (101 bytes): \xDC\xC7\x0AZD\x91z\xE9#O\xA4\xE9\x9E\xD1q\xDE6\xA4\x03\xC7S\xEC\xC4\x89\xCD`$\x09R\xDF\xAB\xB4\x84y\x9B->\x84\xC7\xBB\x1C.Z\xAB\xB7\xC6T^-\xE7\xAA\xD4\xB5<1;\xAF\xCDa\xEC\xEBc\x12e\x9E\xE1\xD8Fz*\xAEa\x13njm\x1D\x13Q\xEE\x83:\xFD@\x8A\xBDz\xB6B\xBF\xC5\x17\xA8\xBE&Kz\xF0\x0B4\xCE [2018-03-17 09:01:12] >>> tlv_debug: Type 3 value (32 bytes): \xB8\xA5\x06\x83_AOa\xD5\xB8\x86\xE0r\xAE\x88j#\xE5\x04\xAC\xD7QZ\xBD''!\xEC3P>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:01:12] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xDC\xC7\x0AZD\x91z\xE9#O\xA4\xE9\x9E\xD1q\xDE6\xA4\x03\xC7S\xEC\xC4\x89\xCD`$\x09R\xDF\xAB\xB4\x84y\x9B->\x84\xC7\xBB\x1C.Z\xAB\xB7\xC6T^-\xE7\xAA\xD4\xB5<1;\xAF\xCDa\xEC\xEBc\x12e\x9E\xE1\xD8Fz*\xAEa\x13njm\x1D\x13Q\xEE\x83:\xFD@\x8A\xBDz\xB6B\xBF\xC5\x17\xA8\xBE&Kz\xF0\x0B4\xCE\x03 \xB8\xA5\x06\x83_AOa\xD5\xB8\x86\xE0r\xAE\x88j#\xE5\x04\xAC\xD7QZ\xBD''!\xEC3P>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:01:12] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 09:02:27] >>> HomeKit: Got new client connection: 8 [2018-03-17 09:02:27] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 09:02:27] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:02:27] >>> homekit_server_on_pair_verify: Free heap: 21784 [2018-03-17 09:02:27] >>> tlv_debug: Got following TLV values: [2018-03-17 09:02:27] >>> tlv_debug: Type 3 value (32 bytes): I8\xE8\x06'\xE1\xF7\xE50\xED\xE9\x93w}+3\xC2\xAC\xCC\x98\x06e{\x98[{\x80\xC2\x06\xA3,\x09 [2018-03-17 09:02:27] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:02:27] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 09:02:27] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 09:02:27] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 09:02:28] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 09:02:28] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 09:02:29] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 09:02:31] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 09:02:31] >>> tlv_debug: Got following TLV values: [2018-03-17 09:02:31] >>> tlv_debug: Type 5 value (101 bytes): !\x16\x9B\x0FXQPowKG\xCFK6:\xFC\xC2\xBF\x90aG!\xA7\x9D\xCF\xC5\\\x84\x17\xAC\x18\xA1\xC7\x03K\x83\xC4\xEBy\x01A\x17\xDA;-\x1E"\xE4\xBC\x93\xD4\x84%]\xF3K\xFA\x8ApN\xBB\xB8rm"\xB5`i\x1BBm3\x16\x02\x01\xF6\xD2~\xE4\xBC\x0FO\xA2q\xCC\x10G\xE68\xAD\xCDmEP\x07\xDC\xDA\x16\x8E\xBF\x9C [2018-03-17 09:02:31] >>> tlv_debug: Type 3 value (32 bytes): `Y\x00Ul\xB3nY\x1Dy\x07\xFEb0\xFE\x98#\x00\xB9\xE4\xAB4\xDAC\xC9\xD2\xD1_\x06r\x0D) [2018-03-17 09:02:31] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:02:31] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e!\x16\x9B\x0FXQPowKG\xCFK6:\xFC\xC2\xBF\x90aG!\xA7\x9D\xCF\xC5\\\x84\x17\xAC\x18\xA1\xC7\x03K\x83\xC4\xEBy\x01A\x17\xDA;-\x1E"\xE4\xBC\x93\xD4\x84%]\xF3K\xFA\x8ApN\xBB\xB8rm"\xB5`i\x1BBm3\x16\x02\x01\xF6\xD2~\xE4\xBC\x0FO\xA2q\xCC\x10G\xE68\xAD\xCDmEP\x07\xDC\xDA\x16\x8E\xBF\x9C\x03 `Y\x00Ul\xB3nY\x1Dy\x07\xFEb0\xFE\x98#\x00\xB9\xE4\xAB4\xDAC\xC9\xD2\xD1_\x06r\x0D)\x06\x01\x02 [2018-03-17 09:02:31] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:02:31] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: Free heap: 23484 [2018-03-17 09:02:31] >>> tlv_debug: Got following TLV values: [2018-03-17 09:02:31] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 09:02:31] >>> tlv_debug: Type 5 value (120 bytes): \xCEH{\xF1\xC9\xE9\xD4\x08\xB8f\xDF\x80\x90\xAA1%Ky\xF5\xBE+\x93\xA1\x94,]\xFC\x8E\xC9+T\x0A\x14v\x91\xD9Y qyu\x82\xBE\x1A\x1C<\x83B\x88\xAB\xB3M\x98Q}\xD2/\x0D\xE2;\x02v\xB8\xD0\x10\xA9\xFBT\xE1\x82\xF7\x88m\x94u\xCD\x80w\x81K\xF0V\xF29a+\x1A\x16\xF4\x98\xBE\x1F\x80#\xA5/LEWa\xA9If\xE1\xB7\x8D\xC8\xB4\xE6{-eW\xA7\xA0/\xBEJF [2018-03-17 09:02:31] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 09:02:31] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 09:02:31] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 09:02:34] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 09:02:34] >>> tlv_debug: Got following TLV values: [2018-03-17 09:02:34] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 09:02:34] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 09:02:34] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 09:02:34] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:02:34] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 09:02:34] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 09:02:34] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 09:02:34] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 09:02:34] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 09:02:34] >>> homekit_server_on_get_accessories: Free heap: 23660 [2018-03-17 09:02:34] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 09:02:34] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 09:02:34] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 09:02:34] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 09:02:34] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:12:21] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 09:18:44] >>> HomeKit: Got new client connection: 7 [2018-03-17 09:18:44] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 09:18:44] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:18:44] >>> homekit_server_on_pair_verify: Free heap: 23776 [2018-03-17 09:18:44] >>> tlv_debug: Got following TLV values: [2018-03-17 09:18:44] >>> tlv_debug: Type 3 value (32 bytes): qPQ\x8B\xBB\xFC\xFCK\xCD\x81\xA5\xE9\xB2\x1E\x9B\x83\x08<\x87y{\x8B\xDF\x17\x11d\xEB\xD2\xF7d\xAC\x1A [2018-03-17 09:18:44] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:18:44] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 09:18:44] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 09:18:44] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 09:18:45] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 09:18:45] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 09:18:46] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 09:18:48] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 09:18:48] >>> tlv_debug: Got following TLV values: [2018-03-17 09:18:48] >>> tlv_debug: Type 5 value (101 bytes): \x87v\x1D\x06q\xC8z/\x92"\xC2W\x11)G0\xC3\x8Cb\xB4\xA2~)\xA8\x0BHK\xE9\x1E\x9F\x1Ea\xDA\xCC\xEB\x91\x82\xE4\x00\xBDB\x96kG\x9B\xB6\xCC\xFA3\xB0\xAE\xD7e\xA0\xB1?\x98:>\x83E\xDFv\xCC\xCB\x0E'\x19{c\xA4Pm\x86v\x0D6\xA6\x98\xD7\xD6\xBA\x8E?D\xA8\xDB\x06\x8Ac\x81\xE9\xA5D\x0An\x96\xCDr+\xD4 [2018-03-17 09:18:48] >>> tlv_debug: Type 3 value (32 bytes): \xDF\xEF\x04\xCC}c-/\xE7U\x88L_\xE9iv\x9EBJ\xEA\xC4+\xB8\x1Av\xF2t\x13\xD1\xDB\\\x07 [2018-03-17 09:18:48] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:18:48] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x87v\x1D\x06q\xC8z/\x92"\xC2W\x11)G0\xC3\x8Cb\xB4\xA2~)\xA8\x0BHK\xE9\x1E\x9F\x1Ea\xDA\xCC\xEB\x91\x82\xE4\x00\xBDB\x96kG\x9B\xB6\xCC\xFA3\xB0\xAE\xD7e\xA0\xB1?\x98:>\x83E\xDFv\xCC\xCB\x0E'\x19{c\xA4Pm\x86v\x0D6\xA6\x98\xD7\xD6\xBA\x8E?D\xA8\xDB\x06\x8Ac\x81\xE9\xA5D\x0An\x96\xCDr+\xD4\x03 \xDF\xEF\x04\xCC}c-/\xE7U\x88L_\xE9iv\x9EBJ\xEA\xC4+\xB8\x1Av\xF2t\x13\xD1\xDB\\\x07\x06\x01\x02 [2018-03-17 09:18:48] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:18:48] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: Free heap: 23492 [2018-03-17 09:18:48] >>> tlv_debug: Got following TLV values: [2018-03-17 09:18:48] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 09:18:48] >>> tlv_debug: Type 5 value (120 bytes): \x90\x16\x0EM\x17J\x15\x1F\xD24~*\x843v9\xE3m\x19\xF44\\\xA4\xD6\xD6\xA0\x1B\xD6\xB7\xDF\xA0\xAF\xBF\x94\x18\xA3l\x931A7e\xF4C\xCD\xBA[1\x06\x81\x1B\xA9\xD4\xF3!0f\xABr9$T40I\x08\xAD.\xCBm_\xC2/^\x11s\xAA(-8PL\xDE\x11\x81\x9C54S@J\xA3\xCC\x99\xB4\xA0vaw\xB9K\x92glfGq\xFF\xC4\xF5\xA8\xB9w*\xA8\xBDC\xDB\xC9\xC6 [2018-03-17 09:18:48] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 09:18:48] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 09:18:48] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 09:18:51] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 09:18:51] >>> tlv_debug: Got following TLV values: [2018-03-17 09:18:51] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 09:18:51] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 09:18:51] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 09:18:51] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:18:52] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 09:18:52] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 09:18:52] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 09:18:52] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 09:18:52] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 09:18:52] >>> homekit_server_on_get_accessories: Free heap: 23668 [2018-03-17 09:18:52] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 09:18:52] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 09:18:52] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 09:18:52] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 09:18:52] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:43:40] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 09:49:22] >>> HomeKit: Got new client connection: 7 [2018-03-17 09:49:22] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 09:49:22] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:49:22] >>> homekit_server_on_pair_verify: Free heap: 23776 [2018-03-17 09:49:22] >>> tlv_debug: Got following TLV values: [2018-03-17 09:49:22] >>> tlv_debug: Type 3 value (32 bytes): \x9A\x9B\xD5\xED\xF9\xBF7\x89_K\x12\\\x1C\xF1\xFE2~\x0F\xC0Sw\xFBr\xF1\xD6\x9B\xB8\xE3D#\xBD+ [2018-03-17 09:49:22] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:49:22] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 09:49:22] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 09:49:22] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 09:49:23] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 09:49:23] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 09:49:24] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 09:49:26] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 09:49:26] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 09:49:26] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 09:49:26] >>> tlv_debug: Got following TLV values: [2018-03-17 09:49:26] >>> tlv_debug: Type 5 value (101 bytes): \xD9\xDC\xC7A\xEE\xE0\xCAcQ0\xF8\xF9\x15.\xF5\x89\xB9\xCE\x80\xEA\xC2\x02\xB8\x87\xE4m\xFA\xC2\xC3\xB3U\x15o(K\xF5\x0B\xD48\xD8XY\xE5\xEF\x04\x09\x80t\x19:_\x02\xC3\xA0\x94D\xBE\x82\xAB\xEFZ\xB6\x05\x0C5\xF1)}\x09\x8E8\xBD\xF4?\xD3\xCA;\xC9\xCA\xAF7F>A\xA4\x9C\xA2\x02\x93\xE3\x84\xFClv\xD7>> tlv_debug: Type 3 value (32 bytes): z\x19oe F\xD6\xE1\xD5\xD6K\xC0\xE0&\x0A\xD9oS\xF8#\x8D\x95\xA1:[\xD0\x9D\x82H_\xB6\x03 [2018-03-17 09:49:26] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:49:26] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xD9\xDC\xC7A\xEE\xE0\xCAcQ0\xF8\xF9\x15.\xF5\x89\xB9\xCE\x80\xEA\xC2\x02\xB8\x87\xE4m\xFA\xC2\xC3\xB3U\x15o(K\xF5\x0B\xD48\xD8XY\xE5\xEF\x04\x09\x80t\x19:_\x02\xC3\xA0\x94D\xBE\x82\xAB\xEFZ\xB6\x05\x0C5\xF1)}\x09\x8E8\xBD\xF4?\xD3\xCA;\xC9\xCA\xAF7F>A\xA4\x9C\xA2\x02\x93\xE3\x84\xFClv\xD7>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:49:26] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 09:49:29] >>> HomeKit: Got new client connection: 7 [2018-03-17 09:49:29] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 09:49:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:49:29] >>> homekit_server_on_pair_verify: Free heap: 23776 [2018-03-17 09:49:29] >>> tlv_debug: Got following TLV values: [2018-03-17 09:49:29] >>> tlv_debug: Type 3 value (32 bytes): $\xF2S\xA9K\x1C\xBF\xC7\x12\x8CF\x90\xF4\x0C\xD5}\x10\xD5\x0C\xCB\xC6A\xA8\xC6\xDBI\xF4\xD3\xDF\xEF\xD8b [2018-03-17 09:49:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:49:29] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 09:49:29] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 09:49:29] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 09:49:30] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 09:49:30] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 09:49:31] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 09:49:33] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 09:49:33] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 09:49:33] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 09:49:33] >>> tlv_debug: Got following TLV values: [2018-03-17 09:49:33] >>> tlv_debug: Type 5 value (101 bytes): \x1B_`\xBB\xE9\xF72\xE5\x98~`&\xA2\xA9_\xC8\xCF\xF9\xFC\xA4"\xC6\xFE\xD6\xD7\x8A\xD6\xB62\xFE\xE5_,\xFC~\xB9\xAA_\x9F\xF1J/'\x82\x1E\xC4\xAD\xE5#\x95\x86P$T*@\xB4X\xBB\xC2\x18\x0A:W\xA1\xED\xFE>\xA8\xF5\x8Eu\x82n\x00\xCC\x07L\x98\x9D\x11\xD6B\xE2\x98\xEF\xDD\xE8z\xE0\x9A\xEE\x92Ou?\x00\xAEt\xA4\xDC [2018-03-17 09:49:33] >>> tlv_debug: Type 3 value (32 bytes): Fc\x83\xFA\xAE@f\xF5\xC2\xDA4\x8B\xA7\x0E\x1B*@\x80\xFDQ\x19\xB0\xF8XY!M59[\xA0^ [2018-03-17 09:49:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:49:33] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x1B_`\xBB\xE9\xF72\xE5\x98~`&\xA2\xA9_\xC8\xCF\xF9\xFC\xA4"\xC6\xFE\xD6\xD7\x8A\xD6\xB62\xFE\xE5_,\xFC~\xB9\xAA_\x9F\xF1J/'\x82\x1E\xC4\xAD\xE5#\x95\x86P$T*@\xB4X\xBB\xC2\x18\x0A:W\xA1\xED\xFE>\xA8\xF5\x8Eu\x82n\x00\xCC\x07L\x98\x9D\x11\xD6B\xE2\x98\xEF\xDD\xE8z\xE0\x9A\xEE\x92Ou?\x00\xAEt\xA4\xDC\x03 Fc\x83\xFA\xAE@f\xF5\xC2\xDA4\x8B\xA7\x0E\x1B*@\x80\xFDQ\x19\xB0\xF8XY!M59[\xA0^\x06\x01\x02 [2018-03-17 09:49:33] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:49:36] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 09:49:36] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:49:36] >>> homekit_server_on_pair_verify: Free heap: 23492 [2018-03-17 09:49:36] >>> tlv_debug: Got following TLV values: [2018-03-17 09:49:36] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 09:49:36] >>> tlv_debug: Type 5 value (120 bytes): Z\xF1\x15T\xEC2\x12\xD8bR\xD5\xAF\xF7n\xD4F\xC9\xC8\x84\xBF*p\xCD\xCE\xC6\xC5\x84\x98\xE3\xBC\xF6\xE3\xDB\xEAo\x8E%a\xE7P\xFCj\xF1m\xE1\x08Q\xFC\xB7\x0C\x0B\x1F*\xDF\xACo\xE9\xAF{w\x8A\x1CX\xF99\xA0\xE3\xAB\xDC\xEC\x0F\xD6\x11\x13\x84@z)'\xAEc\xFDPw\xE0r\xBD\xA1O\x8C\xF1\xCE\xD7\xDC*t7\x18\x82\xFC`\xD2n\x83\x00\x06\xAC\x98\x09\x8COJ%\xBFee\x91\xD4\x0B@ [2018-03-17 09:49:36] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 09:49:36] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 09:49:36] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 09:49:36] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 09:49:36] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 09:49:39] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 09:49:39] >>> tlv_debug: Got following TLV values: [2018-03-17 09:49:39] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 09:49:39] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 09:49:39] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 09:49:39] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:49:39] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 09:49:39] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 09:49:39] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 09:49:39] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 09:49:39] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 09:49:39] >>> homekit_server_on_get_accessories: Free heap: 23668 [2018-03-17 09:49:39] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 09:49:39] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 09:49:40] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 09:49:40] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 09:49:40] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 09:57:07] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 09:57:08] >>> HomeKit: Got new client connection: 8 [2018-03-17 09:57:08] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 09:57:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:57:08] >>> homekit_server_on_pair_verify: Free heap: 23756 [2018-03-17 09:57:08] >>> tlv_debug: Got following TLV values: [2018-03-17 09:57:08] >>> tlv_debug: Type 3 value (32 bytes): \xA4\xD3\xE3\x8E@\xF5\x0B#\xC2P\xFA_\x00\xA8)\x00\xA5\xAE\x85\xBC\xD3\xAC\x85J\x10}\xEE\x95\xD9^\xB0n [2018-03-17 09:57:08] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:57:08] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 09:57:08] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 09:57:08] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 09:57:09] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 09:57:09] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 09:57:10] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 09:57:12] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 09:57:12] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 09:57:12] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 09:57:12] >>> tlv_debug: Got following TLV values: [2018-03-17 09:57:12] >>> tlv_debug: Type 5 value (101 bytes): !K\x06[=Z\x89q\xBA\xA8\x82}#\xFEq\xD9\x9C\x14\xDB\xCC\x1B\x1D\x92->\xCA\xA8\x08\x15\x0F9\xF6\xEAa\x0F\xE50\x1A_\xDB\x1B\xBD$\x86\x1E\xF5&\x8Fp\xF9\xE7\xCFa\xCD\x19\xCF\xFC\xE9\xC2\x19\xF4\xF6\x0E\xD4Q\xD8\x16M?M\x84f\xF5KqLj\xB67!\xECA\x9A\x10xEN\xBA0\x88\xA3\x15:S\xFC\x0A\xD6e\xE1\xD8\x17 [2018-03-17 09:57:12] >>> tlv_debug: Type 3 value (32 bytes): \xF4E^1\xD7xmp M\xBB\xEF\x11\xA8;\x82\x19\xABi/`\xEC\xA6H2\xC8%\xFB\x07\x8CG [2018-03-17 09:57:12] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:57:12] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e!K\x06[=Z\x89q\xBA\xA8\x82}#\xFEq\xD9\x9C\x14\xDB\xCC\x1B\x1D\x92->\xCA\xA8\x08\x15\x0F9\xF6\xEAa\x0F\xE50\x1A_\xDB\x1B\xBD$\x86\x1E\xF5&\x8Fp\xF9\xE7\xCFa\xCD\x19\xCF\xFC\xE9\xC2\x19\xF4\xF6\x0E\xD4Q\xD8\x16M?M\x84f\xF5KqLj\xB67!\xECA\x9A\x10xEN\xBA0\x88\xA3\x15:S\xFC\x0A\xD6e\xE1\xD8\x17\x03 \xF4E^1\xD7xmp M\xBB\xEF\x11\xA8;\x82\x19\xABi/`\xEC\xA6H2\xC8%\xFB\x07\x8CG\x06\x01\x02 [2018-03-17 09:57:12] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:57:12] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 09:57:15] >>> HomeKit: Got new client connection: 8 [2018-03-17 09:57:15] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 09:57:15] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:57:15] >>> homekit_server_on_pair_verify: Free heap: 23756 [2018-03-17 09:57:15] >>> tlv_debug: Got following TLV values: [2018-03-17 09:57:15] >>> tlv_debug: Type 3 value (32 bytes): \x1C\xB8/dQ\x94\x9C\xAF\xE4\x02q\xFA\xF6\x9D\x8B\xC1\xB9'\xFEn\xF3\xF8\x06\xF8\xF9g\x88*\x1E\x94o@ [2018-03-17 09:57:15] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 09:57:15] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 09:57:15] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 09:57:15] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 09:57:17] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 09:57:17] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 09:57:18] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 09:57:19] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 09:57:19] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 09:57:19] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 09:57:19] >>> tlv_debug: Got following TLV values: [2018-03-17 09:57:19] >>> tlv_debug: Type 5 value (101 bytes): \xDF\xE4\xAD\xA0\x1A\xB9\xA1\xED\xCC\xD7"N\x19\xC3\x9A\xC7\x00\xC1&s\x8Chi\xF9\xDA\xA6h\xA5^\xA5fn\xD0V\x12\xC8\x0F\x9C\x92d\x08\xAE\x0F\xFC\x92\xFD\xD4\xC8\xEF\x14e\x909\xC2\xC3\xA1\xED\x8E\xC6\x8B\x8Bah\xFC\xC3W\x894\xF4\xF7\xE8\xE5\xE1\xE9\xA9\xF1\xF90?.k\xB4\xD7a\xC4ru\x95}\xAAl\xA7\xC0\xDF\xFC\xE4:\x19\x9B\xEE2 [2018-03-17 09:57:19] >>> tlv_debug: Type 3 value (32 bytes): \xE3\\\x1D'\xE5\x1A\xCC.T\xFA\x0F\x1D\xA83\xE6\xB7I\xBE\xBD\x02\xC3\x1C\xA4l\x06\x8A\xFB\xD1\xE2\xEC\x16\x00 [2018-03-17 09:57:19] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 09:57:19] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xDF\xE4\xAD\xA0\x1A\xB9\xA1\xED\xCC\xD7"N\x19\xC3\x9A\xC7\x00\xC1&s\x8Chi\xF9\xDA\xA6h\xA5^\xA5fn\xD0V\x12\xC8\x0F\x9C\x92d\x08\xAE\x0F\xFC\x92\xFD\xD4\xC8\xEF\x14e\x909\xC2\xC3\xA1\xED\x8E\xC6\x8B\x8Bah\xFC\xC3W\x894\xF4\xF7\xE8\xE5\xE1\xE9\xA9\xF1\xF90?.k\xB4\xD7a\xC4ru\x95}\xAAl\xA7\xC0\xDF\xFC\xE4:\x19\x9B\xEE2\x03 \xE3\\\x1D'\xE5\x1A\xCC.T\xFA\x0F\x1D\xA83\xE6\xB7I\xBE\xBD\x02\xC3\x1C\xA4l\x06\x8A\xFB\xD1\xE2\xEC\x16\x00\x06\x01\x02 [2018-03-17 09:57:20] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:57:21] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 09:57:21] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 09:57:21] >>> homekit_server_on_pair_verify: Free heap: 23468 [2018-03-17 09:57:21] >>> tlv_debug: Got following TLV values: [2018-03-17 09:57:21] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 09:57:21] >>> tlv_debug: Type 5 value (120 bytes): \x8E4\xACGK\x86\xF1\x99\x19&I\xD5\xA4\xF3\\\x8A\xA4\xFC\x9Esbn#\x82_,h\x17+o\x00~\xDC\xCBC\x09gf\xD6\xBD\xE2Q\x1D3\xE72\x08\x8C&9\\h\x9C\xC8Y#\xAE\x0E\xEB\xDF\x93\xB8\x80.\xAEg\xBB\x1B\xE0`:\xC9Y\xECUfI\xB4=\xE2\xB8\xEA)7\xE2mD\xFB\x8ESP\xCB\xD6\x13\x10\x11S\xD8\xE8\\\xB1xs\xF2v\xD3C4{\\\xB7\xB6S\xF0|\xDB\x06d [2018-03-17 09:57:21] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 09:57:21] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 09:57:21] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 09:57:21] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 09:57:21] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 09:57:24] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 09:57:24] >>> tlv_debug: Got following TLV values: [2018-03-17 09:57:24] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 09:57:24] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 09:57:24] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 09:57:24] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 09:57:24] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 09:57:24] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 09:57:24] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 09:57:24] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 09:57:24] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 09:57:24] >>> homekit_server_on_get_accessories: Free heap: 23636 [2018-03-17 09:57:24] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 09:57:24] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 09:57:24] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 09:57:24] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 09:57:24] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 11:21:49] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 11:22:31] >>> HomeKit: Got new client connection: 9 [2018-03-17 11:22:31] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 11:22:31] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 11:22:31] >>> homekit_server_on_pair_verify: Free heap: 23772 [2018-03-17 11:22:31] >>> tlv_debug: Got following TLV values: [2018-03-17 11:22:31] >>> tlv_debug: Type 3 value (32 bytes): Z\xFF\xBD\xE1\x99\xE6\x15\xFF\xDD2\x8E6/\xCF\x08\x90\xD6\xA3\xDC!H]\xB3\x8E\xC8\x8F\x98\x0F\x90\x8C\x16\x11 [2018-03-17 11:22:31] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 11:22:31] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 11:22:31] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 11:22:31] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 11:22:32] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 11:22:32] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 11:22:33] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 11:22:35] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 11:22:35] >>> tlv_debug: Got following TLV values: [2018-03-17 11:22:35] >>> tlv_debug: Type 5 value (101 bytes): &\x1Ft\x8F|\xA8\xE5\x0C\xE3\xB9@\x13D)U;\xB6\xA7>\x14f\x8Bb\xD9\x8A\x13zB\xD2\x81[6\xD59\xAD\xACv\xC0\x85\x0Cn\\i\xC5\xAF\xC8\xAE\x88,\x1CV\x91\xE2<\xF3f)\xEC\xFD\x9A\x1B\xF4\xD1\xCDz\xC4\x91\x8A6-\x0FkN\xFEA\xAEhs*@\xFE\xDF`*X\xE2\xFD>\xA2\x88\xE2\x8D\x81b\xC5L\xB0\xAE\xB2\xBFY [2018-03-17 11:22:35] >>> tlv_debug: Type 3 value (32 bytes): \xDFp\x8B\xE9\x86=\x92\x06c\xF0\xB4\xDDo\xB9\x96J\xF5\xCA\x88\x1F\xAE%Q\xA3J\x84K\xAE\xF2\xF7\xF3g [2018-03-17 11:22:35] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 11:22:35] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e&\x1Ft\x8F|\xA8\xE5\x0C\xE3\xB9@\x13D)U;\xB6\xA7>\x14f\x8Bb\xD9\x8A\x13zB\xD2\x81[6\xD59\xAD\xACv\xC0\x85\x0Cn\\i\xC5\xAF\xC8\xAE\x88,\x1CV\x91\xE2<\xF3f)\xEC\xFD\x9A\x1B\xF4\xD1\xCDz\xC4\x91\x8A6-\x0FkN\xFEA\xAEhs*@\xFE\xDF`*X\xE2\xFD>\xA2\x88\xE2\x8D\x81b\xC5L\xB0\xAE\xB2\xBFY\x03 \xDFp\x8B\xE9\x86=\x92\x06c\xF0\xB4\xDDo\xB9\x96J\xF5\xCA\x88\x1F\xAE%Q\xA3J\x84K\xAE\xF2\xF7\xF3g\x06\x01\x02 [2018-03-17 11:22:35] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 11:22:35] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: Free heap: 23476 [2018-03-17 11:22:35] >>> tlv_debug: Got following TLV values: [2018-03-17 11:22:35] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 11:22:35] >>> tlv_debug: Type 5 value (120 bytes): \xEE\x0C\x07\x95\x1B\xC9\xBD\x92\x14\xBFY\x17\xAAt:\x94;b\xA3}\xD1N\xDD\xF3\xF1W>;\x10\xA7\xAD\x15\xAEu\xC2\xF5"\x906\xA4\x131\xA3\xD5e\xD4g0\x1An5\x85\xE2"w\x89\xE3j\xD1`\x87\x99\xD7vn\xF2\xE6\x97v\xB4?\xA6\x84,\xA0\xFC8\xB3\x08o0\xAB6\x90\xAF\xCEy\xCF\x87[Q\xC9\x97\xFA\xA3v\xC2\xC9\xD5\xDF\xF1O\xC6\xD6\xAAg\x0E\x902\x88\xF0I\xA5P\xC8\xA5\xCF\xACF\x8A [2018-03-17 11:22:35] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 11:22:35] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 11:22:35] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 11:22:38] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 11:22:38] >>> tlv_debug: Got following TLV values: [2018-03-17 11:22:38] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 11:22:38] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 11:22:38] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 11:22:38] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 11:22:39] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 11:22:39] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 11:22:39] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 11:22:39] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 11:22:39] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 11:22:39] >>> homekit_server_on_get_accessories: Free heap: 23652 [2018-03-17 11:22:39] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 11:22:39] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 11:22:39] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 11:22:39] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 11:22:39] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 13:10:52] >>> HomeKit: Got new client connection: 10 [2018-03-17 13:10:52] >>> homekit_client_process: [Client 10] Got 168 incomming data [2018-03-17 13:10:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 13:10:52] >>> homekit_server_on_pair_verify: Free heap: 21876 [2018-03-17 13:10:52] >>> tlv_debug: Got following TLV values: [2018-03-17 13:10:52] >>> tlv_debug: Type 3 value (32 bytes): o\xE3\xA7\x80\xE26&\xEEY\xEE\x80\xBCh\xFB"\\r\xDF\xC2_\x11rT\x02`\xE6_\x89\x9Cp\xAC| [2018-03-17 13:10:52] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 13:10:52] >>> HomeKit: [Client 10] Pair Verify Step 1/2 [2018-03-17 13:10:52] >>> homekit_server_on_pair_verify: [Client 10] Importing device Curve25519 public key [2018-03-17 13:10:52] >>> homekit_server_on_pair_verify: [Client 10] Generating accessory Curve25519 key [2018-03-17 13:10:53] >>> homekit_server_on_pair_verify: [Client 10] Exporting accessory Curve25519 public key [2018-03-17 13:10:53] >>> homekit_server_on_pair_verify: [Client 10] Generating Curve25519 shared secret [2018-03-17 13:10:54] >>> homekit_server_on_pair_verify: [Client 10] Generating signature [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: [Client 10] Generating proof [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: [Client 10] Encrypting response [2018-03-17 13:10:56] >>> send_tlv_response: [Client 10] Sending TLV response [2018-03-17 13:10:56] >>> tlv_debug: Got following TLV values: [2018-03-17 13:10:56] >>> tlv_debug: Type 5 value (101 bytes): \x07?\x80\x063\x11\xE3r\xEA\x97\xD1\\0\x13\xD2\xE6Ez\x17h\x9F\xB1]\x8B\x847\xF7d\x1B\xE2\xB6<\xF64\xCCr\xFE\xF7\x86#\xE2S3\x1D\x86\xCF\xCC\x14\xA0\xA76w\x08\x9D\xC5\xE4P\xD7\xA5"\xEF\x05~\xE37\xA6\xFD\x82e\x08{\xE81\xBA\xFA\x97\x92\x9C\xDF+\xC3\xFF\xD2A\x04\xF8.\x18\x1D/V\xB1\xC8\x97\xBE\xFB\xAAX\xE4Y [2018-03-17 13:10:56] >>> tlv_debug: Type 3 value (32 bytes): n\xF2n\xF8\xE3\x02\\\xE9\xF8\x15P\xF5\xA0f\x9A<\xA2\xB0\x0A\xE4\xE5[\xE4\xE8\xBD[p\x0E\xB59\xF8z [2018-03-17 13:10:56] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 13:10:56] >>> client_send: [Client 10] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x07?\x80\x063\x11\xE3r\xEA\x97\xD1\\0\x13\xD2\xE6Ez\x17h\x9F\xB1]\x8B\x847\xF7d\x1B\xE2\xB6<\xF64\xCCr\xFE\xF7\x86#\xE2S3\x1D\x86\xCF\xCC\x14\xA0\xA76w\x08\x9D\xC5\xE4P\xD7\xA5"\xEF\x05~\xE37\xA6\xFD\x82e\x08{\xE81\xBA\xFA\x97\x92\x9C\xDF+\xC3\xFF\xD2A\x04\xF8.\x18\x1D/V\xB1\xC8\x97\xBE\xFB\xAAX\xE4Y\x03 n\xF2n\xF8\xE3\x02\\\xE9\xF8\x15P\xF5\xA0f\x9A<\xA2\xB0\x0A\xE4\xE5[\xE4\xE8\xBD[p\x0E\xB59\xF8z\x06\x01\x02 [2018-03-17 13:10:56] >>> homekit_client_process: [Client 10] Finished processing [2018-03-17 13:10:56] >>> homekit_client_process: [Client 10] Got 257 incomming data [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: Free heap: 21572 [2018-03-17 13:10:56] >>> tlv_debug: Got following TLV values: [2018-03-17 13:10:56] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 13:10:56] >>> tlv_debug: Type 5 value (120 bytes): I!Sxm%\xC1@+'\x07V\xB2\x9ED*\xA2\xA9\xB0\x8C\xB9\xFD \x00\x01\xBB\xF8\xAC\xA7\x03\x86\xCC\x9E\xC5$$\xC6\\\x0DhVY\xC2)\xF2n\xF3\x9EB$-\xB2\x01\x07\xADs`M\xF3B\x0D\xED\xC4\x17\xFB6`w\xCF\xE6\xB7\xF7\x91 (\xCF~f\xD64G[\xEA\xA1\xA0\xAA\x03%\x8Bi`X\xD2\xDE\x0Fd\xD1JG\x80\x10&\xEB4\xCA".\x1A\x8A\x92\xE76B\xA1RA\xD6\xFD\x17\xFF [2018-03-17 13:10:56] >>> HomeKit: [Client 10] Pair Verify Step 2/2 [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: [Client 10] Decrypting payload [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: [Client 10] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 13:10:56] >>> HomeKit: [Client 10] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 13:10:56] >>> homekit_server_on_pair_verify: [Client 10] Verifying device signature [2018-03-17 13:10:59] >>> send_tlv_response: [Client 10] Sending TLV response [2018-03-17 13:10:59] >>> tlv_debug: Got following TLV values: [2018-03-17 13:10:59] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 13:10:59] >>> client_send: [Client 10] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 13:10:59] >>> HomeKit: [Client 10] Verification successful, secure session established [2018-03-17 13:10:59] >>> homekit_client_process: [Client 10] Finished processing [2018-03-17 13:10:59] >>> homekit_client_process: [Client 10] Got 88 incomming data [2018-03-17 13:10:59] >>> homekit_client_process: [Client 10] Decrypting data [2018-03-17 13:10:59] >>> homekit_client_process: [Client 10] Decrypted 70 bytes, available 0 [2018-03-17 13:10:59] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:10:59] >>> HomeKit: [Client 10] Get Accessories [2018-03-17 13:10:59] >>> homekit_server_on_get_accessories: Free heap: 21756 [2018-03-17 13:10:59] >>> client_send: [Client 10] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:10:59] >>> client_send: [Client 10] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 13:10:59] >>> client_send: [Client 10] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 13:10:59] >>> client_send: [Client 10] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:10:59] >>> homekit_client_process: [Client 10] Finished processing [2018-03-17 13:25:12] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 13:25:13] >>> HomeKit: Got new client connection: 8 [2018-03-17 13:25:13] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 13:25:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 13:25:13] >>> homekit_server_on_pair_verify: Free heap: 21900 [2018-03-17 13:25:13] >>> tlv_debug: Got following TLV values: [2018-03-17 13:25:13] >>> tlv_debug: Type 3 value (32 bytes): X8\x1A/\xA0\xEAL\xC9\x81\xA4\xF6\x87*=/\xDF\xEE\xB3m\x01\xCA\xE6\x9D\x07G\x8F\x87@dm\xFF' [2018-03-17 13:25:13] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 13:25:13] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 13:25:13] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 13:25:13] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 13:25:15] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 13:25:15] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 13:25:16] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 13:25:17] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 13:25:17] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 13:25:17] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 13:25:17] >>> tlv_debug: Got following TLV values: [2018-03-17 13:25:17] >>> tlv_debug: Type 5 value (101 bytes): \xB40\xA0g\xD7\x1E\xD3\xC5UZ\xA3R\xDBc\xB6\xA6\xAF\xAE\x1E\x08QG\x1E6\x15M\xC7\xFF:\x0C9\x16R`Y2\xEE\x19\xAF1\xB1QM\xB86/\xD67\xA7\xF6\x19\xE9g\x0C\xC4i\xED\xF9\x09\x1A\xEC\x8Fr\xB0\xF1\xAF\x8F\xCE\xDDr)\xBC\x06Q\xEFB\xE9\xBF\xFB\x1E\xB3\x9D\x85L\xE3\x9F\xE9]\xC1A\xB2\xDF\xEF\x17\xD5\xFBE\xFAg [2018-03-17 13:25:17] >>> tlv_debug: Type 3 value (32 bytes): \xA3\xEC\xC7\x1E\x85\x9BEc\xE0\x11\xEC\xFDp\xA4EqTgFd\x13\xD5K\x85%m\xBB\x13\x9E\x00\xF1L [2018-03-17 13:25:17] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 13:25:17] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB40\xA0g\xD7\x1E\xD3\xC5UZ\xA3R\xDBc\xB6\xA6\xAF\xAE\x1E\x08QG\x1E6\x15M\xC7\xFF:\x0C9\x16R`Y2\xEE\x19\xAF1\xB1QM\xB86/\xD67\xA7\xF6\x19\xE9g\x0C\xC4i\xED\xF9\x09\x1A\xEC\x8Fr\xB0\xF1\xAF\x8F\xCE\xDDr)\xBC\x06Q\xEFB\xE9\xBF\xFB\x1E\xB3\x9D\x85L\xE3\x9F\xE9]\xC1A\xB2\xDF\xEF\x17\xD5\xFBE\xFAg\x03 \xA3\xEC\xC7\x1E\x85\x9BEc\xE0\x11\xEC\xFDp\xA4EqTgFd\x13\xD5K\x85%m\xBB\x13\x9E\x00\xF1L\x06\x01\x02 [2018-03-17 13:25:18] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 13:25:18] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 13:25:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 13:25:18] >>> homekit_server_on_pair_verify: Free heap: 21596 [2018-03-17 13:25:18] >>> tlv_debug: Got following TLV values: [2018-03-17 13:25:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 13:25:18] >>> tlv_debug: Type 5 value (120 bytes): =\x91b\xD51K^\xE5G?[\x04,\x05\xAC\xC4\xB9B'.\xB7a\x0E&\xF3\xBC?\xBB\x99\xA6J!\xC9M\x94T#5K\xE5\x8C"\xE8w\xB6\x06\x95!\xE5\xA7\xE4\xECT\x86\x16b\x87NT\xD7L\xE7\xE1\x04\xC3\xAD\x82\x83\xD9\xE5\x9E\x9F\x93\x888\x07:EK\x8Ca\xB1.P\x95\x18\x91\xE0\xB4B\xC0\x81\x1D\xA6\xFE\xBC@\xBC\xB2\xA9\x8C\xFB\xAC\x1D\x0E]k?L\x87\xE1\x88\xC6\xA4\xDA\xB0Xn [2018-03-17 13:25:18] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 13:25:18] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 13:25:18] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 13:25:18] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 13:25:18] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 13:25:21] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 13:25:21] >>> tlv_debug: Got following TLV values: [2018-03-17 13:25:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 13:25:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 13:25:21] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 13:25:21] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 13:25:21] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 13:25:21] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 13:25:21] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 13:25:21] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:25:21] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 13:25:21] >>> homekit_server_on_get_accessories: Free heap: 21788 [2018-03-17 13:25:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:25:21] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 13:25:21] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 13:25:21] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:25:21] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 13:35:50] >>> HomeKit: Got new client connection: 11 [2018-03-17 13:35:50] >>> homekit_client_process: [Client 11] Got 168 incomming data [2018-03-17 13:35:50] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 13:35:50] >>> homekit_server_on_pair_verify: Free heap: 20016 [2018-03-17 13:35:50] >>> tlv_debug: Got following TLV values: [2018-03-17 13:35:50] >>> tlv_debug: Type 3 value (32 bytes): \xDD) >\xFB\xB3.\x0D\x8DV\xEFMM=\x0E*\xFF\xAB`I_\xDC$\x18&\x12\x9B9Ke-\x0C [2018-03-17 13:35:50] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 13:35:50] >>> HomeKit: [Client 11] Pair Verify Step 1/2 [2018-03-17 13:35:50] >>> homekit_server_on_pair_verify: [Client 11] Importing device Curve25519 public key [2018-03-17 13:35:50] >>> homekit_server_on_pair_verify: [Client 11] Generating accessory Curve25519 key [2018-03-17 13:35:51] >>> homekit_server_on_pair_verify: [Client 11] Exporting accessory Curve25519 public key [2018-03-17 13:35:51] >>> homekit_server_on_pair_verify: [Client 11] Generating Curve25519 shared secret [2018-03-17 13:35:52] >>> homekit_server_on_pair_verify: [Client 11] Generating signature [2018-03-17 13:35:54] >>> homekit_server_on_pair_verify: [Client 11] Generating proof [2018-03-17 13:35:54] >>> homekit_server_on_pair_verify: [Client 11] Encrypting response [2018-03-17 13:35:54] >>> send_tlv_response: [Client 11] Sending TLV response [2018-03-17 13:35:54] >>> tlv_debug: Got following TLV values: [2018-03-17 13:35:54] >>> tlv_debug: Type 5 value (101 bytes): 5\x1A/\xCA\x9D\x9A\x89"\xD0\xAD/\xA5o9\xDDSv\xBA\x1F\x93\xB5b\x93\x02[\x17\xD4\xBCzw\x12\xF3\xBF\xBB#\x08b\x91b8\x15Z\x1E\xAE\x8C{\xF5$\x00\xC1\xCA\x94y\xEB!R1\xC1\xFD\x91\x8C\xD0C\xC7\xB8R\xFF\xF9\\\x0A&\xF2\xB9\x16\xA6\xDF\xF1\xA3\xE0\xD4\x0Dj\xC8n\xE4\xF4\xC3\xF6\xDEb\xEC\xAE\xBD[\xBD\xED}eL\xA4\xA5 [2018-03-17 13:35:54] >>> tlv_debug: Type 3 value (32 bytes): v\x8A\xC0\xFE\xA0d\x8B\x0E\xE8\xA2\xAB49n\xEE\xF4:\x1A\xEF%7L!g1\xBD\xD6\xA3\x1F1\xD8m [2018-03-17 13:35:54] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 13:35:54] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e5\x1A/\xCA\x9D\x9A\x89"\xD0\xAD/\xA5o9\xDDSv\xBA\x1F\x93\xB5b\x93\x02[\x17\xD4\xBCzw\x12\xF3\xBF\xBB#\x08b\x91b8\x15Z\x1E\xAE\x8C{\xF5$\x00\xC1\xCA\x94y\xEB!R1\xC1\xFD\x91\x8C\xD0C\xC7\xB8R\xFF\xF9\\\x0A&\xF2\xB9\x16\xA6\xDF\xF1\xA3\xE0\xD4\x0Dj\xC8n\xE4\xF4\xC3\xF6\xDEb\xEC\xAE\xBD[\xBD\xED}eL\xA4\xA5\x03 v\x8A\xC0\xFE\xA0d\x8B\x0E\xE8\xA2\xAB49n\xEE\xF4:\x1A\xEF%7L!g1\xBD\xD6\xA3\x1F1\xD8m\x06\x01\x02 [2018-03-17 13:35:54] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:35:56] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:35:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 13:35:56] >>> homekit_server_on_pair_verify: Free heap: 19712 [2018-03-17 13:35:56] >>> tlv_debug: Got following TLV values: [2018-03-17 13:35:56] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 13:35:56] >>> tlv_debug: Type 5 value (120 bytes): \x02z\x97dl\xD3d \xE6s)H\xCC\xF4\x01N\xC4\xD5V\x91\x93k\x12\xF6fqj\xE3\xE4\x06s\x16\xA3Qp\x0C\x84\x0Br\xD3\xF3\xF4~\xBE\xB1\xEBB\xB2"#\xA5Oq$\xAF\xB5\x97\x14\xD6oc\xB7p;\xED\x91U\xFF\xD2`\x15h\xAF\xF1\xB1\xB6\xD8\xC5\x9B\xC1iO\xF0\xA3\xA6\\o\x1A\x06\x046c\x1C\xBDG\xBC\xACX\xEA\xCA\xB6\x10\x07E\xEE\xD6\xA3W}$\xE0z]o\xF6\x8C\xA1\xE3!M [2018-03-17 13:35:56] >>> HomeKit: [Client 11] Pair Verify Step 2/2 [2018-03-17 13:35:56] >>> homekit_server_on_pair_verify: [Client 11] Decrypting payload [2018-03-17 13:35:56] >>> homekit_server_on_pair_verify: [Client 11] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 13:35:56] >>> HomeKit: [Client 11] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 13:35:56] >>> homekit_server_on_pair_verify: [Client 11] Verifying device signature [2018-03-17 13:35:59] >>> send_tlv_response: [Client 11] Sending TLV response [2018-03-17 13:35:59] >>> tlv_debug: Got following TLV values: [2018-03-17 13:35:59] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 13:35:59] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 13:35:59] >>> HomeKit: [Client 11] Verification successful, secure session established [2018-03-17 13:35:59] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:35:59] >>> homekit_client_process: [Client 11] Got 88 incomming data [2018-03-17 13:35:59] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:35:59] >>> homekit_client_process: [Client 11] Decrypted 70 bytes, available 0 [2018-03-17 13:35:59] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:35:59] >>> HomeKit: [Client 11] Get Accessories [2018-03-17 13:35:59] >>> homekit_server_on_get_accessories: Free heap: 19896 [2018-03-17 13:35:59] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:35:59] >>> client_send: [Client 11] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 13:35:59] >>> client_send: [Client 11] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 13:35:59] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:35:59] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:45:59] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:45:59] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: Free heap: 19808 [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:45:59] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:45:59] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:45:59] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:45:59] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:45:59] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:45:59] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:45:59] >>> homekit_server_on_update_characteristics: Free heap: 19556 [2018-03-17 13:45:59] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:45:59] "aid": 1, [2018-03-17 13:45:59] "iid": 10, [2018-03-17 13:45:59] "ev": true [2018-03-17 13:45:59] } [2018-03-17 13:45:59] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:45:59] "aid": 1, [2018-03-17 13:45:59] "iid": 13, [2018-03-17 13:45:59] "ev": true [2018-03-17 13:45:59] } [2018-03-17 13:45:59] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:45:59] "aid": 1, [2018-03-17 13:45:59] "iid": 16, [2018-03-17 13:45:59] "ev": true [2018-03-17 13:45:59] } [2018-03-17 13:45:59] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:45:59] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:45:59] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:46:29] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:46:29] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:46:29] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:46:29] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:46:29] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:46:29] >>> homekit_server_on_update_characteristics: Free heap: 19480 [2018-03-17 13:46:29] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:46:29] "aid": 1, [2018-03-17 13:46:29] "iid": 10, [2018-03-17 13:46:29] "ev": false [2018-03-17 13:46:29] } [2018-03-17 13:46:29] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:46:29] "aid": 1, [2018-03-17 13:46:29] "iid": 13, [2018-03-17 13:46:29] "ev": false [2018-03-17 13:46:29] } [2018-03-17 13:46:29] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:46:29] "aid": 1, [2018-03-17 13:46:29] "iid": 16, [2018-03-17 13:46:29] "ev": false [2018-03-17 13:46:29] } [2018-03-17 13:46:29] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:46:29] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:46:29] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:13] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:47:13] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:13] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:47:13] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:47:18] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:47:18] >>> homekit_server_on_update_characteristics: Free heap: 19556 [2018-03-17 13:47:18] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:18] "aid": 1, [2018-03-17 13:47:18] "iid": 10, [2018-03-17 13:47:18] "ev": true [2018-03-17 13:47:18] } [2018-03-17 13:47:18] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:18] "aid": 1, [2018-03-17 13:47:18] "iid": 13, [2018-03-17 13:47:18] "ev": true [2018-03-17 13:47:18] } [2018-03-17 13:47:18] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:18] "aid": 1, [2018-03-17 13:47:18] "iid": 16, [2018-03-17 13:47:18] "ev": true [2018-03-17 13:47:18] } [2018-03-17 13:47:18] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:47:18] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:47:18] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:47:18] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: Free heap: 19556 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:47:18] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:47:18] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:47:18] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:18] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:47:18] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:47:18] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: Free heap: 19628 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:47:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:47:19] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:47:19] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:47:19] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:47:19] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:47:19] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:47:19] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:47:19] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:47:19] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:47:19] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:27] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:47:27] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:27] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:47:27] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:47:27] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:47:27] >>> homekit_server_on_update_characteristics: Free heap: 19356 [2018-03-17 13:47:27] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:27] "aid": 1, [2018-03-17 13:47:27] "iid": 10, [2018-03-17 13:47:27] "ev": false [2018-03-17 13:47:27] } [2018-03-17 13:47:27] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:27] "aid": 1, [2018-03-17 13:47:27] "iid": 13, [2018-03-17 13:47:27] "ev": false [2018-03-17 13:47:27] } [2018-03-17 13:47:27] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:27] "aid": 1, [2018-03-17 13:47:27] "iid": 16, [2018-03-17 13:47:27] "ev": false [2018-03-17 13:47:27] } [2018-03-17 13:47:27] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:47:27] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:47:27] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:43] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:47:43] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:43] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:47:44] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:47:44] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:47:44] >>> homekit_server_on_update_characteristics: Free heap: 19432 [2018-03-17 13:47:44] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:44] "aid": 1, [2018-03-17 13:47:44] "iid": 10, [2018-03-17 13:47:44] "ev": true [2018-03-17 13:47:44] } [2018-03-17 13:47:44] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:44] "aid": 1, [2018-03-17 13:47:44] "iid": 13, [2018-03-17 13:47:44] "ev": true [2018-03-17 13:47:44] } [2018-03-17 13:47:44] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:44] "aid": 1, [2018-03-17 13:47:44] "iid": 16, [2018-03-17 13:47:44] "ev": true [2018-03-17 13:47:44] } [2018-03-17 13:47:44] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:47:44] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:47:44] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:44] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:47:45] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:45] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:47:45] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:47:45] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: Free heap: 19572 [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:47:45] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:47:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:47:45] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:47:45] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:47:45] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:47:55] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:47:55] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:47:55] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:47:55] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:47:55] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:47:55] >>> homekit_server_on_update_characteristics: Free heap: 19300 [2018-03-17 13:47:55] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:56] "aid": 1, [2018-03-17 13:47:56] "iid": 10, [2018-03-17 13:47:56] "ev": false [2018-03-17 13:47:56] } [2018-03-17 13:47:56] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:56] "aid": 1, [2018-03-17 13:47:56] "iid": 13, [2018-03-17 13:47:56] "ev": false [2018-03-17 13:47:56] } [2018-03-17 13:47:56] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:47:56] "aid": 1, [2018-03-17 13:47:56] "iid": 16, [2018-03-17 13:47:56] "ev": false [2018-03-17 13:47:56] } [2018-03-17 13:47:56] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:47:56] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:47:56] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:08] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:48:08] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:08] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:48:08] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:48:08] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:48:08] >>> homekit_server_on_update_characteristics: Free heap: 19376 [2018-03-17 13:48:08] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:08] "aid": 1, [2018-03-17 13:48:08] "iid": 10, [2018-03-17 13:48:08] "ev": true [2018-03-17 13:48:08] } [2018-03-17 13:48:08] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:08] "aid": 1, [2018-03-17 13:48:08] "iid": 13, [2018-03-17 13:48:08] "ev": true [2018-03-17 13:48:08] } [2018-03-17 13:48:08] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:08] "aid": 1, [2018-03-17 13:48:08] "iid": 16, [2018-03-17 13:48:08] "ev": true [2018-03-17 13:48:08] } [2018-03-17 13:48:08] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:48:08] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:48:08] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:11] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:48:11] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:11] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:48:11] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:48:11] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: Free heap: 19520 [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:48:11] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:48:11] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:48:11] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:48:11] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:48:11] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:48:31] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:48:31] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: Free heap: 19256 [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:31] "aid": 1, [2018-03-17 13:48:31] "iid": 10, [2018-03-17 13:48:31] "ev": false [2018-03-17 13:48:31] } [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:31] "aid": 1, [2018-03-17 13:48:31] "iid": 13, [2018-03-17 13:48:31] "ev": false [2018-03-17 13:48:31] } [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:31] "aid": 1, [2018-03-17 13:48:31] "iid": 16, [2018-03-17 13:48:31] "ev": false [2018-03-17 13:48:31] } [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:48:31] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:48:31] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:48:31] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: Free heap: 19196 [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:31] "aid": 1, [2018-03-17 13:48:31] "iid": 10, [2018-03-17 13:48:31] "ev": true [2018-03-17 13:48:31] } [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:31] "aid": 1, [2018-03-17 13:48:31] "iid": 13, [2018-03-17 13:48:31] "ev": true [2018-03-17 13:48:31] } [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:31] "aid": 1, [2018-03-17 13:48:31] "iid": 16, [2018-03-17 13:48:31] "ev": true [2018-03-17 13:48:31] } [2018-03-17 13:48:31] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:48:31] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:31] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:48:32] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:32] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:48:32] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:48:32] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: Free heap: 19472 [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:48:32] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:48:32] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:48:32] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:48:32] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:48:32] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:48:53] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:48:53] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: Free heap: 19216 [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:53] "aid": 1, [2018-03-17 13:48:53] "iid": 10, [2018-03-17 13:48:53] "ev": false [2018-03-17 13:48:53] } [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:53] "aid": 1, [2018-03-17 13:48:53] "iid": 13, [2018-03-17 13:48:53] "ev": false [2018-03-17 13:48:53] } [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:53] "aid": 1, [2018-03-17 13:48:53] "iid": 16, [2018-03-17 13:48:53] "ev": false [2018-03-17 13:48:53] } [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:48:53] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:48:53] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:48:53] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: Free heap: 19288 [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:53] "aid": 1, [2018-03-17 13:48:53] "iid": 10, [2018-03-17 13:48:53] "ev": true [2018-03-17 13:48:53] } [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:53] "aid": 1, [2018-03-17 13:48:53] "iid": 13, [2018-03-17 13:48:53] "ev": true [2018-03-17 13:48:53] } [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:48:53] "aid": 1, [2018-03-17 13:48:53] "iid": 16, [2018-03-17 13:48:53] "ev": true [2018-03-17 13:48:53] } [2018-03-17 13:48:53] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:48:53] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:48:53] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:48:54] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:48:54] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:48:54] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:48:54] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: Free heap: 19428 [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:48:54] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:48:54] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:48:54] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:48:54] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:48:54] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:49:35] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:49:35] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: Free heap: 19164 [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:49:35] "aid": 1, [2018-03-17 13:49:35] "iid": 10, [2018-03-17 13:49:35] "ev": false [2018-03-17 13:49:35] } [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:49:35] "aid": 1, [2018-03-17 13:49:35] "iid": 13, [2018-03-17 13:49:35] "ev": false [2018-03-17 13:49:35] } [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:49:35] "aid": 1, [2018-03-17 13:49:35] "iid": 16, [2018-03-17 13:49:35] "ev": false [2018-03-17 13:49:35] } [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:49:35] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:49:35] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:49:35] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: Free heap: 19240 [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:49:35] "aid": 1, [2018-03-17 13:49:35] "iid": 10, [2018-03-17 13:49:35] "ev": true [2018-03-17 13:49:35] } [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:49:35] "aid": 1, [2018-03-17 13:49:35] "iid": 13, [2018-03-17 13:49:35] "ev": true [2018-03-17 13:49:35] } [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:49:35] "aid": 1, [2018-03-17 13:49:35] "iid": 16, [2018-03-17 13:49:35] "ev": true [2018-03-17 13:49:35] } [2018-03-17 13:49:35] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:49:35] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:49:35] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:49:36] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:49:36] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: Free heap: 19380 [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:49:36] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:49:36] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:49:36] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:49:36] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:49:36] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:04] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:50:04] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:04] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:50:04] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:50:04] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:50:04] >>> homekit_server_on_update_characteristics: Free heap: 19104 [2018-03-17 13:50:04] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:04] "aid": 1, [2018-03-17 13:50:04] "iid": 10, [2018-03-17 13:50:04] "ev": false [2018-03-17 13:50:04] } [2018-03-17 13:50:04] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:04] "aid": 1, [2018-03-17 13:50:04] "iid": 13, [2018-03-17 13:50:04] "ev": false [2018-03-17 13:50:04] } [2018-03-17 13:50:04] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:04] "aid": 1, [2018-03-17 13:50:04] "iid": 16, [2018-03-17 13:50:04] "ev": false [2018-03-17 13:50:04] } [2018-03-17 13:50:04] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:50:04] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:50:04] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:06] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:50:06] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:06] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:50:06] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:50:06] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:50:06] >>> homekit_server_on_update_characteristics: Free heap: 19180 [2018-03-17 13:50:06] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:06] "aid": 1, [2018-03-17 13:50:06] "iid": 10, [2018-03-17 13:50:06] "ev": true [2018-03-17 13:50:06] } [2018-03-17 13:50:06] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:06] "aid": 1, [2018-03-17 13:50:06] "iid": 13, [2018-03-17 13:50:06] "ev": true [2018-03-17 13:50:06] } [2018-03-17 13:50:06] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:06] "aid": 1, [2018-03-17 13:50:06] "iid": 16, [2018-03-17 13:50:06] "ev": true [2018-03-17 13:50:06] } [2018-03-17 13:50:06] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:50:06] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:50:06] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:50:07] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:50:07] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: Free heap: 19320 [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:50:07] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:50:07] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:50:07] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:50:07] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:50:07] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:50:07] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:50:07] >>> homekit_server_on_update_characteristics: Free heap: 19056 [2018-03-17 13:50:07] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:07] "aid": 1, [2018-03-17 13:50:07] "iid": 10, [2018-03-17 13:50:07] "ev": false [2018-03-17 13:50:07] } [2018-03-17 13:50:07] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:07] "aid": 1, [2018-03-17 13:50:07] "iid": 13, [2018-03-17 13:50:07] "ev": false [2018-03-17 13:50:07] } [2018-03-17 13:50:07] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:07] "aid": 1, [2018-03-17 13:50:07] "iid": 16, [2018-03-17 13:50:07] "ev": false [2018-03-17 13:50:07] } [2018-03-17 13:50:07] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:50:07] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:50:07] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:08] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:50:08] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:08] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:50:08] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:50:08] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:50:08] >>> homekit_server_on_update_characteristics: Free heap: 19132 [2018-03-17 13:50:08] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:08] "aid": 1, [2018-03-17 13:50:08] "iid": 10, [2018-03-17 13:50:08] "ev": true [2018-03-17 13:50:08] } [2018-03-17 13:50:08] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:08] "aid": 1, [2018-03-17 13:50:08] "iid": 13, [2018-03-17 13:50:08] "ev": true [2018-03-17 13:50:08] } [2018-03-17 13:50:08] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:08] "aid": 1, [2018-03-17 13:50:08] "iid": 16, [2018-03-17 13:50:08] "ev": true [2018-03-17 13:50:08] } [2018-03-17 13:50:08] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:50:08] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:50:08] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:44] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:50:44] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:44] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:50:44] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:50:44] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:50:44] >>> homekit_server_on_update_characteristics: Free heap: 18816 [2018-03-17 13:50:44] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:44] "aid": 1, [2018-03-17 13:50:44] "iid": 10, [2018-03-17 13:50:44] "ev": false [2018-03-17 13:50:44] } [2018-03-17 13:50:44] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:44] "aid": 1, [2018-03-17 13:50:44] "iid": 13, [2018-03-17 13:50:44] "ev": false [2018-03-17 13:50:44] } [2018-03-17 13:50:44] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:44] "aid": 1, [2018-03-17 13:50:44] "iid": 16, [2018-03-17 13:50:44] "ev": false [2018-03-17 13:50:44] } [2018-03-17 13:50:44] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:50:44] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:50:44] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:50:45] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:50:45] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:50:45] >>> homekit_server_on_update_characteristics: Free heap: 19132 [2018-03-17 13:50:45] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:45] "aid": 1, [2018-03-17 13:50:45] "iid": 10, [2018-03-17 13:50:45] "ev": true [2018-03-17 13:50:45] } [2018-03-17 13:50:45] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:45] "aid": 1, [2018-03-17 13:50:45] "iid": 13, [2018-03-17 13:50:45] "ev": true [2018-03-17 13:50:45] } [2018-03-17 13:50:45] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:50:45] "aid": 1, [2018-03-17 13:50:45] "iid": 16, [2018-03-17 13:50:45] "ev": true [2018-03-17 13:50:45] } [2018-03-17 13:50:45] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:50:45] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:50:45] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:50:45] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: Free heap: 19272 [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:50:45] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:50:45] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:50:45] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:50:45] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:50:45] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:52:16] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:52:16] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:52:16] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:52:16] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:52:16] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:52:16] >>> homekit_server_on_update_characteristics: Free heap: 18984 [2018-03-17 13:52:16] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:52:16] "aid": 1, [2018-03-17 13:52:16] "iid": 10, [2018-03-17 13:52:16] "ev": false [2018-03-17 13:52:16] } [2018-03-17 13:52:16] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:52:16] "aid": 1, [2018-03-17 13:52:16] "iid": 13, [2018-03-17 13:52:16] "ev": false [2018-03-17 13:52:16] } [2018-03-17 13:52:16] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:52:16] "aid": 1, [2018-03-17 13:52:16] "iid": 16, [2018-03-17 13:52:16] "ev": false [2018-03-17 13:52:16] } [2018-03-17 13:52:16] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:52:17] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:52:17] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:52:17] >>> homekit_client_process: [Client 11] Got 257 incomming data [2018-03-17 13:52:17] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:52:17] >>> homekit_client_process: [Client 11] Decrypted 239 bytes, available 0 [2018-03-17 13:52:17] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 13:52:17] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:52:17] >>> homekit_server_on_update_characteristics: Free heap: 19060 [2018-03-17 13:52:17] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:52:17] "aid": 1, [2018-03-17 13:52:17] "iid": 10, [2018-03-17 13:52:17] "ev": true [2018-03-17 13:52:17] } [2018-03-17 13:52:17] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:52:17] "aid": 1, [2018-03-17 13:52:17] "iid": 13, [2018-03-17 13:52:17] "ev": true [2018-03-17 13:52:17] } [2018-03-17 13:52:17] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:52:17] "aid": 1, [2018-03-17 13:52:17] "iid": 16, [2018-03-17 13:52:17] "ev": true [2018-03-17 13:52:17] } [2018-03-17 13:52:17] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:52:17] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:52:17] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:52:18] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:52:18] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:52:18] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:52:18] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:52:18] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: Free heap: 19072 [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:52:18] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:52:18] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:52:19] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:52:19] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:52:19] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:52:28] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:52:28] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:52:28] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:52:28] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:52:28] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: Free heap: 19152 [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:52:28] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:52:28] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:52:28] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:52:28] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:52:28] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:52:37] >>> homekit_client_process: [Client 11] Got 110 incomming data [2018-03-17 13:52:37] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:52:37] >>> homekit_client_process: [Client 11] Decrypted 92 bytes, available 0 [2018-03-17 13:52:37] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 13:52:37] >>> HomeKit: [Client 11] Get Characteristics [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: Free heap: 19104 [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Query paramter id = 1.10,1.16,1.13 [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:52:37] >>> client_send: [Client 11] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.10 [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.16 [2018-03-17 13:52:37] >>> homekit_server_on_get_characteristics: [Client 11] Requested characteristic info for 1.13 [2018-03-17 13:52:37] >>> client_send: [Client 11] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 13:52:37] >>> client_send: [Client 11] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 13:52:37] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 13:54:45] >>> homekit_client_process: [Client 11] Got 260 incomming data [2018-03-17 13:54:45] >>> homekit_client_process: [Client 11] Decrypting data [2018-03-17 13:54:45] >>> homekit_client_process: [Client 11] Decrypted 242 bytes, available 0 [2018-03-17 13:54:45] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 13:54:45] >>> HomeKit: [Client 11] Update Characteristics [2018-03-17 13:54:45] >>> homekit_server_on_update_characteristics: Free heap: 18712 [2018-03-17 13:54:45] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:54:45] "aid": 1, [2018-03-17 13:54:45] "iid": 10, [2018-03-17 13:54:45] "ev": false [2018-03-17 13:54:45] } [2018-03-17 13:54:45] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:54:45] "aid": 1, [2018-03-17 13:54:45] "iid": 13, [2018-03-17 13:54:45] "ev": false [2018-03-17 13:54:45] } [2018-03-17 13:54:45] >>> homekit_server_on_update_characteristics: [Client 11] Processing element { [2018-03-17 13:54:45] "aid": 1, [2018-03-17 13:54:45] "iid": 16, [2018-03-17 13:54:45] "ev": false [2018-03-17 13:54:45] } [2018-03-17 13:54:45] >>> homekit_server_on_update_characteristics: [Client 11] There were no processing errors, sending No Content response [2018-03-17 13:54:45] >>> client_send: [Client 11] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 13:54:45] >>> homekit_client_process: [Client 11] Finished processing [2018-03-17 14:19:02] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 14:19:03] >>> HomeKit: Got new client connection: 9 [2018-03-17 14:19:03] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 14:19:03] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 14:19:03] >>> homekit_server_on_pair_verify: Free heap: 19320 [2018-03-17 14:19:03] >>> tlv_debug: Got following TLV values: [2018-03-17 14:19:03] >>> tlv_debug: Type 3 value (32 bytes): \xCER\xBD\xDD\x88U~\xDFa2\xD5H\xD4\xB9\x19c\xD7b"1c\xD1\x1A\xB5\xA9\xA1\xE1 \xD6\xEDY\x0B [2018-03-17 14:19:03] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 14:19:03] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 14:19:03] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 14:19:03] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 14:19:04] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 14:19:04] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 14:19:05] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 14:19:07] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 14:19:07] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 14:19:07] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 14:19:07] >>> tlv_debug: Got following TLV values: [2018-03-17 14:19:07] >>> tlv_debug: Type 5 value (101 bytes): \x0B\xA1?n\xDEuX\xBF\x04\x18Ms\xCC\xA2\xB9\xAE.\x06\x18|)I\xF1\xB0w0\x01\xA2r\xEF\x9A}Aq?\xC6g_V\xA2\xF9\xBD\xA2\xB7\x13\xBBj]\xC77\x03\x17\xFAT\xC64%\x17\xBA\xEF\xDB4SP$\xCEo\x89}JJ\xC4\x05\x06\x9D)\xB6\xD4\xE6\x0E\x15g\x05\xCD7qT\x19\x05\xA9R\xA2g*\x14\xCE\x06.\x03\x1E [2018-03-17 14:19:07] >>> tlv_debug: Type 3 value (32 bytes): U[\xCB\xE7\xE1}B\xD7N\xF0\x04\xBF19\xF7\xD6<\x0Ah",:%\x03\xD8\x08i\x05\xE3\xCE\x08\x14 [2018-03-17 14:19:07] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 14:19:07] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x0B\xA1?n\xDEuX\xBF\x04\x18Ms\xCC\xA2\xB9\xAE.\x06\x18|)I\xF1\xB0w0\x01\xA2r\xEF\x9A}Aq?\xC6g_V\xA2\xF9\xBD\xA2\xB7\x13\xBBj]\xC77\x03\x17\xFAT\xC64%\x17\xBA\xEF\xDB4SP$\xCEo\x89}JJ\xC4\x05\x06\x9D)\xB6\xD4\xE6\x0E\x15g\x05\xCD7qT\x19\x05\xA9R\xA2g*\x14\xCE\x06.\x03\x1E\x03 U[\xCB\xE7\xE1}B\xD7N\xF0\x04\xBF19\xF7\xD6<\x0Ah",:%\x03\xD8\x08i\x05\xE3\xCE\x08\x14\x06\x01\x02 [2018-03-17 14:19:07] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 14:19:08] !!! HomeKit: [Client 9] Error reading data from socket (code 104). Disconnecting [2018-03-17 14:19:08] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 14:19:11] >>> HomeKit: Got new client connection: 9 [2018-03-17 14:19:11] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 14:19:11] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 14:19:11] >>> homekit_server_on_pair_verify: Free heap: 19320 [2018-03-17 14:19:11] >>> tlv_debug: Got following TLV values: [2018-03-17 14:19:11] >>> tlv_debug: Type 3 value (32 bytes): \x98Z\x17\x95\xF1\xCFI\xA02;-\x9F\xFB!:\xE0\x05'\xE7I\\\x08\xA4\xCF\xEF\xB9G\xD8P6|\x15 [2018-03-17 14:19:11] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 14:19:11] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 14:19:11] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 14:19:11] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 14:19:12] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 14:19:12] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 14:19:13] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 14:19:15] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 14:19:15] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 14:19:15] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 14:19:15] >>> tlv_debug: Got following TLV values: [2018-03-17 14:19:15] >>> tlv_debug: Type 5 value (101 bytes): X1\xA4\x98*\x0EKx\xD7\xC1'\x13\xF9\xDC\xBF\x8As\xDB\xFAA\xB9\xB8\x81\x98K[ddhK\x90\xB6\x05\x15 \x89\xAD\x0D\xD6.p\xDA\xB9\xC0\xBF\xDB\xC28\xF5\x9F\x04\xAA\xFA\x96\x94c\xF2m\x95\xF1\x91\xA6\xD2\xBB\xA8\xFB\xFA\x99\x84\xA9\xD9\xBDZ\xC2\xD9YV\x0C\xC3\xDA\x06\xF9\xC9\x8A;\xFFq\x9Ed\xF6{\x1F\xF1\x89"\xCAM\x88\xC6P\xEC [2018-03-17 14:19:15] >>> tlv_debug: Type 3 value (32 bytes): et\xA7\x81\xF1-Fy\xE0g\xAE\x18\xC7\xAD\xDE\xB4\xAC\xE7\x9E\x99<\xCFO\xB8{\xDF\xF5C\xC0Z0C [2018-03-17 14:19:15] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 14:19:15] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eX1\xA4\x98*\x0EKx\xD7\xC1'\x13\xF9\xDC\xBF\x8As\xDB\xFAA\xB9\xB8\x81\x98K[ddhK\x90\xB6\x05\x15 \x89\xAD\x0D\xD6.p\xDA\xB9\xC0\xBF\xDB\xC28\xF5\x9F\x04\xAA\xFA\x96\x94c\xF2m\x95\xF1\x91\xA6\xD2\xBB\xA8\xFB\xFA\x99\x84\xA9\xD9\xBDZ\xC2\xD9YV\x0C\xC3\xDA\x06\xF9\xC9\x8A;\xFFq\x9Ed\xF6{\x1F\xF1\x89"\xCAM\x88\xC6P\xEC\x03 et\xA7\x81\xF1-Fy\xE0g\xAE\x18\xC7\xAD\xDE\xB4\xAC\xE7\x9E\x99<\xCFO\xB8{\xDF\xF5C\xC0Z0C\x06\x01\x02 [2018-03-17 14:19:15] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 14:19:16] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 14:19:16] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 14:19:16] >>> homekit_server_on_pair_verify: Free heap: 19028 [2018-03-17 14:19:16] >>> tlv_debug: Got following TLV values: [2018-03-17 14:19:16] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 14:19:16] >>> tlv_debug: Type 5 value (120 bytes): \xF5\xDE\xB9\xBEO\xA0\x9F\xE3r\xDDYD\x97\x14l\xE89w\xE1\xBB\xF6\x8E\xA7Y\x01\x82\xEF\x1A\x07\xDA\xD0}\xFCe\xBFI;q\xC3\x88\xDA\x93\xC5\xBEP\xA1Z\x14\x1F;\xBA\xB1^\x90\xDE\xC0\xA8\x98F_\xC8\x8C\x96eh\xB3\xB7\x87\xB9B\xE0\x8B\xFEV\xB7\xF6\xA5o\xFD\xCC\x8D\xBE&'@*=\x94\x1A\xE2\xD5\xE6 W[\xAC\xA2\xDFW\xEB\x96\x12S\x94&"}\x96\xC7\xFE\xE02hg\x10\xAC/\x12\xCB [2018-03-17 14:19:16] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 14:19:16] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 14:19:16] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 14:19:16] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 14:19:16] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 14:19:19] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 14:19:19] >>> tlv_debug: Got following TLV values: [2018-03-17 14:19:19] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 14:19:19] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 14:19:19] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 14:19:19] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 14:19:19] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 14:19:19] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 14:19:19] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 14:19:19] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 14:19:19] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 14:19:19] >>> homekit_server_on_get_accessories: Free heap: 19200 [2018-03-17 14:19:19] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 14:19:19] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 14:19:19] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 14:19:19] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 14:19:19] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 15:01:18] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 15:01:21] >>> HomeKit: Got new client connection: 9 [2018-03-17 15:01:21] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 15:01:21] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:01:21] >>> homekit_server_on_pair_verify: Free heap: 19320 [2018-03-17 15:01:21] >>> tlv_debug: Got following TLV values: [2018-03-17 15:01:21] >>> tlv_debug: Type 3 value (32 bytes): \xF65x\x80\xED\xBD0k\xC5\xFB\xA9\xC19\xD7\xD2R\x06\xE9\x04y\xE8^\x88<\x13\xABp\xE4\xF8\x9D\x11 [2018-03-17 15:01:21] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 15:01:21] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 15:01:21] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 15:01:21] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 15:01:22] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 15:01:22] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 15:01:23] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 15:01:25] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 15:01:25] >>> tlv_debug: Got following TLV values: [2018-03-17 15:01:25] >>> tlv_debug: Type 5 value (101 bytes): \x85'\xA8\xD6\x14J\xB5sh\xAA\xBF\xAE\xFF\xEE\xCC\x19w\xE1@\xA3\x8CG\xA6C\x11\xB9\xEE\x8B$\xFB\xB1 \xF2\xBF\x06\xB9V\xC1\x8F\x1F\xC6\x8A7\x8E\x9DY\x98\xB1\xEB \xAAW\xBF\xC6\x8EN\x83\x8B&\x8E,\x11\xA6\xEE\xCD\xBB\x92\xD4\x08\x9D\x1Fn\xC5\x9B1\xE4f\xF4\xAA\x81\x9CL*K)\xC9\x984\x8F|\x1A\x95\xAAZb\xD5+y\x93\xD3\xAC [2018-03-17 15:01:25] >>> tlv_debug: Type 3 value (32 bytes): PR\x07\x9E~\xA0\x85\xE2\x82\xCF\x94X\xF2\xBA\xDDnb\xB7&\xB1c\xFD\xFA\xA0r\x84\x19\xDC\xD6\x14\x9Fi [2018-03-17 15:01:25] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 15:01:25] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x85'\xA8\xD6\x14J\xB5sh\xAA\xBF\xAE\xFF\xEE\xCC\x19w\xE1@\xA3\x8CG\xA6C\x11\xB9\xEE\x8B$\xFB\xB1 \xF2\xBF\x06\xB9V\xC1\x8F\x1F\xC6\x8A7\x8E\x9DY\x98\xB1\xEB \xAAW\xBF\xC6\x8EN\x83\x8B&\x8E,\x11\xA6\xEE\xCD\xBB\x92\xD4\x08\x9D\x1Fn\xC5\x9B1\xE4f\xF4\xAA\x81\x9CL*K)\xC9\x984\x8F|\x1A\x95\xAAZb\xD5+y\x93\xD3\xAC\x03 PR\x07\x9E~\xA0\x85\xE2\x82\xCF\x94X\xF2\xBA\xDDnb\xB7&\xB1c\xFD\xFA\xA0r\x84\x19\xDC\xD6\x14\x9Fi\x06\x01\x02 [2018-03-17 15:01:25] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 15:01:25] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: Free heap: 19028 [2018-03-17 15:01:25] >>> tlv_debug: Got following TLV values: [2018-03-17 15:01:25] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 15:01:25] >>> tlv_debug: Type 5 value (120 bytes): \xB5\xD5\xEEU\xF8\x8C\xA8tN\xB2\xF7\x07j\xDCd^h\xB7z\xCD\xC7\xE8:\xA5\x1C\xAA\x14\xFE\xB7\x04\xD8^\x12\x11\xDE\xE9H\x0FSf;\x1C\x89\xE8\xBET\x00Hq\xC1n\xA7M\x08]\x8D\xC2\xAC;Z\xE5\x95z\xBA\xCF\x08\xF6\x06\xA9\xCBs\xDC\x00\x02c\xF2g\xB8\xB8\xF8\x1E\xA5}\x17R\x1Ct\xC1x\x9A2\xE3\x1C\x00\xA4\x07\x9D4\xA9\x9B\x83\x11\xC6<\xAE\x85_\xA1\x86e\x18\xD5\x00\xCA\x90\xCC\xBB\x01\xED\xF5 [2018-03-17 15:01:25] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:01:25] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:01:25] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 15:01:28] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 15:01:28] >>> tlv_debug: Got following TLV values: [2018-03-17 15:01:28] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 15:01:28] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 15:01:28] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 15:01:28] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 15:01:28] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 15:02:06] >>> HomeKit: Got new client connection: 9 [2018-03-17 15:02:07] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 15:02:07] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:02:07] >>> homekit_server_on_pair_verify: Free heap: 19320 [2018-03-17 15:02:07] >>> tlv_debug: Got following TLV values: [2018-03-17 15:02:07] >>> tlv_debug: Type 3 value (32 bytes): \x01\xDA\xD0\xB0t\x97%AE\xC0\x90\xC3q}X{.\xC3"5\x1E\xC4$6\x80\x91\xEF\xD6\xFF-g1 [2018-03-17 15:02:07] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 15:02:07] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 15:02:07] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 15:02:07] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 15:02:08] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 15:02:08] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 15:02:09] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 15:02:11] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 15:02:11] >>> tlv_debug: Got following TLV values: [2018-03-17 15:02:11] >>> tlv_debug: Type 5 value (101 bytes): S\x0E\xA4\xA5\xC2\xC9\xDAx\\\x1B\xA8\xC7\xDD\xCC\x14\xCB\xF1C\xE8\xBA\x88)\x85\xE8\x84?/\xE3Fdm\xB6\xFD'\xB7S74\xCC\x91\xAF\xA2My\xD8\xE2\x06\xF4\xC5\xD53\xCC\x1BE\xD7m\xBE\xA9\x0FK\x83\x1D\xAC\xA82\xC8-6c/)m\x93\xAE\xF1\xED\x95Wi\xE9\xB1\xA6\xBA\x9F\xF0[G\xF7\x9Cq\x82\xAAF\xC7\x80\x984\x8FG[ [2018-03-17 15:02:11] >>> tlv_debug: Type 3 value (32 bytes): \x9C\x9F\x83\x815\x844p\xBA\xFD7\x1DUs\xA5\xA762\xB5\xE6R}\x0B!$h5j!\xDDH [2018-03-17 15:02:11] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 15:02:11] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eS\x0E\xA4\xA5\xC2\xC9\xDAx\\\x1B\xA8\xC7\xDD\xCC\x14\xCB\xF1C\xE8\xBA\x88)\x85\xE8\x84?/\xE3Fdm\xB6\xFD'\xB7S74\xCC\x91\xAF\xA2My\xD8\xE2\x06\xF4\xC5\xD53\xCC\x1BE\xD7m\xBE\xA9\x0FK\x83\x1D\xAC\xA82\xC8-6c/)m\x93\xAE\xF1\xED\x95Wi\xE9\xB1\xA6\xBA\x9F\xF0[G\xF7\x9Cq\x82\xAAF\xC7\x80\x984\x8FG[\x03 \x9C\x9F\x83\x815\x844p\xBA\xFD7\x1DUs\xA5\xA762\xB5\xE6R}\x0B!$h5j!\xDDH\x06\x01\x02 [2018-03-17 15:02:11] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 15:02:11] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: Free heap: 19028 [2018-03-17 15:02:11] >>> tlv_debug: Got following TLV values: [2018-03-17 15:02:11] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 15:02:11] >>> tlv_debug: Type 5 value (120 bytes): \xDA\xE0\xF6{'I\xBE\xEF\x82\xC2\x107\xC0\x96\xA4\xC6)W\xD6:\xB6 \xDB\xAE\xA1\xF6\xA5\xA68e\xDDr\x15(\xBFi\x9C\x09qd\xEE]\xF1w\xBE\x84M\xBF\x15\xE4\x15T7u\xD7dD\xFCE\x9F\xD9\x91\x1D\xB7\x83\xCC\x94\xD1K\x1D\xE6+>\xCB&\x19i\xFD'g\x00\x017\xCD-<:\x0B=s\x90\xB1\xA4\x93J\xCB\xD1\xED\xA6b\xC4\x10x\xB0M\xAAV>\x09\xC3r\xD0\x85\xC4\x80\xE5\xBD\xBD2\x9A [2018-03-17 15:02:11] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:02:11] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:02:11] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 15:02:14] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 15:02:14] >>> tlv_debug: Got following TLV values: [2018-03-17 15:02:14] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 15:02:14] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 15:02:14] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 15:02:14] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 15:02:14] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 15:02:14] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 15:02:14] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 15:02:14] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 15:02:14] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 15:02:14] >>> homekit_server_on_get_accessories: Free heap: 19200 [2018-03-17 15:02:14] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 15:02:14] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 15:02:14] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 15:02:14] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 15:02:14] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 15:07:13] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 15:07:16] >>> HomeKit: Got new client connection: 7 [2018-03-17 15:07:16] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 15:07:16] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:07:16] >>> homekit_server_on_pair_verify: Free heap: 19324 [2018-03-17 15:07:16] >>> tlv_debug: Got following TLV values: [2018-03-17 15:07:16] >>> tlv_debug: Type 3 value (32 bytes): P\xF9\xFF>\xFDy8F5\x04\x8B\xC1\xA6\xCC\xE0\x95d"<\xB1\x8E\x12\x1C\xD1\x1B3\xDFw[]v4 [2018-03-17 15:07:16] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 15:07:16] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 15:07:16] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 15:07:16] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 15:07:17] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 15:07:17] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 15:07:18] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 15:07:20] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 15:07:20] >>> tlv_debug: Got following TLV values: [2018-03-17 15:07:20] >>> tlv_debug: Type 5 value (101 bytes): l\xD4b\xFF\x91s\x01,I\xCE\xCF:\x8Bq\x02\xB0\x0B\xC5\x0C\x83^\x1E8\xA0\xDF\x0D\xF1\xC3\xE9\x9A6\x1C\xFDS%\x11L\xA6\xC8m\x88D\x9F\x10f\x03\x04\xE9\x9F\x93\x1C\xFC.\x8C\xAB9\x9F\x04\xA9 D1\xE4S\x93x\xFD\xFC{\x07\x90i\xB1\xB8\xD5-^6\xBEjI\x8C\xD5L\xE9}\x11\xDE\xD7\xD4J\xA0\x8F\xE4\xB1\x96\xDAK)\xF9\x86 [2018-03-17 15:07:20] >>> tlv_debug: Type 3 value (32 bytes): \x84\x1B\xCBp\xA9\x87\xAD\xEC\xD5\xB7\xBA\xC4j\xC9Er*\xB6!\xF5\x8Ef.Y\x16m*6\xAC\xE0V" [2018-03-17 15:07:20] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 15:07:20] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05el\xD4b\xFF\x91s\x01,I\xCE\xCF:\x8Bq\x02\xB0\x0B\xC5\x0C\x83^\x1E8\xA0\xDF\x0D\xF1\xC3\xE9\x9A6\x1C\xFDS%\x11L\xA6\xC8m\x88D\x9F\x10f\x03\x04\xE9\x9F\x93\x1C\xFC.\x8C\xAB9\x9F\x04\xA9 D1\xE4S\x93x\xFD\xFC{\x07\x90i\xB1\xB8\xD5-^6\xBEjI\x8C\xD5L\xE9}\x11\xDE\xD7\xD4J\xA0\x8F\xE4\xB1\x96\xDAK)\xF9\x86\x03 \x84\x1B\xCBp\xA9\x87\xAD\xEC\xD5\xB7\xBA\xC4j\xC9Er*\xB6!\xF5\x8Ef.Y\x16m*6\xAC\xE0V"\x06\x01\x02 [2018-03-17 15:07:20] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 15:07:20] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: Free heap: 19028 [2018-03-17 15:07:20] >>> tlv_debug: Got following TLV values: [2018-03-17 15:07:20] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 15:07:20] >>> tlv_debug: Type 5 value (120 bytes): N\xE9~H\x04\xFB\xAE\xA6\xDE\xC6\x94\x8F1\x80\xFE\xD9x\xD3\x9BC\xED\x00\xC0\x8B\xB8T\xC4\xC1\x83cq\xB2\x84!{{2\xD4\xD8\xE7M\x80\x9F{\xC3\x08\xB6`\xA7\xEB\xB6g\xC2\x07\xF4[n\x9C\x1FN\xBC&X5\xAE\x1Dym&3*\xFFp\xE2\xFB\xB5\x09\xEC\xDC\x0A\xB5\xCF%\x8A\x82S-'b\x1D\x08\xFB\xEB\x8A\x0DY\x18\x19<\xA8\x01\xE3\xCEF\xC7\xFD\x96\x8C\xCF\x1C\xC5\xC0\xBD\x90\x10\x05/7\xF5\x98 [2018-03-17 15:07:20] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:07:20] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:07:20] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 15:07:23] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 15:07:23] >>> tlv_debug: Got following TLV values: [2018-03-17 15:07:23] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 15:07:23] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 15:07:23] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 15:07:23] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 15:07:23] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 15:07:23] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 15:07:23] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 15:07:23] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 15:07:23] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 15:07:23] >>> homekit_server_on_get_accessories: Free heap: 18940 [2018-03-17 15:07:23] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 15:07:23] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 15:07:23] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 15:07:23] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 15:07:23] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 15:14:07] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 15:14:08] >>> HomeKit: Got new client connection: 8 [2018-03-17 15:14:08] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 15:14:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:14:08] >>> homekit_server_on_pair_verify: Free heap: 19316 [2018-03-17 15:14:08] >>> tlv_debug: Got following TLV values: [2018-03-17 15:14:08] >>> tlv_debug: Type 3 value (32 bytes): 7<\xDA\xE4P{hX\x8B]2amE\x02\x065\xC8\x09\xAC\x99'\xB3pD$\xDA\xEB\x0F\xEFC\x1D [2018-03-17 15:14:08] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 15:14:08] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 15:14:08] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 15:14:08] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 15:14:10] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 15:14:10] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 15:14:11] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 15:14:12] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 15:14:12] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 15:14:12] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 15:14:12] >>> tlv_debug: Got following TLV values: [2018-03-17 15:14:12] >>> tlv_debug: Type 5 value (101 bytes): \x0E\xAA\xFDO\xF7)!\x96\xE6!\xEB\x98\x96\x9C\xAB\xB7\x0E\xBD\xC6\x19\xF0\xBA'f\xE4\xB4p\xC3\xAE\xCB\xF1\x03\x1C\x07\x0An\x93r\xFD\x1F\xB2\xED\xD5\xB9\x1D\x0B+\xC0W\x86V}.\x87\xE7\xB7\x05\x018\xB41\xFF\xD7C\xDE\x8A\x1BC\xF0E\xE2\x88\x0E\xFDnv\x8C\xDF\xCE\xBA\x83L\x04\x1F\x9D;\xCF\xF6\xACa\xA01\xA0\x93\xD1\x95\xA0#>> tlv_debug: Type 3 value (32 bytes): \xE3\xE0/]\xDD\x80]\xC4&{[\x1D$\xDFA\xFF\xCC%Q\xC5m\xE8\xF1U\xFF\xBF\xF6\x9E\x8B\x12of [2018-03-17 15:14:13] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 15:14:13] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x0E\xAA\xFDO\xF7)!\x96\xE6!\xEB\x98\x96\x9C\xAB\xB7\x0E\xBD\xC6\x19\xF0\xBA'f\xE4\xB4p\xC3\xAE\xCB\xF1\x03\x1C\x07\x0An\x93r\xFD\x1F\xB2\xED\xD5\xB9\x1D\x0B+\xC0W\x86V}.\x87\xE7\xB7\x05\x018\xB41\xFF\xD7C\xDE\x8A\x1BC\xF0E\xE2\x88\x0E\xFDnv\x8C\xDF\xCE\xBA\x83L\x04\x1F\x9D;\xCF\xF6\xACa\xA01\xA0\x93\xD1\x95\xA0#>> homekit_client_process: [Client 8] Finished processing [2018-03-17 15:14:13] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 15:14:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:14:13] >>> homekit_server_on_pair_verify: Free heap: 19020 [2018-03-17 15:14:13] >>> tlv_debug: Got following TLV values: [2018-03-17 15:14:13] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 15:14:13] >>> tlv_debug: Type 5 value (120 bytes): \x90+\xEF\xE8\xD67\xDA\x1D\x87Kp\x86\x97\xBB\x1F\xE2\xD7m\xFB\xC9(\xC45\xFBr\xEA\xA2\xB8\x8A8\x06\\\xB3\xC1\xE0z\xE2\x17[9\xBC\xEA\xBF=\xCC>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 15:14:13] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 15:14:13] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 15:14:13] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 15:14:13] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 15:14:16] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 15:14:16] >>> tlv_debug: Got following TLV values: [2018-03-17 15:14:16] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 15:14:16] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 15:14:16] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 15:14:16] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 15:14:16] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 15:14:16] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 15:14:16] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 15:14:16] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 15:14:16] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 15:14:16] >>> homekit_server_on_get_accessories: Free heap: 19204 [2018-03-17 15:14:16] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 15:14:16] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 15:14:16] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 15:14:16] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 15:14:16] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 15:20:41] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 15:20:41] >>> HomeKit: Got new client connection: 7 [2018-03-17 15:20:41] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 15:20:41] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:20:41] >>> homekit_server_on_pair_verify: Free heap: 19300 [2018-03-17 15:20:41] >>> tlv_debug: Got following TLV values: [2018-03-17 15:20:41] >>> tlv_debug: Type 3 value (32 bytes): \x17\xA0\xA9J\x0BD\xECZe\xD5\xE2\x9B\x01\xA6\xAD\x95\xBC\xBE1$\x0D\xE4\xCBC\x1ATm\xB7\x00~\xE8u [2018-03-17 15:20:41] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 15:20:41] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 15:20:41] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 15:20:41] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 15:20:42] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 15:20:42] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 15:20:44] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 15:20:45] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 15:20:45] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 15:20:45] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 15:20:45] >>> tlv_debug: Got following TLV values: [2018-03-17 15:20:45] >>> tlv_debug: Type 5 value (101 bytes): \xE1\x9B\xEF\x1EP\x95\x9B\xAC\xE6U\xED\xD1\xA2\xB0(]R\x87>\xA7\xFE\xEAv\xC2\x9Ax\x1BD\x06(\xEE\xB3%\x18\xF4>f\xAD\xFC\x80\x86\\\x9C\xB8$R\xAFV\x19+1\xE8\xF7X\x80\xF4Pp\xBA\xFAh\xBCaao/\xCBL\xF0\x87\x1Eg\xEC\x89\xEA\xAEC6\x9D+&\xE4\x1E\xFF\xA8\x83\xF3!\xCF>##\x03\xF6\xB3h\xD6\xE6\xA9\x87+ [2018-03-17 15:20:45] >>> tlv_debug: Type 3 value (32 bytes): \xF7}\x87\x01\x1A\x16\x1D>E\xD7\x0E\xECv/?a$\xB1\x0E\xFD;\xDCy8$\x9C(\xD1\x85\x87eX [2018-03-17 15:20:45] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 15:20:45] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE1\x9B\xEF\x1EP\x95\x9B\xAC\xE6U\xED\xD1\xA2\xB0(]R\x87>\xA7\xFE\xEAv\xC2\x9Ax\x1BD\x06(\xEE\xB3%\x18\xF4>f\xAD\xFC\x80\x86\\\x9C\xB8$R\xAFV\x19+1\xE8\xF7X\x80\xF4Pp\xBA\xFAh\xBCaao/\xCBL\xF0\x87\x1Eg\xEC\x89\xEA\xAEC6\x9D+&\xE4\x1E\xFF\xA8\x83\xF3!\xCF>##\x03\xF6\xB3h\xD6\xE6\xA9\x87+\x03 \xF7}\x87\x01\x1A\x16\x1D>E\xD7\x0E\xECv/?a$\xB1\x0E\xFD;\xDCy8$\x9C(\xD1\x85\x87eX\x06\x01\x02 [2018-03-17 15:20:45] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 15:20:47] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 15:20:47] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:20:47] >>> homekit_server_on_pair_verify: Free heap: 19012 [2018-03-17 15:20:47] >>> tlv_debug: Got following TLV values: [2018-03-17 15:20:47] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 15:20:47] >>> tlv_debug: Type 5 value (120 bytes): ~\xAEQ\xCD8\x99\x0Am\x1Co\x85\xCCT\x8E\xE7\xDE\\\x97>\xE5\xEA\x0B\xA1\xAB*&Z\x02B{\xFD\xE4\x93\x89U\x8DK\xF2.\xFA\x82\xF7g\x022\xA9\xEE\xFB\xAC\xFF\x9A\x9DaYv\xB6m\xB9`\xF4\xEA\xEF\x18\xF1\x8E\x07\x9BZ\xE1\x88\xFF\xBE\xBA UdD\x03\xD0E\x9D\xCE&\x02h\x03\xC7M\xE9V\xAD\xE7\x14\x99\xFCN\xF70\xC3=b\xDF\xF6\x0E\x0B\x93\x9E71r\x0F.\xA6\x9F\xD9\xF2\x93~g\xD3 [2018-03-17 15:20:47] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 15:20:47] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 15:20:47] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:20:47] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 15:20:47] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 15:20:50] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 15:20:50] >>> tlv_debug: Got following TLV values: [2018-03-17 15:20:50] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 15:20:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 15:20:50] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 15:20:50] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 15:20:50] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 15:20:50] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 15:20:50] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 15:20:50] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 15:20:50] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 15:20:50] >>> homekit_server_on_get_accessories: Free heap: 19188 [2018-03-17 15:20:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 15:20:50] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 15:20:50] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 15:20:50] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 15:20:50] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 15:44:11] >>> HomeKit: [Client 8] Closing client connection [2018-03-17 15:44:13] >>> HomeKit: Got new client connection: 8 [2018-03-17 15:44:13] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-17 15:44:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:44:13] >>> homekit_server_on_pair_verify: Free heap: 19300 [2018-03-17 15:44:13] >>> tlv_debug: Got following TLV values: [2018-03-17 15:44:13] >>> tlv_debug: Type 3 value (32 bytes): \x12j\xDF\x0A\x16\xFB\x8A\xE5\x81\xDCCu}\xEBOO\x8D\xE0\xCD?a\x93\x1C\xC2\xEDb"\xE9brA\x01 [2018-03-17 15:44:13] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 15:44:13] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-17 15:44:13] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-17 15:44:13] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-17 15:44:14] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-17 15:44:14] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-17 15:44:16] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-17 15:44:17] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-17 15:44:17] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-17 15:44:17] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 15:44:17] >>> tlv_debug: Got following TLV values: [2018-03-17 15:44:17] >>> tlv_debug: Type 5 value (101 bytes): oi\xF1l\xB6\xE84\xFCD{\xD18\x8FP\x80\xD69Q\xD3\x16\x9C^+^\x84eE\x8E,\xE7\x84\xA3J\xF8 85\x0B\x88\xD9\xD405\xE0\x94\xA5\xDE\x12TD8\xDC5v\xBE\x9D>\xBEY\x1B'D\xD1\xA6\xA4\xE9\xD9\xB7\xD3\x16\xCC\xC1\x97\x99\x8E\x18f\x09])T\x9A\xC4Q\xB7$y\xA1\x0B\xEA\xB5\xDE\xE1Q8=*[\xD3\xDF\x8E [2018-03-17 15:44:17] >>> tlv_debug: Type 3 value (32 bytes): &\xAF\x90z\xF7v?\xD4\x92\x0FPj\xA8.\x15&\x9D\xCC\xCC'\x8Bw\xCE\x07\xA1\x87\x14\xFCF\xF3\xC3\x1B [2018-03-17 15:44:17] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 15:44:17] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eoi\xF1l\xB6\xE84\xFCD{\xD18\x8FP\x80\xD69Q\xD3\x16\x9C^+^\x84eE\x8E,\xE7\x84\xA3J\xF8 85\x0B\x88\xD9\xD405\xE0\x94\xA5\xDE\x12TD8\xDC5v\xBE\x9D>\xBEY\x1B'D\xD1\xA6\xA4\xE9\xD9\xB7\xD3\x16\xCC\xC1\x97\x99\x8E\x18f\x09])T\x9A\xC4Q\xB7$y\xA1\x0B\xEA\xB5\xDE\xE1Q8=*[\xD3\xDF\x8E\x03 &\xAF\x90z\xF7v?\xD4\x92\x0FPj\xA8.\x15&\x9D\xCC\xCC'\x8Bw\xCE\x07\xA1\x87\x14\xFCF\xF3\xC3\x1B\x06\x01\x02 [2018-03-17 15:44:17] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 15:44:18] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-17 15:44:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 15:44:18] >>> homekit_server_on_pair_verify: Free heap: 19016 [2018-03-17 15:44:18] >>> tlv_debug: Got following TLV values: [2018-03-17 15:44:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 15:44:18] >>> tlv_debug: Type 5 value (120 bytes): \xC2_OQl\xC6C/c\x9A\xAD9\x82\xA1\xC8Kx\xE3\xF8N\xC0?XR\x04\x95\x19\x17\xA7\x15\x09\xB7\xA9\x88\xEDD\xD2\x13\xB2Q\xECuY\xC7\xFF<\x03-\x8A9(l\xC6\xE1\xD8\x1B\xBAyfo\x05\xAF\xD4\xFFd\x83$SV\xC8uSc \x072$\xC3\xDE\x9C\x84K\x09eG\xEB\x1E5\xE1D\xCAx\x96\xF2\xED\x95\x9A\x8B\xE1\x9DL\xE0\x82\x94J\x16\xFB\xEC\xC7\x15\xCC\xE2\x89\x01\xCBXk\x9B\x91 [2018-03-17 15:44:18] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-17 15:44:18] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-17 15:44:18] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 15:44:18] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 15:44:18] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-17 15:44:21] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-17 15:44:21] >>> tlv_debug: Got following TLV values: [2018-03-17 15:44:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 15:44:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 15:44:21] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-17 15:44:21] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 15:44:21] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-17 15:44:21] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-17 15:44:21] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-17 15:44:21] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 15:44:21] >>> HomeKit: [Client 8] Get Accessories [2018-03-17 15:44:21] >>> homekit_server_on_get_accessories: Free heap: 19192 [2018-03-17 15:44:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 15:44:21] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 15:44:21] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 15:44:21] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 15:44:21] >>> homekit_client_process: [Client 8] Finished processing [2018-03-17 16:38:05] >>> HomeKit: Got new client connection: 12 [2018-03-17 16:38:05] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-17 16:38:05] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 16:38:05] >>> homekit_server_on_pair_verify: Free heap: 17408 [2018-03-17 16:38:05] >>> tlv_debug: Got following TLV values: [2018-03-17 16:38:05] >>> tlv_debug: Type 3 value (32 bytes): \xAE.e\xC0\xFFr\xA3r\xF5\xC7\xCC)\xB0\xE0\xED3\xD0{\xFA\xC8\x16Ah\x1F\xB0a:Z3N\x89B [2018-03-17 16:38:05] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 16:38:05] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-17 16:38:05] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-17 16:38:05] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-17 16:38:07] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-17 16:38:07] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-17 16:38:08] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-17 16:38:09] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-17 16:38:09] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-17 16:38:09] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 16:38:09] >>> tlv_debug: Got following TLV values: [2018-03-17 16:38:09] >>> tlv_debug: Type 5 value (101 bytes): 5\xAF\xCC9\xB3\xA4\xE5\xB9\x91\xFB\xCE\xF8b@:$4\x14\xE2\x99s\xCEmG|\xF0\x1Bd\x96zs\xCF.,o\xEB\x96\x92\x85\xB7\xEF\xAC\x82\xBB\x14\x88E\x82>\xDB\x98\x9Ddx\x81&vly\x1C\xFA,A/\x96\x9F\x8D\xCD]\x1D4\xE7!\xB5\xEA{\xCBp\x07l\xD7a\xBC\x00\xAB\x1DC.\x05w\xB5\xD5\xF6\x0BTz&\xF1@\xA0\xFD [2018-03-17 16:38:09] >>> tlv_debug: Type 3 value (32 bytes): \xA4!\xA1\x17\x00u)>m6\x9D\x89\xF4\x02tzF)\xBD\x1Br\xA3s\x0AQg}&\x80\x02\xF1\x17 [2018-03-17 16:38:09] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 16:38:09] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e5\xAF\xCC9\xB3\xA4\xE5\xB9\x91\xFB\xCE\xF8b@:$4\x14\xE2\x99s\xCEmG|\xF0\x1Bd\x96zs\xCF.,o\xEB\x96\x92\x85\xB7\xEF\xAC\x82\xBB\x14\x88E\x82>\xDB\x98\x9Ddx\x81&vly\x1C\xFA,A/\x96\x9F\x8D\xCD]\x1D4\xE7!\xB5\xEA{\xCBp\x07l\xD7a\xBC\x00\xAB\x1DC.\x05w\xB5\xD5\xF6\x0BTz&\xF1@\xA0\xFD\x03 \xA4!\xA1\x17\x00u)>m6\x9D\x89\xF4\x02tzF)\xBD\x1Br\xA3s\x0AQg}&\x80\x02\xF1\x17\x06\x01\x02 [2018-03-17 16:38:10] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 16:38:10] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-17 16:38:10] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 16:38:10] >>> homekit_server_on_pair_verify: Free heap: 17112 [2018-03-17 16:38:10] >>> tlv_debug: Got following TLV values: [2018-03-17 16:38:10] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 16:38:10] >>> tlv_debug: Type 5 value (120 bytes): \xB3\xE9\x07`X\x8E\x15%\xD7\xAB\xD5\xCERm\xAD\xD5\xBD\x0B%\xDF\xEA#4&t\xDF=\x90\xCFm\xCBS#\x94\xE9\xA1k\x94\x97\xEDrhx\xE2aL\xFDEx\x85\xFB6V\xF9C\xFB%p\x80\x0DbO\x17P\x12YY\xD0\x04\xDA\x00\xE8E$\xD0G\x92\x18I\x10y\x9DWO0\x04\xBB\x04\xFD\xD2i\x94f\x0D\x80z\xB8\x1Cs`.\xF5\xFDD\x9F\xF2\xF8\x19\x03Q\xCE}\xC4!\xC2\xAE\x01k\xB5\xEF [2018-03-17 16:38:10] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-17 16:38:10] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-17 16:38:10] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 16:38:10] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 16:38:10] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-17 16:38:13] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 16:38:13] >>> tlv_debug: Got following TLV values: [2018-03-17 16:38:13] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 16:38:13] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 16:38:13] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-17 16:38:13] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 16:38:13] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-17 16:38:13] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 16:38:13] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-17 16:38:13] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 16:38:13] >>> HomeKit: [Client 12] Get Accessories [2018-03-17 16:38:13] >>> homekit_server_on_get_accessories: Free heap: 17296 [2018-03-17 16:38:13] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 16:38:13] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 16:38:13] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 16:38:13] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 16:38:13] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 16:40:10] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 16:40:16] >>> HomeKit: Got new client connection: 7 [2018-03-17 16:40:16] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 16:40:16] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 16:40:16] >>> homekit_server_on_pair_verify: Free heap: 17412 [2018-03-17 16:40:16] >>> tlv_debug: Got following TLV values: [2018-03-17 16:40:16] >>> tlv_debug: Type 3 value (32 bytes): \x9C\xE2\xBD\xA2\x12\x9C%\xD1\x85\xB2\x17mK\xE3y3*\xE9!?\xE5}\xCBo5s?0m@\xCC\x08 [2018-03-17 16:40:16] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 16:40:16] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 16:40:16] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 16:40:16] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 16:40:17] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 16:40:17] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 16:40:19] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 16:40:20] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 16:40:20] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 16:40:20] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 16:40:20] >>> tlv_debug: Got following TLV values: [2018-03-17 16:40:20] >>> tlv_debug: Type 5 value (101 bytes): F\x19\x97\xF1\xD8\xD0R4xxa\x01kA$\xEEX\x8DG\x14;\x0A\x08\xD0\xC6 u\xC6\x91Fu-\xDC\xA3g\xA2\xF0\x0E\x10\x1C]\xB3)\x0B&\xD8!\xAEn\xB6\x89\xFB\xFA\x09\x99\xEF\xF0*!\xCA-\xB5bu\xF8\xD2\xB1\xC9\xC7\xC7\xC5\xB5\x83-\x947\xC0+\x0A\xE1\xC3\xAC:\xB7V[\xDC\xD4\xCBQ-<[\xCB\xAEA>+\x00W\xCD [2018-03-17 16:40:20] >>> tlv_debug: Type 3 value (32 bytes): \x85\xB7$\xF9\x09\xDC\x09'\x8E\xDAJ$U\x0A\x1D\xC4\x06\x1A\x84\x8D\x97\x8A\x16\x05Bz\x00+\xD7\x9D\x97c [2018-03-17 16:40:20] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 16:40:20] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eF\x19\x97\xF1\xD8\xD0R4xxa\x01kA$\xEEX\x8DG\x14;\x0A\x08\xD0\xC6 u\xC6\x91Fu-\xDC\xA3g\xA2\xF0\x0E\x10\x1C]\xB3)\x0B&\xD8!\xAEn\xB6\x89\xFB\xFA\x09\x99\xEF\xF0*!\xCA-\xB5bu\xF8\xD2\xB1\xC9\xC7\xC7\xC5\xB5\x83-\x947\xC0+\x0A\xE1\xC3\xAC:\xB7V[\xDC\xD4\xCBQ-<[\xCB\xAEA>+\x00W\xCD\x03 \x85\xB7$\xF9\x09\xDC\x09'\x8E\xDAJ$U\x0A\x1D\xC4\x06\x1A\x84\x8D\x97\x8A\x16\x05Bz\x00+\xD7\x9D\x97c\x06\x01\x02 [2018-03-17 16:40:20] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 16:40:22] !!! HomeKit: [Client 7] Error reading data from socket (code 104). Disconnecting [2018-03-17 16:40:22] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 16:40:24] >>> HomeKit: Got new client connection: 7 [2018-03-17 16:40:24] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 16:40:24] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 16:40:24] >>> homekit_server_on_pair_verify: Free heap: 17408 [2018-03-17 16:40:24] >>> tlv_debug: Got following TLV values: [2018-03-17 16:40:24] >>> tlv_debug: Type 3 value (32 bytes): \xC8\xD0#\xC2\xB0\xE4\xC1p\x816\xA5\xED\x87uP\xC1\x0A\xC7J\x0C|\x91'3T\x83d\xCAH\x84B% [2018-03-17 16:40:24] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 16:40:24] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 16:40:24] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 16:40:24] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 16:40:25] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 16:40:25] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 16:40:26] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 16:40:28] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 16:40:28] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 16:40:28] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 16:40:28] >>> tlv_debug: Got following TLV values: [2018-03-17 16:40:28] >>> tlv_debug: Type 5 value (101 bytes): \xC8\xC9\x0FERCe\xEB\xBE\xAC\xA9\x93\xFB\x18\xE7dYR\x9B\xCB\xEB\xC0\xB5\x91s/>\x86Q\x9DP\x9A\xE14\xE1\xDAF@z\xF1b\xEA\x0C\xDE\xB3P%Kj\xAF\xFA\x14\xE6\xD5\x0F\xE9\x13p\x16\xCE|\xCF+-'\xF6^\xD2 Y-\xECW\xDF\xAB\xAB\xE5~y,[\x84\x1Ft\xC8$a\xED&`\x99\xE9S\xE6Me\x1D\x94\xFAL [2018-03-17 16:40:28] >>> tlv_debug: Type 3 value (32 bytes): \x9Algp\xE61\xFA\xEF\xC2\x00\x96C\x03\xDB\\s\xC5R\xC7."L+\x08]\xD6\xE42\x05\x04\x11l [2018-03-17 16:40:28] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 16:40:28] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC8\xC9\x0FERCe\xEB\xBE\xAC\xA9\x93\xFB\x18\xE7dYR\x9B\xCB\xEB\xC0\xB5\x91s/>\x86Q\x9DP\x9A\xE14\xE1\xDAF@z\xF1b\xEA\x0C\xDE\xB3P%Kj\xAF\xFA\x14\xE6\xD5\x0F\xE9\x13p\x16\xCE|\xCF+-'\xF6^\xD2 Y-\xECW\xDF\xAB\xAB\xE5~y,[\x84\x1Ft\xC8$a\xED&`\x99\xE9S\xE6Me\x1D\x94\xFAL\x03 \x9Algp\xE61\xFA\xEF\xC2\x00\x96C\x03\xDB\\s\xC5R\xC7."L+\x08]\xD6\xE42\x05\x04\x11l\x06\x01\x02 [2018-03-17 16:40:28] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 16:40:29] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 16:40:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 16:40:29] >>> homekit_server_on_pair_verify: Free heap: 17120 [2018-03-17 16:40:29] >>> tlv_debug: Got following TLV values: [2018-03-17 16:40:29] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 16:40:29] >>> tlv_debug: Type 5 value (120 bytes): n.\xCC\xBD\x84\x09\xE7\xCD\xB2)\xE6\xC3lKP\xDD[M\xB0\xDD?`\xBE7,Y\xC3q{\xF7\x87}^\xA6\xC7!\xA7\xE98)\xFA\xC1\xD2\x81x\xF1\xF5\x12\xCB\x8D\xB8\xB4\xB7'\xE2\xBE\xA7g\xEF"\xEDr\xD4\x1A\x9B!\xC8N\x96o\xB1[\xCD\xB9\xFE\xB1H\\_\x9Dm\x9Dn\x0A\xA3A8h\xD4\xE0\xB0i\x0BL9\xCB##\xA1\xB2\xBC[\x05\xCC\xCC)\xC0\xF9\xD9Kn\xBB\x09\x1Do\xB6\xCCo\xD6 [2018-03-17 16:40:29] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 16:40:29] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 16:40:29] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 16:40:29] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 16:40:29] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 16:40:32] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 16:40:32] >>> tlv_debug: Got following TLV values: [2018-03-17 16:40:32] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 16:40:32] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 16:40:32] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 16:40:32] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 16:40:33] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 16:40:33] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 16:40:33] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 16:40:33] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 16:40:33] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 16:40:33] >>> homekit_server_on_get_accessories: Free heap: 17296 [2018-03-17 16:40:38] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 16:40:38] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 16:40:38] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 16:40:38] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 16:40:38] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 17:14:52] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 17:14:54] >>> HomeKit: Got new client connection: 9 [2018-03-17 17:14:54] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 17:14:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:14:54] >>> homekit_server_on_pair_verify: Free heap: 17416 [2018-03-17 17:14:54] >>> tlv_debug: Got following TLV values: [2018-03-17 17:14:54] >>> tlv_debug: Type 3 value (32 bytes): \xCA_\x83\xCC\xD6\xDA\x8F\xA6U|\xDC>r\xE1\xE4b\x81\x12V\xAAn\x9F\xCE+\x0Fw\xAAC\x80u\xDBk [2018-03-17 17:14:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 17:14:54] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 17:14:54] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 17:14:54] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 17:14:55] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 17:14:55] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 17:14:56] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 17:14:58] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:14:58] >>> tlv_debug: Got following TLV values: [2018-03-17 17:14:58] >>> tlv_debug: Type 5 value (101 bytes): \x0Ev\xF0\xF1\x03\xC8\xBC\xDE~\xEBv\xDD\x09s\xCA\xB3y\xA1\x0D\xBEcxl\xD5Ea\xD5\\1]Y\xE9s\x9F\xD0\x00\xA2v\x0D\xB6!\x84\xBA\xA7\xEE\x04\x0F\xF9\x96`\xF7<\x0DGu\x13\x91\x1Ad\xCA\x82rG\xC0\x9F\xF9>N\x95\xAA.\x80\xE8\xBA\x1F\x94\xFCR\x00{\xE1\xC6+\x1Cj\x9D\x1B)#F\xC2J91v0\x9AV\x00Z [2018-03-17 17:14:58] >>> tlv_debug: Type 3 value (32 bytes): J\xABS\x86uE]yT a\xF1\xCA\x06\xF6\xA6j\xBC(I\xBA\xED\xBF\xE0h;\x1E\xEA\x900L [2018-03-17 17:14:58] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 17:14:58] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x0Ev\xF0\xF1\x03\xC8\xBC\xDE~\xEBv\xDD\x09s\xCA\xB3y\xA1\x0D\xBEcxl\xD5Ea\xD5\\1]Y\xE9s\x9F\xD0\x00\xA2v\x0D\xB6!\x84\xBA\xA7\xEE\x04\x0F\xF9\x96`\xF7<\x0DGu\x13\x91\x1Ad\xCA\x82rG\xC0\x9F\xF9>N\x95\xAA.\x80\xE8\xBA\x1F\x94\xFCR\x00{\xE1\xC6+\x1Cj\x9D\x1B)#F\xC2J91v0\x9AV\x00Z\x03 J\xABS\x86uE]yT a\xF1\xCA\x06\xF6\xA6j\xBC(I\xBA\xED\xBF\xE0h;\x1E\xEA\x900L\x06\x01\x02 [2018-03-17 17:14:58] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:14:58] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: Free heap: 17120 [2018-03-17 17:14:58] >>> tlv_debug: Got following TLV values: [2018-03-17 17:14:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 17:14:58] >>> tlv_debug: Type 5 value (120 bytes): d\x1F\xFE?\xCEg\x96\xC9\xB9\xE1\x1E53\x8DG\x0C\x12d\x92\x97\x8F^\xF8\xF1\xB0\xAF*\x93\xB9\xFE\xB9s=\xD5\xC3=\xC0\xAB\xC2\x9C\x83\xE63\xF7\xD7\xB1\xFF\xEA\x9C\x9E\xD9\x1C\x1B\x19\x8AzH\x1Al(IW\x90\xC9\xB5\xD3\x93,\x8E@\x11\xEF\x9A\xC2\xC0z)\xD7W\xB6\xEB\x11N>\xE4MZ\xA5\x0Bm\xB7\xE4\x9E\xC2\xAB\x03\xB4\x1B>\xFE\xF1C?\x88\x11\xB8\xC3\x00\x9E\xC6\x1D\x98\xC0\x9D\x0D\xC8\xAEZ\xC91 [2018-03-17 17:14:58] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 17:14:58] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 17:14:58] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 17:15:01] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:15:01] >>> tlv_debug: Got following TLV values: [2018-03-17 17:15:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 17:15:01] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 17:15:01] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 17:15:01] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:15:01] !!! HomeKit: [Client 9] Error reading data from socket (code 104). Disconnecting [2018-03-17 17:15:01] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 17:15:03] >>> HomeKit: Got new client connection: 9 [2018-03-17 17:15:03] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 17:15:03] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:15:03] >>> homekit_server_on_pair_verify: Free heap: 17416 [2018-03-17 17:15:03] >>> tlv_debug: Got following TLV values: [2018-03-17 17:15:03] >>> tlv_debug: Type 3 value (32 bytes): \x00\xB1\x9Bf\x8D\xA9bj\xF5\xE9\xD9EO+\x19\xAB>\xE0\xF2\xA1'B\x9C\x16\xB2]1Ay\x1B\xEFu [2018-03-17 17:15:03] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 17:15:03] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 17:15:03] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 17:15:03] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 17:15:05] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 17:15:05] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 17:15:06] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 17:15:07] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 17:15:07] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 17:15:07] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:15:07] >>> tlv_debug: Got following TLV values: [2018-03-17 17:15:07] >>> tlv_debug: Type 5 value (101 bytes): \x96\xE9\x8D\xAB\x8D:\x83\xF6y\xAB\x89\x06\x9D\xC5N\x8D\xCC\xFB\xCE\xDD\xD2\x86\xB8#\xA6n\x89L\xB8\xA6\xB3\xAE\x12k\x07\x0A\x8FK\xDE\xF9\x0D\x119\xDADS\xADr\xB2\x12\x16\x85\x95)\xAB\xD5J"*p\x95`\xAD\x96\xB1E\\}lq\x06\xBC\xABD\x93l&'D2fa+\xDFB\x9C\x9D^\x1BY\x8C7\xB7S\xB4\xE3\x00\x9F\x8B\\ [2018-03-17 17:15:08] >>> tlv_debug: Type 3 value (32 bytes): \x91\xB7b\xBE\xFA~\xEC\xCC8Q\xDFx\x8A\xA1\xC4\xD5qA\x9A\xBF\x1By\x98+\x8E)(\x983\xD2\xE1& [2018-03-17 17:15:08] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 17:15:08] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x96\xE9\x8D\xAB\x8D:\x83\xF6y\xAB\x89\x06\x9D\xC5N\x8D\xCC\xFB\xCE\xDD\xD2\x86\xB8#\xA6n\x89L\xB8\xA6\xB3\xAE\x12k\x07\x0A\x8FK\xDE\xF9\x0D\x119\xDADS\xADr\xB2\x12\x16\x85\x95)\xAB\xD5J"*p\x95`\xAD\x96\xB1E\\}lq\x06\xBC\xABD\x93l&'D2fa+\xDFB\x9C\x9D^\x1BY\x8C7\xB7S\xB4\xE3\x00\x9F\x8B\\\x03 \x91\xB7b\xBE\xFA~\xEC\xCC8Q\xDFx\x8A\xA1\xC4\xD5qA\x9A\xBF\x1By\x98+\x8E)(\x983\xD2\xE1&\x06\x01\x02 [2018-03-17 17:15:08] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:15:08] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 17:15:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:15:08] >>> homekit_server_on_pair_verify: Free heap: 17120 [2018-03-17 17:15:08] >>> tlv_debug: Got following TLV values: [2018-03-17 17:15:08] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 17:15:08] >>> tlv_debug: Type 5 value (120 bytes): M\x8Fb\xA9\x17\xEA\x95\x1DLD\xC4\xAA\\(W\xB1\x10q\xAF\xC9a77uL\xC5\xF7\x97Rf$\xECM\x89\xD9R\x9E\xEAi\xB5\x99\x14K&\x94\xE4\\\x93\xECq\xE4\xEA\xE06\xBB\xB8\x1F\x98x_[M\xB6`5\xFCv7|\xC4\xFB0\xED#\x1A\x9C}V\xA0PS\xF8sq\xBE*\x91\xE0Q\x83\x85\x89i\xAA\x18\xCE\xB6\xC1\x9F\xCA\xF0RahE\x8D\xF0\xC4;0\xCE\x92>R\x96\xC6*\x92\x17W [2018-03-17 17:15:08] >>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 17:15:08] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 17:15:08] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 17:15:08] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 17:15:08] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 17:15:11] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:15:11] >>> tlv_debug: Got following TLV values: [2018-03-17 17:15:11] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 17:15:11] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 17:15:11] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 17:15:11] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:15:11] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 17:15:11] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 17:15:11] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 17:15:11] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 17:15:11] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 17:15:11] >>> homekit_server_on_get_accessories: Free heap: 17304 [2018-03-17 17:15:11] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 17:15:11] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 17:15:11] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 17:15:11] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 17:15:11] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:57:31] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 17:57:33] >>> HomeKit: Got new client connection: 9 [2018-03-17 17:57:33] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 17:57:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:57:33] >>> homekit_server_on_pair_verify: Free heap: 17408 [2018-03-17 17:57:33] >>> tlv_debug: Got following TLV values: [2018-03-17 17:57:33] >>> tlv_debug: Type 3 value (32 bytes): %\x1A\x88v\xBC\x00w\xF4\xA2\xDBz0\xE5\xD7\xC3D\xFD\xC6>\xF5\xF0\xA7\x95\xDE\xFA\xB8\xC1\xE1\xD2\xC8\x1Ez [2018-03-17 17:57:33] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 17:57:33] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 17:57:33] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 17:57:33] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 17:57:34] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 17:57:34] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 17:57:35] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 17:57:37] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 17:57:37] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 17:57:37] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:57:37] >>> tlv_debug: Got following TLV values: [2018-03-17 17:57:37] >>> tlv_debug: Type 5 value (101 bytes): \xE2X\x8D\xCB{\x15\x87\x03\x01\x07\xFA\x87\xCA#\x85{\x1A\xDE\xFD\xDB\x9E=%\xB4\x96']\x8F\xDD \xB5\xA0\xA8:7\x8E,cw`9"\xDA\x1A\x0E\x1B\xC2\xE9+\xC2\xAF\xD3\xFE\x0B\x87\xCE\x99!L\x8Fc?\x87\x8A\x96\x07\x18\xFCr\xAA\x15\xFA\x98P\xDFNuPE\x8B\xEF\xF3wVN\xBA\x82\x94\xAA\x1B9P\xFE\x8F\x19\x0B\xC4g\xAF8` [2018-03-17 17:57:37] >>> tlv_debug: Type 3 value (32 bytes): \xB2\xE59\x99\xD9\x84\xCC4x\xEC'i\xBBqC\xAA\x1B6\xBD\x81\xE8&w&\x8B\xBF\xC24\x8C\xF4\xA6/ [2018-03-17 17:57:37] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 17:57:37] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE2X\x8D\xCB{\x15\x87\x03\x01\x07\xFA\x87\xCA#\x85{\x1A\xDE\xFD\xDB\x9E=%\xB4\x96']\x8F\xDD \xB5\xA0\xA8:7\x8E,cw`9"\xDA\x1A\x0E\x1B\xC2\xE9+\xC2\xAF\xD3\xFE\x0B\x87\xCE\x99!L\x8Fc?\x87\x8A\x96\x07\x18\xFCr\xAA\x15\xFA\x98P\xDFNuPE\x8B\xEF\xF3wVN\xBA\x82\x94\xAA\x1B9P\xFE\x8F\x19\x0B\xC4g\xAF8`\x03 \xB2\xE59\x99\xD9\x84\xCC4x\xEC'i\xBBqC\xAA\x1B6\xBD\x81\xE8&w&\x8B\xBF\xC24\x8C\xF4\xA6/\x06\x01\x02 [2018-03-17 17:57:37] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:57:37] >>> HomeKit: [Client 9] Closing client connection [2018-03-17 17:57:39] >>> HomeKit: Got new client connection: 9 [2018-03-17 17:57:39] >>> homekit_client_process: [Client 9] Got 168 incomming data [2018-03-17 17:57:39] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:57:39] >>> homekit_server_on_pair_verify: Free heap: 17400 [2018-03-17 17:57:39] >>> tlv_debug: Got following TLV values: [2018-03-17 17:57:39] >>> tlv_debug: Type 3 value (32 bytes): \xAD\x1B\x11vz\x91:\xED\x17}k\x06>9D\x92al{[%\xFD\xF6\x0B\xE5\xE9N\xFA\xE7\xB3\x0F [2018-03-17 17:57:39] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 17:57:39] >>> HomeKit: [Client 9] Pair Verify Step 1/2 [2018-03-17 17:57:39] >>> homekit_server_on_pair_verify: [Client 9] Importing device Curve25519 public key [2018-03-17 17:57:39] >>> homekit_server_on_pair_verify: [Client 9] Generating accessory Curve25519 key [2018-03-17 17:57:40] >>> homekit_server_on_pair_verify: [Client 9] Exporting accessory Curve25519 public key [2018-03-17 17:57:40] >>> homekit_server_on_pair_verify: [Client 9] Generating Curve25519 shared secret [2018-03-17 17:57:41] >>> homekit_server_on_pair_verify: [Client 9] Generating signature [2018-03-17 17:57:43] >>> homekit_server_on_pair_verify: [Client 9] Generating proof [2018-03-17 17:57:43] >>> homekit_server_on_pair_verify: [Client 9] Encrypting response [2018-03-17 17:57:43] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:57:43] >>> tlv_debug: Got following TLV values: [2018-03-17 17:57:43] >>> tlv_debug: Type 5 value (101 bytes): |-\xCC\xEF\x9A\xC8h\xAE\x8FS\x0F\xA5(\xB5\xFFO\xA1~\xE6\x1FDwU\xA3_hS\x06r\x01\xA6\x85\x18\x02V_\xA97\x15n6xND\xC8Y\x14\x80\x8F\xF3\xC5\x82*\xDF\xEC\xD8\xF6\x89\xC6\xA3\xFF\x17\x80\xC6\x15\xDA\xCE\xD3\xF7\xC3\xE4\xFC\xF6\x9A\xA9Y\x9Ae\xBA\x9F\xFBX\x82\x0E\x10g\xDE\xA2\xFDX\x98\xB1\xEF\x94BO\xB1\xA1\x04H\xF5 [2018-03-17 17:57:43] >>> tlv_debug: Type 3 value (32 bytes): \x965\xE2\x1B'|\x85z\xE5\xF9\x15>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 17:57:43] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e|-\xCC\xEF\x9A\xC8h\xAE\x8FS\x0F\xA5(\xB5\xFFO\xA1~\xE6\x1FDwU\xA3_hS\x06r\x01\xA6\x85\x18\x02V_\xA97\x15n6xND\xC8Y\x14\x80\x8F\xF3\xC5\x82*\xDF\xEC\xD8\xF6\x89\xC6\xA3\xFF\x17\x80\xC6\x15\xDA\xCE\xD3\xF7\xC3\xE4\xFC\xF6\x9A\xA9Y\x9Ae\xBA\x9F\xFBX\x82\x0E\x10g\xDE\xA2\xFDX\x98\xB1\xEF\x94BO\xB1\xA1\x04H\xF5\x03 \x965\xE2\x1B'|\x85z\xE5\xF9\x15>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:57:45] >>> homekit_client_process: [Client 9] Got 257 incomming data [2018-03-17 17:57:45] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 17:57:45] >>> homekit_server_on_pair_verify: Free heap: 17104 [2018-03-17 17:57:45] >>> tlv_debug: Got following TLV values: [2018-03-17 17:57:45] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 17:57:45] >>> tlv_debug: Type 5 value (120 bytes): a\xCB\x18}\xCC\x0CrW\x1A\xF6K\x86\xE87z\xD0\x806Y/I\xF2%\x09\x08?\x96>\xD7_\xA8\xCA]\x88\x9D\xF62q\xDC5\xFF%\xA1\xE6\x18\x03|sj\xBF\xF9\xB48j\x14!\xC6\xB7\xC2\xB8\xD7\xECa70}q[\xA08\x18?`\x0EX\xA8\x173\xB1o\x0A\x19\xE09\x17 \x99\xBD\xD4\xAF\xF9uc\xD6G}\x92\xE8\xCC\xA3\xB1\x9A\x1A\xE1\xB7^\xE2]\xBDB}\x1D\xAA,>> HomeKit: [Client 9] Pair Verify Step 2/2 [2018-03-17 17:57:45] >>> homekit_server_on_pair_verify: [Client 9] Decrypting payload [2018-03-17 17:57:45] >>> homekit_server_on_pair_verify: [Client 9] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 17:57:45] >>> HomeKit: [Client 9] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 17:57:45] >>> homekit_server_on_pair_verify: [Client 9] Verifying device signature [2018-03-17 17:57:48] >>> send_tlv_response: [Client 9] Sending TLV response [2018-03-17 17:57:48] >>> tlv_debug: Got following TLV values: [2018-03-17 17:57:48] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 17:57:48] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 17:57:48] >>> HomeKit: [Client 9] Verification successful, secure session established [2018-03-17 17:57:48] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 17:57:48] >>> homekit_client_process: [Client 9] Got 88 incomming data [2018-03-17 17:57:48] >>> homekit_client_process: [Client 9] Decrypting data [2018-03-17 17:57:48] >>> homekit_client_process: [Client 9] Decrypted 70 bytes, available 0 [2018-03-17 17:57:48] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 17:57:48] >>> HomeKit: [Client 9] Get Accessories [2018-03-17 17:57:48] >>> homekit_server_on_get_accessories: Free heap: 17288 [2018-03-17 17:57:48] >>> client_send: [Client 9] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 17:57:48] >>> client_send: [Client 9] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 17:57:48] >>> client_send: [Client 9] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 17:57:48] >>> client_send: [Client 9] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 17:57:48] >>> homekit_client_process: [Client 9] Finished processing [2018-03-17 18:01:55] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 18:02:54] >>> HomeKit: Got new client connection: 7 [2018-03-17 18:02:54] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 18:02:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 18:02:54] >>> homekit_server_on_pair_verify: Free heap: 17408 [2018-03-17 18:02:54] >>> tlv_debug: Got following TLV values: [2018-03-17 18:02:54] >>> tlv_debug: Type 3 value (32 bytes): SU\xDBK!\xEE6'NW\xD1j\xE7\x82\xB4\x00\xE3\xF6\xEBS\x8En\x16\x88\xA3hV\xEF\x09)\x91# [2018-03-17 18:02:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 18:02:54] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 18:02:54] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 18:02:54] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 18:02:55] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 18:02:55] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 18:02:56] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 18:02:58] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 18:02:58] >>> tlv_debug: Got following TLV values: [2018-03-17 18:02:58] >>> tlv_debug: Type 5 value (101 bytes): \x1B\x9E\x05\x12<\x8C\x9C\xE6D\x9BB/\x80\xD7=)F\xE6\xBBi\xE2\x80|\x919\x8E\x11\xF9r\xBA\xEDG@\x02\xF4\xD3j\x0Bp\xB0\x1AEv\xB9\xDCW\x94:,\x0E\xC6\xA3`*|sc\xF4"&\x15\x85p\xA6\xBC@\x9E\xB5\xE0\xB0+\x8C\x09\xB0\xC3\x93\xCE\x93\xD6\xA0\xFA\x84\x81+4,\xC6&u\x9F\xD3\xEC\x8B*\xDEn\x06\xE2 [2018-03-17 18:02:58] >>> tlv_debug: Type 3 value (32 bytes): V7\xD3*\xBA\xF2\x96\xB5\xDF\x0B\x06G\xE6\x8EIH\xDB\xEFZ\xC2\xDA~I\xAB\x8F\x88O\xEB\xD2N\xDFY [2018-03-17 18:02:58] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 18:02:58] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x1B\x9E\x05\x12<\x8C\x9C\xE6D\x9BB/\x80\xD7=)F\xE6\xBBi\xE2\x80|\x919\x8E\x11\xF9r\xBA\xEDG@\x02\xF4\xD3j\x0Bp\xB0\x1AEv\xB9\xDCW\x94:,\x0E\xC6\xA3`*|sc\xF4"&\x15\x85p\xA6\xBC@\x9E\xB5\xE0\xB0+\x8C\x09\xB0\xC3\x93\xCE\x93\xD6\xA0\xFA\x84\x81+4,\xC6&u\x9F\xD3\xEC\x8B*\xDEn\x06\xE2\x03 V7\xD3*\xBA\xF2\x96\xB5\xDF\x0B\x06G\xE6\x8EIH\xDB\xEFZ\xC2\xDA~I\xAB\x8F\x88O\xEB\xD2N\xDFY\x06\x01\x02 [2018-03-17 18:02:58] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 18:02:58] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: Free heap: 17112 [2018-03-17 18:02:58] >>> tlv_debug: Got following TLV values: [2018-03-17 18:02:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 18:02:58] >>> tlv_debug: Type 5 value (120 bytes): 1\xACB\xCD7\xF6\x0C\xB1C\xD4N\xB9?\xED\x11\xDB\xC8\xBDX\x0D\x9A\xA5\x920\x9F\x8B\x07\xBCH\xF0\x826\xA5_\xDE\x17\x0E\xCA2\x06\x96f"|\x96wTymY\xFB\xD8\x0BH8\x03i\xC70\xB6\x9FC\x18\x93\\\x1Cp\xD5\x86\xAF\xD5w\x948w\x0B\xF7\xBD\xAD\xA5\x06d\xF8\xA3\xEF\x91\x1DwbC\xF1\x101i\x05\xE8SZ\x17\xFBU^T'4\x14\xD8\xD2\x08\x89\xDC\xF6w\x11}*\xA0bZL [2018-03-17 18:02:58] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 18:02:58] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 18:02:58] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 18:03:01] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 18:03:01] >>> tlv_debug: Got following TLV values: [2018-03-17 18:03:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 18:03:01] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 18:03:01] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 18:03:01] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 18:03:02] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 18:03:02] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 18:03:02] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 18:03:02] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 18:03:02] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 18:03:02] >>> homekit_server_on_get_accessories: Free heap: 17300 [2018-03-17 18:03:02] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 18:03:02] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 18:03:02] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 18:03:02] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 18:03:02] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 18:03:53] >>> HomeKit: [Client 12] Closing client connection [2018-03-17 18:03:54] >>> HomeKit: Got new client connection: 12 [2018-03-17 18:03:54] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-17 18:03:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 18:03:54] >>> homekit_server_on_pair_verify: Free heap: 17404 [2018-03-17 18:03:54] >>> tlv_debug: Got following TLV values: [2018-03-17 18:03:54] >>> tlv_debug: Type 3 value (32 bytes): F\xEALg)]Hm\xC8#\x91\x85m\xC0\x8DI.\xE9\xF0\x91D\xFE\x1Au\x0B\xCD\x0D\x9BX_\x9D< [2018-03-17 18:03:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 18:03:54] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-17 18:03:54] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-17 18:03:54] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-17 18:03:55] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-17 18:03:55] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-17 18:03:56] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-17 18:03:58] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 18:03:58] >>> tlv_debug: Got following TLV values: [2018-03-17 18:03:58] >>> tlv_debug: Type 5 value (101 bytes): \xB6\x9B\xED\x0Ek\xE3JG|L\xE7WL_\xFA\xDF?\xC9\x0E\xCE?\xF4H\x0F)\xDE.\xF9\xD0\xB1V\xD3^\x1E\x0B\xCBd\xCB\x00U\x1F\x06\xF2::\xD6)\x81\xC0=Gm\x1D\xAB\xD5\x9E\xA3\x9A\x0At\xF2\xD9\xC9U\xEBp\x89\xDD\x19\xFE\xC1\x80V\x88\xEB'J\xEB &E\x91?\x9B\x06&\xD9\x187K\xDB\xFC\x0Ava\x95Q\xE2C\x0E\xA0 [2018-03-17 18:03:58] >>> tlv_debug: Type 3 value (32 bytes): \xB6\xE8\xC61\xC8\xA2\x0EY\x04\x9F\x13_D\xCF\xB5\xA1\xA6\xBA\xEB]lP\x09!qT0\x1B\xED?\x13 [2018-03-17 18:03:58] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 18:03:58] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB6\x9B\xED\x0Ek\xE3JG|L\xE7WL_\xFA\xDF?\xC9\x0E\xCE?\xF4H\x0F)\xDE.\xF9\xD0\xB1V\xD3^\x1E\x0B\xCBd\xCB\x00U\x1F\x06\xF2::\xD6)\x81\xC0=Gm\x1D\xAB\xD5\x9E\xA3\x9A\x0At\xF2\xD9\xC9U\xEBp\x89\xDD\x19\xFE\xC1\x80V\x88\xEB'J\xEB &E\x91?\x9B\x06&\xD9\x187K\xDB\xFC\x0Ava\x95Q\xE2C\x0E\xA0\x03 \xB6\xE8\xC61\xC8\xA2\x0EY\x04\x9F\x13_D\xCF\xB5\xA1\xA6\xBA\xEB]lP\x09!qT0\x1B\xED?\x13\x06\x01\x02 [2018-03-17 18:03:58] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 18:03:58] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: Free heap: 16868 [2018-03-17 18:03:58] >>> tlv_debug: Got following TLV values: [2018-03-17 18:03:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 18:03:58] >>> tlv_debug: Type 5 value (120 bytes): \xB9\xF3K\xB8\x02\xF8\x81\x1AW\xBDbaM\xCA3\xAC\x97\xBA\xED\xCDV\xB5\x15\x11\x80\xDFO\x9B\xD8s]T\x1Cu\xD2\xE6\xC6\x14Z\x156\xA4T;!2\xE5\xD5\xC5\xD3u\xD9\xEB\xFD\x98>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 18:03:58] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 18:03:58] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-17 18:04:01] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 18:04:01] >>> tlv_debug: Got following TLV values: [2018-03-17 18:04:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 18:04:01] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 18:04:01] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-17 18:04:01] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 18:04:01] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-17 18:04:01] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 18:04:01] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-17 18:04:01] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 18:04:01] >>> HomeKit: [Client 12] Get Accessories [2018-03-17 18:04:01] >>> homekit_server_on_get_accessories: Free heap: 17296 [2018-03-17 18:04:01] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 18:04:01] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 18:04:01] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 18:04:01] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 18:04:01] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 18:45:24] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 18:45:25] >>> HomeKit: Got new client connection: 7 [2018-03-17 18:45:25] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 18:45:25] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 18:45:25] >>> homekit_server_on_pair_verify: Free heap: 17400 [2018-03-17 18:45:25] >>> tlv_debug: Got following TLV values: [2018-03-17 18:45:25] >>> tlv_debug: Type 3 value (32 bytes): \xE4|\xBB\x9D\xE8\xF3\xA7\x1E\xD4/\xBA\xF0!\x1C9\xC9X)\x01a2\x9E\xB4\x9F\xAC\xAE+\xB5\xB0\x94ha [2018-03-17 18:45:25] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 18:45:25] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 18:45:25] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 18:45:25] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 18:45:26] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 18:45:26] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 18:45:28] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 18:45:29] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 18:45:29] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 18:45:29] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 18:45:29] >>> tlv_debug: Got following TLV values: [2018-03-17 18:45:29] >>> tlv_debug: Type 5 value (101 bytes): CP\xDA=ER\xC5\x95w'\xB4\xF8O\x1E\x0E%\x01XE\x01\xA3k\xEE\x08\xD2\x96a\x8E\x85q\xDF\x87J\xF9\xB0\x86i\x80\x0B\xE1J\xEC\x9DXp\xF0\xC7\xA8\xD2S\x8E!K\xBE\x19>\xF3l\xB26\xDAG\x0B\xF8\xE9{P\x02\x92\xE2.\x94V`,\xBF\x94|\xFE\x0C\xF3\x14\xEE\xB3\xFB\x8B\xA1\xAC\xA8\xD0\x83\x11\\\xFF\x8F\xBFW\xB3\xF0p\xE2 [2018-03-17 18:45:29] >>> tlv_debug: Type 3 value (32 bytes): `\xDA\xC7_.\x89)\xE3\xEC5\x0A\x85\xC4\x03\xF5\xB3|.\xC2\x06}*\xB1\x8F\x8C\xA1D\xD6$5\x8CI [2018-03-17 18:45:29] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 18:45:29] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eCP\xDA=ER\xC5\x95w'\xB4\xF8O\x1E\x0E%\x01XE\x01\xA3k\xEE\x08\xD2\x96a\x8E\x85q\xDF\x87J\xF9\xB0\x86i\x80\x0B\xE1J\xEC\x9DXp\xF0\xC7\xA8\xD2S\x8E!K\xBE\x19>\xF3l\xB26\xDAG\x0B\xF8\xE9{P\x02\x92\xE2.\x94V`,\xBF\x94|\xFE\x0C\xF3\x14\xEE\xB3\xFB\x8B\xA1\xAC\xA8\xD0\x83\x11\\\xFF\x8F\xBFW\xB3\xF0p\xE2\x03 `\xDA\xC7_.\x89)\xE3\xEC5\x0A\x85\xC4\x03\xF5\xB3|.\xC2\x06}*\xB1\x8F\x8C\xA1D\xD6$5\x8CI\x06\x01\x02 [2018-03-17 18:45:29] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 18:45:30] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 18:45:30] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 18:45:30] >>> homekit_server_on_pair_verify: Free heap: 17108 [2018-03-17 18:45:30] >>> tlv_debug: Got following TLV values: [2018-03-17 18:45:30] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 18:45:30] >>> tlv_debug: Type 5 value (120 bytes): |.O\xA8\xC2\x11\x84\x97>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 18:45:30] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 18:45:30] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 18:45:30] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 18:45:30] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 18:45:33] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 18:45:33] >>> tlv_debug: Got following TLV values: [2018-03-17 18:45:33] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 18:45:33] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 18:45:33] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 18:45:33] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 18:45:33] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 18:45:33] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 18:45:33] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 18:45:33] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 18:45:33] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 18:45:33] >>> homekit_server_on_get_accessories: Free heap: 17292 [2018-03-17 18:45:33] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 18:45:33] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 18:45:33] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 18:45:33] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 18:45:33] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 19:13:20] >>> HomeKit: Got new client connection: 13 [2018-03-17 19:13:20] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-17 19:13:20] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:13:20] >>> homekit_server_on_pair_verify: Free heap: 15512 [2018-03-17 19:13:20] >>> tlv_debug: Got following TLV values: [2018-03-17 19:13:20] >>> tlv_debug: Type 3 value (32 bytes): \xB0<\xAD*Z\xCC\x1F\xD2\xB3\xE0\xE6u\x02\xFB\x87\x11\x1F"\x14u]\xD8\x0C\x15\\\xAA6#\xE0\x81\xED\x01 [2018-03-17 19:13:20] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 19:13:20] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-17 19:13:20] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-17 19:13:20] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-17 19:13:21] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-17 19:13:21] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-17 19:13:22] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-17 19:13:24] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-17 19:13:24] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-17 19:13:24] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 19:13:24] >>> tlv_debug: Got following TLV values: [2018-03-17 19:13:24] >>> tlv_debug: Type 5 value (101 bytes): \x95\xE9\xF8y\xCC\x08\xC8\x11\xE9\xD1\x87(\xA2\xCD\x09\x09Fn\xE1l.\xA3\xEC\x99\xCB\xB0h\xA1\xA0\x80J\x9E\x93]i|\xBF\xAC\xD1\xB4v\x02\xAD^{\xCA\xBEa\xE6\xB1r\xB7\x16\x89\x9D^\x13r\x1E|\xDFmsZ\xCC\x00\x1E8\xA0\xE4F6Z\xA8\x8C\x0C\xA8\x8E\x16Z\x0FYy\xBF\xFCg]+\x90\xD6x\xF4v#I\xBE\xD5*\xFD [2018-03-17 19:13:24] >>> tlv_debug: Type 3 value (32 bytes): E\x95\xBF\x8F~\x9E\x94\xEFZ\xE7\x11\xED\xB6\xCA\x91ms\xD3\xD3\x18y=\xF9\xEC\xD3\xC3 \x10\xE1R\x08X [2018-03-17 19:13:24] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 19:13:24] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x95\xE9\xF8y\xCC\x08\xC8\x11\xE9\xD1\x87(\xA2\xCD\x09\x09Fn\xE1l.\xA3\xEC\x99\xCB\xB0h\xA1\xA0\x80J\x9E\x93]i|\xBF\xAC\xD1\xB4v\x02\xAD^{\xCA\xBEa\xE6\xB1r\xB7\x16\x89\x9D^\x13r\x1E|\xDFmsZ\xCC\x00\x1E8\xA0\xE4F6Z\xA8\x8C\x0C\xA8\x8E\x16Z\x0FYy\xBF\xFCg]+\x90\xD6x\xF4v#I\xBE\xD5*\xFD\x03 E\x95\xBF\x8F~\x9E\x94\xEFZ\xE7\x11\xED\xB6\xCA\x91ms\xD3\xD3\x18y=\xF9\xEC\xD3\xC3 \x10\xE1R\x08X\x06\x01\x02 [2018-03-17 19:13:24] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:13:24] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-17 19:13:24] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:13:24] >>> homekit_server_on_pair_verify: Free heap: 15088 [2018-03-17 19:13:24] >>> tlv_debug: Got following TLV values: [2018-03-17 19:13:24] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 19:13:24] >>> tlv_debug: Type 5 value (120 bytes): \x8D)W\xCB\xFB\x17\x8B3\x9B\xB4T\x83\xE2>\xDE\xFBt\x88\x8C\x18\xC2#\xF3\xA2\xB6D\xC3\xB2#\xDB\xD1\x04K\x8E\xEEc\x99\x03\xC1\x06R\x81}\x85\xFD\x9AYZ\x8F\x18\x8A\x0F\xDC\x92\xD7\xA3*D\xCDJgL\xD1\xB0\x98\x16\x1E@Q\xB37\x91DA\x83\xCC\xCC\xF1\xCC)c\x17c\xADY\x17\xBA\x18?\x93\xE9\x1CY\xB8\xFF}<\x1B\x81n\xC3\xE4\xEE\xC4O\xEEf\xCC\xFE\xDA\xA5\xC4\xA2\xD71\xB4\xCF\x8C\xD5 [2018-03-17 19:13:24] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-17 19:13:24] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-17 19:13:25] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:13:25] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:13:25] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-17 19:13:27] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 19:13:27] >>> tlv_debug: Got following TLV values: [2018-03-17 19:13:27] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 19:13:27] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 19:13:27] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-17 19:13:27] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:13:28] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-17 19:13:28] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 19:13:28] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-17 19:13:28] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 19:13:28] >>> HomeKit: [Client 13] Get Accessories [2018-03-17 19:13:28] >>> homekit_server_on_get_accessories: Free heap: 15392 [2018-03-17 19:13:28] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 19:13:28] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 19:13:28] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 19:13:28] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 19:13:28] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Decrypted 239 bytes, available 0 [2018-03-17 19:14:49] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 19:14:49] >>> HomeKit: [Client 13] Update Characteristics [2018-03-17 19:14:49] >>> homekit_server_on_update_characteristics: Free heap: 15108 [2018-03-17 19:14:49] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 19:14:49] "aid": 1, [2018-03-17 19:14:49] "iid": 10, [2018-03-17 19:14:49] "ev": true [2018-03-17 19:14:49] } [2018-03-17 19:14:49] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 19:14:49] "aid": 1, [2018-03-17 19:14:49] "iid": 13, [2018-03-17 19:14:49] "ev": true [2018-03-17 19:14:49] } [2018-03-17 19:14:49] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 19:14:49] "aid": 1, [2018-03-17 19:14:49] "iid": 16, [2018-03-17 19:14:49] "ev": true [2018-03-17 19:14:49] } [2018-03-17 19:14:49] >>> homekit_server_on_update_characteristics: [Client 13] There were no processing errors, sending No Content response [2018-03-17 19:14:49] >>> client_send: [Client 13] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Got 110 incomming data [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Decrypted 92 bytes, available 0 [2018-03-17 19:14:49] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 19:14:49] >>> HomeKit: [Client 13] Get Characteristics [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: Free heap: 15248 [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Query paramter id = 1.10,1.16,1.13 [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.10 [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.16 [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.13 [2018-03-17 19:14:49] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.10 [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.16 [2018-03-17 19:14:49] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.13 [2018-03-17 19:14:49] >>> client_send: [Client 13] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 19:14:49] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 19:14:49] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:15:00] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-17 19:15:00] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 19:15:00] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-17 19:15:00] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 19:15:00] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 19:15:00] >>> homekit_server_on_update_characteristics: Free heap: 14992 [2018-03-17 19:15:00] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:15:00] "aid": 1, [2018-03-17 19:15:00] "iid": 10, [2018-03-17 19:15:00] "ev": true [2018-03-17 19:15:00] } [2018-03-17 19:15:00] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:15:00] "aid": 1, [2018-03-17 19:15:00] "iid": 13, [2018-03-17 19:15:00] "ev": true [2018-03-17 19:15:00] } [2018-03-17 19:15:00] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:15:00] "aid": 1, [2018-03-17 19:15:00] "iid": 16, [2018-03-17 19:15:00] "ev": true [2018-03-17 19:15:00] } [2018-03-17 19:15:00] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 19:15:00] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:15:00] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 19:15:58] >>> homekit_client_process: [Client 13] Got 260 incomming data [2018-03-17 19:15:58] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 19:15:58] >>> homekit_client_process: [Client 13] Decrypted 242 bytes, available 0 [2018-03-17 19:15:58] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 19:15:58] >>> HomeKit: [Client 13] Update Characteristics [2018-03-17 19:15:58] >>> homekit_server_on_update_characteristics: Free heap: 14920 [2018-03-17 19:15:58] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 19:15:58] "aid": 1, [2018-03-17 19:15:58] "iid": 10, [2018-03-17 19:15:58] "ev": false [2018-03-17 19:15:58] } [2018-03-17 19:15:58] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 19:15:58] "aid": 1, [2018-03-17 19:15:58] "iid": 13, [2018-03-17 19:15:58] "ev": false [2018-03-17 19:15:58] } [2018-03-17 19:15:58] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 19:15:58] "aid": 1, [2018-03-17 19:15:58] "iid": 16, [2018-03-17 19:15:58] "ev": false [2018-03-17 19:15:58] } [2018-03-17 19:15:58] >>> homekit_server_on_update_characteristics: [Client 13] There were no processing errors, sending No Content response [2018-03-17 19:15:58] >>> client_send: [Client 13] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:15:58] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:16:09] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-17 19:16:09] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 19:16:09] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-17 19:16:09] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 19:16:09] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 19:16:09] >>> homekit_server_on_update_characteristics: Free heap: 14856 [2018-03-17 19:16:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:16:09] "aid": 1, [2018-03-17 19:16:09] "iid": 10, [2018-03-17 19:16:09] "ev": false [2018-03-17 19:16:09] } [2018-03-17 19:16:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:16:09] "aid": 1, [2018-03-17 19:16:09] "iid": 13, [2018-03-17 19:16:09] "ev": false [2018-03-17 19:16:09] } [2018-03-17 19:16:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:16:09] "aid": 1, [2018-03-17 19:16:09] "iid": 16, [2018-03-17 19:16:09] "ev": false [2018-03-17 19:16:09] } [2018-03-17 19:16:09] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 19:16:09] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:16:09] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 19:32:08] >>> HomeKit: [Client 13] Closing client connection [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Decrypted 239 bytes, available 0 [2018-03-17 19:33:44] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 19:33:44] >>> HomeKit: [Client 12] Update Characteristics [2018-03-17 19:33:44] >>> homekit_server_on_update_characteristics: Free heap: 16696 [2018-03-17 19:33:44] >>> homekit_server_on_update_characteristics: [Client 12] Processing element { [2018-03-17 19:33:44] "aid": 1, [2018-03-17 19:33:44] "iid": 10, [2018-03-17 19:33:44] "ev": true [2018-03-17 19:33:44] } [2018-03-17 19:33:44] >>> homekit_server_on_update_characteristics: [Client 12] Processing element { [2018-03-17 19:33:44] "aid": 1, [2018-03-17 19:33:44] "iid": 13, [2018-03-17 19:33:44] "ev": true [2018-03-17 19:33:44] } [2018-03-17 19:33:44] >>> homekit_server_on_update_characteristics: [Client 12] Processing element { [2018-03-17 19:33:44] "aid": 1, [2018-03-17 19:33:44] "iid": 16, [2018-03-17 19:33:44] "ev": true [2018-03-17 19:33:44] } [2018-03-17 19:33:44] >>> homekit_server_on_update_characteristics: [Client 12] There were no processing errors, sending No Content response [2018-03-17 19:33:44] >>> client_send: [Client 12] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Got 110 incomming data [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 19:33:44] >>> homekit_client_process: [Client 12] Decrypted 92 bytes, available 0 [2018-03-17 19:33:44] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 19:33:44] >>> HomeKit: [Client 12] Get Characteristics [2018-03-17 19:33:44] >>> homekit_server_on_get_characteristics: Free heap: 17096 [2018-03-17 19:33:44] >>> homekit_server_on_get_characteristics: [Client 12] Query paramter id = 1.10,1.13,1.16 [2018-03-17 19:33:44] >>> homekit_server_on_get_characteristics: [Client 12] Requested characteristic info for 1.10 [2018-03-17 19:33:44] >>> homekit_server_on_get_characteristics: [Client 12] Requested characteristic info for 1.13 [2018-03-17 19:33:44] >>> homekit_server_on_get_characteristics: [Client 12] Requested characteristic info for 1.16 [2018-03-17 19:33:44] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 19:33:44] >>> homekit_server_on_get_characteristics: [Client 12] Requested characteristic info for 1.10 [2018-03-17 19:33:45] >>> homekit_server_on_get_characteristics: [Client 12] Requested characteristic info for 1.13 [2018-03-17 19:33:45] >>> homekit_server_on_get_characteristics: [Client 12] Requested characteristic info for 1.16 [2018-03-17 19:33:45] >>> client_send: [Client 12] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-17 19:33:45] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 19:33:45] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 19:33:55] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-17 19:33:55] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 19:33:55] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-17 19:33:55] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 19:33:55] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 19:33:55] >>> homekit_server_on_update_characteristics: Free heap: 16852 [2018-03-17 19:33:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:33:55] "aid": 1, [2018-03-17 19:33:55] "iid": 10, [2018-03-17 19:33:55] "ev": true [2018-03-17 19:33:55] } [2018-03-17 19:33:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:33:55] "aid": 1, [2018-03-17 19:33:55] "iid": 13, [2018-03-17 19:33:55] "ev": true [2018-03-17 19:33:55] } [2018-03-17 19:33:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:33:55] "aid": 1, [2018-03-17 19:33:55] "iid": 16, [2018-03-17 19:33:55] "ev": true [2018-03-17 19:33:55] } [2018-03-17 19:33:55] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 19:33:55] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:33:55] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 19:36:04] >>> homekit_client_process: [Client 12] Got 260 incomming data [2018-03-17 19:36:05] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 19:36:05] >>> homekit_client_process: [Client 12] Decrypted 242 bytes, available 0 [2018-03-17 19:36:05] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 19:36:05] >>> HomeKit: [Client 12] Update Characteristics [2018-03-17 19:36:05] >>> homekit_server_on_update_characteristics: Free heap: 16768 [2018-03-17 19:36:05] >>> homekit_server_on_update_characteristics: [Client 12] Processing element { [2018-03-17 19:36:05] "aid": 1, [2018-03-17 19:36:05] "iid": 10, [2018-03-17 19:36:05] "ev": false [2018-03-17 19:36:05] } [2018-03-17 19:36:05] >>> homekit_server_on_update_characteristics: [Client 12] Processing element { [2018-03-17 19:36:05] "aid": 1, [2018-03-17 19:36:05] "iid": 13, [2018-03-17 19:36:05] "ev": false [2018-03-17 19:36:05] } [2018-03-17 19:36:05] >>> homekit_server_on_update_characteristics: [Client 12] Processing element { [2018-03-17 19:36:05] "aid": 1, [2018-03-17 19:36:05] "iid": 16, [2018-03-17 19:36:05] "ev": false [2018-03-17 19:36:05] } [2018-03-17 19:36:05] >>> homekit_server_on_update_characteristics: [Client 12] There were no processing errors, sending No Content response [2018-03-17 19:36:05] >>> client_send: [Client 12] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:36:05] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 19:36:16] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-17 19:36:16] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 19:36:16] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-17 19:36:16] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 19:36:16] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 19:36:16] >>> homekit_server_on_update_characteristics: Free heap: 16828 [2018-03-17 19:36:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:36:16] "aid": 1, [2018-03-17 19:36:16] "iid": 10, [2018-03-17 19:36:16] "ev": false [2018-03-17 19:36:16] } [2018-03-17 19:36:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:36:16] "aid": 1, [2018-03-17 19:36:16] "iid": 13, [2018-03-17 19:36:16] "ev": false [2018-03-17 19:36:16] } [2018-03-17 19:36:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 19:36:16] "aid": 1, [2018-03-17 19:36:16] "iid": 16, [2018-03-17 19:36:16] "ev": false [2018-03-17 19:36:16] } [2018-03-17 19:36:16] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 19:36:16] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 19:36:16] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 19:39:05] >>> HomeKit: Got new client connection: 13 [2018-03-17 19:39:05] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-17 19:39:05] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:39:05] >>> homekit_server_on_pair_verify: Free heap: 15420 [2018-03-17 19:39:05] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:05] >>> tlv_debug: Type 3 value (32 bytes): \xE5\xEA\xCA\xE7\xE3\xEA\xB8\xC8\xDA\xBFu\x05b\x10\x87\x9A`_r\xE4\x85(\xC4\xDA\xA2\xB6\xDE\xB9 \xB1S- [2018-03-17 19:39:05] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 19:39:05] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-17 19:39:05] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-17 19:39:05] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-17 19:39:07] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-17 19:39:07] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-17 19:39:08] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-17 19:39:09] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-17 19:39:09] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-17 19:39:09] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 19:39:09] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:09] >>> tlv_debug: Type 5 value (101 bytes): ]}<\xBF\x8Dt\xFE\xC9~\x9F\xEA\xE6]\xC8\xE2\xF5\xF0F\xE1\xDD\x83\x98P\xCCo\xE7k%\xD8\xBA\xC8\xFA\x0FG\x8C\x92\x94\xEE\xB2A\xCAth\x06\xF9#'\xE2]Z\xD6\xF2\xB6\xE4\x05f\x1Cj\xD6\x1E\xF7\xFA\x07O7;\xF7\xEB\xA9\xE37\xAD\x90U\x8B3\x0B\xCC@\xCE\xB3\xD4\xE8\x9D\xE2E\xE9Q\xBD\xE9\xE7f\x18&\xAB\x81\xF6\xE4> [2018-03-17 19:39:09] >>> tlv_debug: Type 3 value (32 bytes): \x8E`\xCBU\xFF\x95%(\xB4\x87\xAA\xC7\x12d\x8FZ>\xBD\x00\x8BR\xED\xCD\xB4\xDA\xA00p~\xE2J& [2018-03-17 19:39:09] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 19:39:09] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e]}<\xBF\x8Dt\xFE\xC9~\x9F\xEA\xE6]\xC8\xE2\xF5\xF0F\xE1\xDD\x83\x98P\xCCo\xE7k%\xD8\xBA\xC8\xFA\x0FG\x8C\x92\x94\xEE\xB2A\xCAth\x06\xF9#'\xE2]Z\xD6\xF2\xB6\xE4\x05f\x1Cj\xD6\x1E\xF7\xFA\x07O7;\xF7\xEB\xA9\xE37\xAD\x90U\x8B3\x0B\xCC@\xCE\xB3\xD4\xE8\x9D\xE2E\xE9Q\xBD\xE9\xE7f\x18&\xAB\x81\xF6\xE4>\x03 \x8E`\xCBU\xFF\x95%(\xB4\x87\xAA\xC7\x12d\x8FZ>\xBD\x00\x8BR\xED\xCD\xB4\xDA\xA00p~\xE2J&\x06\x01\x02 [2018-03-17 19:39:09] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:39:10] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-17 19:39:10] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:39:10] >>> homekit_server_on_pair_verify: Free heap: 15120 [2018-03-17 19:39:10] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:10] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 19:39:10] >>> tlv_debug: Type 5 value (120 bytes): \xEF\xD0XA\x04\xE7\xF9\x93\x86\x8B~\xBE\x13\x98_+z\xF9)(\xC1A\xD7\xF2\\X> Y}\x15o\x9F\xBB\xD0\xD8z\xE6u\xB0\xFC\x18\xC5m\xB9\xA2~\x85\xE8\xB5\x82\xF2\xC6%\xC5\x18\x08\xAC\x8Ck\xD6\x01\x88\xB6\x92J\xD84\xA7\x14\xFB\x19\xFC\x8A>\x94\xB3+\x07\x00\x9A\xA3\x12\xAA\x8DID\xE4\xF0\xBC\x03\xA2nFm\xE2C\xC1\x90\xF7\x0B\xD5?\x8A]+\xDB\x1FK\x08O\xFC3\x133\xF0X\x15\xACI [2018-03-17 19:39:10] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-17 19:39:10] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-17 19:39:10] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:39:10] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:39:10] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-17 19:39:13] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 19:39:13] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:13] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 19:39:13] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 19:39:13] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-17 19:39:13] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 19:39:13] >>> HomeKit: Got new client connection: 14 [2018-03-17 19:39:13] >>> HomeKit: [Client 13] Closing client connection [2018-03-17 19:39:13] >>> homekit_client_process: [Client 14] Got 168 incomming data [2018-03-17 19:39:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:39:13] >>> homekit_server_on_pair_verify: Free heap: 15288 [2018-03-17 19:39:13] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:13] >>> tlv_debug: Type 3 value (32 bytes): \xEE\x9FD\xDC/,\xDBy!\x1C\xD0\xCBQ\x19\x1B3\x8B\x93u\x1DMKW\xA2\xA8\xBD\x90\x12\xF2E\xBA\x1B [2018-03-17 19:39:13] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 19:39:13] >>> HomeKit: [Client 14] Pair Verify Step 1/2 [2018-03-17 19:39:13] >>> homekit_server_on_pair_verify: [Client 14] Importing device Curve25519 public key [2018-03-17 19:39:13] >>> homekit_server_on_pair_verify: [Client 14] Generating accessory Curve25519 key [2018-03-17 19:39:14] >>> homekit_server_on_pair_verify: [Client 14] Exporting accessory Curve25519 public key [2018-03-17 19:39:14] >>> homekit_server_on_pair_verify: [Client 14] Generating Curve25519 shared secret [2018-03-17 19:39:15] >>> homekit_server_on_pair_verify: [Client 14] Generating signature [2018-03-17 19:39:17] >>> homekit_server_on_pair_verify: [Client 14] Generating proof [2018-03-17 19:39:17] >>> homekit_server_on_pair_verify: [Client 14] Encrypting response [2018-03-17 19:39:17] >>> send_tlv_response: [Client 14] Sending TLV response [2018-03-17 19:39:17] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:17] >>> tlv_debug: Type 5 value (101 bytes): \xB5Z'\xDD9\xBD\xBFkT\x82\xA7\xB2\xB9\xC1H[M5\xDA\x1BD\xF3e\xCB\xE0\x9B\x10\xFFA\xE4\xE9m\x87\x8C\x91\xCDp\xF7>u\x82(\xF0l\x86)J\x8F{\xAF\xF5o@\xDEZ\x08\xB7\xF2\xBDMs\xCA\x84\xCFr\x8C\xE3\xA5\xC0\xA3\xDFPa\xDF\x8A\x80\xE9\xC31R\xA7\xF5\xE9\x98\x8AH\x11\x88q\xC5\xDAE\xC1\xBC8-\xF5P8\xEA\xA2 [2018-03-17 19:39:17] >>> tlv_debug: Type 3 value (32 bytes): \xE2\xFDjB;\xB6\x14\xC9w\xC2\xB9\x10.\xE1\xA5\x03[q\x12\xDB+bK\x19\xF9;\x93O%j/t [2018-03-17 19:39:17] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 19:39:17] >>> client_send: [Client 14] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB5Z'\xDD9\xBD\xBFkT\x82\xA7\xB2\xB9\xC1H[M5\xDA\x1BD\xF3e\xCB\xE0\x9B\x10\xFFA\xE4\xE9m\x87\x8C\x91\xCDp\xF7>u\x82(\xF0l\x86)J\x8F{\xAF\xF5o@\xDEZ\x08\xB7\xF2\xBDMs\xCA\x84\xCFr\x8C\xE3\xA5\xC0\xA3\xDFPa\xDF\x8A\x80\xE9\xC31R\xA7\xF5\xE9\x98\x8AH\x11\x88q\xC5\xDAE\xC1\xBC8-\xF5P8\xEA\xA2\x03 \xE2\xFDjB;\xB6\x14\xC9w\xC2\xB9\x10.\xE1\xA5\x03[q\x12\xDB+bK\x19\xF9;\x93O%j/t\x06\x01\x02 [2018-03-17 19:39:17] >>> homekit_client_process: [Client 14] Finished processing [2018-03-17 19:39:18] >>> homekit_client_process: [Client 14] Got 257 incomming data [2018-03-17 19:39:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:39:18] >>> homekit_server_on_pair_verify: Free heap: 15120 [2018-03-17 19:39:18] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 19:39:18] >>> tlv_debug: Type 5 value (120 bytes): \x05\xCC\xBC\x8C\x1B\x9AA\x8Bj\xF5\x05H\x13\x8E\xC8\x83<:\xF1$\x87fW\xEC\x0A\xD0\x83\xC3D\x06~\xE0\xBE\x87\xB6_\xB05;\x98\x1B\xE7\x1E\xE8\\\xB9\xD9\x11:\xF1\xB5\xA1\x82\\\x8BM\xEA\x11q\xE6\xBD\xF8!;+\x14\x82}Ud\xAA\x8E\xA7\xDBQ\xFA\\*\xEC\xDB\x88w \xD6\x04\xAF6!*\x9CN\x80\xCE\xB0\x8D\x9C\x10\xFD\x9B\xD2\xA2\x00f\x80\x04\xB6f\xA6\xB2\x81J\x11\xAD\xC2\x8A\x903\x9C\x02\xB4 [2018-03-17 19:39:18] >>> HomeKit: [Client 14] Pair Verify Step 2/2 [2018-03-17 19:39:18] >>> homekit_server_on_pair_verify: [Client 14] Decrypting payload [2018-03-17 19:39:18] >>> homekit_server_on_pair_verify: [Client 14] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:39:18] >>> HomeKit: [Client 14] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:39:18] >>> homekit_server_on_pair_verify: [Client 14] Verifying device signature [2018-03-17 19:39:21] >>> send_tlv_response: [Client 14] Sending TLV response [2018-03-17 19:39:21] >>> tlv_debug: Got following TLV values: [2018-03-17 19:39:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 19:39:21] >>> client_send: [Client 14] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 19:39:21] >>> HomeKit: [Client 14] Verification successful, secure session established [2018-03-17 19:39:21] >>> homekit_client_process: [Client 14] Finished processing [2018-03-17 19:39:21] >>> homekit_client_process: [Client 14] Got 88 incomming data [2018-03-17 19:39:21] >>> homekit_client_process: [Client 14] Decrypting data [2018-03-17 19:39:21] >>> homekit_client_process: [Client 14] Decrypted 70 bytes, available 0 [2018-03-17 19:39:21] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 19:39:21] >>> HomeKit: [Client 14] Get Accessories [2018-03-17 19:39:21] >>> homekit_server_on_get_accessories: Free heap: 15300 [2018-03-17 19:39:21] >>> client_send: [Client 14] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 19:39:21] >>> client_send: [Client 14] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 19:39:21] >>> client_send: [Client 14] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 19:39:21] >>> client_send: [Client 14] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 19:39:21] >>> homekit_client_process: [Client 14] Finished processing [2018-03-17 19:51:40] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 19:53:46] >>> HomeKit: Got new client connection: 7 [2018-03-17 19:53:46] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 19:53:46] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:53:46] >>> homekit_server_on_pair_verify: Free heap: 15412 [2018-03-17 19:53:46] >>> tlv_debug: Got following TLV values: [2018-03-17 19:53:46] >>> tlv_debug: Type 3 value (32 bytes): \xF3\x81z\xE5\xB6\xC4/\x12A\x14\xFA\xA2x\x91\xE0\x86y\xA5\xB7j\xFD\x14"\xA5\xA7\x03\xB2/%\xFE\xBAx [2018-03-17 19:53:46] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 19:53:46] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 19:53:46] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 19:53:46] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 19:53:48] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 19:53:48] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 19:53:49] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 19:53:50] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 19:53:50] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 19:53:50] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 19:53:50] >>> tlv_debug: Got following TLV values: [2018-03-17 19:53:50] >>> tlv_debug: Type 5 value (101 bytes): S{y\xBE6c\xE0\x9D\xA2\xB5\xE04\xD3\xF4\x94\xF6\x95H\x97\xA8\xAD\xE3\x8D\xCBm\xDE\xAE3R\x8A\x8BS\xCC\xE9\xBBV\x86\xD7NMF\xDD<\xF3\xFF\xF8F\x06C\xB1\xF9\xE3\x10\x09\xD1c\xE4\x18\x9B\x06\xEC'\xE0\xE2.\x82\xCEH\x83\xCB\x81\x05f\x98Ym=\xCE\x87\xC2\x9C\x9E\xC1\xB1(\xF6\xAB\x94w\x8D,\x85\xA8\x958\xF9\xCA\x80\xA1\xAA [2018-03-17 19:53:50] >>> tlv_debug: Type 3 value (32 bytes): i\xB8\x09\xA19YE\xD8\xC0\xA1z8\x8FN.\xD3\x96\xD0t\x12\xF7\x83\x95Sw\xC1\xCC\x95:yT [2018-03-17 19:53:50] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 19:53:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eS{y\xBE6c\xE0\x9D\xA2\xB5\xE04\xD3\xF4\x94\xF6\x95H\x97\xA8\xAD\xE3\x8D\xCBm\xDE\xAE3R\x8A\x8BS\xCC\xE9\xBBV\x86\xD7NMF\xDD<\xF3\xFF\xF8F\x06C\xB1\xF9\xE3\x10\x09\xD1c\xE4\x18\x9B\x06\xEC'\xE0\xE2.\x82\xCEH\x83\xCB\x81\x05f\x98Ym=\xCE\x87\xC2\x9C\x9E\xC1\xB1(\xF6\xAB\x94w\x8D,\x85\xA8\x958\xF9\xCA\x80\xA1\xAA\x03 i\xB8\x09\xA19YE\xD8\xC0\xA1z8\x8FN.\xD3\x96\xD0t\x12\xF7\x83\x95Sw\xC1\xCC\x95:yT\x06\x01\x02 [2018-03-17 19:53:51] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 19:53:51] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 19:53:51] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:53:51] >>> homekit_server_on_pair_verify: Free heap: 15120 [2018-03-17 19:53:51] >>> tlv_debug: Got following TLV values: [2018-03-17 19:53:51] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 19:53:51] >>> tlv_debug: Type 5 value (120 bytes): \x05\x98\x0B8e@\x17\xEC\xEF\x15\xC6\xEB"\xA8\x88R%\x82v\xBF\xD5\x82\xA8>\x96\x18\xB2H<\xB8\xFF\xC5Nh\xD9'\x9C\xBDO\xDA\x0B\x1Bw=\xCC\xD0F\xF3\x92\xB1\xEBFi5*a\xEC\xE9\x93\xDA\xE5M\x90\xF1e\xBB\xFBUQ]p\x83\xD5=\xCE\x99\xD7\x9E\x90k1U\xAE\xBC?\x0A\x8E\x04\x990\xD5\x826\xDF\x02\x83\xCA\x83se\x16\xD4\x06v'\xB1\x8Dr\xAF)-\x85X\xDF\x1E\xC1w\xCF\x96 [2018-03-17 19:53:51] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 19:53:51] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 19:53:51] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:53:51] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:53:51] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 19:53:54] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 19:53:54] >>> tlv_debug: Got following TLV values: [2018-03-17 19:53:54] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 19:53:54] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 19:53:54] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 19:53:54] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 19:53:54] >>> HomeKit: [Client 7] Closing client connection [2018-03-17 19:57:24] >>> HomeKit: Got new client connection: 7 [2018-03-17 19:57:24] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-17 19:57:24] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:57:24] >>> homekit_server_on_pair_verify: Free heap: 15412 [2018-03-17 19:57:24] >>> tlv_debug: Got following TLV values: [2018-03-17 19:57:24] >>> tlv_debug: Type 3 value (32 bytes): \x93\xAC\xDB^\xEDD4\xC2\x8B(\x8D\xEE\xA0\xF2\x98J\xD6\x1D\xB5\xEFj6\x19\x9F\x97\xF3\xA7[\x1A\xBD\x8Dk [2018-03-17 19:57:24] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 19:57:24] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-17 19:57:24] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-17 19:57:24] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-17 19:57:25] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-17 19:57:25] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-17 19:57:26] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-17 19:57:28] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 19:57:28] >>> tlv_debug: Got following TLV values: [2018-03-17 19:57:28] >>> tlv_debug: Type 5 value (101 bytes): \xC3\xAD?\xBD\xAE\x05\x18>^\x08\x04\x01v83\x92\x8A\xDA\xD7K\xF3\xA4\x8E8\x1A\x9C:\xD6O\xB4A\x1A\x9B\xB2\x19Je\xB2\xEB\xC7\xCD\x9B?\xC6/\xEC\x1E\x09\xE6\xDD\x984\xC0'c\xFB\xCB\xC2WV\xBDi\x81#\xE6\x93\xB5^;_h\xD1J\xAC(\x1Fl\x9Fvn\xA0,\xF8\x13H\xAC\x9Du\xFF\x19(\xC5f\x82\x90<\x9E\x88\xD5\xBC [2018-03-17 19:57:28] >>> tlv_debug: Type 3 value (32 bytes): m\xB9\xF5W\xC4Z\xC1U%%\x14\x94\x0Dl_\xDC\x91/\xB2\xF6\xD1S7_\xF7h#\x85\xD6.}\x1C [2018-03-17 19:57:28] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 19:57:28] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC3\xAD?\xBD\xAE\x05\x18>^\x08\x04\x01v83\x92\x8A\xDA\xD7K\xF3\xA4\x8E8\x1A\x9C:\xD6O\xB4A\x1A\x9B\xB2\x19Je\xB2\xEB\xC7\xCD\x9B?\xC6/\xEC\x1E\x09\xE6\xDD\x984\xC0'c\xFB\xCB\xC2WV\xBDi\x81#\xE6\x93\xB5^;_h\xD1J\xAC(\x1Fl\x9Fvn\xA0,\xF8\x13H\xAC\x9Du\xFF\x19(\xC5f\x82\x90<\x9E\x88\xD5\xBC\x03 m\xB9\xF5W\xC4Z\xC1U%%\x14\x94\x0Dl_\xDC\x91/\xB2\xF6\xD1S7_\xF7h#\x85\xD6.}\x1C\x06\x01\x02 [2018-03-17 19:57:28] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 19:57:28] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: Free heap: 15120 [2018-03-17 19:57:28] >>> tlv_debug: Got following TLV values: [2018-03-17 19:57:28] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 19:57:28] >>> tlv_debug: Type 5 value (120 bytes): \x16\xCC\x0A\xAE\x88\x89\xA2\x1D\x15\xA2\x01\xA78[\xD7pi;\x0F|\xEB;-ep<\xA1\xF87\x9F\xBE%\x00\x98\xA6\xADR\x01\xF3\xF8\xFD\x86\x97\xDFY\xAD8Y \xD58}k0\x1F|{o\x05\x12\xF1#\xDA\x04\x82\xB7\x10\x09\x0FO@\xB2\x19B\xFAY\xBERl\xD9%\x88Q99\xC5\xB53\x03\xF5\x04\xB7\x16 \x88\x95e~:{>\xBB\x1F\x10\x09\xE9wM\x99Ji\x88f\xA5'\x86pz\x0D [2018-03-17 19:57:28] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:57:28] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 19:57:28] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-17 19:57:31] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-17 19:57:31] >>> tlv_debug: Got following TLV values: [2018-03-17 19:57:31] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 19:57:31] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 19:57:31] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-17 19:57:31] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 19:57:31] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-17 19:57:31] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-17 19:57:31] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-17 19:57:31] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 19:57:31] >>> HomeKit: [Client 7] Get Accessories [2018-03-17 19:57:31] >>> homekit_server_on_get_accessories: Free heap: 15292 [2018-03-17 19:57:31] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 19:57:31] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 19:57:31] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 19:57:31] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 19:57:31] >>> homekit_client_process: [Client 7] Finished processing [2018-03-17 20:29:34] >>> HomeKit: [Client 14] Closing client connection [2018-03-17 20:29:34] >>> HomeKit: Got new client connection: 13 [2018-03-17 20:29:34] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-17 20:29:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 20:29:34] >>> homekit_server_on_pair_verify: Free heap: 15412 [2018-03-17 20:29:34] >>> tlv_debug: Got following TLV values: [2018-03-17 20:29:34] >>> tlv_debug: Type 3 value (32 bytes): \x196\xB1\xF4;\xB5+\xEB\xA7\xF1\xE6Y\xA38%-)MU?9\xE1\xCE\x82\x9D\xCA\xFD\xF2\xE5A\x81f [2018-03-17 20:29:34] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 20:29:34] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-17 20:29:34] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-17 20:29:34] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-17 20:29:35] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-17 20:29:35] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-17 20:29:36] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-17 20:29:38] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-17 20:29:38] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-17 20:29:38] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 20:29:38] >>> tlv_debug: Got following TLV values: [2018-03-17 20:29:38] >>> tlv_debug: Type 5 value (101 bytes): ~\xBEG\x16\xBF]]\xB6=\xB6[>%\xD2\xBB\x88\x94;\xCB\x0B\xEDI\xFDA\xDB\xD7\xFA\x17\xE4u\x8D\xD8\xCF\xF8\xDD\x0EV@\x8B3\x8F\xEF\xF2[#}\x86J\xB1\xF1\xA5{D\x9E\xE3a\xA1w\x9E~Y9\xDE\xF2\x09\xF3E\xE2\x88)-\x02\xBC\xC5\x88,93\xC1!\x96C(\xD9U\xF4\xDB\xB9\x85\xE4\x84\xCC\xD3,X\x94G~A`\x89 [2018-03-17 20:29:38] >>> tlv_debug: Type 3 value (32 bytes): \xB1yN&\xD1\xDF\xFD.\xB2\\\x0B\xB6\xD3\x15\x1CX\xA3F\xE4\x91N!\xBA\x04M\xCDO\xCE^qAN [2018-03-17 20:29:38] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 20:29:38] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e~\xBEG\x16\xBF]]\xB6=\xB6[>%\xD2\xBB\x88\x94;\xCB\x0B\xEDI\xFDA\xDB\xD7\xFA\x17\xE4u\x8D\xD8\xCF\xF8\xDD\x0EV@\x8B3\x8F\xEF\xF2[#}\x86J\xB1\xF1\xA5{D\x9E\xE3a\xA1w\x9E~Y9\xDE\xF2\x09\xF3E\xE2\x88)-\x02\xBC\xC5\x88,93\xC1!\x96C(\xD9U\xF4\xDB\xB9\x85\xE4\x84\xCC\xD3,X\x94G~A`\x89\x03 \xB1yN&\xD1\xDF\xFD.\xB2\\\x0B\xB6\xD3\x15\x1CX\xA3F\xE4\x91N!\xBA\x04M\xCDO\xCE^qAN\x06\x01\x02 [2018-03-17 20:29:38] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 20:29:38] >>> HomeKit: [Client 13] Closing client connection [2018-03-17 20:30:00] >>> HomeKit: Got new client connection: 13 [2018-03-17 20:30:00] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-17 20:30:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 20:30:00] >>> homekit_server_on_pair_verify: Free heap: 13432 [2018-03-17 20:30:00] >>> tlv_debug: Got following TLV values: [2018-03-17 20:30:00] >>> tlv_debug: Type 3 value (32 bytes): \x15\xE45\x8C\x0E\x0A\x152F\x19\x8C\xECd\xCB\x93s\x804t\x03f\xA0f\xA5m\x01\x8E\x8C\xA3\xF5`\x08 [2018-03-17 20:30:00] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 20:30:00] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-17 20:30:00] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-17 20:30:00] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-17 20:30:01] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-17 20:30:01] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-17 20:30:02] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-17 20:30:04] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 20:30:04] >>> tlv_debug: Got following TLV values: [2018-03-17 20:30:04] >>> tlv_debug: Type 5 value (101 bytes): }R\xACc\x96T0'J\xBEYC\xDA\x10\xCE8\xE0\xF0\xD7\xBB\x11\xA6\xD3T\xCC\xC8\xBC\xF4J\xB8q\xB9\xD3\xC3Xw\xEB\xE0-\xF8o\x87\x1E\xA0\x1Ep\xB2\xC5\xAA-Y\x8B\xF91\xF0]\xB4\x1E\x91\x95\x86\xEB\xCB%\xE1\xF3\xB5v\x0983'}\xD3\xF4\xFD\x9C{d\xAAd\xD9.y\xB5L\x0B\xDE<\x93\xF2y\xA5\x96\xBA\xEB\x1C\xB3j\xD0\xBC [2018-03-17 20:30:04] >>> tlv_debug: Type 3 value (32 bytes): \x1C\x18\xD8\xB9\xE8i\x94\xDF\xB5\xE4\xC5\xC8\xA3\x0DJF6\xD8\xAD\xFB;m\x0B\xC95\x82a?\xA71| [2018-03-17 20:30:04] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 20:30:04] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e}R\xACc\x96T0'J\xBEYC\xDA\x10\xCE8\xE0\xF0\xD7\xBB\x11\xA6\xD3T\xCC\xC8\xBC\xF4J\xB8q\xB9\xD3\xC3Xw\xEB\xE0-\xF8o\x87\x1E\xA0\x1Ep\xB2\xC5\xAA-Y\x8B\xF91\xF0]\xB4\x1E\x91\x95\x86\xEB\xCB%\xE1\xF3\xB5v\x0983'}\xD3\xF4\xFD\x9C{d\xAAd\xD9.y\xB5L\x0B\xDE<\x93\xF2y\xA5\x96\xBA\xEB\x1C\xB3j\xD0\xBC\x03 \x1C\x18\xD8\xB9\xE8i\x94\xDF\xB5\xE4\xC5\xC8\xA3\x0DJF6\xD8\xAD\xFB;m\x0B\xC95\x82a?\xA71|\x06\x01\x02 [2018-03-17 20:30:04] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 20:30:04] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: Free heap: 13140 [2018-03-17 20:30:04] >>> tlv_debug: Got following TLV values: [2018-03-17 20:30:04] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 20:30:04] >>> tlv_debug: Type 5 value (120 bytes): \x9Bl\xBE\xDA#q\xC7\xC8\xB9\xCD\xB2\xF3\xECF\xFD{\x90\x1D\x92\x1B\xDD\x0E`b>[\xC2\x92\x9E\xF3\xFD\x10}\x03\xAE\xB2W\x07L!\x93\xEB16D\xF7\xA1\x08\x06j\xFE\xA8M\xAB\xC5\xAC\xEBL\x04u\x88\xE2\xDD\xEA\x03\x1C\xDD\\\xCD\xB7P\x19\xEF\x07`\xF6\xC1\x9D\xCDCjS\x00:\xF5r\xA6*\x84\x86\x11\xBB[\x06|\xC2\x13d!\x8AU\xDB\x0E(\xE6_w\xCB.\xB0\x9CJ\x9E\xC4\xF7\xAD\xE8\xD0cs [2018-03-17 20:30:04] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 20:30:04] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 20:30:04] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-17 20:30:07] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 20:30:07] >>> tlv_debug: Got following TLV values: [2018-03-17 20:30:07] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 20:30:07] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 20:30:07] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-17 20:30:07] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 20:30:07] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-17 20:30:07] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 20:30:07] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-17 20:30:07] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 20:30:07] >>> HomeKit: [Client 13] Get Accessories [2018-03-17 20:30:07] >>> homekit_server_on_get_accessories: Free heap: 13312 [2018-03-17 20:30:07] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 20:30:07] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 20:30:07] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 20:30:07] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 20:30:07] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 22:53:50] >>> HomeKit: [Client 12] Closing client connection [2018-03-17 22:53:50] >>> HomeKit: Got new client connection: 12 [2018-03-17 22:53:50] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-17 22:53:50] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 22:53:50] >>> homekit_server_on_pair_verify: Free heap: 15404 [2018-03-17 22:53:50] >>> tlv_debug: Got following TLV values: [2018-03-17 22:53:50] >>> tlv_debug: Type 3 value (32 bytes): \x19@\x02\xDE/\x88\\\xA24\x9C\xD9\xF2u\x87\x8B1c\xA4\x09\xCD\x06\xD0m\xA4A\xF7\x02\x90v\xE7d [2018-03-17 22:53:50] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 22:53:50] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-17 22:53:50] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-17 22:53:50] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-17 22:53:52] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-17 22:53:52] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-17 22:53:53] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-17 22:53:55] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 22:53:55] >>> tlv_debug: Got following TLV values: [2018-03-17 22:53:55] >>> tlv_debug: Type 5 value (101 bytes): w`;\xA9\xDEs7E\xE8l\xCCjhTTM\x00\xBE\xABU\x16\xBA\xF92`\x06v\xEBX\xF7\x03JlF\x0B\xF5\x8A\x98;\xF1\xF7x\x0FR\xFF\xFEZe~\x1Anq%B\xFFc@_\x92\x9DR\xF93j\xD3a>> tlv_debug: Type 3 value (32 bytes): \xE1(\xB5\xFE\xA8\xA5\xAAl\xA0si\xDF\xA4\x1CF\x1B%\xE4\x9Aa\x94\xBBf\x03V{\xE9\xD2Gy\xE6p [2018-03-17 22:53:55] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 22:53:55] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ew`;\xA9\xDEs7E\xE8l\xCCjhTTM\x00\xBE\xABU\x16\xBA\xF92`\x06v\xEBX\xF7\x03JlF\x0B\xF5\x8A\x98;\xF1\xF7x\x0FR\xFF\xFEZe~\x1Anq%B\xFFc@_\x92\x9DR\xF93j\xD3a>> homekit_client_process: [Client 12] Finished processing [2018-03-17 22:53:55] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: Free heap: 15116 [2018-03-17 22:53:55] >>> tlv_debug: Got following TLV values: [2018-03-17 22:53:55] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 22:53:55] >>> tlv_debug: Type 5 value (120 bytes): \xF9\xC8\xCA\x92+\xF3s\x94I\xFB\xC6v\xF4?\x858\xD7\x81\xA2C\xDB{y\x9FH\x0D&\xB4\xDD\x9DX\xAF\x08],Z8\xBCh*s\xCA\xC2I\x90\xA8\xB9m\x1F_\xAC4O\xB5\x1D\xD2(\xADS\xD9\xCD\xA2{xC\xF9\xC4xpH\x00\x8C\x0A\xFB\xC3\x0E\x14\xAC\xF5\x83\xC2\xD9\x8F\x0F\x8EjI\xF4@\x0E)\x81j\xF6\\\x97o6\x09g\xCD\xE8\xA9\x0E\xEE\x8AC+\xE4\x1B\xE1\xBEv\x96#T\xB67z\x1B [2018-03-17 22:53:55] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 22:53:55] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 22:53:55] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-17 22:53:58] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 22:53:58] >>> tlv_debug: Got following TLV values: [2018-03-17 22:53:58] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 22:53:58] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 22:53:58] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-17 22:53:58] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 22:53:58] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-17 22:53:58] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 22:53:58] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-17 22:53:58] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 22:53:58] >>> HomeKit: [Client 12] Get Accessories [2018-03-17 22:53:58] >>> homekit_server_on_get_accessories: Free heap: 15292 [2018-03-17 22:53:58] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 22:53:58] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 22:53:58] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 22:53:58] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 22:53:58] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Decrypted 239 bytes, available 0 [2018-03-17 23:09:15] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 23:09:15] >>> HomeKit: [Client 13] Update Characteristics [2018-03-17 23:09:15] >>> homekit_server_on_update_characteristics: Free heap: 15004 [2018-03-17 23:09:15] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 23:09:15] "aid": 1, [2018-03-17 23:09:15] "iid": 10, [2018-03-17 23:09:15] "ev": true [2018-03-17 23:09:15] } [2018-03-17 23:09:15] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 23:09:15] "aid": 1, [2018-03-17 23:09:15] "iid": 13, [2018-03-17 23:09:15] "ev": true [2018-03-17 23:09:15] } [2018-03-17 23:09:15] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 23:09:15] "aid": 1, [2018-03-17 23:09:15] "iid": 16, [2018-03-17 23:09:15] "ev": true [2018-03-17 23:09:15] } [2018-03-17 23:09:15] >>> homekit_server_on_update_characteristics: [Client 13] There were no processing errors, sending No Content response [2018-03-17 23:09:15] >>> client_send: [Client 13] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Got 110 incomming data [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Decrypted 92 bytes, available 0 [2018-03-17 23:09:15] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 23:09:15] >>> HomeKit: [Client 13] Get Characteristics [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: Free heap: 15144 [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Query paramter id = 1.10,1.16,1.13 [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.10 [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.16 [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.13 [2018-03-17 23:09:15] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.10 [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.16 [2018-03-17 23:09:15] >>> homekit_server_on_get_characteristics: [Client 13] Requested characteristic info for 1.13 [2018-03-17 23:09:15] >>> client_send: [Client 13] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-17 23:09:15] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 23:09:15] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 23:09:26] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-17 23:09:26] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 23:09:26] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-17 23:09:26] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-17 23:09:26] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 23:09:26] >>> homekit_server_on_update_characteristics: Free heap: 14884 [2018-03-17 23:09:26] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 23:09:26] "aid": 1, [2018-03-17 23:09:26] "iid": 10, [2018-03-17 23:09:26] "ev": true [2018-03-17 23:09:26] } [2018-03-17 23:09:26] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 23:09:26] "aid": 1, [2018-03-17 23:09:26] "iid": 13, [2018-03-17 23:09:26] "ev": true [2018-03-17 23:09:26] } [2018-03-17 23:09:26] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 23:09:26] "aid": 1, [2018-03-17 23:09:26] "iid": 16, [2018-03-17 23:09:26] "ev": true [2018-03-17 23:09:26] } [2018-03-17 23:09:26] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 23:09:26] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 23:09:26] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 23:10:18] >>> homekit_client_process: [Client 13] Got 260 incomming data [2018-03-17 23:10:18] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 23:10:18] >>> homekit_client_process: [Client 13] Decrypted 242 bytes, available 0 [2018-03-17 23:10:18] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 23:10:18] >>> HomeKit: [Client 13] Update Characteristics [2018-03-17 23:10:18] >>> homekit_server_on_update_characteristics: Free heap: 14820 [2018-03-17 23:10:18] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 23:10:18] "aid": 1, [2018-03-17 23:10:18] "iid": 10, [2018-03-17 23:10:18] "ev": false [2018-03-17 23:10:18] } [2018-03-17 23:10:18] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 23:10:18] "aid": 1, [2018-03-17 23:10:18] "iid": 13, [2018-03-17 23:10:18] "ev": false [2018-03-17 23:10:18] } [2018-03-17 23:10:18] >>> homekit_server_on_update_characteristics: [Client 13] Processing element { [2018-03-17 23:10:18] "aid": 1, [2018-03-17 23:10:18] "iid": 16, [2018-03-17 23:10:18] "ev": false [2018-03-17 23:10:18] } [2018-03-17 23:10:18] >>> homekit_server_on_update_characteristics: [Client 13] There were no processing errors, sending No Content response [2018-03-17 23:10:18] >>> client_send: [Client 13] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 23:10:18] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 23:10:29] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-17 23:10:29] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-17 23:10:29] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-17 23:10:29] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-17 23:10:29] >>> HomeKit: [Client 4] Update Characteristics [2018-03-17 23:10:29] >>> homekit_server_on_update_characteristics: Free heap: 14892 [2018-03-17 23:10:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 23:10:29] "aid": 1, [2018-03-17 23:10:29] "iid": 10, [2018-03-17 23:10:29] "ev": false [2018-03-17 23:10:29] } [2018-03-17 23:10:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 23:10:29] "aid": 1, [2018-03-17 23:10:29] "iid": 13, [2018-03-17 23:10:29] "ev": false [2018-03-17 23:10:29] } [2018-03-17 23:10:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-17 23:10:29] "aid": 1, [2018-03-17 23:10:29] "iid": 16, [2018-03-17 23:10:29] "ev": false [2018-03-17 23:10:29] } [2018-03-17 23:10:29] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-17 23:10:29] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-17 23:10:29] >>> homekit_client_process: [Client 4] Finished processing [2018-03-17 23:24:08] >>> HomeKit: [Client 12] Closing client connection [2018-03-17 23:24:11] >>> HomeKit: Got new client connection: 12 [2018-03-17 23:24:11] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-17 23:24:11] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 23:24:11] >>> homekit_server_on_pair_verify: Free heap: 15352 [2018-03-17 23:24:11] >>> tlv_debug: Got following TLV values: [2018-03-17 23:24:11] >>> tlv_debug: Type 3 value (32 bytes): \xB1\xEE!\xF9\x09\x94\xC2\xF0\xD3\x0F\xCBx\x03\x86\xC4\xE2O\xB9]E\x03\xCErty\x02\xBA\xB0f\xA2\xD1* [2018-03-17 23:24:11] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 23:24:11] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-17 23:24:11] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-17 23:24:11] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-17 23:24:12] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-17 23:24:12] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-17 23:24:13] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-17 23:24:15] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 23:24:15] >>> tlv_debug: Got following TLV values: [2018-03-17 23:24:15] >>> tlv_debug: Type 5 value (101 bytes): \x8A}\x017D/\x03\xC3\x8E\x90\x0B5\xB1x\xDF\x0A\x84\xD4W\x92\x82\xF5\xB7\xABw\xF4\x89)\x9A\xE7_\x0Fo\x8E\xECd\xDB\xD0iE\xF3#\xAC\xE3\xAC751\xAB\x9BMO\x17\xE4\xC8\xF0U\xB6+\xEB\x85\xA4F\x85\xE0d\xA3\xF7\xDE\xD8Zp\xA7[\xB4\x0D_\xF1\xBE\x86s\x06\xA0\xA6kV\x097\xB3\x90iy\xFC\xEF\xBB\xC0wQ\xA3]\xBB [2018-03-17 23:24:15] >>> tlv_debug: Type 3 value (32 bytes): F\x0B\xB7\x88\xBB\xA5\xB1F\x8C:ReB\x8A\x94\xBFQJ\x91\x98|$\x12~\x8Ck\xA6\x99\x96\x1E\x06A [2018-03-17 23:24:15] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 23:24:15] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x8A}\x017D/\x03\xC3\x8E\x90\x0B5\xB1x\xDF\x0A\x84\xD4W\x92\x82\xF5\xB7\xABw\xF4\x89)\x9A\xE7_\x0Fo\x8E\xECd\xDB\xD0iE\xF3#\xAC\xE3\xAC751\xAB\x9BMO\x17\xE4\xC8\xF0U\xB6+\xEB\x85\xA4F\x85\xE0d\xA3\xF7\xDE\xD8Zp\xA7[\xB4\x0D_\xF1\xBE\x86s\x06\xA0\xA6kV\x097\xB3\x90iy\xFC\xEF\xBB\xC0wQ\xA3]\xBB\x03 F\x0B\xB7\x88\xBB\xA5\xB1F\x8C:ReB\x8A\x94\xBFQJ\x91\x98|$\x12~\x8Ck\xA6\x99\x96\x1E\x06A\x06\x01\x02 [2018-03-17 23:24:15] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 23:24:15] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: Free heap: 15060 [2018-03-17 23:24:15] >>> tlv_debug: Got following TLV values: [2018-03-17 23:24:15] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 23:24:15] >>> tlv_debug: Type 5 value (120 bytes): \xA6\xF9\x0Ek\x04\xB7\xF2'\x92`\x82\xEE\xC3gU8\xC4\x16\x1F\xEAt\x0F\xF4y{P\x0A&\x1D\xE8\xEE\x8B)M\x9A\xAB\xB1\xEF\xE7.\xC97\x93\x0B>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 23:24:15] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-17 23:24:15] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-17 23:24:18] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-17 23:24:18] >>> tlv_debug: Got following TLV values: [2018-03-17 23:24:18] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 23:24:18] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 23:24:18] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-17 23:24:18] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 23:24:18] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-17 23:24:18] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-17 23:24:18] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-17 23:24:18] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 23:24:18] >>> HomeKit: [Client 12] Get Accessories [2018-03-17 23:24:18] >>> homekit_server_on_get_accessories: Free heap: 15240 [2018-03-17 23:24:18] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 23:24:18] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 23:24:18] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 23:24:18] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 23:24:18] >>> homekit_client_process: [Client 12] Finished processing [2018-03-17 23:37:52] >>> HomeKit: [Client 13] Closing client connection [2018-03-17 23:37:54] >>> HomeKit: Got new client connection: 13 [2018-03-17 23:37:54] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-17 23:37:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 23:37:54] >>> homekit_server_on_pair_verify: Free heap: 15368 [2018-03-17 23:37:54] >>> tlv_debug: Got following TLV values: [2018-03-17 23:37:54] >>> tlv_debug: Type 3 value (32 bytes): \xFF\x9D\x82[RL\x81!\xAA\x19\x04)\xF6\xE7\xE7\x89\xA0\xE1\xDA=O\xE56y\x1B\x8D\xB10\x8Arf\x1F [2018-03-17 23:37:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-17 23:37:54] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-17 23:37:54] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-17 23:37:54] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-17 23:37:55] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-17 23:37:55] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-17 23:37:56] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-17 23:37:58] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 23:37:58] >>> tlv_debug: Got following TLV values: [2018-03-17 23:37:58] >>> tlv_debug: Type 5 value (101 bytes): \xB5\x87+\x0E2r\xAA\xF2\xFF\x07\xC7l\xAA5*\x15\x02\xF8\x96\xDC\xAE\xAE\xD4\xC8\xFE"=\x15b\xE42(z=6\x86A\x9F5Y\xDB_m\xBF\xBB\xC2W\xFA\xAFh\xBB\xAC\xA2_Wl\x84F\x0C\xEF8_/\x86\xB9C\xF2\xFA\x1D\x16\x06p\xEAI8\xCDV\xA2\x82B\x07\xC7'\x8E&\xEFT\x04k\xF3v9A\xA4\xA4\x84\xFD\x07\xB0S\xE5 [2018-03-17 23:37:58] >>> tlv_debug: Type 3 value (32 bytes): \xB8\x8A\x03\x02={\xE5\x1DX\xBC:p\xF7\xB8E\x01\xA9\xE1Ci0\x92\xF0\x88\x01Z|\xA2zdSL [2018-03-17 23:37:58] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-17 23:37:58] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB5\x87+\x0E2r\xAA\xF2\xFF\x07\xC7l\xAA5*\x15\x02\xF8\x96\xDC\xAE\xAE\xD4\xC8\xFE"=\x15b\xE42(z=6\x86A\x9F5Y\xDB_m\xBF\xBB\xC2W\xFA\xAFh\xBB\xAC\xA2_Wl\x84F\x0C\xEF8_/\x86\xB9C\xF2\xFA\x1D\x16\x06p\xEAI8\xCDV\xA2\x82B\x07\xC7'\x8E&\xEFT\x04k\xF3v9A\xA4\xA4\x84\xFD\x07\xB0S\xE5\x03 \xB8\x8A\x03\x02={\xE5\x1DX\xBC:p\xF7\xB8E\x01\xA9\xE1Ci0\x92\xF0\x88\x01Z|\xA2zdSL\x06\x01\x02 [2018-03-17 23:37:58] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 23:37:58] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: Free heap: 15072 [2018-03-17 23:37:58] >>> tlv_debug: Got following TLV values: [2018-03-17 23:37:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-17 23:37:58] >>> tlv_debug: Type 5 value (120 bytes): \xE9\x02\xF7\xE9\xFA\xAE3\xD3\xB3\x80\xA4\xD1B\x14\xD5\xF1\xF9\xDD\x981k5\x88\x81<\x95^\xDC\xDF\xF8<\xF5\x1E[\xE2\x05\xF1\xBA\x8C>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 23:37:58] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-17 23:37:58] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-17 23:38:01] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-17 23:38:01] >>> tlv_debug: Got following TLV values: [2018-03-17 23:38:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-17 23:38:01] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-17 23:38:01] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-17 23:38:01] >>> homekit_client_process: [Client 13] Finished processing [2018-03-17 23:38:01] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-17 23:38:01] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-17 23:38:01] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-17 23:38:01] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-17 23:38:01] >>> HomeKit: [Client 13] Get Accessories [2018-03-17 23:38:01] >>> homekit_server_on_get_accessories: Free heap: 15248 [2018-03-17 23:38:01] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-17 23:38:01] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-17 23:38:01] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-17 23:38:01] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-17 23:38:01] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 00:18:58] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 00:19:00] >>> HomeKit: Got new client connection: 12 [2018-03-18 00:19:00] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 00:19:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 00:19:00] >>> homekit_server_on_pair_verify: Free heap: 15360 [2018-03-18 00:19:00] >>> tlv_debug: Got following TLV values: [2018-03-18 00:19:00] >>> tlv_debug: Type 3 value (32 bytes): kQ\xDB\x06\x8A;\x80Q\xA5\x95?\x0E]\x91\xFE\x1Ej\xE7,_\x08\x1E+p\x1B\xD0\xA5\xE0\x9Bq\x13' [2018-03-18 00:19:00] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 00:19:00] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 00:19:00] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 00:19:00] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 00:19:01] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 00:19:01] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 00:19:02] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 00:19:04] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 00:19:04] >>> tlv_debug: Got following TLV values: [2018-03-18 00:19:04] >>> tlv_debug: Type 5 value (101 bytes): (\xD8\xBE\xFA\xC0\x90B\x96UF^!\xC8'i0\x147\x9D\xFD\xAB\x1A\xAF~W\xF8\x1F\x1C\xE5\xF6\xD4\xB3\x8E\x14\x81\xC5\xE3\xB1v\xCD\xC7\xA1\xA8d\x9C\x8C\x88Y\x1F\xE0\x0F\xEC\x07C\xFA[\xCE\xCA\xFD'\xE3L\x03\xFFzfK\xD6\xB5\xCA| {\xE1\xF4";\xBF\xB3\x01:\xEC\xD4\xBBh\x1E\xC7\x99a$\x0B\xCB\xCE.\x9C\xD3%\x07\xEB\x00{ [2018-03-18 00:19:04] >>> tlv_debug: Type 3 value (32 bytes): \xE72\xC9ql\x13ua\xD5Mo\x95>\x86T6\xB3!\xBD\xDDg\xF7K&\xF3\xE5\xF5\xB8\xE4Cs [2018-03-18 00:19:04] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 00:19:04] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e(\xD8\xBE\xFA\xC0\x90B\x96UF^!\xC8'i0\x147\x9D\xFD\xAB\x1A\xAF~W\xF8\x1F\x1C\xE5\xF6\xD4\xB3\x8E\x14\x81\xC5\xE3\xB1v\xCD\xC7\xA1\xA8d\x9C\x8C\x88Y\x1F\xE0\x0F\xEC\x07C\xFA[\xCE\xCA\xFD'\xE3L\x03\xFFzfK\xD6\xB5\xCA| {\xE1\xF4";\xBF\xB3\x01:\xEC\xD4\xBBh\x1E\xC7\x99a$\x0B\xCB\xCE.\x9C\xD3%\x07\xEB\x00{\x03 \xE72\xC9ql\x13ua\xD5Mo\x95>\x86T6\xB3!\xBD\xDDg\xF7K&\xF3\xE5\xF5\xB8\xE4Cs\x06\x01\x02 [2018-03-18 00:19:04] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 00:19:04] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: Free heap: 15068 [2018-03-18 00:19:04] >>> tlv_debug: Got following TLV values: [2018-03-18 00:19:04] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 00:19:04] >>> tlv_debug: Type 5 value (120 bytes): ^\xC3\x06\xEDj\x9E\xAC\xA4(\xA7W\x91\xF1LWh]ko1Q\xF0L\x82\x03\x98\xDD\xAE\xB0Tl\xA4\x8D\xBF\xFCctU\xB5\xC2\xA7\x8C\xCE\x12Ifp:\xA4/|0huZ\x01\xA5\xC9\x1E\x91)I\xF8@\x86\x1C\xB15\xB4Pk\xEE\x83cS\x90d\xBC\x1F\x18\xDD\xA0\xF7'\xE6Je\xECM\xA5\xEF\x8F\xE9a!&%\x0B\x88\xC52pc\x94\xDE\xE6h\xBF7z\x0C\\\xE2r\xAC\xE1\x19\xF3R\xDB [2018-03-18 00:19:04] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 00:19:04] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 00:19:04] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 00:19:07] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 00:19:07] >>> tlv_debug: Got following TLV values: [2018-03-18 00:19:07] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 00:19:07] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 00:19:07] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 00:19:07] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 00:19:07] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 00:19:07] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 00:19:07] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 00:19:07] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 00:19:07] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 00:19:07] >>> homekit_server_on_get_accessories: Free heap: 15248 [2018-03-18 00:19:07] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 00:19:07] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 00:19:08] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 00:19:08] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 00:19:08] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 00:22:45] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 00:22:48] >>> HomeKit: Got new client connection: 13 [2018-03-18 00:22:48] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 00:22:48] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 00:22:48] >>> homekit_server_on_pair_verify: Free heap: 15368 [2018-03-18 00:22:48] >>> tlv_debug: Got following TLV values: [2018-03-18 00:22:48] >>> tlv_debug: Type 3 value (32 bytes): e\xBB\xE6\xFCO\x1D\x05yY\x88\xC6\x8B\xE7\xB5\x82\x03\x06\x8E\x8A\xAD%\xEDe&\x02\\\xB57\xAD\xD1\xA0A [2018-03-18 00:22:48] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 00:22:48] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 00:22:48] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 00:22:48] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 00:22:49] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 00:22:49] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 00:22:50] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 00:22:52] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 00:22:52] >>> tlv_debug: Got following TLV values: [2018-03-18 00:22:52] >>> tlv_debug: Type 5 value (101 bytes): |\xDC\xFF\xB6f\x0F\x932\xC8\xACy\xBF\xF69%\xFA\xA6\x01Y\xC8\xC7M\xA3#\x13Cj\xEBb:\xA3\x85[\x88h\xD8[\xAC\xB2C\x94w\x838\x8C\xBC\x94\xAF\x09\xFFtP{\x8E\xB1\xA6\x1CT%n\xF8\xFE\xDA\xD1\xDF\xF6~~6\xEAka\x82\x1F\x14w\xE5\x03\xFCo\xEAvT\x9F\x815V\xCC\x0A\xCC\x046\xD9\xE3\xE6\x87\xF5L0\xC0e [2018-03-18 00:22:52] >>> tlv_debug: Type 3 value (32 bytes): \x89\xA5\x0F=\xC3\xA0\x85\xB1Rwm\x12BC6\x81\x0B\xFE?b\xC2\xD8\x0C\x83bq:\xF2Lc\xFE\x03 [2018-03-18 00:22:52] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 00:22:52] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e|\xDC\xFF\xB6f\x0F\x932\xC8\xACy\xBF\xF69%\xFA\xA6\x01Y\xC8\xC7M\xA3#\x13Cj\xEBb:\xA3\x85[\x88h\xD8[\xAC\xB2C\x94w\x838\x8C\xBC\x94\xAF\x09\xFFtP{\x8E\xB1\xA6\x1CT%n\xF8\xFE\xDA\xD1\xDF\xF6~~6\xEAka\x82\x1F\x14w\xE5\x03\xFCo\xEAvT\x9F\x815V\xCC\x0A\xCC\x046\xD9\xE3\xE6\x87\xF5L0\xC0e\x03 \x89\xA5\x0F=\xC3\xA0\x85\xB1Rwm\x12BC6\x81\x0B\xFE?b\xC2\xD8\x0C\x83bq:\xF2Lc\xFE\x03\x06\x01\x02 [2018-03-18 00:22:52] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 00:22:52] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: Free heap: 15076 [2018-03-18 00:22:52] >>> tlv_debug: Got following TLV values: [2018-03-18 00:22:52] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 00:22:52] >>> tlv_debug: Type 5 value (120 bytes): Q.\x997e\x1C\xD0\xA4\xC2\xA0\x15\xEA\x8B\xFB\x8D+\xB7\x87\xB4\x93\xF5\x99G5w\xFD/N\xDF\xEDe\x8D\xB5\xD4\x13\x08\x8E\xB9\xBB\xD5\xC6\x08\x84\x82\xAF\xD9\xB9\\\xB75\x822\x08\x84\xDF\xFC\x0F\x96\xED\x08`]\xAB]\x04^}c\xD3_\xE4\x13\xCC\xF6\x01'2|\xBE\xD3\x1F\xC5\xAD\xA4.=Tf\xBEu\xF3\x0D@j]\x8D#\xAD\xF2\x12\xC1~\xE67\x0A\x1A\x98\xF2\xBD\x0F}\xF4q\xC3@\xC1qh\x12\xE4 [2018-03-18 00:22:52] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 00:22:52] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 00:22:52] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 00:22:55] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 00:22:55] >>> tlv_debug: Got following TLV values: [2018-03-18 00:22:55] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 00:22:55] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 00:22:55] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 00:22:55] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 00:22:55] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 00:22:57] >>> HomeKit: Got new client connection: 13 [2018-03-18 00:22:58] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 00:22:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 00:22:58] >>> homekit_server_on_pair_verify: Free heap: 15368 [2018-03-18 00:22:58] >>> tlv_debug: Got following TLV values: [2018-03-18 00:22:58] >>> tlv_debug: Type 3 value (32 bytes): \xD8\xBC\x04*\x87l"\x13W\x9C\xCD\xAA\xE7\xEA\x11`\xDAA\xDA\xB7\xE45w\xFB\x83\xEC\xE7\x93c.\xE7\x10 [2018-03-18 00:22:58] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 00:22:58] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 00:22:58] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 00:22:58] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 00:22:59] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 00:22:59] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 00:23:00] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 00:23:02] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 00:23:02] >>> tlv_debug: Got following TLV values: [2018-03-18 00:23:02] >>> tlv_debug: Type 5 value (101 bytes): \xC4\x98\xBEnN3\x94\x06^]^\xB4\x8F\xB2o\xAD^\xE7K0@\x1F{\xB9A\xB2\xDB\x8F\xDAv\xB9\\N\xED\x81v\x0C\x89\xF1YC\xB0\xF8*\xE9\x1Dx>%t\x1C\xEE{Dm\xF5\xA0\x09\xA2v\\U\xF6\x8B\x9A\x9B\xB4ZLjj\x17p\x10\x0A\x90\x86\xDE+\x16fs\xB1\x8Auh~\x0D\xF1\xD81le\x10\x884\xD8+\x83\xDF [2018-03-18 00:23:02] >>> tlv_debug: Type 3 value (32 bytes): \xEDX\x83\xB3\xA3\x09\x09\xBF\xB3\x8A\xE4\x86Z\x89"\xDBB\xF1Ua<\xCEd`\x05x\x02\xBD\xA1\x1F\x0F\x18 [2018-03-18 00:23:02] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 00:23:02] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC4\x98\xBEnN3\x94\x06^]^\xB4\x8F\xB2o\xAD^\xE7K0@\x1F{\xB9A\xB2\xDB\x8F\xDAv\xB9\\N\xED\x81v\x0C\x89\xF1YC\xB0\xF8*\xE9\x1Dx>%t\x1C\xEE{Dm\xF5\xA0\x09\xA2v\\U\xF6\x8B\x9A\x9B\xB4ZLjj\x17p\x10\x0A\x90\x86\xDE+\x16fs\xB1\x8Auh~\x0D\xF1\xD81le\x10\x884\xD8+\x83\xDF\x03 \xEDX\x83\xB3\xA3\x09\x09\xBF\xB3\x8A\xE4\x86Z\x89"\xDBB\xF1Ua<\xCEd`\x05x\x02\xBD\xA1\x1F\x0F\x18\x06\x01\x02 [2018-03-18 00:23:02] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 00:23:02] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: Free heap: 15068 [2018-03-18 00:23:02] >>> tlv_debug: Got following TLV values: [2018-03-18 00:23:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 00:23:02] >>> tlv_debug: Type 5 value (120 bytes): \xC9\xF9\xB1M\x19\xF5T\x16\xC9)\xC4& '\x96l\x1Fw\xD5F\xE0K\xB5|/\x00\xE9\xA3]\xAD}\xC9\x1CR\xC2hD\x929\x04\xCCo\xE4\xC1p\xD4\x10a\xD6k\xE2\x805\x07\xA5\xAF\xA1*\xCC8TU\x0B9\x84K\xE3hD\xDE\xEB\x9B\xA9\xF9ML)x\x99\xF0\xA0\xA8#y\x06\x0EPu\xCA\xDF^R\xD8\x06\x01\xC5Ed\x0A\x06\xC1\xE0\xAF\x80\xB0\xD4\x18\xDE8\xFF\xAB\x08,\xB1TU \x1A\xC5 [2018-03-18 00:23:02] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 00:23:02] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 00:23:02] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 00:23:05] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 00:23:05] >>> tlv_debug: Got following TLV values: [2018-03-18 00:23:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 00:23:05] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 00:23:05] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 00:23:05] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 00:23:05] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 00:23:05] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 00:23:05] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 00:23:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 00:23:05] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 00:23:05] >>> homekit_server_on_get_accessories: Free heap: 15248 [2018-03-18 00:23:05] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 00:23:05] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 00:23:05] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 00:23:05] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 00:23:05] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 01:16:52] >>> HomeKit: [Client 7] Closing client connection [2018-03-18 01:16:54] >>> HomeKit: Got new client connection: 7 [2018-03-18 01:16:54] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-18 01:16:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 01:16:54] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 01:16:54] >>> tlv_debug: Got following TLV values: [2018-03-18 01:16:54] >>> tlv_debug: Type 3 value (32 bytes): \x05\x1Cy\xD9C\x94\xA5\xC8\x03w[\xB3.t.F\xB7&Aa\xB0\xBB\x05\x09:;(\x91\xE9JT [2018-03-18 01:16:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 01:16:54] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-18 01:16:54] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-18 01:16:54] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-18 01:16:55] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-18 01:16:55] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-18 01:16:56] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-18 01:16:58] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-18 01:16:58] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-18 01:16:58] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-18 01:16:58] >>> tlv_debug: Got following TLV values: [2018-03-18 01:16:58] >>> tlv_debug: Type 5 value (101 bytes): \x19\xB7\x1A\x93\x80\xA3\x89\xB0\xC1_\xBE^\xAF\x8D\xF4\xC0=\xE8\xE7\xBAn&\x11\xBA\xD5\xA4L\x10,2\xACT\x8A\x87\xA1\x1E\x8C~\x94\xA9\xDC\xDB\xBA\x1E\xB1\xB3\xEA\xF8\xA2\x87\xAE{\xA4X(\xC6\xC8;\xF3\xB2knJ\xEC\xF2\xE3\xDB\x0E\xCFn\xB8x\x97\x06\xE9\xB3~3\xFF!\xE6\x00\xFDnK3*\xB5\x86\xB1\xB6,v\x8A\xE0\x1C=Z,\xF5\xDC [2018-03-18 01:16:58] >>> tlv_debug: Type 3 value (32 bytes): \xB9\xB6r O\x1CLr\x8E\x9Cu\x8B!\x05\xA2\\#Lv2\xBB6\xF0f\x12\xF0f\x81\x91I\x80) [2018-03-18 01:16:58] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 01:16:58] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x19\xB7\x1A\x93\x80\xA3\x89\xB0\xC1_\xBE^\xAF\x8D\xF4\xC0=\xE8\xE7\xBAn&\x11\xBA\xD5\xA4L\x10,2\xACT\x8A\x87\xA1\x1E\x8C~\x94\xA9\xDC\xDB\xBA\x1E\xB1\xB3\xEA\xF8\xA2\x87\xAE{\xA4X(\xC6\xC8;\xF3\xB2knJ\xEC\xF2\xE3\xDB\x0E\xCFn\xB8x\x97\x06\xE9\xB3~3\xFF!\xE6\x00\xFDnK3*\xB5\x86\xB1\xB6,v\x8A\xE0\x1C=Z,\xF5\xDC\x03 \xB9\xB6r O\x1CLr\x8E\x9Cu\x8B!\x05\xA2\\#Lv2\xBB6\xF0f\x12\xF0f\x81\x91I\x80)\x06\x01\x02 [2018-03-18 01:16:58] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 01:16:58] >>> HomeKit: [Client 7] Closing client connection [2018-03-18 01:17:03] >>> HomeKit: Got new client connection: 7 [2018-03-18 01:17:03] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-18 01:17:03] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 01:17:03] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 01:17:03] >>> tlv_debug: Got following TLV values: [2018-03-18 01:17:03] >>> tlv_debug: Type 3 value (32 bytes): $\xF0\xD6\xD0\x0BO[\x95\x0D~I\xCAK8\xB8\xDA/\xEE\x9A\x1D\xACWV \xBE\xB3\xF9\xACoZg8 [2018-03-18 01:17:03] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 01:17:03] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-18 01:17:03] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-18 01:17:03] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-18 01:17:04] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-18 01:17:04] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-18 01:17:06] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-18 01:17:07] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-18 01:17:07] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-18 01:17:07] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-18 01:17:07] >>> tlv_debug: Got following TLV values: [2018-03-18 01:17:07] >>> tlv_debug: Type 5 value (101 bytes): \x97z\x03\x8FrO\xC9\x08$Cc\xA6W"S\x80U\xFA\x8DV\xCC\xB3V\x99\xE1H\xCC\xCE\x0A\x01\xF4\x19\xC7\x19B'\x0Bo\xBA\xDB\xF5jF\xD0n\xB0\xB7>\x8C\xB4\xEC~\xB4\x8A\xF6]\xC3"\xCAE\x94,\xD7\x80\xDC\xC3\xFF\xAC\x06\x9A&\xBA\xD2j[\x0Dh+\xC7\xBC\xE0@\xC1\xC3\x04p\x19\x88\x96\xBF\x0BY\xAE\xDD\x9D5#P\xE6b\x99 [2018-03-18 01:17:07] >>> tlv_debug: Type 3 value (32 bytes): \xCA\xBE\x80\xB0T\xB9GY:N\xB0\x97\x9C0\xBE\xBA3\xB21\x1EG\xCB\xC5\x91\xFC\xE8_\xF35\x8F\x96N [2018-03-18 01:17:07] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 01:17:07] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x97z\x03\x8FrO\xC9\x08$Cc\xA6W"S\x80U\xFA\x8DV\xCC\xB3V\x99\xE1H\xCC\xCE\x0A\x01\xF4\x19\xC7\x19B'\x0Bo\xBA\xDB\xF5jF\xD0n\xB0\xB7>\x8C\xB4\xEC~\xB4\x8A\xF6]\xC3"\xCAE\x94,\xD7\x80\xDC\xC3\xFF\xAC\x06\x9A&\xBA\xD2j[\x0Dh+\xC7\xBC\xE0@\xC1\xC3\x04p\x19\x88\x96\xBF\x0BY\xAE\xDD\x9D5#P\xE6b\x99\x03 \xCA\xBE\x80\xB0T\xB9GY:N\xB0\x97\x9C0\xBE\xBA3\xB21\x1EG\xCB\xC5\x91\xFC\xE8_\xF35\x8F\x96N\x06\x01\x02 [2018-03-18 01:17:07] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 01:17:09] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-18 01:17:09] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 01:17:09] >>> homekit_server_on_pair_verify: Free heap: 14804 [2018-03-18 01:17:09] >>> tlv_debug: Got following TLV values: [2018-03-18 01:17:09] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 01:17:09] >>> tlv_debug: Type 5 value (120 bytes): \x05V\xB1\x10\\0`\xD5\x1C\xF9]d\xC7\x19o\xDA \xAC\x1F\xDCgq\xB4A\x07\xEAY\x85D\xC0\x98\xFF\x88\xE7\x83\xF2\xD4:$\x135\xFBS\x14\xF0\xC8^\xF9\xF5\xB0\xC0+c\xAA\x9F\xF24\xA5\xEC\xD8\x9AU\xC9m?\x82\x0Bm\xFA\x12\x89\x05f\x11m\x1EvM\x9D\xDFF\xD7\xB0j&\xAA\x1A\\\xF5\xA4\x14\xC0\x91\x15\xB5*\x05\xF0\xC4\xD0\x1B\x97\xFC\x19\x9B\x1F\x13\xB8\x197\x91AM\x8E\x9F\xC1E\x97m\x85 [2018-03-18 01:17:09] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-18 01:17:09] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-18 01:17:09] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 01:17:09] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 01:17:09] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-18 01:17:12] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-18 01:17:12] >>> tlv_debug: Got following TLV values: [2018-03-18 01:17:12] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 01:17:12] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 01:17:12] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-18 01:17:12] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 01:17:12] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-18 01:17:12] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-18 01:17:12] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-18 01:17:12] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 01:17:12] >>> HomeKit: [Client 7] Get Accessories [2018-03-18 01:17:12] >>> homekit_server_on_get_accessories: Free heap: 15256 [2018-03-18 01:17:12] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 01:17:12] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 01:17:12] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 01:17:12] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 01:17:12] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 01:18:58] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 01:19:28] >>> HomeKit: Got new client connection: 12 [2018-03-18 01:19:28] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 01:19:28] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 01:19:28] >>> homekit_server_on_pair_verify: Free heap: 15372 [2018-03-18 01:19:28] >>> tlv_debug: Got following TLV values: [2018-03-18 01:19:28] >>> tlv_debug: Type 3 value (32 bytes): \xA4Mj11\xD8\xF7\x85\xCA\xFA\xE0\xDEH\xFA\x8Cr\x15Z(\xF7\xA7~o\x15@?\x04\x92\xC7\xC9\xA8\x0C [2018-03-18 01:19:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 01:19:29] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 01:19:29] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 01:19:29] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 01:19:30] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 01:19:30] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 01:19:31] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 01:19:33] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 01:19:33] >>> tlv_debug: Got following TLV values: [2018-03-18 01:19:33] >>> tlv_debug: Type 5 value (101 bytes): 7\x12\x94\x9CE\xFF\xFD\x87\x0CV\x16\x003\xF2%\xF5\xA0{\xB5p\x80\xF8B\xC8\xA6\x90\xF6\x10\x0E\x01\x96w~\xCENzi\xF3e\xBF\xBE+\xA1\x8A\xA3\xBD\x98\xA8\xB0'\xD3\xCA\x9A\x0Bcm\x11 ,h\x0F\xCD\xAA\xA6\xCE\x02\xAB\xFEf\xBB\xB1\x82\xC6\x94\xFD\xA5\x03\xA9V\xA5"\xCD\x0DQg\xD5B\xC4\xE9#\xD4\xFA9{+\xE8\xF5\x1A\xA7\xDAa [2018-03-18 01:19:33] >>> tlv_debug: Type 3 value (32 bytes): \xB2.\xBA\x10\xB1\xB8\xEF\x9Ak\x883x\xC1aD:)k\xF6VY\xF6\xB0\xC5k\x08\x8EJ\xFA\x13[3 [2018-03-18 01:19:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 01:19:33] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e7\x12\x94\x9CE\xFF\xFD\x87\x0CV\x16\x003\xF2%\xF5\xA0{\xB5p\x80\xF8B\xC8\xA6\x90\xF6\x10\x0E\x01\x96w~\xCENzi\xF3e\xBF\xBE+\xA1\x8A\xA3\xBD\x98\xA8\xB0'\xD3\xCA\x9A\x0Bcm\x11 ,h\x0F\xCD\xAA\xA6\xCE\x02\xAB\xFEf\xBB\xB1\x82\xC6\x94\xFD\xA5\x03\xA9V\xA5"\xCD\x0DQg\xD5B\xC4\xE9#\xD4\xFA9{+\xE8\xF5\x1A\xA7\xDAa\x03 \xB2.\xBA\x10\xB1\xB8\xEF\x9Ak\x883x\xC1aD:)k\xF6VY\xF6\xB0\xC5k\x08\x8EJ\xFA\x13[3\x06\x01\x02 [2018-03-18 01:19:33] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 01:19:33] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: Free heap: 15072 [2018-03-18 01:19:33] >>> tlv_debug: Got following TLV values: [2018-03-18 01:19:33] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 01:19:33] >>> tlv_debug: Type 5 value (120 bytes): \x84\xE4\xCDCb\x04\xE5\xC4\xA3\xB9A\x10\x8C\x80\x9BLV\xDE\xBC\x8B\xEA=5Wl!\xD5\xACU\x8E\x1D9\xBA\xA9qc\xFB\xE7\x91\xBF[eH\xCC=\xD9\x96\xD4S\x86\xEC_p\xEDX\xA5I,\xE4\xF6\x8D\x854\xEDU+\xDC\xBE\xFB\x99\x98g\x85}h\xDD\x8D(\xF7swi{\x04L\xF1\xC5N\x0A\xD6c\x03\xD2\xAC\x08oPH\xB7z\x07J>\x0A\xA7X|\x90d; \xDDh\x94~\xA4\xE8\x1A;- [2018-03-18 01:19:33] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 01:19:33] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 01:19:33] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 01:19:36] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 01:19:36] >>> tlv_debug: Got following TLV values: [2018-03-18 01:19:36] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 01:19:36] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 01:19:36] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 01:19:36] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 01:19:36] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 01:19:36] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 01:19:36] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 01:19:36] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 01:19:36] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 01:19:36] >>> homekit_server_on_get_accessories: Free heap: 15260 [2018-03-18 01:19:36] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 01:19:36] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 01:19:36] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 01:19:36] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 01:19:36] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 02:47:11] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 02:47:12] >>> HomeKit: Got new client connection: 13 [2018-03-18 02:47:12] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 02:47:12] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 02:47:12] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 02:47:12] >>> tlv_debug: Got following TLV values: [2018-03-18 02:47:12] >>> tlv_debug: Type 3 value (32 bytes): \xC6\xEC\x97\x1D1\xD4\xDBn\xCC\xEA\x1B9\x14\xA1\xCD\x9C*9\x91KE4h\xCA\x1B;\xF4o\xA9!M [2018-03-18 02:47:12] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 02:47:12] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 02:47:12] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 02:47:12] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 02:47:13] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 02:47:13] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 02:47:15] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 02:47:16] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 02:47:16] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 02:47:16] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 02:47:16] >>> tlv_debug: Got following TLV values: [2018-03-18 02:47:16] >>> tlv_debug: Type 5 value (101 bytes): \xD1\x9D\xECu\xC1\xAF\xC8\xAC\xE8\xAC\x12\xEC\xE4ati\xC1\xC2\x0A\x99_\x85\x0D\x88B.\xEA}f\x01\xDD\x9C\xD0y\xD4;\xEB\xEF\x81'\x18\x83\xD9\x9C\xFCa\xEDcz\x82\x04\xB7\x8F\xD9\x1Cs\xA8\x0D\x1A\xC2\x84\x094$f=\x99\x86\xED\xE2\xA9\xAC\x1F\xBAE\xA4,\xF7\xEDt\xE7\xF57\xA7\x1A\xB8\xAD\xD9\xA4|\xCD\xD2\xB1\x0B\x1C2\xDDm\xDCm\xE1 [2018-03-18 02:47:16] >>> tlv_debug: Type 3 value (32 bytes): ~\xBE\xCB$ \xA0\x9B\x9F\xFC\x1DZi\x1A\x92\x91(\x97\xEA`)\xA0\xBEzO\xCF\xC0\x09\xF6\x0C\\\x19 [2018-03-18 02:47:16] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 02:47:16] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xD1\x9D\xECu\xC1\xAF\xC8\xAC\xE8\xAC\x12\xEC\xE4ati\xC1\xC2\x0A\x99_\x85\x0D\x88B.\xEA}f\x01\xDD\x9C\xD0y\xD4;\xEB\xEF\x81'\x18\x83\xD9\x9C\xFCa\xEDcz\x82\x04\xB7\x8F\xD9\x1Cs\xA8\x0D\x1A\xC2\x84\x094$f=\x99\x86\xED\xE2\xA9\xAC\x1F\xBAE\xA4,\xF7\xEDt\xE7\xF57\xA7\x1A\xB8\xAD\xD9\xA4|\xCD\xD2\xB1\x0B\x1C2\xDDm\xDCm\xE1\x03 ~\xBE\xCB$ \xA0\x9B\x9F\xFC\x1DZi\x1A\x92\x91(\x97\xEA`)\xA0\xBEzO\xCF\xC0\x09\xF6\x0C\\\x19\x06\x01\x02 [2018-03-18 02:47:16] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 02:47:17] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 02:47:17] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 02:47:17] >>> homekit_server_on_pair_verify: Free heap: 15084 [2018-03-18 02:47:17] >>> tlv_debug: Got following TLV values: [2018-03-18 02:47:17] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 02:47:17] >>> tlv_debug: Type 5 value (120 bytes): \x1F\xEBt\x07\xE4[\xE2\x97$g\\\x1D\xD7|\x1B\xB9\xD5\x00`z\xA8G$3\x04DN\xFE\xD6u\x14\xDB\xFD\x15)\xEB\xD4\x03 \xF6$=\xC8\xDF\x8Cv\xA0\xC2\x1Ab0\xD5cM\xCB\xFF\x96v\xAA\xF3\xF5\x0A>\x89e|\xDDR[:\x81<\xC9@\xA7\xF5\x83\xCBuB\x1B\xF2AMI\xE1\x0Cp+\x10\x97\x07w\x83p\x1E\xB7'\xA7\x8F\xD26\x88I\xF1\x16\xA0\xB4,\xF1\xCF\x8C\xF8C\xFDX'\xD2p [2018-03-18 02:47:17] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 02:47:17] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 02:47:17] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 02:47:17] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 02:47:17] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 02:47:20] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 02:47:20] >>> tlv_debug: Got following TLV values: [2018-03-18 02:47:20] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 02:47:20] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 02:47:20] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 02:47:20] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 02:47:20] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 02:47:20] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 02:47:20] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 02:47:20] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 02:47:20] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 02:47:20] >>> homekit_server_on_get_accessories: Free heap: 15256 [2018-03-18 02:47:20] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 02:47:20] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 02:47:20] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 02:47:20] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 02:47:20] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 03:08:26] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 03:10:56] >>> HomeKit: Got new client connection: 12 [2018-03-18 03:10:56] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 03:10:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:10:56] >>> homekit_server_on_pair_verify: Free heap: 14996 [2018-03-18 03:10:56] >>> tlv_debug: Got following TLV values: [2018-03-18 03:10:56] >>> tlv_debug: Type 3 value (32 bytes): k\xBFdq.k\x88\xE9\xA3n\xF5\xF9\x12\xE6\xF0w\xFE\x87\x84YM\xCEEs\xF8-\x94\xD8\xFFr\x8EB [2018-03-18 03:10:56] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 03:10:56] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 03:10:56] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 03:10:56] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 03:10:57] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 03:10:57] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 03:10:58] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 03:11:00] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 03:11:00] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 03:11:00] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 03:11:00] >>> tlv_debug: Got following TLV values: [2018-03-18 03:11:00] >>> tlv_debug: Type 5 value (101 bytes): \xCB\x15\xD7\x81\xB3\x0BH\x93\xD9\x03\xC1\xA0\xB5\x1A\x1D\x0A\x13\x03\xDAY\xA7\xC8pc\x9E\x16\xA1yrmI]D\xFB}\x8B1\xC7\x1BJ\xE6Z&S\xA2(\xD9gZu\xA8\xEDV\xCE\x0Cm/\x99C\xA7b\xC5:n\x18\xA5>\x0E\xC3a\xB4J\x1Co\x83A\xBFd\x8A\xC4j\x06/\x8A\x8A\x9E\xC7\x0A\xEF\xF2\xEB\x01\xD3\xB2gA\x1F\x01\xD8\xDB [2018-03-18 03:11:00] >>> tlv_debug: Type 3 value (32 bytes): \xA3E\xA3\x1Eb\xA6\xD8y\xF8U\xD9\xBD\x1D\x1F\x89\x93\x84\xAFN\\\x1BX3c\x1D\xF7\xAD\xCC\xA0\x00\xD6\x1E [2018-03-18 03:11:00] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 03:11:00] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xCB\x15\xD7\x81\xB3\x0BH\x93\xD9\x03\xC1\xA0\xB5\x1A\x1D\x0A\x13\x03\xDAY\xA7\xC8pc\x9E\x16\xA1yrmI]D\xFB}\x8B1\xC7\x1BJ\xE6Z&S\xA2(\xD9gZu\xA8\xEDV\xCE\x0Cm/\x99C\xA7b\xC5:n\x18\xA5>\x0E\xC3a\xB4J\x1Co\x83A\xBFd\x8A\xC4j\x06/\x8A\x8A\x9E\xC7\x0A\xEF\xF2\xEB\x01\xD3\xB2gA\x1F\x01\xD8\xDB\x03 \xA3E\xA3\x1Eb\xA6\xD8y\xF8U\xD9\xBD\x1D\x1F\x89\x93\x84\xAFN\\\x1BX3c\x1D\xF7\xAD\xCC\xA0\x00\xD6\x1E\x06\x01\x02 [2018-03-18 03:11:00] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 03:11:00] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 03:11:02] >>> HomeKit: Got new client connection: 12 [2018-03-18 03:11:02] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 03:11:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:11:02] >>> homekit_server_on_pair_verify: Free heap: 14856 [2018-03-18 03:11:02] >>> tlv_debug: Got following TLV values: [2018-03-18 03:11:02] >>> tlv_debug: Type 3 value (32 bytes): \xD5\xFD\xBDdo\xBD\xE4X\xEA\xCC3u\xE4\xA1a\xEE\xC0"[g\xEF\xFBz\xB9\xFA\x99\xCF\xA3\xB6\xCF+u [2018-03-18 03:11:02] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 03:11:02] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 03:11:02] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 03:11:02] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 03:11:03] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 03:11:03] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 03:11:04] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 03:11:06] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 03:11:06] >>> tlv_debug: Got following TLV values: [2018-03-18 03:11:06] >>> tlv_debug: Type 5 value (101 bytes): n\x87\xEF4\xF3m\xE6T\x885H:"\xC5\\2\xA5\xE8m'\xA6\x17\xE8\x01\xBA+\xBB<\x17\xC7\x96\xD8v\x9E\xA4\\\x05\xEB\xECl4}U\x83\xEC\xDF\xB6SD\xA6\xA3\x9B\x8DvMK\xD4t\xD7\x06\xFFVq\x02\xA1\xD6m\xF8\xDF\x1F\x82_\xD2\xC45\x18\x92\xBB\xE9\xDB\xE0\xE83<\xC8\xF2\xD0\x11\x07A!\xF9H\xC91\xDD\xBA\xF4\x81\xF8 [2018-03-18 03:11:06] >>> tlv_debug: Type 3 value (32 bytes): \x16\xB3\x89 \xB3\x0CfY\x0FP.L\xB3g\x899z\xC4\x1B\x80-\xCD\x84>h\x1F5\xF6"@\xB6? [2018-03-18 03:11:06] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 03:11:06] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05en\x87\xEF4\xF3m\xE6T\x885H:"\xC5\\2\xA5\xE8m'\xA6\x17\xE8\x01\xBA+\xBB<\x17\xC7\x96\xD8v\x9E\xA4\\\x05\xEB\xECl4}U\x83\xEC\xDF\xB6SD\xA6\xA3\x9B\x8DvMK\xD4t\xD7\x06\xFFVq\x02\xA1\xD6m\xF8\xDF\x1F\x82_\xD2\xC45\x18\x92\xBB\xE9\xDB\xE0\xE83<\xC8\xF2\xD0\x11\x07A!\xF9H\xC91\xDD\xBA\xF4\x81\xF8\x03 \x16\xB3\x89 \xB3\x0CfY\x0FP.L\xB3g\x899z\xC4\x1B\x80-\xCD\x84>h\x1F5\xF6"@\xB6?\x06\x01\x02 [2018-03-18 03:11:06] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 03:11:06] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: Free heap: 15064 [2018-03-18 03:11:06] >>> tlv_debug: Got following TLV values: [2018-03-18 03:11:06] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 03:11:06] >>> tlv_debug: Type 5 value (120 bytes): C\xF9\xA8b\xC1\xD0\x90*\xD3\xBE\x89\x80\xD4\xB85?\x17o\xB9\xA7T\xAD-\xA3\xA2\x0C\x8D\x14u`\x910\xD6w\x99P\x02O\\\xE5\x98@\xDF\x06\xB8\\-\x8B\xD5\xC2\x8C\xA7\x00\xF9\x18\xF9\x14\xB8\xE0\xF3\xD0cR\x08d\xCA\xE1\x80\xE8v\xFB\x0EMf\xEA\xAA:\xDAZ?\xD7t\xFC=`\xF7\xB7\x94\xC6g\xC3\xA7\xC89\xDEad\xF0\xC5T\x8B\xEC\xEA/]\x93G\xAA\xD8\xE3\x07\xC9C\xFE\xA5\xF2[\xB8\xEB\xE9 [2018-03-18 03:11:06] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 03:11:06] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 03:11:06] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 03:11:09] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 03:11:09] >>> tlv_debug: Got following TLV values: [2018-03-18 03:11:09] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 03:11:09] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 03:11:09] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 03:11:09] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 03:11:09] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 03:11:09] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 03:11:09] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 03:11:09] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 03:11:09] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 03:11:09] >>> homekit_server_on_get_accessories: Free heap: 15264 [2018-03-18 03:11:09] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 03:11:10] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 03:11:10] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 03:11:10] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 03:11:10] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 03:28:25] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 03:28:26] >>> HomeKit: Got new client connection: 13 [2018-03-18 03:28:26] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 03:28:26] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:28:26] >>> homekit_server_on_pair_verify: Free heap: 15380 [2018-03-18 03:28:26] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:26] >>> tlv_debug: Type 3 value (32 bytes): \x07\xC4\xC1O\xB3oRF\x8D\xF8,\x100\x91\x87\xD8s[\xAE1\xA7\x8BY\xD4~\xB9.\xA9L{\xC6\x18 [2018-03-18 03:28:26] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 03:28:26] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 03:28:26] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 03:28:26] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 03:28:27] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 03:28:27] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 03:28:28] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 03:28:30] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 03:28:30] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:30] >>> tlv_debug: Type 5 value (101 bytes): \x19]}\x11\xA5'|\x1AD\xFFA2\xDD\xA7\xEDt\x1D\xE3\x8A\xB6\xE65\xBB\x14\x86mQ6_\x9D\x0Du`{\xE4C`D\xFD\x82U\x0D\xA0\x06\xC1<:\xEC\x99\xD5\xA8=\xFF{\xE0i\x00\xEC\x9A\xEE|\x02\x0BN\x01;;\x1C\xE0\xC8*\xDDm\x8B\xBC\xA5\xB7\xF3\xB4\xA8\xB9\xEE\xC8]\x9E\xBA\x02\xB3\x9F\x13\xEAT\x8E\xFF5\xE2\x96V\xE3j\x90 [2018-03-18 03:28:30] >>> tlv_debug: Type 3 value (32 bytes): \xD2\x94Up\x1C\xC2\x1C3\xC2\x15\xA2\xFF\x10\x80'\xF6(\xA8^&\x12\x98\xD90\x14%\xFAJ\xA5y\xD0\x14 [2018-03-18 03:28:30] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 03:28:30] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x19]}\x11\xA5'|\x1AD\xFFA2\xDD\xA7\xEDt\x1D\xE3\x8A\xB6\xE65\xBB\x14\x86mQ6_\x9D\x0Du`{\xE4C`D\xFD\x82U\x0D\xA0\x06\xC1<:\xEC\x99\xD5\xA8=\xFF{\xE0i\x00\xEC\x9A\xEE|\x02\x0BN\x01;;\x1C\xE0\xC8*\xDDm\x8B\xBC\xA5\xB7\xF3\xB4\xA8\xB9\xEE\xC8]\x9E\xBA\x02\xB3\x9F\x13\xEAT\x8E\xFF5\xE2\x96V\xE3j\x90\x03 \xD2\x94Up\x1C\xC2\x1C3\xC2\x15\xA2\xFF\x10\x80'\xF6(\xA8^&\x12\x98\xD90\x14%\xFAJ\xA5y\xD0\x14\x06\x01\x02 [2018-03-18 03:28:30] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 03:28:30] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: Free heap: 15080 [2018-03-18 03:28:30] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:30] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 03:28:30] >>> tlv_debug: Type 5 value (120 bytes): /I\xB4o\xA4\x1A8\x16g\xD7\xA1\xF7r\xB7\xE5t\xB4\xA7h\xA1(Su_\xF4\x0Ez\x97]|\xDAJ8\xF5y0\x8F\xFB\x04\xAB \xF3\x81<"\x82S\x8B\x18\xB2\x87\xB8H\xE6\\=>\xBA\xCA\x10\xBB\xC6b+\x89.\xDB\xA9\xF0\x8B\x9C\xE2\x0B\xC9\x92\xDD\x90\x87U\xBA\x99\xE0\xDDH/N\xDDQ\\\x04Y\xE2N\xFD\x87\xE7\x185\xEE\x82\xCA\x06\x17]\xA2\x91\xF9+\x82"\x91\x0Bm\xF2Qh\x9A [2018-03-18 03:28:30] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 03:28:30] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 03:28:30] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 03:28:33] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 03:28:33] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:33] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 03:28:33] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 03:28:33] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 03:28:33] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 03:28:33] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 03:28:34] >>> HomeKit: Got new client connection: 13 [2018-03-18 03:28:34] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 03:28:34] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:28:34] >>> homekit_server_on_pair_verify: Free heap: 15380 [2018-03-18 03:28:34] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:34] >>> tlv_debug: Type 3 value (32 bytes): \xBA\xDDf\x96K#\xBFp\x0D\xB0\x03\xD8o\xA4\x98jj\xC1W5\xD9\x81DWX\x1B\x8F\xB4\x03\xA4P [2018-03-18 03:28:34] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 03:28:34] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 03:28:34] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 03:28:34] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 03:28:35] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 03:28:35] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 03:28:36] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 03:28:38] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 03:28:38] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:38] >>> tlv_debug: Type 5 value (101 bytes): |\x81\x91\x82\xC6K\xCB\xA18\x95+\x97^\xF6\x8A\x0E\xD8H1;\x03!\xFBi\xE7U\xB8\x99\xE6r\xDALX\xCD\x807\\m\x87e\x0D\x10w\x83\x0EW\xCF))w\x05\xA4c\xE1\x01g\xC3\xFA)\x03\x00\x10Y"*\xE6Q\x1F?\x06\x17E\xEC>\x9D-\x95I.\xA5qz\xB5!\xAC\xDE\xAD\x94j\xE2shR\xB5<\x12\x1C=\x04^ [2018-03-18 03:28:38] >>> tlv_debug: Type 3 value (32 bytes): \xCB\xD0U\xBB\xD4\x90X\xA0(:'J\x95\xF9R\xCD\xCF\xF0\xFA-\xD1\x9Bg\x871\xF7\x1D\x1C#b\xF9/ [2018-03-18 03:28:38] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 03:28:38] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e|\x81\x91\x82\xC6K\xCB\xA18\x95+\x97^\xF6\x8A\x0E\xD8H1;\x03!\xFBi\xE7U\xB8\x99\xE6r\xDALX\xCD\x807\\m\x87e\x0D\x10w\x83\x0EW\xCF))w\x05\xA4c\xE1\x01g\xC3\xFA)\x03\x00\x10Y"*\xE6Q\x1F?\x06\x17E\xEC>\x9D-\x95I.\xA5qz\xB5!\xAC\xDE\xAD\x94j\xE2shR\xB5<\x12\x1C=\x04^\x03 \xCB\xD0U\xBB\xD4\x90X\xA0(:'J\x95\xF9R\xCD\xCF\xF0\xFA-\xD1\x9Bg\x871\xF7\x1D\x1C#b\xF9/\x06\x01\x02 [2018-03-18 03:28:38] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 03:28:38] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: Free heap: 15080 [2018-03-18 03:28:38] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:38] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 03:28:38] >>> tlv_debug: Type 5 value (120 bytes): G8\x14\xD1~~x\xDD"\x0A\xFA\xD6\xA1v\x88_K\xDA\xD1!\xC6CD\x98\x18\xDB\xF9>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 03:28:38] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 03:28:38] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 03:28:41] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 03:28:41] >>> tlv_debug: Got following TLV values: [2018-03-18 03:28:41] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 03:28:41] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 03:28:41] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 03:28:41] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 03:28:41] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 03:28:41] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 03:28:41] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 03:28:41] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 03:28:41] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 03:28:41] >>> homekit_server_on_get_accessories: Free heap: 15128 [2018-03-18 03:28:41] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 03:28:41] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 03:28:41] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 03:28:46] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 03:28:46] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 03:46:58] >>> HomeKit: [Client 8] Closing client connection [2018-03-18 03:47:01] >>> HomeKit: Got new client connection: 8 [2018-03-18 03:47:01] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-18 03:47:01] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:47:01] >>> homekit_server_on_pair_verify: Free heap: 15236 [2018-03-18 03:47:01] >>> tlv_debug: Got following TLV values: [2018-03-18 03:47:01] >>> tlv_debug: Type 3 value (32 bytes): \x9C\x03\xAB\x0D\x15N\x9A\xAFl)\x0F<{\xD1\xF8B8x\x81\xEF\x06S\x14\x95?\xEEZ\xA0\x880\x8D5 [2018-03-18 03:47:01] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 03:47:01] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-18 03:47:01] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-18 03:47:01] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-18 03:47:02] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-18 03:47:02] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-18 03:47:03] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-18 03:47:05] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-18 03:47:05] >>> tlv_debug: Got following TLV values: [2018-03-18 03:47:05] >>> tlv_debug: Type 5 value (101 bytes): \xA7\x83\xA6\xEE-\xCC\\4(\x92G\xBA\x0A1\xAC\xD0Mu\xB6\xAA`\xA0G\xAF\xC8\xEEO\x04\xBF5U\x90\x84C\\;\x0D\x1B\x87\xF3\xF0S\xC4\xEB\x11\xAC\x83o\xDB\x14h\x8Ee\xB1_*\x10fs\xE1U\x1C7v\xEC\xD5\x81\x83Z`\xDA\xE0\x85\xAF\xBF>\xEFS\xFBn\\\x15\x92\xBC\x15\xE7\xEFz\xDE\xF8\x90\x97\x1Aha\xD1\xFD\xD1\xD3] [2018-03-18 03:47:05] >>> tlv_debug: Type 3 value (32 bytes): H\xE2\xD6\xEF6O;\xD6\x82\xB4m\xA8t\xB9\xFF\xFDL\x99D\xCB\xF2\xAC\x1B&\xC2\x11\xF8\xE9\xB7\xAA\xDB [2018-03-18 03:47:05] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 03:47:05] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xA7\x83\xA6\xEE-\xCC\\4(\x92G\xBA\x0A1\xAC\xD0Mu\xB6\xAA`\xA0G\xAF\xC8\xEEO\x04\xBF5U\x90\x84C\\;\x0D\x1B\x87\xF3\xF0S\xC4\xEB\x11\xAC\x83o\xDB\x14h\x8Ee\xB1_*\x10fs\xE1U\x1C7v\xEC\xD5\x81\x83Z`\xDA\xE0\x85\xAF\xBF>\xEFS\xFBn\\\x15\x92\xBC\x15\xE7\xEFz\xDE\xF8\x90\x97\x1Aha\xD1\xFD\xD1\xD3]\x03 H\xE2\xD6\xEF6O;\xD6\x82\xB4m\xA8t\xB9\xFF\xFDL\x99D\xCB\xF2\xAC\x1B&\xC2\x11\xF8\xE9\xB7\xAA\xDB\x06\x01\x02 [2018-03-18 03:47:05] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 03:47:05] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: Free heap: 15084 [2018-03-18 03:47:05] >>> tlv_debug: Got following TLV values: [2018-03-18 03:47:05] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 03:47:05] >>> tlv_debug: Type 5 value (120 bytes): \x1B\xFB\xB0Sq\x95x\xD6&\xC2\x1EXM\x0A\x8E\xC1\xAD\x05\xDF\xA4@\x86\xAEu\x19\xF9\xE2\xE4G\xCB\x8A\xC6\xAC\xD8\xA4\x18\x17\x98\xB6&\xEC<\xA8\x19du\xEF\xC6\x02x\xE8O `\x15\xA7\xA9\xE3\x0C\x00%\xB5\x83\xD1\xAA\x05Kg=\xC7cB\x1B\xC7\x0B.[<\x85/O\x07$\xD2\xF8ym\x8F\x9FH\xE0v\xC9\xDE\x19\x0D\xFA\xA2\x15\x17\xF8\xFC\x00(\xC2\x9E\xB5\x1A\xEF:\xE9\x82\xC21Ys\xA7\xC49 [2018-03-18 03:47:05] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 03:47:05] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 03:47:05] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-18 03:47:08] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-18 03:47:08] >>> tlv_debug: Got following TLV values: [2018-03-18 03:47:08] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 03:47:08] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 03:47:08] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-18 03:47:08] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 03:47:09] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-18 03:47:09] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-18 03:47:09] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-18 03:47:09] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 03:47:09] >>> HomeKit: [Client 8] Get Accessories [2018-03-18 03:47:09] >>> homekit_server_on_get_accessories: Free heap: 15264 [2018-03-18 03:47:09] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 03:47:09] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 03:47:09] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 03:47:09] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 03:47:09] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 05:02:21] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 05:07:09] >>> HomeKit: Got new client connection: 13 [2018-03-18 05:07:09] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 05:07:09] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:07:09] >>> homekit_server_on_pair_verify: Free heap: 15380 [2018-03-18 05:07:09] >>> tlv_debug: Got following TLV values: [2018-03-18 05:07:09] >>> tlv_debug: Type 3 value (32 bytes): \xD2\xC5'\xF6\x84\x8D\xBEk\xD7PE\x14\xACH5=>\x05,\xAD\xDC\x91L\x01m\xC0?1\xB4\x83\x810 [2018-03-18 05:07:09] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:07:09] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 05:07:09] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 05:07:09] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 05:07:10] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 05:07:10] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 05:07:11] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 05:07:13] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 05:07:13] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 05:07:13] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:07:13] >>> tlv_debug: Got following TLV values: [2018-03-18 05:07:13] >>> tlv_debug: Type 5 value (101 bytes): \x98>> tlv_debug: Type 3 value (32 bytes): \x9Ff\xBB?\xCFh\xAA<\xD9\x08\x15E\x0B\xB3'\xA2\x99^\xA1\xD4\x14\xDB\xDB\x0F\x86\x07+ \xBC\x89\x0F\x03 [2018-03-18 05:07:13] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:07:13] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x98>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:07:14] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 05:07:14] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:07:14] >>> homekit_server_on_pair_verify: Free heap: 15084 [2018-03-18 05:07:14] >>> tlv_debug: Got following TLV values: [2018-03-18 05:07:14] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 05:07:14] >>> tlv_debug: Type 5 value (120 bytes): \x1D\xF5P8\x14y\xD8}%\x06\xE9n\xAC\xAE\xE8\xD8N\xF9\xB7e\xBA\xC5\xC6h\x1Bl\xF5\xB3D\xCD\xD17\x95\xBF\x10Jm\x07p\xC7\x0A\x93\x0B\xB6\x93wn\xF2\xF5\xAC\xFD\xEF\xB1r\x83\xFC`;mD\xCB\x14\xC0\x86\x12\x06A\x96B\xFF,%\xCC\x91w\x9Bp\xAC\xAE\x98<{\x88\xDF\x9F\xBC<\x90K\xF4\x9E\x82F\xC4\xA4\xF7\xA3-\xD2p\x15R\xB2/\x09\x15 \xC7#\xD4+@\xA0\xFD}\x1C\xD2a\x9E [2018-03-18 05:07:14] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 05:07:14] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 05:07:14] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:07:14] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:07:14] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 05:07:17] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:07:17] >>> tlv_debug: Got following TLV values: [2018-03-18 05:07:17] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 05:07:17] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 05:07:17] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 05:07:17] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:07:17] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 05:07:17] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 05:07:17] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 05:07:17] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 05:07:17] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 05:07:17] >>> homekit_server_on_get_accessories: Free heap: 15268 [2018-03-18 05:07:17] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 05:07:17] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 05:07:17] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 05:07:17] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 05:07:17] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:18:16] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 05:18:17] >>> HomeKit: Got new client connection: 13 [2018-03-18 05:18:17] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 05:18:17] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:18:17] >>> homekit_server_on_pair_verify: Free heap: 15360 [2018-03-18 05:18:17] >>> tlv_debug: Got following TLV values: [2018-03-18 05:18:17] >>> tlv_debug: Type 3 value (32 bytes): _\xAD}\xFEv\xF5\xD84\x83a\xA7\x8A\x81\xA2\xCC\x93\x0E\x91Wq\x1Cq\xB6\x07\xF2\xC27\xCC\xBCp&c [2018-03-18 05:18:17] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:18:17] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 05:18:17] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 05:18:17] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 05:18:18] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 05:18:18] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 05:18:19] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 05:18:21] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:18:21] >>> tlv_debug: Got following TLV values: [2018-03-18 05:18:21] >>> tlv_debug: Type 5 value (101 bytes): \xAF\x90d~4\xA4D\x88\xB7tJ@\xCD\xE5\x1F\xC7/u\xF0\x0C(P\xBB\xA2_\xA7<\x12\x1B\x97Wk\x16\x84\x89\x16\x03\x9E\xFE\xC5\x94\xC7\x13(;\xBB~\x0A\xFA\x84\x91p/\xC86\xD8\xBA\x07\x08q!\xACz6pO\xA0N\x88\xCC\x0D`\xF7;\xBC\xF0\xB4\x95\xF3\x9C\x92;\xB9/y<\xF2\x85DY3\xEC\xD7Z\xB2F\xBD\x1F\xC8\\\x98 [2018-03-18 05:18:21] >>> tlv_debug: Type 3 value (32 bytes): jV\xD9\xE8\xC3R\x95\xCD6OWg\xD7\xD9\xB4\xF1\x1B\xBF\x0D\xAD\xB4\x9F\xA0\x81-\xB7\xEF\xE43g/A [2018-03-18 05:18:21] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:18:21] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xAF\x90d~4\xA4D\x88\xB7tJ@\xCD\xE5\x1F\xC7/u\xF0\x0C(P\xBB\xA2_\xA7<\x12\x1B\x97Wk\x16\x84\x89\x16\x03\x9E\xFE\xC5\x94\xC7\x13(;\xBB~\x0A\xFA\x84\x91p/\xC86\xD8\xBA\x07\x08q!\xACz6pO\xA0N\x88\xCC\x0D`\xF7;\xBC\xF0\xB4\x95\xF3\x9C\x92;\xB9/y<\xF2\x85DY3\xEC\xD7Z\xB2F\xBD\x1F\xC8\\\x98\x03 jV\xD9\xE8\xC3R\x95\xCD6OWg\xD7\xD9\xB4\xF1\x1B\xBF\x0D\xAD\xB4\x9F\xA0\x81-\xB7\xEF\xE43g/A\x06\x01\x02 [2018-03-18 05:18:21] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:18:21] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: Free heap: 15068 [2018-03-18 05:18:21] >>> tlv_debug: Got following TLV values: [2018-03-18 05:18:21] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 05:18:21] >>> tlv_debug: Type 5 value (120 bytes): \xBCS\xB1(\xEC:%\xF5\x0Ez\x8Egy\x8DD>'\x82\xDC\xA0l\\\xB7\xF5g\xDF#\xB8\x02\x99h\xE0\x09\xD70\xA9 \xC39\x9D\xCCC\x90\x86\x9B-\x9E\xD7!\xD0Q\x1Bt\\\xA0\xF1\x94^\xFDP\xB09j\x0F\x0E\xD8X\xB5\x92\x0D\x82\x08\xA24Az~\xF9\xFC`1\xE79\xA3jW%\x89\xDB\xC8\x0E\x8Eb\xA7\x03\xB1\x85.c\xB6\xB8\xA0a\x1B\xF0gF\x9C4\xE8\xAD\xC8+\x84!\x14I\xBF\xFB\x0D [2018-03-18 05:18:21] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:18:21] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:18:21] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 05:18:24] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:18:24] >>> tlv_debug: Got following TLV values: [2018-03-18 05:18:24] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 05:18:24] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 05:18:24] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 05:18:24] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:18:24] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 05:18:24] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 05:18:24] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 05:18:24] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 05:18:24] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 05:18:24] >>> homekit_server_on_get_accessories: Free heap: 15252 [2018-03-18 05:18:24] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 05:18:24] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 05:18:24] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 05:18:24] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 05:18:24] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:34:51] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 05:34:52] >>> HomeKit: Got new client connection: 13 [2018-03-18 05:34:52] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 05:34:52] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:34:52] >>> homekit_server_on_pair_verify: Free heap: 15372 [2018-03-18 05:34:52] >>> tlv_debug: Got following TLV values: [2018-03-18 05:34:52] >>> tlv_debug: Type 3 value (32 bytes): \xB9Q\x02\x1B\xCC\xA2\x95was\x02Vu\x0CE\x82\xFA\x1EcU\xCA\xAE}:\x1F\x17\x08\xCA\xE4LNx [2018-03-18 05:34:52] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:34:52] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 05:34:52] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 05:34:52] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 05:34:53] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 05:34:53] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 05:34:55] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 05:34:56] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 05:34:56] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 05:34:56] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:34:56] >>> tlv_debug: Got following TLV values: [2018-03-18 05:34:56] >>> tlv_debug: Type 5 value (101 bytes): h\xCA\xA3QyE\x8B\xE1\xBB\x8A\xBF\xF9A\x9B\xDCe\xF5\xE1\xB7Y\x05t\xBB\x1D\xC2\xEE\x94X\xE4\xD5\x9Dt\x1E\xD8\xA3:T\xE2\xF4\xEC\xA5\x86\xB8\xA6?\xD0J\x9E8\xB5\x0A\x98\xB9\xDAL\xB7^\xD4e\x91S\xA0\xF8\x9C\x06\xC9:\xF2$}\xE8M\xDD\x82g\xB1z\x10\xD7\xBC\xC9\x82ke\xDBt\xCC\x1E\x09\x85\xE5\xDC\xB9\xF1\x0DZ\xB9$\xA4b\xA2 [2018-03-18 05:34:56] >>> tlv_debug: Type 3 value (32 bytes): \x85\x91\xCA\x12>\xED|\xD2\x01\x81%\x0A\xC6\xC7\xAE\x90\xC0\x01\x09Vb\xCE\xF0\xE7\xFF\xB9\xED\xFA\xDE\x80\xBCD [2018-03-18 05:34:56] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:34:56] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eh\xCA\xA3QyE\x8B\xE1\xBB\x8A\xBF\xF9A\x9B\xDCe\xF5\xE1\xB7Y\x05t\xBB\x1D\xC2\xEE\x94X\xE4\xD5\x9Dt\x1E\xD8\xA3:T\xE2\xF4\xEC\xA5\x86\xB8\xA6?\xD0J\x9E8\xB5\x0A\x98\xB9\xDAL\xB7^\xD4e\x91S\xA0\xF8\x9C\x06\xC9:\xF2$}\xE8M\xDD\x82g\xB1z\x10\xD7\xBC\xC9\x82ke\xDBt\xCC\x1E\x09\x85\xE5\xDC\xB9\xF1\x0DZ\xB9$\xA4b\xA2\x03 \x85\x91\xCA\x12>\xED|\xD2\x01\x81%\x0A\xC6\xC7\xAE\x90\xC0\x01\x09Vb\xCE\xF0\xE7\xFF\xB9\xED\xFA\xDE\x80\xBCD\x06\x01\x02 [2018-03-18 05:34:56] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:34:56] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 05:34:57] >>> HomeKit: Got new client connection: 13 [2018-03-18 05:34:57] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 05:34:57] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:34:57] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 05:34:57] >>> tlv_debug: Got following TLV values: [2018-03-18 05:34:57] >>> tlv_debug: Type 3 value (32 bytes): \x92%w\x1F\x19\x8At\xB3\x8B\xD7\xCC~\xE1\x89\x957\xED{\x0D\x1Bf\\fB\xD56\x0Em\x8E\xB8&H [2018-03-18 05:34:57] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:34:57] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 05:34:57] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 05:34:57] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 05:34:58] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 05:34:58] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 05:34:59] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 05:35:01] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 05:35:01] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 05:35:01] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:35:01] >>> tlv_debug: Got following TLV values: [2018-03-18 05:35:01] >>> tlv_debug: Type 5 value (101 bytes): F\x05\xC5\xD8cm\xD2\x94S\xC0\x0Ba\x86J\xF7k&\xAD;\x88;U~\xB9\x99\xEAb\x14\x00I\xB9\x8C"b\xDB\xB5\x17\xC8X\xCB\x907\xCA\xFAVa\x16t\xDF\xB0\x8C\xE3\xA7\x1F\xB3\x06%\xDEk\xDF\xB7\x81\xE4'\xB7\x95\xC2\xA8\xA7\xA8\x80\x11\x0Cce<\xE0\xA7\x0A\x14\xF5#\x0F$Hv\xC5\xD5\xC3hgJ\xAA,\x99\xE5\xF5\xD4\x15\xC9 [2018-03-18 05:35:01] >>> tlv_debug: Type 3 value (32 bytes): M\xB4\xA8\xDB$2\xEF\x8B`\xA9\xC1+\x85Gh\xB7;\xE2\x0D2\xBFe\x06\xC0O\x12I\xCF\xB87\xE3t [2018-03-18 05:35:01] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:35:01] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eF\x05\xC5\xD8cm\xD2\x94S\xC0\x0Ba\x86J\xF7k&\xAD;\x88;U~\xB9\x99\xEAb\x14\x00I\xB9\x8C"b\xDB\xB5\x17\xC8X\xCB\x907\xCA\xFAVa\x16t\xDF\xB0\x8C\xE3\xA7\x1F\xB3\x06%\xDEk\xDF\xB7\x81\xE4'\xB7\x95\xC2\xA8\xA7\xA8\x80\x11\x0Cce<\xE0\xA7\x0A\x14\xF5#\x0F$Hv\xC5\xD5\xC3hgJ\xAA,\x99\xE5\xF5\xD4\x15\xC9\x03 M\xB4\xA8\xDB$2\xEF\x8B`\xA9\xC1+\x85Gh\xB7;\xE2\x0D2\xBFe\x06\xC0O\x12I\xCF\xB87\xE3t\x06\x01\x02 [2018-03-18 05:35:01] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:35:02] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 05:35:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:35:02] >>> homekit_server_on_pair_verify: Free heap: 15072 [2018-03-18 05:35:02] >>> tlv_debug: Got following TLV values: [2018-03-18 05:35:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 05:35:02] >>> tlv_debug: Type 5 value (120 bytes): \xE0\x1879\x04\x9D?mM\xB9\xD7;\xB9U\xA4\xCC\xA5\xC72\xF3TSg\x9FGc;\x12P\x12\xF7mF\xE7~l#\xB2\x82\xD3\xA3\xFA\x11V\x15\x1C\x06\xC5\xBE\xF3\xD7\xBC1\x04\xAF\xDCL\xE4JuD*\x85\xC2\xF2\xE8\x9D(;\xD7N\xDB\xCE\xC0\x0EI\xA0\xF3\x18\xE8\x1A\x91\xD0\xF8\x1F\x9B\xF2*F\xAA\xD8\x95\xF9\x803{\xD7\xD06m\xF2u\xC3\xF6\xBC\xD6\xE3\x89_\xE9}\xFF\x13?\xD7u\xA7a\xB0J [2018-03-18 05:35:02] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 05:35:02] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 05:35:02] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:35:02] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:35:02] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 05:35:05] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:35:05] >>> tlv_debug: Got following TLV values: [2018-03-18 05:35:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 05:35:05] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 05:35:05] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 05:35:05] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:35:05] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 05:35:05] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 05:35:05] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 05:35:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 05:35:05] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 05:35:05] >>> homekit_server_on_get_accessories: Free heap: 15260 [2018-03-18 05:35:05] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 05:35:05] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 05:35:05] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 05:35:05] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 05:35:05] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:35:22] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 05:35:22] >>> HomeKit: Got new client connection: 12 [2018-03-18 05:35:22] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 05:35:22] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:35:22] >>> homekit_server_on_pair_verify: Free heap: 15372 [2018-03-18 05:35:22] >>> tlv_debug: Got following TLV values: [2018-03-18 05:35:22] >>> tlv_debug: Type 3 value (32 bytes): \xA8\xF6w\xA3\x1C\xC9\x01\xB1kmkZ{\xB9H\x9F\xC7\x15\xCF\xD2\xCC\xF3\xD9\x16\xA3\xC8\xCF\xC9]\xC3\x99Q [2018-03-18 05:35:22] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:35:22] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 05:35:22] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 05:35:23] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 05:35:24] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 05:35:24] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 05:35:25] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 05:35:27] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 05:35:27] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 05:35:27] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 05:35:27] >>> tlv_debug: Got following TLV values: [2018-03-18 05:35:27] >>> tlv_debug: Type 5 value (101 bytes): B\xEE@Q\x1F\xA6\x8E\xD5\x98\x1D\x9Ei\x92\x1E\xE8D\xC6\xDC\xF8<\x0F&\x12\x04\xF31\x9A\x8FK,*qv\xF2^zI?\x00U\xD6\x03\x12`zq\xB5\xAEJt\xBC\xDC\xB3\xF1j[\xEC\xDA\xAAe\xC7\xC7\xF72AB\xFF\x94 [2018-03-18 05:35:27] >>> tlv_debug: Type 3 value (32 bytes): \xE9\xCE\xC0\xEBb\xA1\xC9t\xADv\xC2\xCC*5N\x80\xE9o\xF8\x1DF\xB5)u\x10{6`\xC1\xA5\xB9\x18 [2018-03-18 05:35:27] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:35:27] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eB\xEE@Q\x1F\xA6\x8E\xD5\x98\x1D\x9Ei\x92\x1E\xE8D\xC6\xDC\xF8<\x0F&\x12\x04\xF31\x9A\x8FK,*qv\xF2^zI?\x00U\xD6\x03\x12`zq\xB5\xAEJt\xBC\xDC\xB3\xF1j[\xEC\xDA\xAAe\xC7\xC7\xF72AB\xFF\x94\x03 \xE9\xCE\xC0\xEBb\xA1\xC9t\xADv\xC2\xCC*5N\x80\xE9o\xF8\x1DF\xB5)u\x10{6`\xC1\xA5\xB9\x18\x06\x01\x02 [2018-03-18 05:35:27] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 05:35:27] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 05:40:54] >>> HomeKit: Got new client connection: 12 [2018-03-18 05:40:54] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 05:40:54] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:40:54] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 05:40:54] >>> tlv_debug: Got following TLV values: [2018-03-18 05:40:54] >>> tlv_debug: Type 3 value (32 bytes): \x932g\x9F)\x80\xB2z\x92\x97\xC6\xE4#\xAF\xDF\xF1\xB3\xA5\xA3\xA3\xA5\xE3\xDC\xDC\xF6\xB6\xD6\x9D\x8C\xCC\x93\x0C [2018-03-18 05:40:54] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:40:54] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 05:40:54] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 05:40:54] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 05:40:55] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 05:40:55] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 05:40:56] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 05:40:58] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 05:40:58] >>> tlv_debug: Got following TLV values: [2018-03-18 05:40:58] >>> tlv_debug: Type 5 value (101 bytes): \x9CcL\x04\x05L\xE7\x9F\xF9-z\xE0\xFDe=,\xE4\xD3:]\xD2l\xAE91\xCEx\x10z\x85%u\x15\x0B%\x0A90\x10tm\xA6\xDB\x8CD\xAE\x0CW\x19\xFF\xDD\x17}\xF5)\xAF\x9FI\xE0,\xDD\xE6\xA4\xD6\xC1\x97\x80\xBEV\x1E\xFE\xFB\xF4w\x09o{\xC7u\x9F\xB3\x0A \x8A!\xDE\x80\xFE^&k\x18\xDA\xA0\xA8\xD4\xE8\xD2\x10Q\x14 [2018-03-18 05:40:58] >>> tlv_debug: Type 3 value (32 bytes): \xEC\xF1\xBF\x9E-\xBD5\xF1\xD0ky\xDB\xE1\x14Xl\x82\x140\x0E/[\xAB\x93\xDF $\xCA\xF2\x90\xE1\x08 [2018-03-18 05:40:58] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:40:58] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x9CcL\x04\x05L\xE7\x9F\xF9-z\xE0\xFDe=,\xE4\xD3:]\xD2l\xAE91\xCEx\x10z\x85%u\x15\x0B%\x0A90\x10tm\xA6\xDB\x8CD\xAE\x0CW\x19\xFF\xDD\x17}\xF5)\xAF\x9FI\xE0,\xDD\xE6\xA4\xD6\xC1\x97\x80\xBEV\x1E\xFE\xFB\xF4w\x09o{\xC7u\x9F\xB3\x0A \x8A!\xDE\x80\xFE^&k\x18\xDA\xA0\xA8\xD4\xE8\xD2\x10Q\x14\x03 \xEC\xF1\xBF\x9E-\xBD5\xF1\xD0ky\xDB\xE1\x14Xl\x82\x140\x0E/[\xAB\x93\xDF $\xCA\xF2\x90\xE1\x08\x06\x01\x02 [2018-03-18 05:40:58] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 05:40:58] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: Free heap: 15080 [2018-03-18 05:40:58] >>> tlv_debug: Got following TLV values: [2018-03-18 05:40:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 05:40:58] >>> tlv_debug: Type 5 value (120 bytes): \xE3\x95:\xA6\xAF\xBE\xC5>NU\xE6\xDD}0\xA9\xFF\xB1\x0E\x1DK\xFC\xD0!S\x1Cw\xB2.q\x98\xF6S\xD4Y\xAE\xD4\x13!\xFE?\x97\x8D\x0B\xB9\xB6G\x8Ch\x92\xDF&'a\xC8\xDF\xF4}_\x89\xEE\x818\x9A\xBCK\xC7K&\x0D\x87\xF9\xA7Z\x98&\xC3\x90L\x86x}\xFD\xC8>j\xE5025l\x8C\xDB\x1Fl\x1D\x1E\x14l\xDD4\x1E\x13\xB0eK\xA1ww\xED\xD8\xC8\x91\xFB\xBD\xCBv\x82n\x8B\xA3 [2018-03-18 05:40:58] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 05:40:58] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 05:40:58] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 05:41:01] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 05:41:01] >>> tlv_debug: Got following TLV values: [2018-03-18 05:41:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 05:41:01] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 05:41:01] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 05:41:01] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 05:41:01] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 05:41:01] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 05:41:01] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 05:41:01] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 05:41:01] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 05:41:01] >>> homekit_server_on_get_accessories: Free heap: 15136 [2018-03-18 05:41:01] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 05:41:01] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 05:41:01] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 05:41:02] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 05:41:02] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 05:53:33] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 05:53:35] >>> HomeKit: Got new client connection: 13 [2018-03-18 05:53:35] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 05:53:35] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:53:35] >>> homekit_server_on_pair_verify: Free heap: 15380 [2018-03-18 05:53:35] >>> tlv_debug: Got following TLV values: [2018-03-18 05:53:35] >>> tlv_debug: Type 3 value (32 bytes): \xD5\xEF\xD4\x13\xC1\xE2\xEC\xA3I\xFF\xA3\xD7)|\xB8\xEE\xED\xAA\x83t\x0E\xC5\x18\xE6\xCA\x12\x17*\x8B\x19R\x08 [2018-03-18 05:53:35] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 05:53:35] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 05:53:35] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 05:53:35] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 05:53:36] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 05:53:36] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 05:53:37] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 05:53:39] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 05:53:39] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 05:53:39] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:53:39] >>> tlv_debug: Got following TLV values: [2018-03-18 05:53:39] >>> tlv_debug: Type 5 value (101 bytes): \xF3\x9A\x0D\x9A\xD6\x1B\xD8\xED\xBF\xED\xFAK\xD6\xB6\xF8\x02\xD5o\xED\xB4H\xF7\xB6$R\xCE\x8F\x92d9i\x15w:$\x0B\x8E\x01:\x1D\x8A\xF4D\xC0\xAA\x1C\x1ABp\x89S\xB0\xB8\xDC\x86B\xCD,!3\xEE\x9F\xA7G>\xE2\xD8\x0C\x90\xA0\x93\x0C#I'TB\xFEcMd\x8A\xAB\x94Lj\x0F\xEEZ\xFB\x90\xF4\x18\xD1H\xF8\x8D\xFA})\xAF [2018-03-18 05:53:39] >>> tlv_debug: Type 3 value (32 bytes): \xFDlg\x85m"\x8F\xFEe\xA8\xA1 \x93X\x09\xA9\x0Fz \x15\xA8\xCBD\xC7\x915e\xA4Xo\xF7< [2018-03-18 05:53:39] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 05:53:39] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xF3\x9A\x0D\x9A\xD6\x1B\xD8\xED\xBF\xED\xFAK\xD6\xB6\xF8\x02\xD5o\xED\xB4H\xF7\xB6$R\xCE\x8F\x92d9i\x15w:$\x0B\x8E\x01:\x1D\x8A\xF4D\xC0\xAA\x1C\x1ABp\x89S\xB0\xB8\xDC\x86B\xCD,!3\xEE\x9F\xA7G>\xE2\xD8\x0C\x90\xA0\x93\x0C#I'TB\xFEcMd\x8A\xAB\x94Lj\x0F\xEEZ\xFB\x90\xF4\x18\xD1H\xF8\x8D\xFA})\xAF\x03 \xFDlg\x85m"\x8F\xFEe\xA8\xA1 \x93X\x09\xA9\x0Fz \x15\xA8\xCBD\xC7\x915e\xA4Xo\xF7<\x06\x01\x02 [2018-03-18 05:53:39] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:53:40] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 05:53:40] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 05:53:40] >>> homekit_server_on_pair_verify: Free heap: 15080 [2018-03-18 05:53:40] >>> tlv_debug: Got following TLV values: [2018-03-18 05:53:40] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 05:53:40] >>> tlv_debug: Type 5 value (120 bytes): \xDAc\xB0\x0F\xB1\x92\x81\xEB\xE4'u\x8A\x11\xDF\xEC\xEAYZ\xFE\xC0if\xAB\xC5\xB7\xBF\xA56\xD0\xE8\x16\xDE\xE1\xA0&\xC5\xDC\xA3\x1A\xD3\xA0\xE3>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 05:53:40] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 05:53:40] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:53:40] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 05:53:40] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 05:53:43] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 05:53:43] >>> tlv_debug: Got following TLV values: [2018-03-18 05:53:43] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 05:53:43] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 05:53:43] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 05:53:43] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 05:53:43] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 05:53:43] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 05:53:43] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 05:53:43] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 05:53:43] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 05:53:43] >>> homekit_server_on_get_accessories: Free heap: 15268 [2018-03-18 05:53:43] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 05:53:43] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 05:53:43] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 05:53:43] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 05:53:43] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 06:00:26] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 06:00:27] >>> HomeKit: Got new client connection: 12 [2018-03-18 06:00:27] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 06:00:27] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 06:00:27] >>> homekit_server_on_pair_verify: Free heap: 15380 [2018-03-18 06:00:27] >>> tlv_debug: Got following TLV values: [2018-03-18 06:00:27] >>> tlv_debug: Type 3 value (32 bytes): }M1v~dO\xBD\xB8\xB0\x81:\xBB\xC8\xA7\x15\xF4$\xD9\xED\x94z\xD8\xAC\x84\xA1\x90\x983n\xB4k [2018-03-18 06:00:27] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 06:00:27] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 06:00:27] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 06:00:27] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 06:00:29] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 06:00:29] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 06:00:30] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 06:00:31] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 06:00:31] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 06:00:31] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 06:00:31] >>> tlv_debug: Got following TLV values: [2018-03-18 06:00:31] >>> tlv_debug: Type 5 value (101 bytes): \xFC\xD0\xD32\xEA\xACPc\x8F\x87\xD8n\x89\xCD\xB8U.\x80\x17\xCC-x=@\x9B\xC1a\xB0\x19\xB9\x19G\xEB\xFA\x11<\x1B\xA8[\xFC\\\xE7\xD3gs\xB22\xE3\xBA^\x00\xF7\xBA\xA5\xFF}E\x91\x00\x167\xD3]<#\x1D)\x90H\x04\x9Ce\xBC\x90D\xCBd\xEC\xAB\xB5\xDD08\xEA\xC4\x8Fr\xEA\x92Z\xC1\xDCx\xB7.\xCB\xA5]\x12\xA1\xFF [2018-03-18 06:00:31] >>> tlv_debug: Type 3 value (32 bytes): \xF7\xFAv\xB1\xC5S1\x03\xB4+\xAC\xAF[\xFFM_\xEAJ4\xB2\x9E\xDB\xBD3V\xFF\xB2\x81\x17\xD6\xCEq [2018-03-18 06:00:31] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 06:00:31] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xFC\xD0\xD32\xEA\xACPc\x8F\x87\xD8n\x89\xCD\xB8U.\x80\x17\xCC-x=@\x9B\xC1a\xB0\x19\xB9\x19G\xEB\xFA\x11<\x1B\xA8[\xFC\\\xE7\xD3gs\xB22\xE3\xBA^\x00\xF7\xBA\xA5\xFF}E\x91\x00\x167\xD3]<#\x1D)\x90H\x04\x9Ce\xBC\x90D\xCBd\xEC\xAB\xB5\xDD08\xEA\xC4\x8Fr\xEA\x92Z\xC1\xDCx\xB7.\xCB\xA5]\x12\xA1\xFF\x03 \xF7\xFAv\xB1\xC5S1\x03\xB4+\xAC\xAF[\xFFM_\xEAJ4\xB2\x9E\xDB\xBD3V\xFF\xB2\x81\x17\xD6\xCEq\x06\x01\x02 [2018-03-18 06:00:32] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 06:00:32] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 06:00:32] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 06:00:32] >>> homekit_server_on_pair_verify: Free heap: 15080 [2018-03-18 06:00:32] >>> tlv_debug: Got following TLV values: [2018-03-18 06:00:32] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 06:00:32] >>> tlv_debug: Type 5 value (120 bytes): \xFC\xEC\xD3\xE6\xB4Xd\xA2\x11\xA6'x\x84\xFC\xA7\x96W\xAA\xC9vw.\xBF\xE7t\x11\x09\xC2^4\xC0@y\xFB7\xC1\x87\xEDX\x921\x90\xBB\xF0\xAD\xAF\xB5\x13\xDB)Z`i\x14l\xEB\xA9J\x80\xD8\x9B*i\xCD\xE2\xCEr=\xCD\x19s?\xCD\xE0\x09\x9F8\xED\xEDlq\x94 P\xDF\x0C\xF8\x07\xA8\xAD\xB9\xE8\x83\x85\x9F\x16&q\xAA\x9B\xB2&\xA6\x8C\xB2h\x06\xF9\xC7\xD4\xAB\xE26\x0D\x16\xB7Lx\x1A\x97 [2018-03-18 06:00:32] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 06:00:32] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 06:00:32] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 06:00:32] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 06:00:32] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 06:00:35] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 06:00:35] >>> tlv_debug: Got following TLV values: [2018-03-18 06:00:35] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 06:00:35] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 06:00:35] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 06:00:35] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 06:00:35] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 06:00:35] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 06:00:35] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 06:00:35] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 06:00:35] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 06:00:35] >>> homekit_server_on_get_accessories: Free heap: 15268 [2018-03-18 06:00:35] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 06:00:35] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 06:00:35] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 06:00:35] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 06:00:35] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 07:15:46] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 07:17:24] >>> HomeKit: Got new client connection: 13 [2018-03-18 07:17:24] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 07:17:24] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:17:24] >>> homekit_server_on_pair_verify: Free heap: 15380 [2018-03-18 07:17:24] >>> tlv_debug: Got following TLV values: [2018-03-18 07:17:24] >>> tlv_debug: Type 3 value (32 bytes): \x1Dy\xD37\xFF\xAE\x96w\x88\xB5h\x949\x83\xCD\x8E\xD4{&\xDD\x8Bx$\xDD\xD9\x0D1\x8F\xC8<\xCB5 [2018-03-18 07:17:24] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 07:17:24] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 07:17:24] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 07:17:24] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 07:17:25] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 07:17:25] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 07:17:26] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 07:17:28] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:17:28] >>> tlv_debug: Got following TLV values: [2018-03-18 07:17:28] >>> tlv_debug: Type 5 value (101 bytes): \xCB\x0A\x96\x97\x92|m\xF3\x1E5#%\x84\x09\x94\xBF&\xEC\xC6\x01\xE4Y\x98(#\xA3`\xF7ob\x9F!\x1AR\x04\xB4V\xB1\xFE^\xCD2\x8Cz\xBB>> tlv_debug: Type 3 value (32 bytes): 3\x03M\xA9\x94\x07@\x1A\x14Z#g\x1F\xD8\x12\x07\xF1\x15\xA7}5\xC4*\xF8\xF7\xA9/\xD8\xB8&s6 [2018-03-18 07:17:28] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 07:17:28] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xCB\x0A\x96\x97\x92|m\xF3\x1E5#%\x84\x09\x94\xBF&\xEC\xC6\x01\xE4Y\x98(#\xA3`\xF7ob\x9F!\x1AR\x04\xB4V\xB1\xFE^\xCD2\x8Cz\xBB>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:17:28] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: Free heap: 15080 [2018-03-18 07:17:28] >>> tlv_debug: Got following TLV values: [2018-03-18 07:17:28] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 07:17:28] >>> tlv_debug: Type 5 value (120 bytes): \xA3ZY\x8B0\xCB\xED\x0A\xB1s\xC7\x94PI\xFF]U\xB9i\x85\xD9\xBF@wp\x16\xD4X\x95:@\x09\xE7\xA1X\x98 W\x09K\x82>\x06\xAD\xBE:\xD2\x98@\xD9\x90\xEE\xC6E\xFE\x0B\x1Dx&\xDF?\xB5q\xCA0\x93F\xB3\xA3(\x89*\xA8\x11\x81\xE0\xD7\xE2\x16\x8A+\x19{\x0C\xBF\x05C\xFCH0\xC6*[t\xD9\x98\x1D\x1E\xAA]J\xAE\xF8\x0A\x1E\x9B\xF5\xC2\x11v\xC3\xCB\x8F\x0F\xB2\xB2\xCE\x1Bb [2018-03-18 07:17:28] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 07:17:28] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 07:17:28] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 07:17:31] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:17:31] >>> tlv_debug: Got following TLV values: [2018-03-18 07:17:31] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 07:17:31] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 07:17:31] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 07:17:31] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:17:31] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 07:18:44] >>> HomeKit: Got new client connection: 13 [2018-03-18 07:18:44] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 07:18:44] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:18:44] >>> homekit_server_on_pair_verify: Free heap: 13400 [2018-03-18 07:18:44] >>> tlv_debug: Got following TLV values: [2018-03-18 07:18:44] >>> tlv_debug: Type 3 value (32 bytes): \xB5p\xE1\xBF'\x03\xF1\xA7\x00\xFFt\xFD\xC0\x0A\xE5\x8E\xC1\xBC\x1B\xD8\xCA\x88m870\x03\xF6\xE5\xA9\xC4b [2018-03-18 07:18:44] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 07:18:44] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 07:18:44] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 07:18:44] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 07:18:45] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 07:18:45] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 07:18:47] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 07:18:48] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 07:18:48] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 07:18:48] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:18:48] >>> tlv_debug: Got following TLV values: [2018-03-18 07:18:48] >>> tlv_debug: Type 5 value (101 bytes): ?G\x16w`\x824\xF9\xA9[}E\x8C\x89<>\xCF\xF7\xCE.'\x83\xD2\xDDj\xC3zy\x9D\x14\x81\x94?\xCCy\x9Bc[\xA0\x14\x83\xFD\xF1\x10P(\x99\xFD\xE8w\x0B\xB4T\x03\xCE\xF4c\x13 \xA9\xF6\x08$[%\xA9\x85\x94(S\xCAk\xB7\xE4\xD4\xA2\xE4\xDF{\x81\xA9\x8B\xB7a\x91B\xE2\xFFaN\xAFx\xA2B\xE5[S\x8C\x02\x03 [2018-03-18 07:18:48] >>> tlv_debug: Type 3 value (32 bytes): \x81\x8Bb<\x8A\xCF\x9AO\x00\xE7\x97$fgV\xFF\xE8\xB2\x0E\xAB\x0Fo\xAB}\xBEl\xD3\xBDf\xAAqe [2018-03-18 07:18:48] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 07:18:48] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e ?G\x16w`\x824\xF9\xA9[}E\x8C\x89<>\xCF\xF7\xCE.'\x83\xD2\xDDj\xC3zy\x9D\x14\x81\x94?\xCCy\x9Bc[\xA0\x14\x83\xFD\xF1\x10P(\x99\xFD\xE8w\x0B\xB4T\x03\xCE\xF4c\x13 \xA9\xF6\x08$[%\xA9\x85\x94(S\xCAk\xB7\xE4\xD4\xA2\xE4\xDF{\x81\xA9\x8B\xB7a\x91B\xE2\xFFaN\xAFx\xA2B\xE5[S\x8C\x02\x03\x03 \x81\x8Bb<\x8A\xCF\x9AO\x00\xE7\x97$fgV\xFF\xE8\xB2\x0E\xAB\x0Fo\xAB}\xBEl\xD3\xBDf\xAAqe\x06\x01\x02 [2018-03-18 07:18:48] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:18:49] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 07:18:49] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:18:49] >>> homekit_server_on_pair_verify: Free heap: 13104 [2018-03-18 07:18:49] >>> tlv_debug: Got following TLV values: [2018-03-18 07:18:49] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 07:18:49] >>> tlv_debug: Type 5 value (120 bytes): S1C"\xCE\xFE\xB1F\xEF-\xADxqVF\xF6\xAALX\xD3~\xA3^g\xF3sL\\\xD3\xD2\x0C.2\x0C\x01e@\xB6_\xE20\x1F5\xF0\xB9\xE8\x1Ae\x03\xCD\x1A\x8B+\x9A\x8F\xB0\x1D\xA0\xB8\x0F\xCF\xD6\xD6\xD8\xAF\xD6\xAEq$~\xCEK\xE0\x9A\xDC\\.\x9C\xDF\xFF\x96\x8FM\xB6|s{\xF99\xBC\x81aQ%\xF65%\x015nZ\\\x8A\x1F\xAF_\xA9\xF5\x9D\xF3M1\xF3\xBE[\xD9ZaG\xD0 [2018-03-18 07:18:49] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 07:18:49] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 07:18:49] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 07:18:49] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 07:18:49] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 07:18:52] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:18:52] >>> tlv_debug: Got following TLV values: [2018-03-18 07:18:52] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 07:18:52] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 07:18:52] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 07:18:52] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:18:52] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 07:21:23] >>> HomeKit: [Client 8] Closing client connection [2018-03-18 07:21:23] >>> HomeKit: Got new client connection: 8 [2018-03-18 07:21:23] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-18 07:21:23] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:21:23] >>> homekit_server_on_pair_verify: Free heap: 17268 [2018-03-18 07:21:23] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:23] >>> tlv_debug: Type 3 value (32 bytes): i\xB6t\xB3\x15\xDB-\x97\x1B\xE3\xD2\xD3\x8C\xA8\xFF3\xC0^\xC05\xB7iV\xAD\xBCu\x956\xEC\x8A) [2018-03-18 07:21:23] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 07:21:23] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-18 07:21:23] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-18 07:21:23] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-18 07:21:24] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-18 07:21:24] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-18 07:21:25] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-18 07:21:27] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-18 07:21:27] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-18 07:21:27] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-18 07:21:27] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:27] >>> tlv_debug: Type 5 value (101 bytes): 0\xB8\xC7\x84\xE7\xDEl\xE1Q\x80QSL\x16\xE9\xA80M\xB0f\x1AJ\x1C\xE3\x114\x0D\xA5\x18\xCB\xF9\x82\xC2\xEA\x1E\x0FMg\x1C\xFD\x83\xC5s\xAA\xF1\x88\x1D\x8A\x87\xA4\x89\xD1xiO4]\xA90h\xB1AW.\xE4\xDEzU(J:\xC6)\x84HK\x85|-\x0C\xDB3\xB6\xD4\x98&\x00\xEBf\xD0L\\\x07\xD4N\xA9oAn\x87` [2018-03-18 07:21:27] >>> tlv_debug: Type 3 value (32 bytes): \xD0\xB5\xE9\xBDe#\x18\xD3\xDB\x95\x87n+N\x05L\x13\x97C\xEBT\xC7\x82\x09B\xB0\xBCL]\xEBUD [2018-03-18 07:21:27] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 07:21:27] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e0\xB8\xC7\x84\xE7\xDEl\xE1Q\x80QSL\x16\xE9\xA80M\xB0f\x1AJ\x1C\xE3\x114\x0D\xA5\x18\xCB\xF9\x82\xC2\xEA\x1E\x0FMg\x1C\xFD\x83\xC5s\xAA\xF1\x88\x1D\x8A\x87\xA4\x89\xD1xiO4]\xA90h\xB1AW.\xE4\xDEzU(J:\xC6)\x84HK\x85|-\x0C\xDB3\xB6\xD4\x98&\x00\xEBf\xD0L\\\x07\xD4N\xA9oAn\x87`\x03 \xD0\xB5\xE9\xBDe#\x18\xD3\xDB\x95\x87n+N\x05L\x13\x97C\xEBT\xC7\x82\x09B\xB0\xBCL]\xEBUD\x06\x01\x02 [2018-03-18 07:21:27] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 07:21:27] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-18 07:21:27] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:21:27] >>> homekit_server_on_pair_verify: Free heap: 16980 [2018-03-18 07:21:27] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:27] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 07:21:27] >>> tlv_debug: Type 5 value (120 bytes): \x92.\xE4\x07\x1E\x0B\x1A\xAD\xA2\x0B\x90\xCB\x0EF\xBF\x8F[\xA3c\x17\xBA\xBBs\xA7*\xBC\x9D\x13\xF8\xA4\xD1%\x83\xAF\xDBE\xF3\xB9o\xDFjRz#\x0BA\xBCeM>\xC86\x11t\x18\xCE[\xD3\x9Cj\xF7\x923}\xB6\xBD\xC2\x85X\xB4n\xA4\x05J$f@EG\xD5\xF6\xAA)\x91iw/E&\x0DH9\x8E\xF2\xC1I\\\xC0\xFF#\xCC<\x8E\x9E\xD29\xC9\xD3\xB2\xB7'\xE1\xA1C\xBEn\x85\xC5{\xA4 [2018-03-18 07:21:28] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-18 07:21:28] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-18 07:21:28] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 07:21:28] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 07:21:28] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-18 07:21:30] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-18 07:21:30] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:30] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 07:21:30] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 07:21:30] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-18 07:21:30] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 07:21:31] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-18 07:21:31] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-18 07:21:31] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-18 07:21:31] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 07:21:31] >>> HomeKit: [Client 8] Get Accessories [2018-03-18 07:21:31] >>> homekit_server_on_get_accessories: Free heap: 17156 [2018-03-18 07:21:31] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 07:21:31] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 07:21:31] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 07:21:31] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 07:21:31] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 07:21:49] >>> HomeKit: Got new client connection: 13 [2018-03-18 07:21:49] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 07:21:49] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:21:49] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 07:21:49] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:49] >>> tlv_debug: Type 3 value (32 bytes): \xDFA\xF8\x1A\x8D\x0D\xC5\xF70\x93[I\x0A\xFD#\xE3HoL\xABN\x17J\x83q1R\xAF\xED\xC2\x91n [2018-03-18 07:21:49] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 07:21:49] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 07:21:49] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 07:21:49] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 07:21:50] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 07:21:50] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 07:21:51] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 07:21:53] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 07:21:53] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 07:21:53] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:21:53] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:53] >>> tlv_debug: Type 5 value (101 bytes): \xBEA\xD9w\xB43\xD3\xCA\xF10\x93\x04\x9F-\xD2\xE1(\x18\x86O_\x85\xA9\x9E\xC2\xBD\x9D\x93j\x98,\x1E\x05\xA2\x13\xD3\x08\x08\x81\xEC(K\x95\xC1\x98r\xDF\x12\xAA\xB1\xD9\xBDk\xB1fI\xD1n>\x8D\xB1\xDE\\\x16+w..\xCC[5\xF4+\xCAX/\xCC55\x14\xCC\x0E\x99\xE2\xB4\x00\xD5&W?\x8E\xFD8;B-\xE2\x84\xA74- [2018-03-18 07:21:53] >>> tlv_debug: Type 3 value (32 bytes): .\x91\xAD\xD2>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 07:21:53] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xBEA\xD9w\xB43\xD3\xCA\xF10\x93\x04\x9F-\xD2\xE1(\x18\x86O_\x85\xA9\x9E\xC2\xBD\x9D\x93j\x98,\x1E\x05\xA2\x13\xD3\x08\x08\x81\xEC(K\x95\xC1\x98r\xDF\x12\xAA\xB1\xD9\xBDk\xB1fI\xD1n>\x8D\xB1\xDE\\\x16+w..\xCC[5\xF4+\xCAX/\xCC55\x14\xCC\x0E\x99\xE2\xB4\x00\xD5&W?\x8E\xFD8;B-\xE2\x84\xA74-\x03 .\x91\xAD\xD2>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:21:53] >>> HomeKit: [Client 13] Closing client connection [2018-03-18 07:21:53] >>> HomeKit: Got new client connection: 13 [2018-03-18 07:21:53] >>> homekit_client_process: [Client 13] Got 168 incomming data [2018-03-18 07:21:53] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:21:53] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 07:21:53] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:53] >>> tlv_debug: Type 3 value (32 bytes): \xF2w\x9F\xB6\xC7-\xB0P\xB5ie\x9F\xAD\x0E\xAB=\xC2\x9E\xA8\x1Dd\xA5\xEBM\x9Ec;`\xEE\xFB\xBDz [2018-03-18 07:21:53] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 07:21:53] >>> HomeKit: [Client 13] Pair Verify Step 1/2 [2018-03-18 07:21:53] >>> homekit_server_on_pair_verify: [Client 13] Importing device Curve25519 public key [2018-03-18 07:21:53] >>> homekit_server_on_pair_verify: [Client 13] Generating accessory Curve25519 key [2018-03-18 07:21:54] >>> homekit_server_on_pair_verify: [Client 13] Exporting accessory Curve25519 public key [2018-03-18 07:21:54] >>> homekit_server_on_pair_verify: [Client 13] Generating Curve25519 shared secret [2018-03-18 07:21:56] >>> homekit_server_on_pair_verify: [Client 13] Generating signature [2018-03-18 07:21:57] >>> homekit_server_on_pair_verify: [Client 13] Generating proof [2018-03-18 07:21:57] >>> homekit_server_on_pair_verify: [Client 13] Encrypting response [2018-03-18 07:21:57] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:21:57] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:57] >>> tlv_debug: Type 5 value (101 bytes): \xF2\x82=\x82\xA4\xB8\xE0P2\x89\xE4\x00\xA5G\xA7z\xA1y\xDD\\\xDA\xCD\x83\xF0\x96\xEB3\xAE?l\x98\x0E\x0D$\x80\x8BN\xF5\xD6\xA0\x8C\xF34\x84\xBE\x83\xDD1\xB7\x0C\xA4\xBB\x914r:=\x96M\x14'\xACX\xE2\x93\xC0V\x0Ex\x08\xD6\xD7Ip$\x90\x05\x1Bng\xF0\xAA\xF5\xAF\xA1\x91R\x86\xC7Wd\x8D\x12\x10w\x8Ca\xDA\x18K\xD1 [2018-03-18 07:21:57] >>> tlv_debug: Type 3 value (32 bytes): \x9Di\x13\xF2@\x97\xF9\xEF\xA6\x95\xCC\xDF>\xE2\x05\x8B\xA4\x8F\xF8\x8B\xC3@\x0FzT\x1A\xBBC\x08\\& [2018-03-18 07:21:57] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 07:21:57] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xF2\x82=\x82\xA4\xB8\xE0P2\x89\xE4\x00\xA5G\xA7z\xA1y\xDD\\\xDA\xCD\x83\xF0\x96\xEB3\xAE?l\x98\x0E\x0D$\x80\x8BN\xF5\xD6\xA0\x8C\xF34\x84\xBE\x83\xDD1\xB7\x0C\xA4\xBB\x914r:=\x96M\x14'\xACX\xE2\x93\xC0V\x0Ex\x08\xD6\xD7Ip$\x90\x05\x1Bng\xF0\xAA\xF5\xAF\xA1\x91R\x86\xC7Wd\x8D\x12\x10w\x8Ca\xDA\x18K\xD1\x03 \x9Di\x13\xF2@\x97\xF9\xEF\xA6\x95\xCC\xDF>\xE2\x05\x8B\xA4\x8F\xF8\x8B\xC3@\x0FzT\x1A\xBBC\x08\\&\x06\x01\x02 [2018-03-18 07:21:58] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:21:58] >>> homekit_client_process: [Client 13] Got 257 incomming data [2018-03-18 07:21:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 07:21:58] >>> homekit_server_on_pair_verify: Free heap: 15088 [2018-03-18 07:21:58] >>> tlv_debug: Got following TLV values: [2018-03-18 07:21:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 07:21:58] >>> tlv_debug: Type 5 value (120 bytes): \x80\x86-Coa\x19s?\x84\x98\xAA8[R\xF8\x0FM\x99\xE6\x17\x94&\x89\x8Fh\xC1\xD6iB\xF7SU\xF54\x80=\x81\x0F]\xF0r\x0D\xE6\xB4@\x80\xAA\xBAD\xD0TF\xE3\x18\xCF{\xE4\xCB\x8C\xB1$\x10<"\xAB\x18\xC9\x0F3z\x1D%\xA8\xBD\xDC\xB4\xE6\\\xCF.\x87\xEA\xA4 \x8F@\xFA\xFC\xE9-\x9E\x97@|6q0\xDFy\x13\x93uZ\xD9\xB3P-\xD4+\x83,\x99r\x98\x9E_\xB0\xDB) [2018-03-18 07:21:58] >>> HomeKit: [Client 13] Pair Verify Step 2/2 [2018-03-18 07:21:58] >>> homekit_server_on_pair_verify: [Client 13] Decrypting payload [2018-03-18 07:21:58] >>> homekit_server_on_pair_verify: [Client 13] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 07:21:58] >>> HomeKit: [Client 13] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 07:21:58] >>> homekit_server_on_pair_verify: [Client 13] Verifying device signature [2018-03-18 07:22:01] >>> send_tlv_response: [Client 13] Sending TLV response [2018-03-18 07:22:01] >>> tlv_debug: Got following TLV values: [2018-03-18 07:22:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 07:22:01] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 07:22:01] >>> HomeKit: [Client 13] Verification successful, secure session established [2018-03-18 07:22:01] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 07:22:01] >>> homekit_client_process: [Client 13] Got 88 incomming data [2018-03-18 07:22:01] >>> homekit_client_process: [Client 13] Decrypting data [2018-03-18 07:22:01] >>> homekit_client_process: [Client 13] Decrypted 70 bytes, available 0 [2018-03-18 07:22:01] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 07:22:01] >>> HomeKit: [Client 13] Get Accessories [2018-03-18 07:22:01] >>> homekit_server_on_get_accessories: Free heap: 15272 [2018-03-18 07:22:01] >>> client_send: [Client 13] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 07:22:02] >>> client_send: [Client 13] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 07:22:02] >>> client_send: [Client 13] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 07:22:02] >>> client_send: [Client 13] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 07:22:02] >>> homekit_client_process: [Client 13] Finished processing [2018-03-18 08:54:28] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 08:54:29] >>> HomeKit: Got new client connection: 12 [2018-03-18 08:54:29] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 08:54:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 08:54:29] >>> homekit_server_on_pair_verify: Free heap: 15376 [2018-03-18 08:54:29] >>> tlv_debug: Got following TLV values: [2018-03-18 08:54:29] >>> tlv_debug: Type 3 value (32 bytes): \x9F\x97\xDA(v\xCAQ\xAA\x9E\xF0\x0E\x0ES\xA3\xCDa\x13\x9C\x9AZF\xAA\xDA\xF5s\xF1\x9B\x84\xD4\xAB\xE8E [2018-03-18 08:54:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 08:54:29] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 08:54:29] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 08:54:29] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 08:54:30] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 08:54:30] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 08:54:32] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 08:54:33] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 08:54:33] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 08:54:33] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 08:54:33] >>> tlv_debug: Got following TLV values: [2018-03-18 08:54:33] >>> tlv_debug: Type 5 value (101 bytes): e\xB1\xA1\x97\x87\x09\xB5D\xE7k~!$J);>oIw$:\x00\xDE8\xB6\xCB'\xC0\xD3\x1D\xE4#\xAC\x02k\x18'qL\x9D\x07\xF9\xCB\x93\xF7#;\x99X\x969\x85E\xAE\xDF\x09m\xC3L\x9C\xBA\x92\x0BHFq\xB1\x0E\x88\xF3\xF4\x93o\xF3\x17\xCF\xD5\xFB\xC5[\xA3\xF0q\xC2l;:\xB6\xC4Mo\xCE~\xEET\x0A\x136~p [2018-03-18 08:54:33] >>> tlv_debug: Type 3 value (32 bytes): q<\x9D\xDB`\xCD\xBD\x97O@\x8C\xFDp_$\x0E\\\x9CR\xC1\xED\x13\xDC\x9A\x07\xBE\xFA\x99\x11\xC38O [2018-03-18 08:54:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 08:54:33] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ee\xB1\xA1\x97\x87\x09\xB5D\xE7k~!$J);>oIw$:\x00\xDE8\xB6\xCB'\xC0\xD3\x1D\xE4#\xAC\x02k\x18'qL\x9D\x07\xF9\xCB\x93\xF7#;\x99X\x969\x85E\xAE\xDF\x09m\xC3L\x9C\xBA\x92\x0BHFq\xB1\x0E\x88\xF3\xF4\x93o\xF3\x17\xCF\xD5\xFB\xC5[\xA3\xF0q\xC2l;:\xB6\xC4Mo\xCE~\xEET\x0A\x136~p\x03 q<\x9D\xDB`\xCD\xBD\x97O@\x8C\xFDp_$\x0E\\\x9CR\xC1\xED\x13\xDC\x9A\x07\xBE\xFA\x99\x11\xC38O\x06\x01\x02 [2018-03-18 08:54:33] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 08:54:33] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 08:54:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 08:54:33] >>> homekit_server_on_pair_verify: Free heap: 15088 [2018-03-18 08:54:33] >>> tlv_debug: Got following TLV values: [2018-03-18 08:54:33] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 08:54:33] >>> tlv_debug: Type 5 value (120 bytes): [\x9F\xE2\x1B\xBE#\x92\xABa\x1D\xDF.B\xA3Y\x85\xA7\x02\x87\x19\x83\xCE\xCA\xC7\x908+\xFAv\xBA\xA87\xA8\x86\x88\x9C?c\xF2\x1F\xEA\x9D\x01d\x962\xB0\xA1\xCAs\x87#\xC9C\x81\xFB\x13*\x14l\xB9\xFA\xEC\x0AXb`$\xDD\xA6d\xBC\xB20s\xBB\x83d\xCB\x9C70\xDA8Ft*\xFA7\xBCH=\xA4\x9F\xBD\xAA\xC7\x91\xE5L\x08\x82'\xEEn\x17\x99\xF4\x88\xF1\x99\x02\xE2\x96\x95\x1B\xED\x8F& [2018-03-18 08:54:34] >>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 08:54:34] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 08:54:34] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 08:54:34] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 08:54:34] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 08:54:36] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 08:54:36] >>> tlv_debug: Got following TLV values: [2018-03-18 08:54:36] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 08:54:36] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 08:54:36] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 08:54:36] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 08:54:37] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 08:54:37] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 08:54:37] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 08:54:37] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 08:54:37] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 08:54:37] >>> homekit_server_on_get_accessories: Free heap: 15132 [2018-03-18 08:54:37] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 08:54:37] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 08:54:37] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 08:54:37] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 08:54:37] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 09:31:51] >>> HomeKit: [Client 12] Closing client connection [2018-03-18 09:32:15] >>> HomeKit: Got new client connection: 12 [2018-03-18 09:32:15] >>> homekit_client_process: [Client 12] Got 168 incomming data [2018-03-18 09:32:15] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 09:32:15] >>> homekit_server_on_pair_verify: Free heap: 15232 [2018-03-18 09:32:15] >>> tlv_debug: Got following TLV values: [2018-03-18 09:32:15] >>> tlv_debug: Type 3 value (32 bytes): '\x88\x95f\x10\xF3\xD4\xF5\xD8u\xCC a1\xC4\xF7n\xB5\xFD\xCC\xA3\xDB:8\xF3\xCCq`\xE4\xA1TG [2018-03-18 09:32:15] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 09:32:15] >>> HomeKit: [Client 12] Pair Verify Step 1/2 [2018-03-18 09:32:15] >>> homekit_server_on_pair_verify: [Client 12] Importing device Curve25519 public key [2018-03-18 09:32:15] >>> homekit_server_on_pair_verify: [Client 12] Generating accessory Curve25519 key [2018-03-18 09:32:16] >>> homekit_server_on_pair_verify: [Client 12] Exporting accessory Curve25519 public key [2018-03-18 09:32:16] >>> homekit_server_on_pair_verify: [Client 12] Generating Curve25519 shared secret [2018-03-18 09:32:18] >>> homekit_server_on_pair_verify: [Client 12] Generating signature [2018-03-18 09:32:19] >>> homekit_server_on_pair_verify: [Client 12] Generating proof [2018-03-18 09:32:19] >>> homekit_server_on_pair_verify: [Client 12] Encrypting response [2018-03-18 09:32:19] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 09:32:19] >>> tlv_debug: Got following TLV values: [2018-03-18 09:32:19] >>> tlv_debug: Type 5 value (101 bytes): \x80\xD4\x85\x0A/\x17\x09\xFDL6@\xF4z\xF6\x9B\xC20\xA2\xF4\xB8\xF3\xE0q\xA1j\xF0\xFES\xDFM\xB9\x07J\xB7\x11\x1E\xBF#^mdO\xFD\x1Dsk\x84\\2\xE5\x8Cw\x04u\xD6\xDE\xC6\\b\xE2\xC3M\xB9+{\xCB\xFDX)Sz\x0C\xC6\xA7\xC4\xA7I\xB9\xAF\xEA\xF1\xABdDwuXS\x98\x10#\x88\x85\xDB!m\x97\x8E\xA7n\xA3 [2018-03-18 09:32:19] >>> tlv_debug: Type 3 value (32 bytes): ;\xF0\xB3\xE7a\xB6\x15(RS\x81hJ\xBF\xAF\x083\x93\xB66\x15\xCE\x15\xA3*\xC4U[\xAF%NG [2018-03-18 09:32:19] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 09:32:19] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x80\xD4\x85\x0A/\x17\x09\xFDL6@\xF4z\xF6\x9B\xC20\xA2\xF4\xB8\xF3\xE0q\xA1j\xF0\xFES\xDFM\xB9\x07J\xB7\x11\x1E\xBF#^mdO\xFD\x1Dsk\x84\\2\xE5\x8Cw\x04u\xD6\xDE\xC6\\b\xE2\xC3M\xB9+{\xCB\xFDX)Sz\x0C\xC6\xA7\xC4\xA7I\xB9\xAF\xEA\xF1\xABdDwuXS\x98\x10#\x88\x85\xDB!m\x97\x8E\xA7n\xA3\x03 ;\xF0\xB3\xE7a\xB6\x15(RS\x81hJ\xBF\xAF\x083\x93\xB66\x15\xCE\x15\xA3*\xC4U[\xAF%NG\x06\x01\x02 [2018-03-18 09:32:19] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 09:32:20] >>> homekit_client_process: [Client 12] Got 257 incomming data [2018-03-18 09:32:20] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 09:32:20] >>> homekit_server_on_pair_verify: Free heap: 15088 [2018-03-18 09:32:20] >>> tlv_debug: Got following TLV values: [2018-03-18 09:32:20] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 09:32:20] >>> tlv_debug: Type 5 value (120 bytes): Y\xE7\x9E\x8C\x99\x13\xC6}6R\xA9%\xBB\x06\x83\xC1h\xA1D\x83\xCB\x81U\x98\xBF>1\xC4$\x15E\xD6U\xD0\xDA\xF3)/o\xF9\x0C[\xBEUD\xF3\xB1>> HomeKit: [Client 12] Pair Verify Step 2/2 [2018-03-18 09:32:20] >>> homekit_server_on_pair_verify: [Client 12] Decrypting payload [2018-03-18 09:32:20] >>> homekit_server_on_pair_verify: [Client 12] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 09:32:20] >>> HomeKit: [Client 12] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 09:32:20] >>> homekit_server_on_pair_verify: [Client 12] Verifying device signature [2018-03-18 09:32:22] >>> send_tlv_response: [Client 12] Sending TLV response [2018-03-18 09:32:22] >>> tlv_debug: Got following TLV values: [2018-03-18 09:32:23] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 09:32:23] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 09:32:23] >>> HomeKit: [Client 12] Verification successful, secure session established [2018-03-18 09:32:23] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 09:32:23] >>> homekit_client_process: [Client 12] Got 88 incomming data [2018-03-18 09:32:23] >>> homekit_client_process: [Client 12] Decrypting data [2018-03-18 09:32:23] >>> homekit_client_process: [Client 12] Decrypted 70 bytes, available 0 [2018-03-18 09:32:23] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 09:32:23] >>> HomeKit: [Client 12] Get Accessories [2018-03-18 09:32:23] >>> homekit_server_on_get_accessories: Free heap: 15132 [2018-03-18 09:32:23] >>> client_send: [Client 12] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 09:32:23] >>> client_send: [Client 12] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 09:32:23] >>> client_send: [Client 12] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 09:32:23] >>> client_send: [Client 12] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 09:32:23] >>> homekit_client_process: [Client 12] Finished processing [2018-03-18 11:52:51] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-18 11:52:51] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 11:52:51] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-18 11:52:51] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 11:52:51] >>> HomeKit: [Client 4] Get Characteristics [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: Free heap: 15188 [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 11:52:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 11:52:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 11:52:51] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-18 11:52:51] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 11:52:51] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 11:53:04] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-18 11:53:04] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 11:53:04] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-18 11:53:04] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-18 11:53:04] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 11:53:04] >>> homekit_server_on_update_characteristics: Free heap: 14932 [2018-03-18 11:53:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 11:53:04] "aid": 1, [2018-03-18 11:53:04] "iid": 10, [2018-03-18 11:53:04] "ev": true [2018-03-18 11:53:04] } [2018-03-18 11:53:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 11:53:04] "aid": 1, [2018-03-18 11:53:04] "iid": 13, [2018-03-18 11:53:04] "ev": true [2018-03-18 11:53:04] } [2018-03-18 11:53:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 11:53:04] "aid": 1, [2018-03-18 11:53:04] "iid": 16, [2018-03-18 11:53:04] "ev": true [2018-03-18 11:53:04] } [2018-03-18 11:53:04] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 11:53:04] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 11:53:04] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 11:54:07] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-18 11:54:07] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 11:54:07] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-18 11:54:07] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-18 11:54:07] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 11:54:07] >>> homekit_server_on_update_characteristics: Free heap: 14848 [2018-03-18 11:54:07] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 11:54:07] "aid": 1, [2018-03-18 11:54:07] "iid": 10, [2018-03-18 11:54:07] "ev": false [2018-03-18 11:54:07] } [2018-03-18 11:54:07] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 11:54:07] "aid": 1, [2018-03-18 11:54:07] "iid": 13, [2018-03-18 11:54:07] "ev": false [2018-03-18 11:54:07] } [2018-03-18 11:54:07] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 11:54:07] "aid": 1, [2018-03-18 11:54:07] "iid": 16, [2018-03-18 11:54:07] "ev": false [2018-03-18 11:54:07] } [2018-03-18 11:54:07] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 11:54:07] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 11:54:07] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 12:32:53] >>> HomeKit: Got new client connection: 14 [2018-03-18 12:32:53] >>> homekit_client_process: [Client 14] Got 168 incomming data [2018-03-18 12:32:53] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 12:32:53] >>> homekit_server_on_pair_verify: Free heap: 13428 [2018-03-18 12:32:53] >>> tlv_debug: Got following TLV values: [2018-03-18 12:32:53] >>> tlv_debug: Type 3 value (32 bytes): \x93\x05\xFB\xC7\x98\xF6\xA4W\x0C\xD6XD\x85\x1D14I\xD9\x9B\xE32`F\x9A6\xCEBc\xA3\xE4\x00> [2018-03-18 12:32:53] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 12:32:53] >>> HomeKit: [Client 14] Pair Verify Step 1/2 [2018-03-18 12:32:53] >>> homekit_server_on_pair_verify: [Client 14] Importing device Curve25519 public key [2018-03-18 12:32:53] >>> homekit_server_on_pair_verify: [Client 14] Generating accessory Curve25519 key [2018-03-18 12:32:55] >>> homekit_server_on_pair_verify: [Client 14] Exporting accessory Curve25519 public key [2018-03-18 12:32:55] >>> homekit_server_on_pair_verify: [Client 14] Generating Curve25519 shared secret [2018-03-18 12:32:56] >>> homekit_server_on_pair_verify: [Client 14] Generating signature [2018-03-18 12:32:57] >>> homekit_server_on_pair_verify: [Client 14] Generating proof [2018-03-18 12:32:57] >>> homekit_server_on_pair_verify: [Client 14] Encrypting response [2018-03-18 12:32:57] >>> send_tlv_response: [Client 14] Sending TLV response [2018-03-18 12:32:57] >>> tlv_debug: Got following TLV values: [2018-03-18 12:32:57] >>> tlv_debug: Type 5 value (101 bytes): \x97\x12 \x9F\x8E\x19\x95\xB8e\xD8\xB9e\x1B.\x06r\xC8`\x01\xE7\xE8\x9F\x925\xD2\xE7\xB3\x05\xB7e\xF9\x8Ev\xEB\xFC%~\x15\x1BzX\x8Bj\xDD\x89\xEA\x98\xE6\xA8\x185\xBC\xFC\xC3\xD8\x13J\xE9_\x96\xE9\xA5\xEB\xBAB\xF9)"\xF9\x07[\xF5\x8AD|_F[\xB5i\xA4\x01\xAF?\xB6\x13CL\x1D\xA1d\xA1\xE3\x05\xDD\xB6\x06\xA5\xA7\xA7o [2018-03-18 12:32:57] >>> tlv_debug: Type 3 value (32 bytes): \x0E\xC5\xD0\x17g$d\x15\x85a3\xCFXk\xE1E\xF7{\x11\xCB\xDC\xAA\xE7\x0D\xED<\x81I\xE3\xF4\xE0q [2018-03-18 12:32:57] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 12:32:57] >>> client_send: [Client 14] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x97\x12 \x9F\x8E\x19\x95\xB8e\xD8\xB9e\x1B.\x06r\xC8`\x01\xE7\xE8\x9F\x925\xD2\xE7\xB3\x05\xB7e\xF9\x8Ev\xEB\xFC%~\x15\x1BzX\x8Bj\xDD\x89\xEA\x98\xE6\xA8\x185\xBC\xFC\xC3\xD8\x13J\xE9_\x96\xE9\xA5\xEB\xBAB\xF9)"\xF9\x07[\xF5\x8AD|_F[\xB5i\xA4\x01\xAF?\xB6\x13CL\x1D\xA1d\xA1\xE3\x05\xDD\xB6\x06\xA5\xA7\xA7o\x03 \x0E\xC5\xD0\x17g$d\x15\x85a3\xCFXk\xE1E\xF7{\x11\xCB\xDC\xAA\xE7\x0D\xED<\x81I\xE3\xF4\xE0q\x06\x01\x02 [2018-03-18 12:32:58] >>> homekit_client_process: [Client 14] Finished processing [2018-03-18 12:32:58] >>> homekit_client_process: [Client 14] Got 257 incomming data [2018-03-18 12:32:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 12:32:58] >>> homekit_server_on_pair_verify: Free heap: 13132 [2018-03-18 12:32:58] >>> tlv_debug: Got following TLV values: [2018-03-18 12:32:58] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 12:32:58] >>> tlv_debug: Type 5 value (120 bytes): \xC7\x19\x0Dm\x11\x93eh3\x1Ce\xBF;/\xB2\xCC >\xBB\x997\x9C0\\KE\xF2\xB2\xE4\xDF\x85\xEB\xCC\xF3&Z_aM\x92\xD8Y\xC3\x1D\x02\x8D2\x12jy\x1E\xB1\x9E\x875\xA3\x0EeB%\xAD,\xFD\x86<\xD1\xEA\xF0\xE2U\xFD \xA8\xD7S\xD8\x0A\xFA\x07F%d'cFO\x1ER9\xD0M,\xE1k\xD4\x16\x09\x16j\xC0\xDA\xBE\xE6\x89\x80At?\xA7*(n\xE8\x0E\x08=Mv\x1B\xA2 [2018-03-18 12:32:58] >>> HomeKit: [Client 14] Pair Verify Step 2/2 [2018-03-18 12:32:58] >>> homekit_server_on_pair_verify: [Client 14] Decrypting payload [2018-03-18 12:32:58] >>> homekit_server_on_pair_verify: [Client 14] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 12:32:58] >>> HomeKit: [Client 14] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 12:32:58] >>> homekit_server_on_pair_verify: [Client 14] Verifying device signature [2018-03-18 12:33:01] >>> send_tlv_response: [Client 14] Sending TLV response [2018-03-18 12:33:01] >>> tlv_debug: Got following TLV values: [2018-03-18 12:33:01] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 12:33:01] >>> client_send: [Client 14] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 12:33:01] >>> HomeKit: [Client 14] Verification successful, secure session established [2018-03-18 12:33:01] >>> homekit_client_process: [Client 14] Finished processing [2018-03-18 12:33:01] >>> homekit_client_process: [Client 14] Got 88 incomming data [2018-03-18 12:33:01] >>> homekit_client_process: [Client 14] Decrypting data [2018-03-18 12:33:01] >>> homekit_client_process: [Client 14] Decrypted 70 bytes, available 0 [2018-03-18 12:33:01] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 12:33:01] >>> HomeKit: [Client 14] Get Accessories [2018-03-18 12:33:01] >>> homekit_server_on_get_accessories: Free heap: 13316 [2018-03-18 12:33:01] >>> client_send: [Client 14] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 12:33:01] >>> client_send: [Client 14] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 12:33:01] >>> client_send: [Client 14] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 12:33:01] >>> client_send: [Client 14] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 12:33:01] >>> homekit_client_process: [Client 14] Finished processing [2018-03-18 13:00:00] >>> HomeKit: [Client 7] Closing client connection [2018-03-18 13:00:02] >>> HomeKit: Got new client connection: 7 [2018-03-18 13:00:02] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-18 13:00:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 13:00:02] >>> homekit_server_on_pair_verify: Free heap: 13444 [2018-03-18 13:00:02] >>> tlv_debug: Got following TLV values: [2018-03-18 13:00:02] >>> tlv_debug: Type 3 value (32 bytes): `GZk\x0B\xBC<'#\xF2\xFEy+\x99\xE6"\x99X\xAA\xE6[+\x12lO\x18\x1C\xAA'\x1C\x0D\x10 [2018-03-18 13:00:02] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 13:00:02] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-18 13:00:02] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-18 13:00:02] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-18 13:00:03] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-18 13:00:03] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-18 13:00:05] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-18 13:00:06] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-18 13:00:06] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-18 13:00:06] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-18 13:00:06] >>> tlv_debug: Got following TLV values: [2018-03-18 13:00:06] >>> tlv_debug: Type 5 value (101 bytes): xV\xD8\xCE\x14\xF6\x98\xD7\xC5\xB4qY\xC4\xB9\xA7\xF16\x05\xA3\xCC\x190\x99\x95\x00\x1D\xB4\x17\x88\xEBx\xE5\xBB\\\xA3\x0Em\xD6\xCBn\xBB[X\xA6\xC8\xBE\xC2\xBE9\xCB\xD9>\xF3\xF0\xF0)Xh5\x08\xB6\xA7%\x1D\xF0\x85\x91\xED\xA1\xAE\xDC\x1C@Z\x9C"R\x9E\x1B\xBC\xDA^X\x05o$\xC8\x09\xF9BY\xC0\x03\xFA\xDE\xF0`u\xE8S\x1E [2018-03-18 13:00:06] >>> tlv_debug: Type 3 value (32 bytes): ;!\xFA\xBD.J\xC9F3\xD8,F?\xC9\xA1\x1DT\xE6\xA8y\x95)P\xEB\x91\x13P\x0B\x9Bu\x945 [2018-03-18 13:00:06] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 13:00:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05exV\xD8\xCE\x14\xF6\x98\xD7\xC5\xB4qY\xC4\xB9\xA7\xF16\x05\xA3\xCC\x190\x99\x95\x00\x1D\xB4\x17\x88\xEBx\xE5\xBB\\\xA3\x0Em\xD6\xCBn\xBB[X\xA6\xC8\xBE\xC2\xBE9\xCB\xD9>\xF3\xF0\xF0)Xh5\x08\xB6\xA7%\x1D\xF0\x85\x91\xED\xA1\xAE\xDC\x1C@Z\x9C"R\x9E\x1B\xBC\xDA^X\x05o$\xC8\x09\xF9BY\xC0\x03\xFA\xDE\xF0`u\xE8S\x1E\x03 ;!\xFA\xBD.J\xC9F3\xD8,F?\xC9\xA1\x1DT\xE6\xA8y\x95)P\xEB\x91\x13P\x0B\x9Bu\x945\x06\x01\x02 [2018-03-18 13:00:06] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 13:00:08] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-18 13:00:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 13:00:08] >>> homekit_server_on_pair_verify: Free heap: 12888 [2018-03-18 13:00:08] >>> tlv_debug: Got following TLV values: [2018-03-18 13:00:08] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 13:00:08] >>> tlv_debug: Type 5 value (120 bytes): qY.\x82\x0C/\x80?\xEBoXL\xED\xBD\xF0\xC5\x1A]\xEB!\xB5\xD6B\x811\x8A\xA9\xA76\xF6\xF1\\\x80"\xB2be\xAB\x94\xB4\xF4]\x01\xA1[\xD4>\x10\xD9\xBF\x9F\xE9\xDF\x13\xB9W*\xF5R?p\xCC\x06\x0E\xA5m\x9E\x99\xCBX\x15\x09\x15$\x9E\xA3a!\x9FU\xF7`\xD1%\xC5N\xE7M\x89~\xAC\xC6\x9Ac^\xD1\xB09w\x1Dn\xF7\xE7\x9F9O\xBD6\x19+\x83\xBBTFo~\x911J [2018-03-18 13:00:08] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-18 13:00:08] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-18 13:00:08] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 13:00:08] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-18 13:00:08] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-18 13:00:10] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-18 13:00:11] >>> tlv_debug: Got following TLV values: [2018-03-18 13:00:11] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 13:00:11] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 13:00:11] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-18 13:00:11] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 13:00:11] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-18 13:00:11] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-18 13:00:11] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-18 13:00:11] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 13:00:11] >>> HomeKit: [Client 7] Get Accessories [2018-03-18 13:00:11] >>> homekit_server_on_get_accessories: Free heap: 13324 [2018-03-18 13:00:11] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 13:00:11] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 13:00:11] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 13:00:11] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 13:00:11] >>> homekit_client_process: [Client 7] Finished processing [2018-03-18 13:41:00] >>> HomeKit: [Client 8] Closing client connection [2018-03-18 13:41:01] >>> HomeKit: Got new client connection: 8 [2018-03-18 13:41:01] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-18 13:41:01] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 13:41:01] >>> homekit_server_on_pair_verify: Free heap: 13432 [2018-03-18 13:41:01] >>> tlv_debug: Got following TLV values: [2018-03-18 13:41:01] >>> tlv_debug: Type 3 value (32 bytes): \xDA\xECoFtA\xF6\x1B!^\x9E\x88u\xF4\xE4\xB2\xAD^j\x15<(\xE1\xF9'p&\xE7\xBF\x13V [2018-03-18 13:41:01] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-18 13:41:01] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-18 13:41:01] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-18 13:41:01] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-18 13:41:02] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-18 13:41:02] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-18 13:41:03] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-18 13:41:05] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-18 13:41:05] >>> tlv_debug: Got following TLV values: [2018-03-18 13:41:05] >>> tlv_debug: Type 5 value (101 bytes): \x82^\x93F\xC5=\xB3\xC4\x86z\xBEEn\xC0\x82\xF9\xCC]VM\xA3d?\x05\xCC\x1F0,\x13J3B\x0B\xFEo\xD5\xA1\xCF\xE5\xB2\x98<"\xDEDjmN_>S\xF3t\xD2\xAF\xA6\xD4_\xE8\xDCaq\x19\x15!Y'pN\xB1\xC9T\x940\xB41!\xA5\x03\xA0\x04\x86\xFD\xDB4\x9D\xE0\xCB]k\\\xFDQ\xB4\xA2\xB1(0\xCA\x88U [2018-03-18 13:41:05] >>> tlv_debug: Type 3 value (32 bytes): \x02\x96\xC8\x07:j\x1A\xB9\x12o\x94[]TJgN\x92u\x82\xC7\xFB\xAB\x04f\xBCx\xADh\xCA\x1C# [2018-03-18 13:41:05] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-18 13:41:05] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x82^\x93F\xC5=\xB3\xC4\x86z\xBEEn\xC0\x82\xF9\xCC]VM\xA3d?\x05\xCC\x1F0,\x13J3B\x0B\xFEo\xD5\xA1\xCF\xE5\xB2\x98<"\xDEDjmN_>S\xF3t\xD2\xAF\xA6\xD4_\xE8\xDCaq\x19\x15!Y'pN\xB1\xC9T\x940\xB41!\xA5\x03\xA0\x04\x86\xFD\xDB4\x9D\xE0\xCB]k\\\xFDQ\xB4\xA2\xB1(0\xCA\x88U\x03 \x02\x96\xC8\x07:j\x1A\xB9\x12o\x94[]TJgN\x92u\x82\xC7\xFB\xAB\x04f\xBCx\xADh\xCA\x1C#\x06\x01\x02 [2018-03-18 13:41:05] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 13:41:05] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: Free heap: 13148 [2018-03-18 13:41:05] >>> tlv_debug: Got following TLV values: [2018-03-18 13:41:05] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-18 13:41:05] >>> tlv_debug: Type 5 value (120 bytes): \x9E\x06 K\xF8\x0B\xA3\x0Fa]\x89v}\xB4\x9B\xAF5\xCE=,\xD4\xC2\x9B0St\xA5gw\xD7<\xF9t\x15u\xF2\xE1\x97\xDC\x0F\xB9\x9BYG\xD4r\x02\xE7!\xD08\xDE)\xF1\xCF\xF4rd\xF4s _H\x9B\x89\x9C\xA9\xAE\x0E\x18\x9AiO\x8F&\x8B\x11\x1FW\x9BC\x9C\xD7\xD0~]\x08o\x14\xBC\x1A\xB13\x8A$2\x1D\xF19\x89\x19\xF5\x058\xD5\x13,16-\x1AL\xA4v\x12\x8B\xCA7\x05m [2018-03-18 13:41:05] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 13:41:05] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-18 13:41:05] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-18 13:41:08] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-18 13:41:08] >>> tlv_debug: Got following TLV values: [2018-03-18 13:41:08] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-18 13:41:08] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-18 13:41:08] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-18 13:41:08] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 13:41:09] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-18 13:41:09] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-18 13:41:09] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-18 13:41:09] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 13:41:09] >>> HomeKit: [Client 8] Get Accessories [2018-03-18 13:41:09] >>> homekit_server_on_get_accessories: Free heap: 13324 [2018-03-18 13:41:09] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 13:41:09] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-18 13:41:09] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-18 13:41:09] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 13:41:09] >>> homekit_client_process: [Client 8] Finished processing [2018-03-18 18:41:17] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-18 18:41:17] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 18:41:17] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-18 18:41:17] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 18:41:17] >>> HomeKit: [Client 4] Get Characteristics [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: Free heap: 13248 [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 18:41:17] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 18:41:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 18:41:17] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-18 18:41:17] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 18:41:17] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 18:41:27] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-18 18:41:27] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 18:41:27] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-18 18:41:28] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-18 18:41:28] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 18:41:28] >>> homekit_server_on_update_characteristics: Free heap: 12988 [2018-03-18 18:41:28] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 18:41:28] "aid": 1, [2018-03-18 18:41:28] "iid": 10, [2018-03-18 18:41:28] "ev": true [2018-03-18 18:41:28] } [2018-03-18 18:41:28] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 18:41:28] "aid": 1, [2018-03-18 18:41:28] "iid": 13, [2018-03-18 18:41:28] "ev": true [2018-03-18 18:41:28] } [2018-03-18 18:41:28] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 18:41:28] "aid": 1, [2018-03-18 18:41:28] "iid": 16, [2018-03-18 18:41:28] "ev": true [2018-03-18 18:41:28] } [2018-03-18 18:41:28] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 18:41:28] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 18:41:28] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 18:43:23] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-18 18:43:23] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 18:43:23] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-18 18:43:23] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-18 18:43:23] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 18:43:23] >>> homekit_server_on_update_characteristics: Free heap: 12904 [2018-03-18 18:43:23] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 18:43:23] "aid": 1, [2018-03-18 18:43:23] "iid": 10, [2018-03-18 18:43:23] "ev": false [2018-03-18 18:43:23] } [2018-03-18 18:43:23] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 18:43:23] "aid": 1, [2018-03-18 18:43:23] "iid": 13, [2018-03-18 18:43:23] "ev": false [2018-03-18 18:43:23] } [2018-03-18 18:43:23] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 18:43:24] "aid": 1, [2018-03-18 18:43:24] "iid": 16, [2018-03-18 18:43:24] "ev": false [2018-03-18 18:43:24] } [2018-03-18 18:43:24] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 18:43:24] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 18:43:24] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 23:32:26] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-18 23:32:26] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 23:32:26] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-18 23:32:26] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 23:32:26] >>> HomeKit: [Client 4] Get Characteristics [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: Free heap: 13192 [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 23:32:26] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 23:32:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 23:32:26] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-18 23:32:26] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 23:32:26] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 23:32:36] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-18 23:32:36] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 23:32:36] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-18 23:32:36] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-18 23:32:36] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 23:32:37] >>> homekit_server_on_update_characteristics: Free heap: 12932 [2018-03-18 23:32:37] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:32:37] "aid": 1, [2018-03-18 23:32:37] "iid": 10, [2018-03-18 23:32:37] "ev": true [2018-03-18 23:32:37] } [2018-03-18 23:32:37] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:32:37] "aid": 1, [2018-03-18 23:32:37] "iid": 13, [2018-03-18 23:32:37] "ev": true [2018-03-18 23:32:37] } [2018-03-18 23:32:37] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:32:37] "aid": 1, [2018-03-18 23:32:37] "iid": 16, [2018-03-18 23:32:37] "ev": true [2018-03-18 23:32:37] } [2018-03-18 23:32:37] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 23:32:37] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 23:32:37] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 23:33:50] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-18 23:33:50] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 23:33:50] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-18 23:33:50] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-18 23:33:50] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 23:33:50] >>> homekit_server_on_update_characteristics: Free heap: 12860 [2018-03-18 23:33:50] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:33:50] "aid": 1, [2018-03-18 23:33:50] "iid": 10, [2018-03-18 23:33:50] "ev": false [2018-03-18 23:33:50] } [2018-03-18 23:33:50] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:33:50] "aid": 1, [2018-03-18 23:33:50] "iid": 13, [2018-03-18 23:33:50] "ev": false [2018-03-18 23:33:50] } [2018-03-18 23:33:50] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:33:50] "aid": 1, [2018-03-18 23:33:50] "iid": 16, [2018-03-18 23:33:50] "ev": false [2018-03-18 23:33:50] } [2018-03-18 23:33:50] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 23:33:50] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 23:33:50] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 23:50:05] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-18 23:50:05] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 23:50:05] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-18 23:50:05] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-18 23:50:05] >>> HomeKit: [Client 4] Get Characteristics [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: Free heap: 12880 [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 23:50:05] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-18 23:50:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-18 23:50:05] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-18 23:50:05] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-18 23:50:05] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 23:50:16] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-18 23:50:16] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 23:50:16] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-18 23:50:16] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-18 23:50:16] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 23:50:16] >>> homekit_server_on_update_characteristics: Free heap: 12756 [2018-03-18 23:50:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:50:16] "aid": 1, [2018-03-18 23:50:16] "iid": 10, [2018-03-18 23:50:16] "ev": true [2018-03-18 23:50:16] } [2018-03-18 23:50:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:50:16] "aid": 1, [2018-03-18 23:50:16] "iid": 13, [2018-03-18 23:50:16] "ev": true [2018-03-18 23:50:16] } [2018-03-18 23:50:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:50:16] "aid": 1, [2018-03-18 23:50:16] "iid": 16, [2018-03-18 23:50:16] "ev": true [2018-03-18 23:50:16] } [2018-03-18 23:50:16] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 23:50:16] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 23:50:16] >>> homekit_client_process: [Client 4] Finished processing [2018-03-18 23:51:20] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-18 23:51:20] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-18 23:51:20] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-18 23:51:20] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-18 23:51:20] >>> HomeKit: [Client 4] Update Characteristics [2018-03-18 23:51:20] >>> homekit_server_on_update_characteristics: Free heap: 12812 [2018-03-18 23:51:20] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:51:20] "aid": 1, [2018-03-18 23:51:20] "iid": 10, [2018-03-18 23:51:20] "ev": false [2018-03-18 23:51:20] } [2018-03-18 23:51:20] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:51:20] "aid": 1, [2018-03-18 23:51:20] "iid": 13, [2018-03-18 23:51:20] "ev": false [2018-03-18 23:51:20] } [2018-03-18 23:51:20] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-18 23:51:20] "aid": 1, [2018-03-18 23:51:20] "iid": 16, [2018-03-18 23:51:20] "ev": false [2018-03-18 23:51:20] } [2018-03-18 23:51:20] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-18 23:51:20] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-18 23:51:20] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 07:43:02] >>> HomeKit: [Client 7] Closing client connection [2018-03-19 07:43:08] >>> HomeKit: Got new client connection: 7 [2018-03-19 07:43:08] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-19 07:43:08] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 07:43:08] >>> homekit_server_on_pair_verify: Free heap: 13292 [2018-03-19 07:43:08] >>> tlv_debug: Got following TLV values: [2018-03-19 07:43:08] >>> tlv_debug: Type 3 value (32 bytes): \xECz\xA4rD\xAAz\xBC\x88\xD0'\xD4s/E~\x0E\xDD\xC8\xC4\xE0\xA9\xE3D7\xB4\xA3\x93Bk\xE0\x0F [2018-03-19 07:43:08] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 07:43:08] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-19 07:43:08] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-19 07:43:08] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-19 07:43:09] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-19 07:43:09] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-19 07:43:10] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-19 07:43:12] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-19 07:43:12] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-19 07:43:12] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-19 07:43:12] >>> tlv_debug: Got following TLV values: [2018-03-19 07:43:12] >>> tlv_debug: Type 5 value (101 bytes): \\\xD0\x8Ae\xD0\xF4\xB4_o\x95\\s\xE1\xF5*7\x91\xE3o+4\xEA'\xE5\xD6\xF2>\xADX\x09\x94\xBE\xC6/\xECM\xDA\x0D36Y\x89\xC1 ?C[T\xE5\xEA8\x8CC\xE31\x1Bu6\x08\xE8(\xE94\xAB^XQf\x8Dx7\x92xk\x8A\xE5\x1F\x180\x99\x94\xB9\xB9H\x0FA\x12\x8Do\xFCQ\x9E\xE2\xBE%\xA9\xB08\x14K [2018-03-19 07:43:12] >>> tlv_debug: Type 3 value (32 bytes): \xFES\xF0!X\x97\x80\xA2\xDC\x9C\xEE<\xBBB@3\xB8G\x88-\xB82u\xD4Q5\xEB\x01\x02\x92y+ [2018-03-19 07:43:12] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 07:43:12] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\\\xD0\x8Ae\xD0\xF4\xB4_o\x95\\s\xE1\xF5*7\x91\xE3o+4\xEA'\xE5\xD6\xF2>\xADX\x09\x94\xBE\xC6/\xECM\xDA\x0D36Y\x89\xC1 ?C[T\xE5\xEA8\x8CC\xE31\x1Bu6\x08\xE8(\xE94\xAB^XQf\x8Dx7\x92xk\x8A\xE5\x1F\x180\x99\x94\xB9\xB9H\x0FA\x12\x8Do\xFCQ\x9E\xE2\xBE%\xA9\xB08\x14K\x03 \xFES\xF0!X\x97\x80\xA2\xDC\x9C\xEE<\xBBB@3\xB8G\x88-\xB82u\xD4Q5\xEB\x01\x02\x92y+\x06\x01\x02 [2018-03-19 07:43:12] >>> homekit_client_process: [Client 7] Finished processing [2018-03-19 07:43:13] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-19 07:43:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 07:43:13] >>> homekit_server_on_pair_verify: Free heap: 12996 [2018-03-19 07:43:13] >>> tlv_debug: Got following TLV values: [2018-03-19 07:43:13] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-19 07:43:13] >>> tlv_debug: Type 5 value (120 bytes): \x83Jp\xE5\x0FP\xE8\x03\x00 1yC\xF5\xE0\xC9*\xB77\xB8\xE7\x02\x98\x15\xCCx\xA0\xEF\xF95\xD3\x98\x00\xF4\xC8`\xA8t\x04|\x98\x0F3\x0D\xA0\x98\x9D\x10%qB\xC0^(\x99\xB2\xA7)\x9D\x84\x1Fm;\x0F\x13\xA6V\x16\xD2n\xDF\xAAU\xCE\xF0ud\xF8P,b\xC8\xEE\x87`k\x04\x8At\x10Y\xD7\x0B\x8Fd\xEBT\x0DfQ~ab\xF1\x11\xEA\xDE-\xBF<@\x87?CJ\xB4+\x1B\xAC [2018-03-19 07:43:13] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-19 07:43:13] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-19 07:43:13] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-19 07:43:13] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-19 07:43:13] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-19 07:43:16] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-19 07:43:16] >>> tlv_debug: Got following TLV values: [2018-03-19 07:43:16] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-19 07:43:16] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-19 07:43:16] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-19 07:43:16] >>> homekit_client_process: [Client 7] Finished processing [2018-03-19 07:43:16] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-19 07:43:16] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-19 07:43:16] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-19 07:43:16] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 07:43:16] >>> HomeKit: [Client 7] Get Accessories [2018-03-19 07:43:16] >>> homekit_server_on_get_accessories: Free heap: 13180 [2018-03-19 07:43:17] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 07:43:17] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-19 07:43:17] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-19 07:43:17] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 07:43:17] >>> homekit_client_process: [Client 7] Finished processing [2018-03-19 12:42:17] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-19 12:42:17] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 12:42:17] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-19 12:42:17] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 12:42:17] >>> HomeKit: [Client 4] Get Characteristics [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: Free heap: 12704 [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 12:42:17] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 12:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 12:42:17] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-19 12:42:17] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 12:42:17] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 12:42:30] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-19 12:42:30] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 12:42:30] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-19 12:42:30] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-19 12:42:30] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 12:42:30] >>> homekit_server_on_update_characteristics: Free heap: 12712 [2018-03-19 12:42:30] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 12:42:30] "aid": 1, [2018-03-19 12:42:30] "iid": 10, [2018-03-19 12:42:30] "ev": true [2018-03-19 12:42:30] } [2018-03-19 12:42:30] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 12:42:30] "aid": 1, [2018-03-19 12:42:30] "iid": 13, [2018-03-19 12:42:30] "ev": true [2018-03-19 12:42:30] } [2018-03-19 12:42:30] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 12:42:30] "aid": 1, [2018-03-19 12:42:30] "iid": 16, [2018-03-19 12:42:30] "ev": true [2018-03-19 12:42:30] } [2018-03-19 12:42:30] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 12:42:30] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 12:42:30] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 12:44:00] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-19 12:44:00] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 12:44:00] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-19 12:44:00] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-19 12:44:00] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 12:44:00] >>> homekit_server_on_update_characteristics: Free heap: 12760 [2018-03-19 12:44:00] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 12:44:00] "aid": 1, [2018-03-19 12:44:00] "iid": 10, [2018-03-19 12:44:00] "ev": false [2018-03-19 12:44:00] } [2018-03-19 12:44:00] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 12:44:00] "aid": 1, [2018-03-19 12:44:00] "iid": 13, [2018-03-19 12:44:00] "ev": false [2018-03-19 12:44:00] } [2018-03-19 12:44:00] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 12:44:00] "aid": 1, [2018-03-19 12:44:00] "iid": 16, [2018-03-19 12:44:00] "ev": false [2018-03-19 12:44:00] } [2018-03-19 12:44:00] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 12:44:00] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 12:44:00] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 14:29:45] >>> HomeKit: [Client 8] Closing client connection [2018-03-19 14:29:46] >>> HomeKit: Got new client connection: 8 [2018-03-19 14:29:46] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-19 14:29:46] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 14:29:46] >>> homekit_server_on_pair_verify: Free heap: 13240 [2018-03-19 14:29:46] >>> tlv_debug: Got following TLV values: [2018-03-19 14:29:46] >>> tlv_debug: Type 3 value (32 bytes): B"\x9C\xA3!\xE7\x09\xA1EY\xDF\xAE\x92\xA2\xFD\x9F\xAE\xCB\x8E\xA4\x84\xD2b\xC7\x18\xE8\xD8\xAB\xF9\x81bC [2018-03-19 14:29:46] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 14:29:46] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-19 14:29:46] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-19 14:29:46] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-19 14:29:47] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-19 14:29:47] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-19 14:29:48] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-19 14:29:50] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-19 14:29:50] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-19 14:29:50] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 14:29:50] >>> tlv_debug: Got following TLV values: [2018-03-19 14:29:50] >>> tlv_debug: Type 5 value (101 bytes): \xFFxx\x0ER\xEF?]\x10\xDDk\x80\xF0\xB7\xC5[%>a\x09\x8B\x8C)\xB33\xD8\xC3\x00\xEE\xF7\xA4!\x07\xD4\xAE\xA1Q\x19\xAE&\xD4%\xDFm\xF7.\xCD\xD8\xEBN\xE3\x1B\xAC\xFA\xEF\xDF\xE5\x95\xBA2!\x19\xFA\xE1p\xB9~A\xC0\x9B\xF2b\xA1I8\xEF\xB8U\x14\x94\x04aC\x8A\x052Vz\xB9c\x1E\xEF\xA55\xDD\xFD\xB0K"\xCF5 [2018-03-19 14:29:50] >>> tlv_debug: Type 3 value (32 bytes): \xB6,\xCA\xA1\x90\xC4!|$b[\xED\xDEf\xF74\xB1\xB8\x82\xF5\xBB,w\xE0\x05\x1B\x17\x9B\xAE\xED'N [2018-03-19 14:29:50] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 14:29:50] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xFFxx\x0ER\xEF?]\x10\xDDk\x80\xF0\xB7\xC5[%>a\x09\x8B\x8C)\xB33\xD8\xC3\x00\xEE\xF7\xA4!\x07\xD4\xAE\xA1Q\x19\xAE&\xD4%\xDFm\xF7.\xCD\xD8\xEBN\xE3\x1B\xAC\xFA\xEF\xDF\xE5\x95\xBA2!\x19\xFA\xE1p\xB9~A\xC0\x9B\xF2b\xA1I8\xEF\xB8U\x14\x94\x04aC\x8A\x052Vz\xB9c\x1E\xEF\xA55\xDD\xFD\xB0K"\xCF5\x03 \xB6,\xCA\xA1\x90\xC4!|$b[\xED\xDEf\xF74\xB1\xB8\x82\xF5\xBB,w\xE0\x05\x1B\x17\x9B\xAE\xED'N\x06\x01\x02 [2018-03-19 14:29:50] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 14:29:53] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-19 14:29:53] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 14:29:53] >>> homekit_server_on_pair_verify: Free heap: 12952 [2018-03-19 14:29:53] >>> tlv_debug: Got following TLV values: [2018-03-19 14:29:53] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-19 14:29:53] >>> tlv_debug: Type 5 value (120 bytes): ab'\xB3\xCB\x02h\xCDH\x84\x1A\xC5\xFC\xB2\x1FE\x04M\x90\xA9%\xD6\x1D\xA6\x95v\x15\xE9\xFF4\xDCC\x8CM\xBFd\x1C*\xAF\xFEO~\xAB\xF0e(\x85\x97\xCB\xDB\x1CP\x13\x86q\x8DrP\xC3\xB8\x87>D\xC8y\x87\xBB-\xE8\x86+\xCB\x9F\xCF9\xB5MF\x93\x9F\xB6\xE2y\x1F\x86\x04\xE7\xEB\xE6\xAA\xCBf\xC7\xCAE'\xC8M\xBD\xBE"\x02]\xDA[\x9F\x10b\x12\x0E\xBB(\x8E\x18\x18\x1C\xA3\xE4\xEE: [2018-03-19 14:29:53] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-19 14:29:53] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-19 14:29:53] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 14:29:53] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 14:29:53] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-19 14:29:56] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 14:29:56] >>> tlv_debug: Got following TLV values: [2018-03-19 14:29:56] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-19 14:29:56] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-19 14:29:56] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-19 14:29:56] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 14:29:56] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-19 14:29:56] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-19 14:29:56] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-19 14:29:56] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 14:29:56] >>> HomeKit: [Client 8] Get Accessories [2018-03-19 14:29:56] >>> homekit_server_on_get_accessories: Free heap: 13116 [2018-03-19 14:29:56] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 14:29:56] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-19 14:29:56] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-19 14:29:56] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 14:29:56] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 15:24:31] >>> HomeKit: [Client 8] Closing client connection [2018-03-19 15:24:32] >>> HomeKit: Got new client connection: 8 [2018-03-19 15:24:32] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-19 15:24:32] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 15:24:32] >>> homekit_server_on_pair_verify: Free heap: 13244 [2018-03-19 15:24:32] >>> tlv_debug: Got following TLV values: [2018-03-19 15:24:32] >>> tlv_debug: Type 3 value (32 bytes): \xB3\x94\xD1\x9B\x15\x80\x8CQ\xB2\x8B-\xE0\xC6\xB2\x09d\x0Dq\xA5\xA2r\x05\x858\xCF\x0A\x9Fa\xF3\x83\x10( [2018-03-19 15:24:32] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 15:24:32] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-19 15:24:32] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-19 15:24:32] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-19 15:24:33] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-19 15:24:33] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-19 15:24:35] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-19 15:24:36] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-19 15:24:36] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-19 15:24:36] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 15:24:36] >>> tlv_debug: Got following TLV values: [2018-03-19 15:24:36] >>> tlv_debug: Type 5 value (101 bytes): 9\xAAo!\x98W|\xEEf\x91?\xE3\xF9\xCC\x14\x02\x00p\x03\xC4ee\xEE>\xF7O\x05\xAE\x86\x84)]\xEF\xBA\xA4\x89Sg8\xE7\xA6\xEF\xDD[q\x087c\xF1\xDB\xF1!@\xB70G\x0E\xA2x\x90\x8BW\x80\xD2\xFEi\xDFu\x8BIbw\x80c\x05\xCC\x07\xFD\x1D\x89g\x9C\xA2+\xC2\xA1\xDC\xC7|\xBA>\x9B\x9Bn\xE0.\xB6\x10\xA9\x87( [2018-03-19 15:24:36] >>> tlv_debug: Type 3 value (32 bytes): o\xB4{\x81\xF0\x0B=QW\x87\x04h\xE9\x12p\x02\xE3\x1C\xF2\x9Bpu\xCC\xBAy\xBFx\xF0\xD1\xB8\xB91 [2018-03-19 15:24:36] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 15:24:36] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e9\xAAo!\x98W|\xEEf\x91?\xE3\xF9\xCC\x14\x02\x00p\x03\xC4ee\xEE>\xF7O\x05\xAE\x86\x84)]\xEF\xBA\xA4\x89Sg8\xE7\xA6\xEF\xDD[q\x087c\xF1\xDB\xF1!@\xB70G\x0E\xA2x\x90\x8BW\x80\xD2\xFEi\xDFu\x8BIbw\x80c\x05\xCC\x07\xFD\x1D\x89g\x9C\xA2+\xC2\xA1\xDC\xC7|\xBA>\x9B\x9Bn\xE0.\xB6\x10\xA9\x87(\x03 o\xB4{\x81\xF0\x0B=QW\x87\x04h\xE9\x12p\x02\xE3\x1C\xF2\x9Bpu\xCC\xBAy\xBFx\xF0\xD1\xB8\xB91\x06\x01\x02 [2018-03-19 15:24:36] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 15:24:36] >>> HomeKit: [Client 8] Closing client connection [2018-03-19 15:24:37] >>> HomeKit: Got new client connection: 8 [2018-03-19 15:24:37] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-19 15:24:37] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 15:24:37] >>> homekit_server_on_pair_verify: Free heap: 13244 [2018-03-19 15:24:37] >>> tlv_debug: Got following TLV values: [2018-03-19 15:24:37] >>> tlv_debug: Type 3 value (32 bytes): t\x1E\xEA\xA0\xA3\xBC^\xC5\x8B\xFC\xCB2\xB3\xBCt\xED\x98\x1A\xF8\xF7\xA3b\xF7\xD0\x17\xA3X,\xC3\xF8\xEB^ [2018-03-19 15:24:37] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 15:24:37] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-19 15:24:37] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-19 15:24:37] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-19 15:24:38] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-19 15:24:38] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-19 15:24:39] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-19 15:24:41] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-19 15:24:41] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-19 15:24:41] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 15:24:41] >>> tlv_debug: Got following TLV values: [2018-03-19 15:24:41] >>> tlv_debug: Type 5 value (101 bytes): [\x13\xC9\xEDF\x14\xC7\xF8\xBB\x9Cg&U\xDA\x04\xC3&Pl\x05\x1C\xE5\xA8\x89hOB\xD6\xB0\x033\x898\x9C\x15\xA3\xA21Tp> \xE5\xC0\xBF\xCA\xC4\xBE\xA1\x9Cu1I\xDD=\xFFT9&\xD0Y\xC5\xE5\xBC\x8C\x97\x84\xB3\xE8\xBF\xB1S]\x0FeF\x04\x8E\xE1\\^\xA2\xBA#\xF8\x8B\x87\xA9\xEF?%~,Uo\x954\x97g2\x04 [2018-03-19 15:24:41] >>> tlv_debug: Type 3 value (32 bytes): ;\x85\xD0\xED\xDA\xA7\xDD\xF9R\xB6\x13u\x1Bn\x19\xEA}\xC8n\x0B\x07G\x0F\xF4\xEBQ\xF3\xDE\xAA\xF2A [2018-03-19 15:24:41] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 15:24:41] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e[\x13\xC9\xEDF\x14\xC7\xF8\xBB\x9Cg&U\xDA\x04\xC3&Pl\x05\x1C\xE5\xA8\x89hOB\xD6\xB0\x033\x898\x9C\x15\xA3\xA21Tp> \xE5\xC0\xBF\xCA\xC4\xBE\xA1\x9Cu1I\xDD=\xFFT9&\xD0Y\xC5\xE5\xBC\x8C\x97\x84\xB3\xE8\xBF\xB1S]\x0FeF\x04\x8E\xE1\\^\xA2\xBA#\xF8\x8B\x87\xA9\xEF?%~,Uo\x954\x97g2\x04\x03 ;\x85\xD0\xED\xDA\xA7\xDD\xF9R\xB6\x13u\x1Bn\x19\xEA}\xC8n\x0B\x07G\x0F\xF4\xEBQ\xF3\xDE\xAA\xF2A\x06\x01\x02 [2018-03-19 15:24:41] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 15:24:42] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-19 15:24:42] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 15:24:42] >>> homekit_server_on_pair_verify: Free heap: 12948 [2018-03-19 15:24:42] >>> tlv_debug: Got following TLV values: [2018-03-19 15:24:42] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-19 15:24:42] >>> tlv_debug: Type 5 value (120 bytes): Z\x83H2\xD2\x1C\x16\xA4#\xD6\x82\x88\xD8.z\xC3l,W\x17:\xDE\xC5t\xEE.&\x1F\xA6\x9D^\x08\xF9\xEB\xCE\xA2\x8B\x1Emh\x9C8\xD4\xE1U\x13\xA1o\x0D\xC0f8WB\\\xB3\xF2\x9EK\x8D\xAE\xA5\x8B\x11d`\x86\xF3\xF7o\x84\x96\xB8\x1A\xCF\xE1cn\xBE\xEDq\xE7\xAE~sAk\xC8Y?~C\x0E\xBE\xB75\xAF\xB2b\x9C\x9E\xA1\x89\xF2\x0391\xE8;\x8C[G\xD4\xED"\x0Av\xD2\xFA\xBD [2018-03-19 15:24:42] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-19 15:24:42] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-19 15:24:42] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 15:24:42] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 15:24:42] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-19 15:24:45] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 15:24:45] >>> tlv_debug: Got following TLV values: [2018-03-19 15:24:45] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-19 15:24:45] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-19 15:24:45] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-19 15:24:45] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 15:25:17] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-19 15:25:18] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-19 15:25:18] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-19 15:25:18] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 15:25:18] >>> HomeKit: [Client 8] Get Accessories [2018-03-19 15:25:18] >>> homekit_server_on_get_accessories: Free heap: 13128 [2018-03-19 15:25:18] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 15:25:18] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-19 15:25:18] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-19 15:25:18] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 15:25:18] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 17:00:57] >>> HomeKit: [Client 8] Closing client connection [2018-03-19 17:00:58] >>> HomeKit: Got new client connection: 8 [2018-03-19 17:00:58] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-19 17:00:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 17:00:58] >>> homekit_server_on_pair_verify: Free heap: 13244 [2018-03-19 17:00:58] >>> tlv_debug: Got following TLV values: [2018-03-19 17:00:58] >>> tlv_debug: Type 3 value (32 bytes): fn\x89\xC8l\xBAW\xFC\x1B\x14\x02N\xFC\x01\x86\xE5\x9Dxl\xA8\xC6\xAC\xBF9\xAC\x1B\xB6\xF3\xCD]z\x06 [2018-03-19 17:00:58] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 17:00:58] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-19 17:00:58] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-19 17:00:58] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-19 17:00:59] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-19 17:00:59] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-19 17:01:00] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-19 17:01:02] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 17:01:02] >>> tlv_debug: Got following TLV values: [2018-03-19 17:01:02] >>> tlv_debug: Type 5 value (101 bytes): \xCF\xF30WI\xDF\x1Fr>> tlv_debug: Type 3 value (32 bytes): #\x10l\xAB|\x8E\x03\xA04X\xD6\xA1\x02\xBB?\x97,n\xD0\x85\xA9V\xBE\x9A\x05\xC8\xFE\xF5\xB3\xAC\xE0\x15 [2018-03-19 17:01:02] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 17:01:02] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xCF\xF30WI\xDF\x1Fr>> homekit_client_process: [Client 8] Finished processing [2018-03-19 17:01:02] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: Free heap: 12956 [2018-03-19 17:01:02] >>> tlv_debug: Got following TLV values: [2018-03-19 17:01:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-19 17:01:02] >>> tlv_debug: Type 5 value (120 bytes): x\x1CG{/l\xA9\xD2\x83\xB5ni\xC7\x05\xD5\xE3\x83\x0E\xAE\x8A~\x99\xB9\xDC\xE3\xA26\xCF\xF1:[\xA7Up\x92<\xD5D\x16K\x03=\x1C\xDA\xAE\xB1&\x9E\x93-\xF8\x89\xE1B\x96\xDD\xEE\x9F\xAF\xDD'a\xA9\xF5\x01\xB1|\xFE=\x95\x86\xE5\xCB\xB6q'\xD4\x8C\xD67\xD7\xC5\x92i\xED\xEFfKv\xB1\x13\xD2\xF7\xABP\xC3\xF2\xF8J\x19\x99\x98\xBBN\xDB\xDAe\x15%=\x0C\x8A]\xF1\xCE\x8DXS\x8E\xE2 [2018-03-19 17:01:02] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 17:01:02] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 17:01:02] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-19 17:01:05] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 17:01:05] >>> tlv_debug: Got following TLV values: [2018-03-19 17:01:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-19 17:01:05] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-19 17:01:05] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-19 17:01:05] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 17:01:05] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-19 17:01:05] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-19 17:01:05] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-19 17:01:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 17:01:05] >>> HomeKit: [Client 8] Get Accessories [2018-03-19 17:01:05] >>> homekit_server_on_get_accessories: Free heap: 13120 [2018-03-19 17:01:05] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 17:01:05] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-19 17:01:05] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-19 17:01:05] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 17:01:05] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 19:18:38] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-19 19:18:38] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:18:38] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-19 19:18:38] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 19:18:38] >>> HomeKit: [Client 4] Get Characteristics [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: Free heap: 13048 [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 19:18:38] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 19:18:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 19:18:38] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-19 19:18:38] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 19:18:38] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 19:18:47] >>> HomeKit: [Client 8] Closing client connection [2018-03-19 19:18:51] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-19 19:18:51] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:18:51] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-19 19:18:51] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-19 19:18:51] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 19:18:51] >>> homekit_server_on_update_characteristics: Free heap: 14680 [2018-03-19 19:18:51] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:18:51] "aid": 1, [2018-03-19 19:18:51] "iid": 10, [2018-03-19 19:18:51] "ev": true [2018-03-19 19:18:51] } [2018-03-19 19:18:51] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:18:51] "aid": 1, [2018-03-19 19:18:51] "iid": 13, [2018-03-19 19:18:51] "ev": true [2018-03-19 19:18:51] } [2018-03-19 19:18:51] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:18:51] "aid": 1, [2018-03-19 19:18:51] "iid": 16, [2018-03-19 19:18:51] "ev": true [2018-03-19 19:18:51] } [2018-03-19 19:18:51] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 19:18:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 19:18:51] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 19:18:57] >>> HomeKit: Got new client connection: 8 [2018-03-19 19:18:57] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-19 19:18:57] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 19:18:57] >>> homekit_server_on_pair_verify: Free heap: 13128 [2018-03-19 19:18:57] >>> tlv_debug: Got following TLV values: [2018-03-19 19:18:57] >>> tlv_debug: Type 3 value (32 bytes): \x04\xCA\x90NKU\xE1\xB1\xC6z\xA9O\xC5\x01\x06jTj\xB4s\xC9w\x92Ne\xFAu\xC6\x83\x92C [2018-03-19 19:18:57] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 19:18:57] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-19 19:18:57] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-19 19:18:57] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-19 19:18:58] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-19 19:18:58] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-19 19:18:59] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-19 19:19:01] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 19:19:01] >>> tlv_debug: Got following TLV values: [2018-03-19 19:19:01] >>> tlv_debug: Type 5 value (101 bytes): \xBA#\xA9\xAC\xDC4D\xB0\x8C\x0C\x08\xE2%H\xC1\xE0\xB7\x91\x11%(T\xBF\xAFs\xC7)\x0Cmp\xB2\x0FV\xF7!e\xBE&,"\xB9:?\xD5\x12#Bv\xC0X\x8A\x17\xE7[\xF5ibP\x17i\xF9yjg\x8D\xD6\x86\x86\x1A\xD1\xDC\x8D:\xA2\xD2\x07\xD7\xC2\xC5z.\xC5|x\x0F~m\xC0\xD4\x9Ak\x0Au\xEB\x16\x1AP\xE3\xC3F6 [2018-03-19 19:19:01] >>> tlv_debug: Type 3 value (32 bytes): \x99\xD6\x1F\xC4\x0E\xEFZ\x14\xF9\x15\xB61\x9B\x13\x98>k\xDFB\xAE[\xE2\xAF\xD7\\,\xED\xC9\xD6\xECW\x13 [2018-03-19 19:19:01] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 19:19:01] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xBA#\xA9\xAC\xDC4D\xB0\x8C\x0C\x08\xE2%H\xC1\xE0\xB7\x91\x11%(T\xBF\xAFs\xC7)\x0Cmp\xB2\x0FV\xF7!e\xBE&,"\xB9:?\xD5\x12#Bv\xC0X\x8A\x17\xE7[\xF5ibP\x17i\xF9yjg\x8D\xD6\x86\x86\x1A\xD1\xDC\x8D:\xA2\xD2\x07\xD7\xC2\xC5z.\xC5|x\x0F~m\xC0\xD4\x9Ak\x0Au\xEB\x16\x1AP\xE3\xC3F6\x03 \x99\xD6\x1F\xC4\x0E\xEFZ\x14\xF9\x15\xB61\x9B\x13\x98>k\xDFB\xAE[\xE2\xAF\xD7\\,\xED\xC9\xD6\xECW\x13\x06\x01\x02 [2018-03-19 19:19:01] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 19:19:01] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: Free heap: 12840 [2018-03-19 19:19:01] >>> tlv_debug: Got following TLV values: [2018-03-19 19:19:01] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-19 19:19:01] >>> tlv_debug: Type 5 value (120 bytes): \xFD!-\xE0'\xC0\x97>\xBA\xDE\x1F\xD7\x98\x88\xD8\x0EUH\x98\x99q\xFD\x1Ei[\x9B\xA4g{\xE4\xD2\x00\\\x84\x93t\x85u0\x85)\x0C\xD8\xE8\xA6 >6\x0A\xF7\xE9\x00\xC7\xA0\x1F\xB4\x0B'9\xD2\xE2|\xF8\x18\xBCDy3\xB67\xABM]$\xB5\xAF\xA3\xE5\xD0\xED\xD1\xE1\xEE\x97 [2018-03-19 19:19:01] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 19:19:01] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-19 19:19:01] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-19 19:19:04] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-19 19:19:04] >>> tlv_debug: Got following TLV values: [2018-03-19 19:19:04] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-19 19:19:04] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-19 19:19:04] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-19 19:19:04] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 19:19:04] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-19 19:19:04] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-19 19:19:04] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-19 19:19:04] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 19:19:04] >>> HomeKit: [Client 8] Get Accessories [2018-03-19 19:19:04] >>> homekit_server_on_get_accessories: Free heap: 13008 [2018-03-19 19:19:04] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 19:19:04] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-19 19:19:04] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-19 19:19:04] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 19:19:04] >>> homekit_client_process: [Client 8] Finished processing [2018-03-19 19:19:56] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-19 19:19:56] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:19:56] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-19 19:19:56] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-19 19:19:56] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 19:19:56] >>> homekit_server_on_update_characteristics: Free heap: 12716 [2018-03-19 19:19:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:19:56] "aid": 1, [2018-03-19 19:19:56] "iid": 10, [2018-03-19 19:19:56] "ev": false [2018-03-19 19:19:56] } [2018-03-19 19:19:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:19:56] "aid": 1, [2018-03-19 19:19:56] "iid": 13, [2018-03-19 19:19:56] "ev": false [2018-03-19 19:19:56] } [2018-03-19 19:19:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:19:56] "aid": 1, [2018-03-19 19:19:56] "iid": 16, [2018-03-19 19:19:56] "ev": false [2018-03-19 19:19:56] } [2018-03-19 19:19:56] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 19:19:56] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 19:19:56] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 19:20:07] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-19 19:20:07] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:20:07] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-19 19:20:07] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 19:20:07] >>> HomeKit: [Client 4] Get Characteristics [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: Free heap: 13000 [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 19:20:07] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 19:20:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 19:20:07] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-19 19:20:08] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 19:20:08] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 19:20:19] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-19 19:20:19] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:20:19] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-19 19:20:19] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-19 19:20:19] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 19:20:19] >>> homekit_server_on_update_characteristics: Free heap: 12744 [2018-03-19 19:20:19] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:20:19] "aid": 1, [2018-03-19 19:20:19] "iid": 10, [2018-03-19 19:20:19] "ev": true [2018-03-19 19:20:19] } [2018-03-19 19:20:19] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:20:19] "aid": 1, [2018-03-19 19:20:19] "iid": 13, [2018-03-19 19:20:19] "ev": true [2018-03-19 19:20:19] } [2018-03-19 19:20:19] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:20:19] "aid": 1, [2018-03-19 19:20:19] "iid": 16, [2018-03-19 19:20:19] "ev": true [2018-03-19 19:20:19] } [2018-03-19 19:20:19] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 19:20:19] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 19:20:19] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 19:20:57] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-19 19:20:57] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:20:57] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-19 19:20:57] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 19:20:57] >>> HomeKit: [Client 4] Get Characteristics [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: Free heap: 12876 [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 19:20:57] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 19:20:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 19:20:57] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-19 19:20:57] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 19:20:57] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 19:22:09] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-19 19:22:09] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 19:22:09] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-19 19:22:09] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-19 19:22:09] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 19:22:09] >>> homekit_server_on_update_characteristics: Free heap: 12596 [2018-03-19 19:22:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:22:09] "aid": 1, [2018-03-19 19:22:09] "iid": 10, [2018-03-19 19:22:09] "ev": false [2018-03-19 19:22:09] } [2018-03-19 19:22:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:22:09] "aid": 1, [2018-03-19 19:22:09] "iid": 13, [2018-03-19 19:22:09] "ev": false [2018-03-19 19:22:09] } [2018-03-19 19:22:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 19:22:09] "aid": 1, [2018-03-19 19:22:09] "iid": 16, [2018-03-19 19:22:09] "ev": false [2018-03-19 19:22:09] } [2018-03-19 19:22:09] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 19:22:09] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 19:22:09] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 20:49:36] >>> HomeKit: [Client 7] Closing client connection [2018-03-19 20:49:38] >>> HomeKit: Got new client connection: 7 [2018-03-19 20:49:38] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-19 20:49:38] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 20:49:38] >>> homekit_server_on_pair_verify: Free heap: 13088 [2018-03-19 20:49:38] >>> tlv_debug: Got following TLV values: [2018-03-19 20:49:38] >>> tlv_debug: Type 3 value (32 bytes): v~O\xA6\x91\xF9{\x02\xE68r\xA1`\xA8\xDD\xCE\x8E\x95\xE8\xA5\xA6\xAE\x19\x8F\xCF\x91\x19#\xB7\xAC%$ [2018-03-19 20:49:38] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-19 20:49:38] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-19 20:49:38] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-19 20:49:38] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-19 20:49:39] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-19 20:49:39] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-19 20:49:40] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-19 20:49:42] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-19 20:49:42] >>> tlv_debug: Got following TLV values: [2018-03-19 20:49:42] >>> tlv_debug: Type 5 value (101 bytes): 0\x13~:\x84\xBA\xC8\xB0\x8FN|\xF7\xB4\xBF$\xEE\xD3\xE0\xB26\x88\x92\xA6e\xEB\x83f\xB5\xC6\xBFS\\\x8Ey\xA1\x18\xCE\xC1\xBD_jA\x90%\x93\x95\x8B\xEC\x8EzT\x19D\xE8\x89\x12Xd.\xC5\xED\xB7\xEB*._-\x01,M\x08\xC7\x85c-\xF1\xD5z\xFD\x8B\x99\xAE\xFA\xBF\xCCy\x03\xFA\xED\xCD_n\xA5\xB0\xCD\xC3m3 \xDAp [2018-03-19 20:49:42] >>> tlv_debug: Type 3 value (32 bytes): O\xB3\x90\x0A'Y\xEA\x10PFM\x12\xE2\xD1e\xFB=\xA3l\xD4c\xA9\x13\xF3\xBBN\x87n\x11\xA7+ [2018-03-19 20:49:42] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-19 20:49:42] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e0\x13~:\x84\xBA\xC8\xB0\x8FN|\xF7\xB4\xBF$\xEE\xD3\xE0\xB26\x88\x92\xA6e\xEB\x83f\xB5\xC6\xBFS\\\x8Ey\xA1\x18\xCE\xC1\xBD_jA\x90%\x93\x95\x8B\xEC\x8EzT\x19D\xE8\x89\x12Xd.\xC5\xED\xB7\xEB*._-\x01,M\x08\xC7\x85c-\xF1\xD5z\xFD\x8B\x99\xAE\xFA\xBF\xCCy\x03\xFA\xED\xCD_n\xA5\xB0\xCD\xC3m3 \xDAp\x03 O\xB3\x90\x0A'Y\xEA\x10PFM\x12\xE2\xD1e\xFB=\xA3l\xD4c\xA9\x13\xF3\xBBN\x87n\x11\xA7+\x06\x01\x02 [2018-03-19 20:49:42] >>> homekit_client_process: [Client 7] Finished processing [2018-03-19 20:49:42] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: Free heap: 12800 [2018-03-19 20:49:42] >>> tlv_debug: Got following TLV values: [2018-03-19 20:49:42] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-19 20:49:42] >>> tlv_debug: Type 5 value (120 bytes): \xEB\x1F\xFFG\xF8\x9E\x82x\xF3\xC2\xB2\xAC\xE0\xE5~\xFE\x86\xCE*Dw\xD8`\xCF>3\x08\x11D\x04\xD8S\xD8V\x8AA\x87N\xB1\xA5\x88e\xCB,\x15\xC5+\x0C\x14]F\x03t\xFC\x02\xA2Y\xCCm\xE9\x94\x89y\x8D\x90\xA1d\x9E\x88\x16?\xE6\xA4\x91\xE7\xE4*\x92T\x933RQ\xE0{\xA4\xEF\xB0D\x0D\xD9\xB3\x80\xDE\x84\xCA*\x99\xCF\x17\x11{qf>B\x80\x98s~\x11fkDDc6\x83\xB6\xED [2018-03-19 20:49:42] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-19 20:49:42] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-19 20:49:42] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-19 20:49:45] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-19 20:49:45] >>> tlv_debug: Got following TLV values: [2018-03-19 20:49:45] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-19 20:49:45] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-19 20:49:45] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-19 20:49:45] >>> homekit_client_process: [Client 7] Finished processing [2018-03-19 20:49:45] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-19 20:49:45] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-19 20:49:45] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-19 20:49:45] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 20:49:45] >>> HomeKit: [Client 7] Get Accessories [2018-03-19 20:49:45] >>> homekit_server_on_get_accessories: Free heap: 12976 [2018-03-19 20:49:45] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 20:49:45] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-19 20:49:46] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-19 20:49:46] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 20:49:46] >>> homekit_client_process: [Client 7] Finished processing [2018-03-19 22:36:50] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-19 22:36:51] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 22:36:51] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-19 22:36:51] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 22:36:51] >>> HomeKit: [Client 4] Get Characteristics [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: Free heap: 12640 [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 22:36:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 22:36:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 22:36:51] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-19 22:36:51] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 22:36:51] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 22:37:01] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-19 22:37:01] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 22:37:01] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-19 22:37:02] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-19 22:37:02] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 22:37:02] >>> homekit_server_on_update_characteristics: Free heap: 12500 [2018-03-19 22:37:02] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:37:02] "aid": 1, [2018-03-19 22:37:02] "iid": 10, [2018-03-19 22:37:02] "ev": true [2018-03-19 22:37:02] } [2018-03-19 22:37:02] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:37:02] "aid": 1, [2018-03-19 22:37:02] "iid": 13, [2018-03-19 22:37:02] "ev": true [2018-03-19 22:37:02] } [2018-03-19 22:37:02] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:37:02] "aid": 1, [2018-03-19 22:37:02] "iid": 16, [2018-03-19 22:37:02] "ev": true [2018-03-19 22:37:02] } [2018-03-19 22:37:02] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 22:37:02] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 22:37:02] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 22:38:09] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-19 22:38:09] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 22:38:09] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-19 22:38:09] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-19 22:38:09] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 22:38:09] >>> homekit_server_on_update_characteristics: Free heap: 12556 [2018-03-19 22:38:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:38:09] "aid": 1, [2018-03-19 22:38:09] "iid": 10, [2018-03-19 22:38:09] "ev": false [2018-03-19 22:38:09] } [2018-03-19 22:38:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:38:09] "aid": 1, [2018-03-19 22:38:09] "iid": 13, [2018-03-19 22:38:09] "ev": false [2018-03-19 22:38:09] } [2018-03-19 22:38:09] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:38:09] "aid": 1, [2018-03-19 22:38:09] "iid": 16, [2018-03-19 22:38:09] "ev": false [2018-03-19 22:38:09] } [2018-03-19 22:38:09] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 22:38:09] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 22:38:09] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 22:44:32] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-19 22:44:32] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 22:44:32] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-19 22:44:32] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-19 22:44:32] >>> HomeKit: [Client 4] Get Characteristics [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: Free heap: 12840 [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 22:44:32] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-19 22:44:32] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-19 22:44:32] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-19 22:44:32] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-19 22:44:32] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 22:44:42] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-19 22:44:42] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 22:44:42] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-19 22:44:42] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-19 22:44:42] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 22:44:42] >>> homekit_server_on_update_characteristics: Free heap: 12584 [2018-03-19 22:44:42] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:44:42] "aid": 1, [2018-03-19 22:44:42] "iid": 10, [2018-03-19 22:44:42] "ev": true [2018-03-19 22:44:42] } [2018-03-19 22:44:42] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:44:42] "aid": 1, [2018-03-19 22:44:42] "iid": 13, [2018-03-19 22:44:42] "ev": true [2018-03-19 22:44:42] } [2018-03-19 22:44:42] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:44:42] "aid": 1, [2018-03-19 22:44:42] "iid": 16, [2018-03-19 22:44:42] "ev": true [2018-03-19 22:44:42] } [2018-03-19 22:44:42] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 22:44:42] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 22:44:42] >>> homekit_client_process: [Client 4] Finished processing [2018-03-19 22:46:05] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-19 22:46:05] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-19 22:46:05] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-19 22:46:05] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-19 22:46:05] >>> HomeKit: [Client 4] Update Characteristics [2018-03-19 22:46:05] >>> homekit_server_on_update_characteristics: Free heap: 12504 [2018-03-19 22:46:05] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:46:05] "aid": 1, [2018-03-19 22:46:05] "iid": 10, [2018-03-19 22:46:05] "ev": false [2018-03-19 22:46:05] } [2018-03-19 22:46:05] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:46:05] "aid": 1, [2018-03-19 22:46:05] "iid": 13, [2018-03-19 22:46:05] "ev": false [2018-03-19 22:46:05] } [2018-03-19 22:46:05] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-19 22:46:05] "aid": 1, [2018-03-19 22:46:05] "iid": 16, [2018-03-19 22:46:05] "ev": false [2018-03-19 22:46:05] } [2018-03-19 22:46:05] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-19 22:46:05] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-19 22:46:05] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 00:23:28] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 00:23:29] >>> HomeKit: Got new client connection: 8 [2018-03-20 00:23:29] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 00:23:29] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 00:23:29] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 00:23:29] >>> tlv_debug: Got following TLV values: [2018-03-20 00:23:29] >>> tlv_debug: Type 3 value (32 bytes): Bk\x0B\x12m\xA6\x85K\xF8]}\x0C\xF1X\x9DV!=\x9D\x95J\x0DS\x05I\xDB!\xDF\xFA!*s [2018-03-20 00:23:29] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 00:23:29] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 00:23:29] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 00:23:29] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 00:23:30] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 00:23:30] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 00:23:31] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 00:23:33] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 00:23:33] >>> tlv_debug: Got following TLV values: [2018-03-20 00:23:33] >>> tlv_debug: Type 5 value (101 bytes): \x11\x10o\xEF3\xBF\xA5\xF2V\x07^c\xC5y\xA6\xDF\xB2\xF1\xEE\xAB5\xC3j\xF0~\xE9\xF4\xB4\x0D$\xA2\xE0\xB4\x9C\xEAy\x99\x16G3\xBD\x18\x05`\xF8\xA7f\xB1u@n\xCFM\x81\xFD\x0E\xA4\xF6K\xC2J\x99\xEBv\xDD\x8B\xB1U\xA7\xCB\xF9\xF5@\xB3\x19\xFB\xA7i\xE3<\x93dH@\xF7\xF5\xF7r\xE3\xD6\xE9\x87f\xDD\xDD\xBE\x89\x10~\x05 [2018-03-20 00:23:33] >>> tlv_debug: Type 3 value (32 bytes): \xE0\xA5\xC7,\x13\xBB\xE9\x9A\xCD\xCC\x9D\xB9\xCF\xAD\xFB\x07@\xD4~~q\x9F_\x8D0\x9E`\xFFN\xA6\xB4\x15 [2018-03-20 00:23:33] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 00:23:33] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x11\x10o\xEF3\xBF\xA5\xF2V\x07^c\xC5y\xA6\xDF\xB2\xF1\xEE\xAB5\xC3j\xF0~\xE9\xF4\xB4\x0D$\xA2\xE0\xB4\x9C\xEAy\x99\x16G3\xBD\x18\x05`\xF8\xA7f\xB1u@n\xCFM\x81\xFD\x0E\xA4\xF6K\xC2J\x99\xEBv\xDD\x8B\xB1U\xA7\xCB\xF9\xF5@\xB3\x19\xFB\xA7i\xE3<\x93dH@\xF7\xF5\xF7r\xE3\xD6\xE9\x87f\xDD\xDD\xBE\x89\x10~\x05\x03 \xE0\xA5\xC7,\x13\xBB\xE9\x9A\xCD\xCC\x9D\xB9\xCF\xAD\xFB\x07@\xD4~~q\x9F_\x8D0\x9E`\xFFN\xA6\xB4\x15\x06\x01\x02 [2018-03-20 00:23:33] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 00:23:33] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: Free heap: 12688 [2018-03-20 00:23:33] >>> tlv_debug: Got following TLV values: [2018-03-20 00:23:33] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 00:23:33] >>> tlv_debug: Type 5 value (120 bytes): U\x86l\xDEF9f\xC1-\xD1j\x82WC\x1A\xC1XSj\xF1\xB37\xD8k\x10\xFB\xA5\xD7>\xE9<\xD4Z\xA0\xAC\xFE\x8Bo\xAF\x10\x88FZr\x18!\xFB\x05T\xBC^9g}d\x09\x82\xDF\xA0\x92\xAA\xF9\x13\xD8\xF1\x91\xB1\xFB$\xEB\xA0s\xBC\x03\x9BJ\x13\xAE\xEB3LL4\xBD\x14\x185\xE9\x0ER\xF1\xD9\xD4C`\xB4\xEF\x9A\xDA8\x83e\xE0\xC1\xD8\xE3\x16\xEE\x8EI\xD8\x9B\x91\xC0(\xAFGmJ\x1B [2018-03-20 00:23:33] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-20 00:23:33] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-20 00:23:33] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 00:23:36] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 00:23:36] >>> tlv_debug: Got following TLV values: [2018-03-20 00:23:36] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 00:23:36] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 00:23:36] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 00:23:36] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 00:23:37] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 00:23:37] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 00:23:37] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 00:23:37] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 00:23:37] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 00:23:37] >>> homekit_server_on_get_accessories: Free heap: 12868 [2018-03-20 00:23:37] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 00:23:37] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 00:23:37] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 00:23:37] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 00:23:37] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 03:14:46] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 03:14:48] >>> HomeKit: Got new client connection: 8 [2018-03-20 03:14:48] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 03:14:48] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 03:14:48] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 03:14:48] >>> tlv_debug: Got following TLV values: [2018-03-20 03:14:48] >>> tlv_debug: Type 3 value (32 bytes): uj\x85\xEA\xD0\xBFm\xAF\xD1_\x81\xC2\x11\x9Db\x02a\xDA\xD8\xDD\xB7\xD6\x8E\xCA\xD2\xC0\xFE\xF7\xD7\xC5\x08y [2018-03-20 03:14:48] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 03:14:48] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 03:14:48] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 03:14:48] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 03:14:49] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 03:14:49] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 03:14:50] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 03:14:52] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 03:14:52] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 03:14:52] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 03:14:52] >>> tlv_debug: Got following TLV values: [2018-03-20 03:14:52] >>> tlv_debug: Type 5 value (101 bytes): \x8C\xD2\xAC\x0C\\b\x13%\x11t\xF5\x0Dak\xF0\x0B%\xBB\x82r@\xDBL\xD5\xD0\xDC\x9B\xCBcY\x08~\xF8\xFD\x98\xDCN\xDA\x8ET\xCD\xD2rz\x91\x08\x9A\xA1\x93V.\xEB\xE5\\\xE42\x8A\xCA\xFE\x15U\xA2\xB4 \xDD_'JI\x0F[\x90h\xEA(\xA2\xD8\xD5c\xC7\xF7\x0F\x1EuTI\x1BkGx\x8E\xBE\xF4\x84\x86\xFE\xA6S\x9Ftz [2018-03-20 03:14:52] >>> tlv_debug: Type 3 value (32 bytes): \xA5=\xAF\xBD\x01+\x0F/\x8E\x1CK\xE5>\xB5E\x03'\xDD\x11]\x8A\xFC\x0FRz\x8D\xD1\x06e~B! [2018-03-20 03:14:52] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 03:14:52] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x8C\xD2\xAC\x0C\\b\x13%\x11t\xF5\x0Dak\xF0\x0B%\xBB\x82r@\xDBL\xD5\xD0\xDC\x9B\xCBcY\x08~\xF8\xFD\x98\xDCN\xDA\x8ET\xCD\xD2rz\x91\x08\x9A\xA1\x93V.\xEB\xE5\\\xE42\x8A\xCA\xFE\x15U\xA2\xB4 \xDD_'JI\x0F[\x90h\xEA(\xA2\xD8\xD5c\xC7\xF7\x0F\x1EuTI\x1BkGx\x8E\xBE\xF4\x84\x86\xFE\xA6S\x9Ftz\x03 \xA5=\xAF\xBD\x01+\x0F/\x8E\x1CK\xE5>\xB5E\x03'\xDD\x11]\x8A\xFC\x0FRz\x8D\xD1\x06e~B!\x06\x01\x02 [2018-03-20 03:14:52] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 03:14:53] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 03:14:53] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 03:14:53] >>> homekit_server_on_pair_verify: Free heap: 12692 [2018-03-20 03:14:53] >>> tlv_debug: Got following TLV values: [2018-03-20 03:14:53] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 03:14:53] >>> tlv_debug: Type 5 value (120 bytes): /X\xB9\x03\x97\x0A0\x904L\xED\xD2\xF0\xEF\xA4\x98\xCD\x1A\xDC\xF2\xF1\xD4X;x>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 03:14:53] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 03:14:53] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-20 03:14:53] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-20 03:14:53] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 03:14:56] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 03:14:56] >>> tlv_debug: Got following TLV values: [2018-03-20 03:14:56] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 03:14:56] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 03:14:56] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 03:14:56] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 03:14:56] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 03:14:56] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 03:14:56] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 03:14:56] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 03:14:56] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 03:14:56] >>> homekit_server_on_get_accessories: Free heap: 12488 [2018-03-20 03:14:56] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 03:14:56] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 03:14:56] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 03:14:56] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 03:14:56] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 03:23:21] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 03:23:32] >>> HomeKit: Got new client connection: 7 [2018-03-20 03:23:32] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 03:23:32] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 03:23:32] >>> homekit_server_on_pair_verify: Free heap: 12980 [2018-03-20 03:23:32] >>> tlv_debug: Got following TLV values: [2018-03-20 03:23:32] >>> tlv_debug: Type 3 value (32 bytes): La\x06#\xFF*\xB3\xBC\x8C\x9F\xA5\xCB\xCB~\xE0\x13\xAB\xF0G}\xD9\x15\xE7\xFF\x86=7x\xD9\xD4g\x06 [2018-03-20 03:23:32] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 03:23:32] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 03:23:32] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 03:23:32] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 03:23:33] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 03:23:33] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 03:23:35] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 03:23:36] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 03:23:36] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 03:23:36] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 03:23:36] >>> tlv_debug: Got following TLV values: [2018-03-20 03:23:36] >>> tlv_debug: Type 5 value (101 bytes): \xD3\xBF\x8B\xED\x1D\x82\x84\xA2\x8DEIVQ\x03+h\xB7\xC1\xF6\x06\xAB\x86\x17\xFE\x09>\xB3\x09@\xE8\xAFFq\x89\xB1\x93W\x1A%\xDCPAB\x8B\xF7\xB5{"\xDF\xDB!o1zi\x12\xEDz\x9A\xFC\x02\xFD\x1A\xB9\xD0\xDB\xB5T\xC6s\xCD\x91\xEFk\xE9u\xF0i\x99vp\xC9\x13\x0F`\x81T\xF7\xACJ#\xCB\x8A\xDB\\\x9A\x1BM\x1B\x95\x13 [2018-03-20 03:23:36] >>> tlv_debug: Type 3 value (32 bytes): \xA7\x8B`T\x9E\x9E\xF7\xF2%\xD9\xDA,m\xC4\x83;H)\x90"5\xD6\x15I"\xF9\x12hA\xA6\x1E, [2018-03-20 03:23:36] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 03:23:36] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xD3\xBF\x8B\xED\x1D\x82\x84\xA2\x8DEIVQ\x03+h\xB7\xC1\xF6\x06\xAB\x86\x17\xFE\x09>\xB3\x09@\xE8\xAFFq\x89\xB1\x93W\x1A%\xDCPAB\x8B\xF7\xB5{"\xDF\xDB!o1zi\x12\xEDz\x9A\xFC\x02\xFD\x1A\xB9\xD0\xDB\xB5T\xC6s\xCD\x91\xEFk\xE9u\xF0i\x99vp\xC9\x13\x0F`\x81T\xF7\xACJ#\xCB\x8A\xDB\\\x9A\x1BM\x1B\x95\x13\x03 \xA7\x8B`T\x9E\x9E\xF7\xF2%\xD9\xDA,m\xC4\x83;H)\x90"5\xD6\x15I"\xF9\x12hA\xA6\x1E,\x06\x01\x02 [2018-03-20 03:23:36] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 03:23:37] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 03:23:51] >>> HomeKit: Got new client connection: 7 [2018-03-20 03:23:51] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 03:23:51] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 03:23:51] >>> homekit_server_on_pair_verify: Free heap: 11004 [2018-03-20 03:23:51] >>> tlv_debug: Got following TLV values: [2018-03-20 03:23:51] >>> tlv_debug: Type 3 value (32 bytes): \xE6'\xA1\xA9\xA49\x1D\x0EJ\xCC\x05\\_\x18\xF4\xB3\x13\x1E\xEEy\x93\xBCZw\x9C\xBE\xB3\x1C\x03\xBC\xDF| [2018-03-20 03:23:51] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 03:23:51] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 03:23:51] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 03:23:51] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 03:23:53] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 03:23:53] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 03:23:54] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 03:23:56] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 03:23:56] >>> tlv_debug: Got following TLV values: [2018-03-20 03:23:56] >>> tlv_debug: Type 5 value (101 bytes): \x03\x9C7\x91)\xCA\xED\xCA\xDB\x0F\xC5,\x0D\xDA\x98\xC7vt\xED\x1D\x1Df=\xEB%\xDF\x94\xC9t\xC8\xA6Zq\x0B\x87\xE8\xBFw\x8E\xB2\x0B\x81\xA7\xA0o\xA89\x0D)\xD8\xB0[\xFDvX\xB9\xA8\xFF`\x8A\x03k\xC8\x8D\xE6\xCB\x860\xDD\xDB\x8Ab\xC4\x8A\xFD+\x8B\x97x.\x06\x03\xDD_\x96?\xE5\xA5\xE8\xB5\xA7\xC7q/\xED\x9Fy\xCB\xD8!\xA6 [2018-03-20 03:23:56] >>> tlv_debug: Type 3 value (32 bytes): \x13\xCE\x83\xD2\xBC(>\xED\xE8\x97\xCD\x0D\xF0z\x0A9\xE0\xB9\xD0\x1B\xAD\xA1S\xCF\xC7\xF0\x82\xCE\xD6\x9Eg- [2018-03-20 03:23:56] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 03:23:56] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x03\x9C7\x91)\xCA\xED\xCA\xDB\x0F\xC5,\x0D\xDA\x98\xC7vt\xED\x1D\x1Df=\xEB%\xDF\x94\xC9t\xC8\xA6Zq\x0B\x87\xE8\xBFw\x8E\xB2\x0B\x81\xA7\xA0o\xA89\x0D)\xD8\xB0[\xFDvX\xB9\xA8\xFF`\x8A\x03k\xC8\x8D\xE6\xCB\x860\xDD\xDB\x8Ab\xC4\x8A\xFD+\x8B\x97x.\x06\x03\xDD_\x96?\xE5\xA5\xE8\xB5\xA7\xC7q/\xED\x9Fy\xCB\xD8!\xA6\x03 \x13\xCE\x83\xD2\xBC(>\xED\xE8\x97\xCD\x0D\xF0z\x0A9\xE0\xB9\xD0\x1B\xAD\xA1S\xCF\xC7\xF0\x82\xCE\xD6\x9Eg-\x06\x01\x02 [2018-03-20 03:23:56] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 03:23:56] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: Free heap: 10708 [2018-03-20 03:23:56] >>> tlv_debug: Got following TLV values: [2018-03-20 03:23:56] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 03:23:56] >>> tlv_debug: Type 5 value (120 bytes): \x81\x88\xE9B\xD85\xEE\xB2\xEC\xEC\xDE#/\xF1\xFED\xA6N`\x19b\xF3\x1A\xDC\xFB\xB5\x17xly?\xE88;\x82\xE7\xBCwV\xD9r`\xDB\x9F\x98^^\x01Y\x96\x89\x1F{\xF3ASl\xE12%\x8C7`\x1F\x07[\x00\xFB\xF4O\x15\x9B*2/0\x14e\x99\x9A9\x1C\x8E\xE3\xC0\xF7\xF7\x83\xBA\xFD\xFB\xE6ab\x0Bd\xA9<5R-{\xE8{\xE2\xDC\x08\xC2\x91\x89\xFE}\xC8\xF5\x8Em\xBF\xDBa [2018-03-20 03:23:56] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 03:23:56] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 03:23:56] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 03:23:59] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 03:23:59] >>> tlv_debug: Got following TLV values: [2018-03-20 03:23:59] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 03:23:59] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 03:23:59] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 03:23:59] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 03:23:59] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 03:23:59] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 03:23:59] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 03:23:59] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 03:23:59] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 03:23:59] >>> homekit_server_on_get_accessories: Free heap: 10884 [2018-03-20 03:23:59] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 03:23:59] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 03:23:59] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 03:23:59] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 03:23:59] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 04:28:56] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 04:28:57] >>> HomeKit: Got new client connection: 7 [2018-03-20 04:28:57] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 04:28:57] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 04:28:57] >>> homekit_server_on_pair_verify: Free heap: 12984 [2018-03-20 04:28:57] >>> tlv_debug: Got following TLV values: [2018-03-20 04:28:57] >>> tlv_debug: Type 3 value (32 bytes): \x8E\x90\xCDZ\x0F\xA1\xA0V\xE3A\xB0t\xAB\x04\xA6\x1F\x11\x87\xDC\xC8t\xA1#5\x0B3r\x81uU\x0Ex [2018-03-20 04:28:57] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 04:28:57] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 04:28:57] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 04:28:58] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 04:28:59] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 04:28:59] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 04:29:00] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 04:29:02] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 04:29:02] >>> tlv_debug: Got following TLV values: [2018-03-20 04:29:02] >>> tlv_debug: Type 5 value (101 bytes): \x94\x1Dn\xA6T\x1Cu\x1B>\x10y\xB4\x1B\xE3\xFF\x90\xDB\xAF\xACZ\x87\xC1\xBC\xDA\x14\xE8Dkr\xF7Pz2\xCC[\xDB\x9A.\x95\xB7\xF3\x8B\x8E&\xC4\xD6\xB38W\xAFAp\xD3\xA7\x1A\x18\x96+;\x95\x98\xC5\xCF\xBF^Qg.;\xB8\xA4\xCDw\xDD\xEE\xD25\x9D\xFAl\xDD\xB8\xFC0\x9A\xBA\xAC\x9F\x8E\xB2\xE2\\\x8F\xDAEg\xF1\xCD\xD5\xCE [2018-03-20 04:29:02] >>> tlv_debug: Type 3 value (32 bytes): -\xE9j\x89\xC2\x9A\xD7w\x0E\xFC\x82$\x8BT\xFE\xBC\x90\x95m\xEF:\xAD\xC7\x81\x8D\x15m,<\x96\\J [2018-03-20 04:29:02] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 04:29:02] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x94\x1Dn\xA6T\x1Cu\x1B>\x10y\xB4\x1B\xE3\xFF\x90\xDB\xAF\xACZ\x87\xC1\xBC\xDA\x14\xE8Dkr\xF7Pz2\xCC[\xDB\x9A.\x95\xB7\xF3\x8B\x8E&\xC4\xD6\xB38W\xAFAp\xD3\xA7\x1A\x18\x96+;\x95\x98\xC5\xCF\xBF^Qg.;\xB8\xA4\xCDw\xDD\xEE\xD25\x9D\xFAl\xDD\xB8\xFC0\x9A\xBA\xAC\x9F\x8E\xB2\xE2\\\x8F\xDAEg\xF1\xCD\xD5\xCE\x03 -\xE9j\x89\xC2\x9A\xD7w\x0E\xFC\x82$\x8BT\xFE\xBC\x90\x95m\xEF:\xAD\xC7\x81\x8D\x15m,<\x96\\J\x06\x01\x02 [2018-03-20 04:29:02] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 04:29:02] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: Free heap: 12696 [2018-03-20 04:29:02] >>> tlv_debug: Got following TLV values: [2018-03-20 04:29:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 04:29:02] >>> tlv_debug: Type 5 value (120 bytes): \x96\xE5\xC2~\xB3%w\xB0\xDF\xB98\xD2\xC2\xA0C\x92\xCF\xB4\xAD\xBDqnd\xDB\x9A\x8F\xD8\xCA\xD0\xF6\xE0\x86p\x92=\x0D\x05X4<\x9Fa^\xD2Z\xF77\xC0\x151\x07\xCB-h\x94i_\x9Ey\x01\xD3\x8B>\x90\xDD\x1D\x83\x19\x0A3\x11,\xC9e\x8D\xC4\xB7\xFA [2018-03-20 04:29:02] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 04:29:02] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 04:29:02] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 04:29:05] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 04:29:05] >>> tlv_debug: Got following TLV values: [2018-03-20 04:29:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 04:29:05] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 04:29:05] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 04:29:05] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 04:29:05] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 04:29:05] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 04:29:05] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 04:29:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 04:29:05] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 04:29:05] >>> homekit_server_on_get_accessories: Free heap: 12868 [2018-03-20 04:29:05] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 04:29:05] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 04:29:05] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 04:29:05] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 04:29:05] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 05:34:40] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 05:34:41] >>> HomeKit: Got new client connection: 7 [2018-03-20 05:34:41] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 05:34:41] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 05:34:41] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 05:34:41] >>> tlv_debug: Got following TLV values: [2018-03-20 05:34:41] >>> tlv_debug: Type 3 value (32 bytes): \x03i\xDB\x0A\xFD\xAC\xF0\x12 \xBF\x92\x94\xEB\xC5qy)a\xDC]\x8F\xE5\x87\xAD\xA7\xD1\x83)\xBC\xA34\x1D [2018-03-20 05:34:41] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 05:34:41] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 05:34:41] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 05:34:41] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 05:34:42] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 05:34:42] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 05:34:43] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 05:34:45] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 05:34:45] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 05:34:45] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 05:34:45] >>> tlv_debug: Got following TLV values: [2018-03-20 05:34:45] >>> tlv_debug: Type 5 value (101 bytes): \x9F@\xC4\xCC\xE2\x10\xC3r\xC0c\xACsp\x87\xB9\xB3v\x1FJ{\xB1&\x9DO\x93<\x9F7\xD1\xF8\x80P\x02\x9EWsa\x85\x8CR\xA8\x12\xB25i\xB0\xA7\x94\xFB?1k\xA7\x85]g\xA4\x0C\xF5\xD2$/N\xED\xF9\xFC[\xB0\x19\x98\x99t\x9D\xBD\x81<\xDA\x09\xCD$4\xBAI\x06\x85|\\\xEA\xAE\xC7rwS\xB7Y\xE7\x92'\x82UY [2018-03-20 05:34:45] >>> tlv_debug: Type 3 value (32 bytes): I\x05}\x01?w\xC29~\xD4\xB3g\x97\xA8\x8AH*\x1BH\xAE\x88\xEC\xC4\x83Q\x91\xEE\x99L}\x95D [2018-03-20 05:34:45] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 05:34:45] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x9F@\xC4\xCC\xE2\x10\xC3r\xC0c\xACsp\x87\xB9\xB3v\x1FJ{\xB1&\x9DO\x93<\x9F7\xD1\xF8\x80P\x02\x9EWsa\x85\x8CR\xA8\x12\xB25i\xB0\xA7\x94\xFB?1k\xA7\x85]g\xA4\x0C\xF5\xD2$/N\xED\xF9\xFC[\xB0\x19\x98\x99t\x9D\xBD\x81<\xDA\x09\xCD$4\xBAI\x06\x85|\\\xEA\xAE\xC7rwS\xB7Y\xE7\x92'\x82UY\x03 I\x05}\x01?w\xC29~\xD4\xB3g\x97\xA8\x8AH*\x1BH\xAE\x88\xEC\xC4\x83Q\x91\xEE\x99L}\x95D\x06\x01\x02 [2018-03-20 05:34:45] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 05:34:45] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 05:34:45] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 05:34:45] >>> homekit_server_on_pair_verify: Free heap: 12700 [2018-03-20 05:34:45] >>> tlv_debug: Got following TLV values: [2018-03-20 05:34:45] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 05:34:45] >>> tlv_debug: Type 5 value (120 bytes): g\x8E\x0B^F\x8B\xF7\x90\x87\xD9\x1A\x98\x07S\xBF]\x96\xB94\x1F\x10P\xF5\xA7\x9A5\xC4#`J\xA0\xFAJxE\xDA\xEBG\x97[\xA3\x9E\xCC\xCCTjd|h\x079\xBB@\x97\x09\xD9\x89"\x02\x1F\xE4\x90\xA5\x05Z\xE3(\x80\xBF\xC1[\xAB\x9Dg\x10\xFET\xB9\xF7sE\xB1+\xAD\xF68\x87\xE97\xA1\xDB\xDF\xA7\x04\x04\xD8$\x8E\xCAI\xDF\xBA\x8A00k\x00}\x05(\xD7d\x88?E)/D\x9C [2018-03-20 05:34:51] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 05:34:51] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 05:34:51] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 05:34:51] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 05:34:51] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 05:34:51] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 05:34:51] >>> tlv_debug: Got following TLV values: [2018-03-20 05:34:51] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 05:34:51] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 05:34:51] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 05:34:51] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 05:34:51] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 05:34:51] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 05:34:51] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 05:34:51] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 05:34:51] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 05:34:51] >>> homekit_server_on_get_accessories: Free heap: 12868 [2018-03-20 05:34:51] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 05:34:51] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 05:34:51] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 05:34:51] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 05:34:51] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 10:06:48] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 10:06:49] >>> HomeKit: Got new client connection: 8 [2018-03-20 10:06:49] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 10:06:49] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 10:06:49] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 10:06:49] >>> tlv_debug: Got following TLV values: [2018-03-20 10:06:49] >>> tlv_debug: Type 3 value (32 bytes): $\xA1f\xC3\x89x9\xB9\x9E\x91Z\xED\xF8Zh&,I\xBE\xD2zU\xFF\x09<\x97y\xBC\xF8\x05\x09\x11 [2018-03-20 10:06:49] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 10:06:49] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 10:06:49] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 10:06:49] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 10:06:51] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 10:06:51] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 10:06:52] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 10:06:53] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 10:06:53] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 10:06:53] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 10:06:53] >>> tlv_debug: Got following TLV values: [2018-03-20 10:06:53] >>> tlv_debug: Type 5 value (101 bytes): \x82\xEF%\xB1\x89\xC7>Z\xEA\xAC\x05\xAEv:qK4\x17\x9E\x97\x96U\xB4\x19\xC3q\xCBV\xC5q\xB9qOt\xBD?\x03\x12\x95\x13\x08\xA0zF\x17\xBC@\x82\xF8\x88~\xA3\xAA\xD8\x165\x81\x87\x8A\x9D\xF0%\xC8\x03\xE4:\xBB_\xAC\x08\xBD\xCD8\xF3\x97\xEF\x17\x9C\x0F\xDF?\x8D\x9Bl\x99\xAFh\xF7\xC1$\xC1\xC7\x85\xD3\x04\xD4\xC7/\xC5\x08 [2018-03-20 10:06:53] >>> tlv_debug: Type 3 value (32 bytes): sO\x80p\xF2\xAD\xB3\xCE\xCE\xEDX"y\xE2\xEC&\xF6*\x00\x9BcdP\x87w\x99t\x83\xCD\xA26> [2018-03-20 10:06:53] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 10:06:53] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x82\xEF%\xB1\x89\xC7>Z\xEA\xAC\x05\xAEv:qK4\x17\x9E\x97\x96U\xB4\x19\xC3q\xCBV\xC5q\xB9qOt\xBD?\x03\x12\x95\x13\x08\xA0zF\x17\xBC@\x82\xF8\x88~\xA3\xAA\xD8\x165\x81\x87\x8A\x9D\xF0%\xC8\x03\xE4:\xBB_\xAC\x08\xBD\xCD8\xF3\x97\xEF\x17\x9C\x0F\xDF?\x8D\x9Bl\x99\xAFh\xF7\xC1$\xC1\xC7\x85\xD3\x04\xD4\xC7/\xC5\x08\x03 sO\x80p\xF2\xAD\xB3\xCE\xCE\xEDX"y\xE2\xEC&\xF6*\x00\x9BcdP\x87w\x99t\x83\xCD\xA26>\x06\x01\x02 [2018-03-20 10:06:54] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 10:06:54] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 10:06:58] >>> HomeKit: Got new client connection: 8 [2018-03-20 10:06:58] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 10:06:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 10:06:58] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 10:06:58] >>> tlv_debug: Got following TLV values: [2018-03-20 10:06:58] >>> tlv_debug: Type 3 value (32 bytes): 7gz\xFD\xD4\x0BN|\x02\xB5\x97,\x0Eh\x98\xDFj%o\x1C\x18\xD2\x91\xDD\xACO\x06\x82\xAD\xD6\xA1\x11 [2018-03-20 10:06:58] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 10:06:58] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 10:06:58] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 10:06:58] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 10:06:59] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 10:06:59] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 10:07:00] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 10:07:02] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 10:07:02] >>> tlv_debug: Got following TLV values: [2018-03-20 10:07:02] >>> tlv_debug: Type 5 value (101 bytes): \xC9)"\xE3\xCC\xFC=j\x05\xBEnE}\xB9\xEF]\x09\x07\xCC0\x16fL\x97\xD3\xE4\xEA;\xF0'\x0D\xA5\xD41m\x8B\xCAY\x1BO)\xA9\xD2us\xAB\xA7\xE6\x0A\xD2/%S\xAC\x9F\x18\x1C\xA2+VR~\x8D5\xB1\xDE\x8A\xCD\x96\xB3uZ=\xF0\xEBi(\x0C\xCE\x08\x10\xD3\xB5G\xF4!k\xBD\x07\xDB\xF3,\x86\xB1]\xC0\xC3\xDE\x95\xED\xD2 [2018-03-20 10:07:02] >>> tlv_debug: Type 3 value (32 bytes): \xD9\xDA\x1F\x97\xA8\x90\x0E4=\x05\xBB\x12\x0D"G\x93I\x1Eg\x06\xA8\xE8\xA2\xA8\xC8\xBD\x00jY\x1C.$ [2018-03-20 10:07:02] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 10:07:02] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC9)"\xE3\xCC\xFC=j\x05\xBEnE}\xB9\xEF]\x09\x07\xCC0\x16fL\x97\xD3\xE4\xEA;\xF0'\x0D\xA5\xD41m\x8B\xCAY\x1BO)\xA9\xD2us\xAB\xA7\xE6\x0A\xD2/%S\xAC\x9F\x18\x1C\xA2+VR~\x8D5\xB1\xDE\x8A\xCD\x96\xB3uZ=\xF0\xEBi(\x0C\xCE\x08\x10\xD3\xB5G\xF4!k\xBD\x07\xDB\xF3,\x86\xB1]\xC0\xC3\xDE\x95\xED\xD2\x03 \xD9\xDA\x1F\x97\xA8\x90\x0E4=\x05\xBB\x12\x0D"G\x93I\x1Eg\x06\xA8\xE8\xA2\xA8\xC8\xBD\x00jY\x1C.$\x06\x01\x02 [2018-03-20 10:07:02] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 10:07:02] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: Free heap: 12700 [2018-03-20 10:07:02] >>> tlv_debug: Got following TLV values: [2018-03-20 10:07:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 10:07:02] >>> tlv_debug: Type 5 value (120 bytes): xA\xDB\xD1?HT\xF9Z\xE11\xEBW>\xD2\x88\xEE\x82\x98I\x81\xCF2\x07\xFE\xCC\xB9\xB6\x93\x1E\xF2\xD5<\x9F.r\x88\xCDI\xB5\x83\xF7\xF4\x10\x91:]Jq\xEA\x1E\xE0\xAD\xBA9F\xD0\xE3\xE0\\( \xC6k\xC8\x08y\xC1\xAB#\xD2\xC7\xB2P\xDA\xC4\xF9\x19\x805Sc\x12\xD5\x90\x10\x84\xB2kF\x83~\x1C)\x82\xA3<\xF1\xC9\x85\xD4\x97\xB4\x05\x0B\x09\x0B\xE0,\xBB)\xE2IA\xB4[\x88,M\x92 [2018-03-20 10:07:02] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-20 10:07:02] >>> HomeKit: [Client 8] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-20 10:07:02] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 10:07:05] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 10:07:05] >>> tlv_debug: Got following TLV values: [2018-03-20 10:07:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 10:07:05] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 10:07:05] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 10:07:05] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 10:07:05] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 10:07:05] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 10:07:05] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 10:07:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 10:07:05] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 10:07:05] >>> homekit_server_on_get_accessories: Free heap: 12868 [2018-03-20 10:07:05] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 10:07:05] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 10:07:05] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 10:07:05] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 10:07:05] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 13:19:15] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 13:19:26] >>> HomeKit: Got new client connection: 7 [2018-03-20 13:19:26] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 13:19:26] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 13:19:26] >>> homekit_server_on_pair_verify: Free heap: 12972 [2018-03-20 13:19:26] >>> tlv_debug: Got following TLV values: [2018-03-20 13:19:26] >>> tlv_debug: Type 3 value (32 bytes): v\x82E\x07\xBF\x10\x84\x1E\xF9]?\xA6\x08$/\xBF\x06\x02\x0C\x96!c\xE3\xBB\xCF\x9E4,\x03\xAEbI [2018-03-20 13:19:26] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 13:19:26] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 13:19:26] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 13:19:26] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 13:19:27] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 13:19:27] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 13:19:28] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 13:19:30] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 13:19:30] >>> tlv_debug: Got following TLV values: [2018-03-20 13:19:30] >>> tlv_debug: Type 5 value (101 bytes): \xE0\xDC \x09\xE8\xB6\x0E\x12n[\\\xA2\xE1\x80\x1E\xB7\x0D~\x0D\x13\xD8\xBB4\x1A\x8E\xD3\xA6*'vi?\x8DqZ\x97\x95n\xF3\x08\xA2\x113\xD8\xE5,!\x82\xAA\x0C\xB5d\xC2\xE3\xA6\xBB\x89E\x16\x0C\xF3\xEFY\xD6\x93-Cy\xC3\xA8\xF0\xCC\x1FQl\xD7&\xE1\xC9P\xAA])8>\x04\x00\x9D\xDCn4\x10\x1D\\\x9C\xC5\xCD\x8B\xB6\x15 [2018-03-20 13:19:30] >>> tlv_debug: Type 3 value (32 bytes): LA\x8C\xE8\x94\xBEkR\xC2-\x85\x97\xF1\xD4Id\x9B\xD9\xC3W=v\xDF\x11c\xD1o\xD1\xB8G4\x0E [2018-03-20 13:19:30] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 13:19:30] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE0\xDC \x09\xE8\xB6\x0E\x12n[\\\xA2\xE1\x80\x1E\xB7\x0D~\x0D\x13\xD8\xBB4\x1A\x8E\xD3\xA6*'vi?\x8DqZ\x97\x95n\xF3\x08\xA2\x113\xD8\xE5,!\x82\xAA\x0C\xB5d\xC2\xE3\xA6\xBB\x89E\x16\x0C\xF3\xEFY\xD6\x93-Cy\xC3\xA8\xF0\xCC\x1FQl\xD7&\xE1\xC9P\xAA])8>\x04\x00\x9D\xDCn4\x10\x1D\\\x9C\xC5\xCD\x8B\xB6\x15\x03 LA\x8C\xE8\x94\xBEkR\xC2-\x85\x97\xF1\xD4Id\x9B\xD9\xC3W=v\xDF\x11c\xD1o\xD1\xB8G4\x0E\x06\x01\x02 [2018-03-20 13:19:30] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 13:19:30] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: Free heap: 12692 [2018-03-20 13:19:30] >>> tlv_debug: Got following TLV values: [2018-03-20 13:19:30] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 13:19:30] >>> tlv_debug: Type 5 value (120 bytes): \x9C\x81/\xD3@\xEAL\x8F\xCA\xE7\xD4\xC0\xAA8\x896`'\x91`\x12%\xB8\xF8O\xBBT3\xB1\xAD\xEC'\xA4\xE5\xD0\x16\xD4\x8E?r\x03\x10\x91\x9A%A\x97Y\xA3_\xA9\x15\x19\xB3>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 13:19:30] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 13:19:30] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 13:19:33] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 13:19:33] >>> tlv_debug: Got following TLV values: [2018-03-20 13:19:33] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 13:19:33] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 13:19:33] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 13:19:33] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 13:19:33] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 13:19:33] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 13:19:33] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 13:19:33] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:19:33] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 13:19:33] >>> homekit_server_on_get_accessories: Free heap: 12868 [2018-03-20 13:19:33] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:19:33] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 13:19:33] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 13:19:33] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:19:33] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 13:28:26] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 13:35:02] >>> HomeKit: Got new client connection: 8 [2018-03-20 13:35:02] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 13:35:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 13:35:02] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 13:35:02] >>> tlv_debug: Got following TLV values: [2018-03-20 13:35:02] >>> tlv_debug: Type 3 value (32 bytes): \x03\xB8\xFD\x12\xA0[\xAAC\x96R\xF1\xC4\xA4\xA1$\x91t0\xC5\xCFe\xE5\x8A\x05\x04M\x84\x986\x0B\xEE\x05 [2018-03-20 13:35:02] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 13:35:02] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 13:35:02] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 13:35:02] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 13:35:03] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 13:35:03] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 13:35:04] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 13:35:06] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 13:35:06] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 13:35:06] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 13:35:06] >>> tlv_debug: Got following TLV values: [2018-03-20 13:35:06] >>> tlv_debug: Type 5 value (101 bytes): \xB0t\xCE\x97\xC9u\x1DF8LF\xB1\x914\xB8\x0A8\xE4\x9F\x04\x9A\xA0\xF7\xAE"]\x8B\xA5\xAA\xC0\xD0A\xD0yt3\x1A\x02\xC4\x9B=\xE8\x80\xAA- 1=k\xD17\x02\xBE\x9C\xA5c\x82K\x0C\x1A\xE8\x1A\x93\xB0\xB0x\xE7\xB3~\x0B\xD3T>\\\xCD\xFE\xBD\x08\x0DXSk\xC9f\x19\x12\xB39\xE1c\x96|R60\xDA\xD8\x8E{\xBB\xD3 [2018-03-20 13:35:06] >>> tlv_debug: Type 3 value (32 bytes): \x9BS\xA5\x06I\x9D\xF3]\x9AS\xE2\x19g\xE3b\xC2\xC1%\x96,^m*2s\xCA\xDFT\xAF\x8E\x96O [2018-03-20 13:35:06] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 13:35:06] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xB0t\xCE\x97\xC9u\x1DF8LF\xB1\x914\xB8\x0A8\xE4\x9F\x04\x9A\xA0\xF7\xAE"]\x8B\xA5\xAA\xC0\xD0A\xD0yt3\x1A\x02\xC4\x9B=\xE8\x80\xAA- 1=k\xD17\x02\xBE\x9C\xA5c\x82K\x0C\x1A\xE8\x1A\x93\xB0\xB0x\xE7\xB3~\x0B\xD3T>\\\xCD\xFE\xBD\x08\x0DXSk\xC9f\x19\x12\xB39\xE1c\x96|R60\xDA\xD8\x8E{\xBB\xD3\x03 \x9BS\xA5\x06I\x9D\xF3]\x9AS\xE2\x19g\xE3b\xC2\xC1%\x96,^m*2s\xCA\xDFT\xAF\x8E\x96O\x06\x01\x02 [2018-03-20 13:35:06] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 13:35:06] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 13:37:44] >>> HomeKit: Got new client connection: 8 [2018-03-20 13:37:44] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 13:37:44] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 13:37:44] >>> homekit_server_on_pair_verify: Free heap: 12988 [2018-03-20 13:37:44] >>> tlv_debug: Got following TLV values: [2018-03-20 13:37:44] >>> tlv_debug: Type 3 value (32 bytes): /\x81\xBA\xB5\xC6\xC6\xE2\x9B~\xC7\x06\x87\xF8H\xAC\x8F\xCB\xAC)\xD4BrQ\x97\xF088\xD7\x95\x0B\x94U [2018-03-20 13:37:44] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 13:37:45] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 13:37:45] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 13:37:45] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 13:37:46] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 13:37:46] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 13:37:47] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 13:37:48] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 13:37:49] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 13:37:49] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 13:37:49] >>> tlv_debug: Got following TLV values: [2018-03-20 13:37:49] >>> tlv_debug: Type 5 value (101 bytes): w\x96<\xCE\xAC\x90\xE6\x1C4F\xB5\x8D\x81\xE9 \x84\xBBof\xE7\xAD\xAA\x8F\x1A7s|\x17*\xE9\x8A\xD3\xA7!l\x85\xC6\xADUnM\x95\xA9\xB0\x86\xDE\xFA\xAC\x08\x82O\xB8\xF0nD\xC8\xB0,\x81\xD8c\x9D0v\xC5\xA7\xEC\xEB\xDC\x85A\xC0\x81\xAD\x16\xE1\x9D\xC4(\x09\x92\xEE4\xF5\xFD\x93\x93\x8D\xF05G\xA5\x1CVp\xF4\xB2\x17\xA8\x90 [2018-03-20 13:37:49] >>> tlv_debug: Type 3 value (32 bytes): F\xCD\xD2\xB5\xCBy\x83\x9E\xE8\x1B\xB5\xCF\x8A\x1D\x02\xDA\xD6\x16\xDC-JC\xA5\x81\xCBJxW\xEAN\x14 [2018-03-20 13:37:49] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 13:37:49] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ew\x96<\xCE\xAC\x90\xE6\x1C4F\xB5\x8D\x81\xE9 \x84\xBBof\xE7\xAD\xAA\x8F\x1A7s|\x17*\xE9\x8A\xD3\xA7!l\x85\xC6\xADUnM\x95\xA9\xB0\x86\xDE\xFA\xAC\x08\x82O\xB8\xF0nD\xC8\xB0,\x81\xD8c\x9D0v\xC5\xA7\xEC\xEB\xDC\x85A\xC0\x81\xAD\x16\xE1\x9D\xC4(\x09\x92\xEE4\xF5\xFD\x93\x93\x8D\xF05G\xA5\x1CVp\xF4\xB2\x17\xA8\x90\x03 F\xCD\xD2\xB5\xCBy\x83\x9E\xE8\x1B\xB5\xCF\x8A\x1D\x02\xDA\xD6\x16\xDC-JC\xA5\x81\xCBJxW\xEAN\x14\x06\x01\x02 [2018-03-20 13:37:49] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 13:37:49] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 13:37:49] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 13:37:49] >>> homekit_server_on_pair_verify: Free heap: 12436 [2018-03-20 13:37:49] >>> tlv_debug: Got following TLV values: [2018-03-20 13:37:49] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 13:37:49] >>> tlv_debug: Type 5 value (120 bytes): \x99\xBB\xD1\x80q\xFA\xCEHJ\x11]3\xAA\x18\x86\xAA1M\x08)\xA1XrE\x18\xA6\x02\xEC\xB9\xEF\x09\xB8\xDF\xD0~9q\xCD\xA4\xB9\xC9v\xE6\xE8$\xFC\xA33\x98K\x99\xF2\x8F\x8F`\x0BGC\xED\xB5\x96\xE96\xA6\xAB.o\x00\x18I5\xB5\xFF\xBC\x01\x90\xD20vVF\xCE\xB6\x01\xE9\x01\x08\xEF \xCB\x1B\xCE3~\xC8\x94)\xB3\xEC\x9E\x197c%\xEA`\x85\xB8\x9D\x8C\x07\xD0\x0D. u;\xDF\x9B [2018-03-20 13:37:49] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 13:37:49] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 13:37:49] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 13:37:49] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 13:37:49] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 13:37:52] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 13:37:52] >>> tlv_debug: Got following TLV values: [2018-03-20 13:37:52] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 13:37:52] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 13:37:52] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 13:37:52] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 13:37:53] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 13:37:53] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 13:37:53] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 13:37:53] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:37:53] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 13:37:53] >>> homekit_server_on_get_accessories: Free heap: 12868 [2018-03-20 13:37:53] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:37:53] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 13:37:53] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 13:37:53] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:37:53] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 13:42:07] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:42:07] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:42:07] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:42:07] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:42:07] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: Free heap: 12796 [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:07] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:07] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:42:07] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:42:07] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:42:27] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:42:27] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:42:27] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:42:27] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:42:27] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: Free heap: 12744 [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:27] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:27] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:42:27] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:42:27] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:42:43] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:42:43] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:42:43] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:42:43] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:42:43] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:42:43] >>> homekit_server_on_get_characteristics: Free heap: 12688 [2018-03-20 13:42:43] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:42:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:43] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:42:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:44] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:42:44] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:42:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:42:46] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:42:46] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:42:46] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:42:46] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:42:46] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: Free heap: 12648 [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:46] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:42:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:42:46] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:42:46] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:42:46] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:43:06] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:43:06] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:43:06] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:43:06] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:43:06] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: Free heap: 12588 [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:43:06] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:43:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:43:06] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:43:06] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:43:06] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:43:44] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:43:44] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:43:44] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:43:44] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:43:44] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: Free heap: 12536 [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:43:44] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:43:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:43:44] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:43:44] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:43:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:43:58] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:43:58] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:43:58] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:43:58] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:43:58] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: Free heap: 12356 [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:43:58] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:43:58] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:43:58] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:43:58] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:43:58] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:44:03] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:44:03] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:44:03] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:44:03] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:44:03] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: Free heap: 12440 [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:44:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:44:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:44:03] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:44:03] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:44:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:44:44] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:44:44] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:44:44] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:44:44] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:44:44] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: Free heap: 12392 [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:44:44] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:44:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:44:44] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:44:44] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:44:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:45:05] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:45:05] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:45:05] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:45:05] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:45:05] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: Free heap: 12340 [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:45:05] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:45:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:45:05] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:45:05] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:45:05] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:45:09] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:45:09] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:45:09] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:45:09] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:45:09] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: Free heap: 12152 [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:45:09] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:45:09] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:45:09] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:45:09] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:45:09] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:46:10] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:46:10] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:46:10] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:46:10] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:46:10] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: Free heap: 12236 [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:10] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:10] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:46:10] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:46:10] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:46:12] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:46:12] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:46:12] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:46:12] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:46:12] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: Free heap: 12184 [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:12] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:12] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:46:12] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:46:12] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:46:14] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:46:14] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:46:14] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:46:14] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:46:14] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: Free heap: 12136 [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:14] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:46:14] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:46:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 13:46:46] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 13:46:46] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 13:46:46] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 13:46:46] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 13:46:46] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: Free heap: 12088 [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:46] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 13:46:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 13:46:46] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 13:46:46] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 13:46:46] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 14:27:13] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 14:27:14] >>> HomeKit: Got new client connection: 8 [2018-03-20 14:27:14] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 14:27:14] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 14:27:14] >>> homekit_server_on_pair_verify: Free heap: 12240 [2018-03-20 14:27:14] >>> tlv_debug: Got following TLV values: [2018-03-20 14:27:14] >>> tlv_debug: Type 3 value (32 bytes): e\xFA\x8A\x93N*V\x84mr\xA1s5\x00\xC6d\xA4\xA3\x06\xA1w \xC2\x18\xFD\x80\x85\xD7\xA5q\x841 [2018-03-20 14:27:14] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 14:27:14] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 14:27:14] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 14:27:14] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 14:27:15] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 14:27:15] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 14:27:16] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 14:27:18] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 14:27:18] >>> tlv_debug: Got following TLV values: [2018-03-20 14:27:18] >>> tlv_debug: Type 5 value (101 bytes): \xD1\x1A\xD0\xC3%\xCF\xA1\x89VF\xFDB\x16I4\xAF}c\xFDs\x89a\x01\xCAu\xB0\xE6z\x99\x8E\xE5\xFB\xE3\x80O\xB7\xA2\xAD7\xB1\x08\xB7\x17\xAFV\xC4`\xE7\x9F\x93\xDC\xF2?\xBE/\xD2\xB5\x0E\x1C\xDF;i=\xD4`\xB3\xA2\xA1\xF1$\xD1\xE3hv\x0B\x1753\x81k\x82\xAE\xD6\x96\xCCx\x0B<\x04p\xD3\xF6\x06r\xF5\x8B\x0C\xA6\xF2\xCA\xAE [2018-03-20 14:27:18] >>> tlv_debug: Type 3 value (32 bytes): \xDFI(b\x04\xF2\xF3\x15\x87\xE5%V\x8Ck\xB75\x92)Of*\x80O\xA6\xA1\x89\xFE0\xA9_\xDDk [2018-03-20 14:27:18] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 14:27:18] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xD1\x1A\xD0\xC3%\xCF\xA1\x89VF\xFDB\x16I4\xAF}c\xFDs\x89a\x01\xCAu\xB0\xE6z\x99\x8E\xE5\xFB\xE3\x80O\xB7\xA2\xAD7\xB1\x08\xB7\x17\xAFV\xC4`\xE7\x9F\x93\xDC\xF2?\xBE/\xD2\xB5\x0E\x1C\xDF;i=\xD4`\xB3\xA2\xA1\xF1$\xD1\xE3hv\x0B\x1753\x81k\x82\xAE\xD6\x96\xCCx\x0B<\x04p\xD3\xF6\x06r\xF5\x8B\x0C\xA6\xF2\xCA\xAE\x03 \xDFI(b\x04\xF2\xF3\x15\x87\xE5%V\x8Ck\xB75\x92)Of*\x80O\xA6\xA1\x89\xFE0\xA9_\xDDk\x06\x01\x02 [2018-03-20 14:27:18] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 14:27:18] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: Free heap: 11944 [2018-03-20 14:27:18] >>> tlv_debug: Got following TLV values: [2018-03-20 14:27:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 14:27:18] >>> tlv_debug: Type 5 value (120 bytes): \xB3]\xA7'\xBC\xCF\x8C\xC0\x16 R\x0D\x1Ez\x12u\xA0\x81\xD4\x84L\xB8\xAD\x00\x9E\xC96\x80e\xE0\xB9\x1E\xF1\xA3\xCB\x95\x82\xEDT\xD1\xF30`\x0B2\xEFd\xFD\xABy~\xA0\xC5\x88\x84\xC3a\xD5\xB8\x1C\xC8\xFB\x8Ep`\x1C\x9C\xC6\xFB%[\xF2\xB4\xE4\xB9FB\xB2Ke\x04s\xFC\x0D\xCDVS\x8C\xAC&\xEB\x082\xB0\x08\xDE\x9F\xB1\xAE\xA17\xDF\xAB\xAC\x9A\xCEd,\x01I\xA1?D\xF0;4>U\x84 [2018-03-20 14:27:18] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 14:27:18] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 14:27:18] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 14:27:21] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 14:27:21] >>> tlv_debug: Got following TLV values: [2018-03-20 14:27:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 14:27:21] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 14:27:21] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 14:27:21] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 14:27:21] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 14:30:30] >>> HomeKit: Got new client connection: 8 [2018-03-20 14:30:30] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 14:30:30] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 14:30:30] >>> homekit_server_on_pair_verify: Free heap: 12232 [2018-03-20 14:30:30] >>> tlv_debug: Got following TLV values: [2018-03-20 14:30:30] >>> tlv_debug: Type 3 value (32 bytes): )\xB1\x1AI\xE5\x92w\xF2\x04\x1E\xF9v\xD7\x14\xBE\xE2~\x9Aj\xF9\x91\x87\x13,\x1F_Y\x81\x0Aw\xF5t [2018-03-20 14:30:30] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 14:30:30] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 14:30:30] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 14:30:30] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 14:30:31] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 14:30:31] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 14:30:32] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 14:30:34] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 14:30:34] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 14:30:34] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 14:30:34] >>> tlv_debug: Got following TLV values: [2018-03-20 14:30:34] >>> tlv_debug: Type 5 value (101 bytes): \xF4\x91\xE5\x1De\x99\xE2\xD6\xBEt'\x98\x01\x88\xDD\xB4:/\x97\xE72\xEE\xF9Y\x80\x12\xD6\x83_\x82$\xFCn\xD8:=!\x00\x9D`\xABB{\xB3\xE1\x82M\xEAb\xAE\xD8\x17r\x8C\x95\xE4\xD0\xF3\x93\xDA\xD3\x9A\xA0d\xC2\x9A\xDE\xA4\xE2\xBB\xE3\xD5\xF2f:\x99'\xC4@>\x99'\x841{\xD3\x93\xA6;|\xBF\xE6\x84\xA7)5\xD1+\x1A\x85d [2018-03-20 14:30:34] >>> tlv_debug: Type 3 value (32 bytes): o\x13\xB2lCW\xE1i\x9B\xFCg?\x08\xA0\x15Nfk\xE7)g\x84\x03\x88\xCB\xD6,>\xC9\x84` [2018-03-20 14:30:34] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 14:30:34] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xF4\x91\xE5\x1De\x99\xE2\xD6\xBEt'\x98\x01\x88\xDD\xB4:/\x97\xE72\xEE\xF9Y\x80\x12\xD6\x83_\x82$\xFCn\xD8:=!\x00\x9D`\xABB{\xB3\xE1\x82M\xEAb\xAE\xD8\x17r\x8C\x95\xE4\xD0\xF3\x93\xDA\xD3\x9A\xA0d\xC2\x9A\xDE\xA4\xE2\xBB\xE3\xD5\xF2f:\x99'\xC4@>\x99'\x841{\xD3\x93\xA6;|\xBF\xE6\x84\xA7)5\xD1+\x1A\x85d\x03 o\x13\xB2lCW\xE1i\x9B\xFCg?\x08\xA0\x15Nfk\xE7)g\x84\x03\x88\xCB\xD6,>\xC9\x84`\x06\x01\x02 [2018-03-20 14:30:34] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 14:30:34] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 14:30:35] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 14:30:35] >>> homekit_server_on_pair_verify: Free heap: 11932 [2018-03-20 14:30:35] >>> tlv_debug: Got following TLV values: [2018-03-20 14:30:35] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 14:30:35] >>> tlv_debug: Type 5 value (120 bytes): \xD2\xB9\xA4\xE8\xEE\xEE\x0A\xDF\xEDn\xDD\x11b\xA1\x17\x8EF\x1E\xB4\x1D\xB6\xE9"|\x8B\x03a\x06\xBF\x16P\xBAqs}\x95i\x0D8\xAF\xB4\xC6\xD2$\xD4\xA99\x91\xBFqM\xF6I\xD3\xF9\xB0\x8DI\x09\xFC\xE8L\xA3\xE6zn\x03q8\xF2XTG<\xD0\xF9\xB1\xB8+\x84\xA2\xBBB\x8C\x8Dw\xCA\xC2\xD9\xB35\xEA=C\x1F\x9A\x0D\xBF\x0B\x08\xFC,@y\x1BP'\xE3\x8F\xE3\xBA\xECFv\x00\x0EU\xD2'@ [2018-03-20 14:30:35] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 14:30:35] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 14:30:35] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 14:30:35] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 14:30:35] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 14:30:37] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 14:30:38] >>> tlv_debug: Got following TLV values: [2018-03-20 14:30:38] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 14:30:38] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 14:30:38] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 14:30:38] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 14:30:38] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 14:30:38] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 14:30:38] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 14:30:38] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 14:30:38] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 14:30:38] >>> homekit_server_on_get_accessories: Free heap: 12120 [2018-03-20 14:30:38] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 14:30:38] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 14:30:38] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 14:30:38] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 14:30:38] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:24:41] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 15:24:42] >>> HomeKit: Got new client connection: 8 [2018-03-20 15:24:42] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 15:24:42] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:24:42] >>> homekit_server_on_pair_verify: Free heap: 12228 [2018-03-20 15:24:42] >>> tlv_debug: Got following TLV values: [2018-03-20 15:24:42] >>> tlv_debug: Type 3 value (32 bytes): 3l\xCE\x9F\x8D[fa\x8B\xC7\xD9\xBF\xF8\xEF\xFB\xF4G\xF4\xBA\x1ETM\xADr\xEA@\xEC\xE2\xEB\xB0\x11\x13 [2018-03-20 15:24:42] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 15:24:42] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 15:24:42] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 15:24:42] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 15:24:43] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 15:24:43] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 15:24:44] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 15:24:46] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:24:46] >>> tlv_debug: Got following TLV values: [2018-03-20 15:24:46] >>> tlv_debug: Type 5 value (101 bytes): \xAB\xB8NV3h:\xEE\xA4\x08\xD8\x81o\xD1\xB6\x11\xA0"\xE4\xC4\xA4\x14\xEB\xCDW!0\xDC\xFDU\x06?\xB4V\xA1\xF73m\x14J\xEA\xC8\x8B\xA9\x93\xB7\x97\xCD\xBE\x12\xF6\xAB\x8D\x07\xBE?_\x01\xD5I%R\x8F\xD8\xE2\xDD\xEE\xDEYp\x0AG\xEE\x8B\xE4\x06\x80\x8A\xE2\xE7\x12`\xC4\xC6?(x/C\x9A{h\xB9\xF9M\\\x0DE\xC9\xCE\x8E [2018-03-20 15:24:46] >>> tlv_debug: Type 3 value (32 bytes): \x0E\xB5G\xA1Q\x07G$\xA0qE\x12\xC1\x91[\xAD\xDFr\xC3\x8Ac\x83\xBAyg\x04\x1B\xA8\xB4\xB3r4 [2018-03-20 15:24:46] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 15:24:46] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xAB\xB8NV3h:\xEE\xA4\x08\xD8\x81o\xD1\xB6\x11\xA0"\xE4\xC4\xA4\x14\xEB\xCDW!0\xDC\xFDU\x06?\xB4V\xA1\xF73m\x14J\xEA\xC8\x8B\xA9\x93\xB7\x97\xCD\xBE\x12\xF6\xAB\x8D\x07\xBE?_\x01\xD5I%R\x8F\xD8\xE2\xDD\xEE\xDEYp\x0AG\xEE\x8B\xE4\x06\x80\x8A\xE2\xE7\x12`\xC4\xC6?(x/C\x9A{h\xB9\xF9M\\\x0DE\xC9\xCE\x8E\x03 \x0E\xB5G\xA1Q\x07G$\xA0qE\x12\xC1\x91[\xAD\xDFr\xC3\x8Ac\x83\xBAyg\x04\x1B\xA8\xB4\xB3r4\x06\x01\x02 [2018-03-20 15:24:46] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:24:46] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: Free heap: 11940 [2018-03-20 15:24:46] >>> tlv_debug: Got following TLV values: [2018-03-20 15:24:46] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 15:24:46] >>> tlv_debug: Type 5 value (120 bytes): \x07\xFCj\x08Y?>\xBA#\xBC\xAD\x96\x0F\xAE\xED\x86\x96\xD4\x0F\xC9\x97\xDC\xC5\x042P\x0C\xD6\xE8;\x9D\x93\xC0*\x12x2\x0F\xBF\xD4\xCD\xD7\x0B\x1D\xEDH\xF0\xFD\xC1\x85\xF7\xDF0\x86O\xE5\x91[\xF9\xCE\xDB\x01\x13\xDE\xC1r\x19\xD3T\x00\xE8\x8B\xDF\xA7\x13\xA5d\x15p\x9BP\xACe/\x13\xC4\x1A\x13\x02YQ\xDA\\UJ\x9E\xFB\xEA\xA3\x06\xA9\xB3\x9A\x0E\xA6op\xA1\xEC\xBET\x054\x88/\xF3\x1BKp\x17 [2018-03-20 15:24:46] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:24:46] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:24:46] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 15:24:49] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:24:49] >>> tlv_debug: Got following TLV values: [2018-03-20 15:24:49] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 15:24:49] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 15:24:49] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 15:24:49] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:24:49] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 15:24:49] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 15:24:49] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 15:24:49] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 15:24:49] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 15:24:49] >>> homekit_server_on_get_accessories: Free heap: 11976 [2018-03-20 15:24:49] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 15:24:49] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 15:24:49] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 15:24:49] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 15:24:49] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:32:26] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 15:32:28] >>> HomeKit: Got new client connection: 8 [2018-03-20 15:32:28] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 15:32:28] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:32:28] >>> homekit_server_on_pair_verify: Free heap: 12240 [2018-03-20 15:32:28] >>> tlv_debug: Got following TLV values: [2018-03-20 15:32:28] >>> tlv_debug: Type 3 value (32 bytes): \xAE{O\x85& \xA9:\x8B\x8C\x9C\xE8|\x1C\x1A)\xAB\x17\xB6Ne\xDF\x8C~\x19\xD9\xA3oi\x05\xD0\\ [2018-03-20 15:32:28] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 15:32:28] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 15:32:28] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 15:32:28] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 15:32:29] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 15:32:29] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 15:32:30] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 15:32:32] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:32:32] >>> tlv_debug: Got following TLV values: [2018-03-20 15:32:32] >>> tlv_debug: Type 5 value (101 bytes): \x868"\x14y\xCB\x04\xA6\xAA\x9E\xDF\x87\x9D\x0AO|\xD4\xCE[]KO\x80\xDA\x07MJ\xB8\x85%\xC7\x8F\xD6\xD3\xF3Q\x8D\x9B\x02p\xBDq\xD2\xF4K\xA4\xB5\x8D;\xCF[\xB7&>\xA7\x8F\xD8\x0E\xA4N\\7+1\x1D \xF1}\xF0\xA3\xB0q\x87\xE7\xF3M4(r>^k\x80U\xCE\xE0EQ*(\xB7\xF1\x0B\xF0\x8E\x0E-\xBBq\xE0@ [2018-03-20 15:32:32] >>> tlv_debug: Type 3 value (32 bytes): \x15\xCF3\x9D\xE0\x02a\x9A\xA8\xF9\x1D\xB92\xCD\xEEQ\xA6\xE9\x83\xF3\xC53h\x90S\xE0\x93k\xEFScQ [2018-03-20 15:32:32] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 15:32:32] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x868"\x14y\xCB\x04\xA6\xAA\x9E\xDF\x87\x9D\x0AO|\xD4\xCE[]KO\x80\xDA\x07MJ\xB8\x85%\xC7\x8F\xD6\xD3\xF3Q\x8D\x9B\x02p\xBDq\xD2\xF4K\xA4\xB5\x8D;\xCF[\xB7&>\xA7\x8F\xD8\x0E\xA4N\\7+1\x1D \xF1}\xF0\xA3\xB0q\x87\xE7\xF3M4(r>^k\x80U\xCE\xE0EQ*(\xB7\xF1\x0B\xF0\x8E\x0E-\xBBq\xE0@\x03 \x15\xCF3\x9D\xE0\x02a\x9A\xA8\xF9\x1D\xB92\xCD\xEEQ\xA6\xE9\x83\xF3\xC53h\x90S\xE0\x93k\xEFScQ\x06\x01\x02 [2018-03-20 15:32:32] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:32:32] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: Free heap: 11944 [2018-03-20 15:32:32] >>> tlv_debug: Got following TLV values: [2018-03-20 15:32:32] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 15:32:32] >>> tlv_debug: Type 5 value (120 bytes): \xD7\xF5\xAANf\x0F\x0Ej\xA9\xBD\xE2\xB3\xBC\xFD\xF9S\x13\xA0\xF5!j\xC4\xE1#\xF1\x0E\x17^\xD6\xF3p\x9A\x83U\x13P\xAC\xAD\x89\xC1K\xA2M\xBE\xDE\xAC\x8A~\xBA\x0F\xC37\xA1\xD2\xE9='7%\\`O\xF2M5\x84\xF6\xC6H\x1D\x9Av\xDBqN\x0Eujn\xB2\x98\xA2\xFC|J=\xF9\x18\x9A\xA7\xDE\xB6\xDA\x8Fx\xAE$\x80JE\xCB\x9F\xB0xD\xD5\xF4\xEA\x18\x91\x07R\xEB\x841\xFDS\xD3\x9F\xCA [2018-03-20 15:32:32] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:32:32] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:32:32] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 15:32:35] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:32:35] >>> tlv_debug: Got following TLV values: [2018-03-20 15:32:35] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 15:32:35] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 15:32:35] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 15:32:35] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:32:35] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 15:32:35] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 15:32:35] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 15:32:35] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 15:32:35] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 15:32:35] >>> homekit_server_on_get_accessories: Free heap: 12128 [2018-03-20 15:32:35] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 15:32:35] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 15:32:35] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 15:32:35] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 15:32:35] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:35:28] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 15:38:45] >>> HomeKit: Got new client connection: 8 [2018-03-20 15:38:45] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 15:38:45] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:38:45] >>> homekit_server_on_pair_verify: Free heap: 12092 [2018-03-20 15:38:45] >>> tlv_debug: Got following TLV values: [2018-03-20 15:38:45] >>> tlv_debug: Type 3 value (32 bytes): \xAE!\xECv\x8C\xF2\xFB>\xB4\xF1\xD8\xDB\x19=O\xCF\xB1m\x08\x0A\xF9_\xC3,\x9F\x9C(G\x815\x0A [2018-03-20 15:38:45] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 15:38:45] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 15:38:45] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 15:38:45] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 15:38:47] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 15:38:47] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 15:38:48] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 15:38:49] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 15:38:50] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 15:38:50] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:38:50] >>> tlv_debug: Got following TLV values: [2018-03-20 15:38:50] >>> tlv_debug: Type 5 value (101 bytes): \x94\xD7\xA24\xD9\xCAH\xC0\xE9\xC6\xC7\xA2\xEF-\x99NJy\xD9\xA4\x1F_\xDEM\x057\xBD\xD4Mr\xE5C\xF9\x04\xD4R\xB5("\xA1\x9EsW\xB0s5\xFA\xCE\xA9\xC3\x98\x1F\xF2i\xD9pB\xE8hC]jW \xE2g\xD7P\xA8\xCC\xA5<\xF4\xBF\x12BJ%\xBE\xEE\x07\xCB_\xF9\xCA>\xA4o3\xAE\x87Z\xC0q\x1A\x1CP\xD4\xBDH\x15 [2018-03-20 15:38:50] >>> tlv_debug: Type 3 value (32 bytes): nSV\xA1\xDA\xA04\xFD&\xE2\x18\xD3\x19l+\x18\xF5\xDA\xCB\x87\xCB]r\x86\xA2O\xBD\xE3\xC5w`S [2018-03-20 15:38:50] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 15:38:50] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x94\xD7\xA24\xD9\xCAH\xC0\xE9\xC6\xC7\xA2\xEF-\x99NJy\xD9\xA4\x1F_\xDEM\x057\xBD\xD4Mr\xE5C\xF9\x04\xD4R\xB5("\xA1\x9EsW\xB0s5\xFA\xCE\xA9\xC3\x98\x1F\xF2i\xD9pB\xE8hC]jW \xE2g\xD7P\xA8\xCC\xA5<\xF4\xBF\x12BJ%\xBE\xEE\x07\xCB_\xF9\xCA>\xA4o3\xAE\x87Z\xC0q\x1A\x1CP\xD4\xBDH\x15\x03 nSV\xA1\xDA\xA04\xFD&\xE2\x18\xD3\x19l+\x18\xF5\xDA\xCB\x87\xCB]r\x86\xA2O\xBD\xE3\xC5w`S\x06\x01\x02 [2018-03-20 15:38:50] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:38:50] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 15:38:50] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:38:50] >>> homekit_server_on_pair_verify: Free heap: 11936 [2018-03-20 15:38:50] >>> tlv_debug: Got following TLV values: [2018-03-20 15:38:50] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 15:38:50] >>> tlv_debug: Type 5 value (120 bytes): \x91_\xD2gC\x9E!\xD4oG4\xB0\xB7\xCA7U5Y\xC2\xDF\xB6\xA3\xCCc*]\x974\xA50N9\xA6M\x9D^uh\xA2\xF9\xC8\x9E\x9A\xC3!'\x94?\x9C\xE8&Wf\x1B\xF8\x84\xC2\x13\x1E\xB1XQ\x8D:W\xDC\xEA\xAA\xCA\x9E<\xD3\x07{\x0D\x99\xB0\xE6\xC9\x9E,\x14+\xA16\xD3\xEC\xC2\x9AXCFa\xF8\xA5[\x9D1\x8A\xC2\xDF\xAE\x80\x147_\x85\xBC\xE5x{\xB8\x10\xA3\x17q\xB6\xB1\xC5u [2018-03-20 15:38:50] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 15:38:50] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 15:38:50] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:38:50] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:38:50] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 15:38:53] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:38:53] >>> tlv_debug: Got following TLV values: [2018-03-20 15:38:53] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 15:38:53] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 15:38:53] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 15:38:53] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:38:53] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 15:38:53] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 15:38:53] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 15:38:53] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 15:38:53] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 15:38:53] >>> homekit_server_on_get_accessories: Free heap: 12120 [2018-03-20 15:38:53] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 15:38:53] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 15:38:53] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 15:38:53] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 15:38:53] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:45:50] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 15:47:25] >>> HomeKit: Got new client connection: 8 [2018-03-20 15:47:25] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 15:47:25] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:47:25] >>> homekit_server_on_pair_verify: Free heap: 12232 [2018-03-20 15:47:25] >>> tlv_debug: Got following TLV values: [2018-03-20 15:47:25] >>> tlv_debug: Type 3 value (32 bytes): \xD2\xF8/\x90\x0B\x08\xB6\xA3\x92\xB5y~K\xEA\x18\xE4\xAC\xF1\xA9eD%\xF9,~\xBF\xB2\xADx\x82>_ [2018-03-20 15:47:25] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 15:47:25] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 15:47:25] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 15:47:25] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 15:47:26] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 15:47:26] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 15:47:28] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 15:47:29] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 15:47:29] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 15:47:29] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:47:29] >>> tlv_debug: Got following TLV values: [2018-03-20 15:47:29] >>> tlv_debug: Type 5 value (101 bytes): \xAFPM:\xDE\x93t\xAA\x10\xF1\xD4\xE6\x84\xFF\xFF\x8D\x1C}B\x8D\x0E\x83\xE1Gn\xBDX\xF36\x95\x09\xDE\x85\xED\x8Ahl\x18E\x99\x85!\xEA\xB1\x0F\x13\x042\\w\x98\xA2\x8Ai\xEA\xCD?\x80iQ\xEF\xDA\xC39\xE0\xA8H\x02&\x9A\xB054fx\xB1?e\x04\xB6N\x17\x0E\x1De\xE5\xA0I\x01\x1F\xE68\x86\xF6.\xA4\xD6\xA0\x1Da\xBF [2018-03-20 15:47:29] >>> tlv_debug: Type 3 value (32 bytes): \xFE\xACx\x01\xE8;\xC5\x9D\xADp\x0D"\x0F\xC7\xF2\x90\x8B #\x14\x9D\x10\xAE\x1AW\xC1\x9D\xF3\xC3iKc [2018-03-20 15:47:29] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 15:47:29] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xAFPM:\xDE\x93t\xAA\x10\xF1\xD4\xE6\x84\xFF\xFF\x8D\x1C}B\x8D\x0E\x83\xE1Gn\xBDX\xF36\x95\x09\xDE\x85\xED\x8Ahl\x18E\x99\x85!\xEA\xB1\x0F\x13\x042\\w\x98\xA2\x8Ai\xEA\xCD?\x80iQ\xEF\xDA\xC39\xE0\xA8H\x02&\x9A\xB054fx\xB1?e\x04\xB6N\x17\x0E\x1De\xE5\xA0I\x01\x1F\xE68\x86\xF6.\xA4\xD6\xA0\x1Da\xBF\x03 \xFE\xACx\x01\xE8;\xC5\x9D\xADp\x0D"\x0F\xC7\xF2\x90\x8B #\x14\x9D\x10\xAE\x1AW\xC1\x9D\xF3\xC3iKc\x06\x01\x02 [2018-03-20 15:47:29] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:47:30] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 15:47:30] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 15:47:30] >>> homekit_server_on_pair_verify: Free heap: 11940 [2018-03-20 15:47:30] >>> tlv_debug: Got following TLV values: [2018-03-20 15:47:30] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 15:47:30] >>> tlv_debug: Type 5 value (120 bytes): \x00\x96\xD2&\xEC5\x89\xD0\xEA\xF3\x99\xD3\xC8\x19|\xF6:\x81L\x02I-J\x0D\xFD\x81'\xBD\xF1\x0AP\x18(T\x88s\xF9k\xA8\x14\xB1\xFE\x1F\x8E\xB8\x87mP\xEB\x9AZ\xB4F7\x11\x18\xE2\xB1\xC2s#Ly\xA8\x02\xFF\xF8C\x9E\xAA\x0C\xE5\xECz\xFB\x91:\x9D\xDE\xDD\xDD\xB8\xF0r\x04\xF6$\xBD>UY;\x01@6\xD3-Ml8\x09\xA1\x04`\x86\xEFTY\xF1\x14\x13\xDD*\x14H\x10\xD4\x1A*\xFD [2018-03-20 15:47:30] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 15:47:30] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 15:47:30] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:47:30] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 15:47:30] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 15:47:33] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 15:47:33] >>> tlv_debug: Got following TLV values: [2018-03-20 15:47:33] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 15:47:33] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 15:47:33] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 15:47:33] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 15:47:33] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 15:47:33] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 15:47:33] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 15:47:33] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 15:47:33] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 15:47:33] >>> homekit_server_on_get_accessories: Free heap: 12120 [2018-03-20 15:47:33] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 15:47:33] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 15:47:33] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 15:47:33] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 15:47:33] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 17:07:22] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 17:08:23] >>> HomeKit: Got new client connection: 7 [2018-03-20 17:08:23] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 17:08:23] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 17:08:23] >>> homekit_server_on_pair_verify: Free heap: 12240 [2018-03-20 17:08:23] >>> tlv_debug: Got following TLV values: [2018-03-20 17:08:23] >>> tlv_debug: Type 3 value (32 bytes): \xF8\xCD\x18B\xE3\x96\xB2\xD4?\xEE\xBB\x00H7;]\xB7\xD3\xF6\xB4\x0ET\xA0\x84p\x9EY\xCB\x0E2\xB7\x08 [2018-03-20 17:08:23] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 17:08:23] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 17:08:23] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 17:08:23] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 17:08:24] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 17:08:24] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 17:08:26] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 17:08:27] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 17:08:27] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 17:08:27] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 17:08:27] >>> tlv_debug: Got following TLV values: [2018-03-20 17:08:27] >>> tlv_debug: Type 5 value (101 bytes): H\x9D\xA4\xCE\xB1C\xE7j9\x11\x13\xDFx\x01c\x85\xA9M\x1B\x85\x15}[\xCD\xAA\x03m\xF2|FV\xE6M\x86\x8B\xC5&\xFF\xBB\xD5\xC43\xAE\x0E\xEC\x04\x03\x10q\x08 T\xF1\xC5{9\xD3\xF4\x02\xCB1\xBFs1\xEFI\xF1U\x80]\x0D;\x01\x0A\x0Fr\xF9\x93\xCAk\xA8\x8B&>\x19\xF3\x80N\xCC$\xB2\xC3\x84\x15\xB6\x16\x8C\x1F0Y\xC9 [2018-03-20 17:08:27] >>> tlv_debug: Type 3 value (32 bytes): 4#GyWBg\x9F2\xA5\x0A\xF9L\xB98\xE7\xAC\xD0\xBE:3\xA0m\xE1w\x97f\x09\xE3>\xF8\x14 [2018-03-20 17:08:27] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 17:08:27] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eH\x9D\xA4\xCE\xB1C\xE7j9\x11\x13\xDFx\x01c\x85\xA9M\x1B\x85\x15}[\xCD\xAA\x03m\xF2|FV\xE6M\x86\x8B\xC5&\xFF\xBB\xD5\xC43\xAE\x0E\xEC\x04\x03\x10q\x08 T\xF1\xC5{9\xD3\xF4\x02\xCB1\xBFs1\xEFI\xF1U\x80]\x0D;\x01\x0A\x0Fr\xF9\x93\xCAk\xA8\x8B&>\x19\xF3\x80N\xCC$\xB2\xC3\x84\x15\xB6\x16\x8C\x1F0Y\xC9\x03 4#GyWBg\x9F2\xA5\x0A\xF9L\xB98\xE7\xAC\xD0\xBE:3\xA0m\xE1w\x97f\x09\xE3>\xF8\x14\x06\x01\x02 [2018-03-20 17:08:27] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 17:08:28] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 17:08:28] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 17:08:28] >>> homekit_server_on_pair_verify: Free heap: 11944 [2018-03-20 17:08:28] >>> tlv_debug: Got following TLV values: [2018-03-20 17:08:28] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 17:08:28] >>> tlv_debug: Type 5 value (120 bytes): \xC1\xB5Z\xBA\x04i\xF0\x04\xB2\xE9S\xBF\xF7{\xDA\xF3\x00L\x99\x9B\xB7A\xF7\xEA\xD5\x18\xF7UT\xA3\xCF\x85\x03Qs\xE5FS\xBB\xAAQ\x13#n\x11(\xCF\xED\xDCy\x18\xA3\x09\xDD*o\xCBA\x9D\x83kGb\xBFP\x84\x0B\xA7\x8C\xFF\xB2V7\x92\xD1AY\x8E\x0E\xA2\xB5\x1C\x83\x91M*\xF3\x14\x0E\xE6\xD0q\xD4\xCD\x81\x12v0G\xFD\xA5\xC2}\xA0y\x04\x03\xAD\xC5\xB1\x1B\xDB\x94\xCA#\xDC\xE1\xF2 [2018-03-20 17:08:28] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 17:08:28] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 17:08:28] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 17:08:28] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 17:08:28] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 17:08:31] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 17:08:31] >>> tlv_debug: Got following TLV values: [2018-03-20 17:08:31] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 17:08:31] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 17:08:31] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 17:08:31] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 17:08:31] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 17:08:32] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 17:08:32] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 17:08:32] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 17:08:32] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 17:08:32] >>> homekit_server_on_get_accessories: Free heap: 12120 [2018-03-20 17:08:32] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 17:08:32] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 17:08:32] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 17:08:32] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 17:08:32] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 18:38:13] >>> HomeKit: [Client 8] Closing client connection [2018-03-20 18:38:13] >>> HomeKit: Got new client connection: 8 [2018-03-20 18:38:14] >>> homekit_client_process: [Client 8] Got 168 incomming data [2018-03-20 18:38:14] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 18:38:14] >>> homekit_server_on_pair_verify: Free heap: 11840 [2018-03-20 18:38:14] >>> tlv_debug: Got following TLV values: [2018-03-20 18:38:14] >>> tlv_debug: Type 3 value (32 bytes): \x09\x83\xDFpk\xF9\xD6\x14\xDB0\xACK|\xBCh\xCA\xC1\x81b/\x98\xC6e\xA1e}\x11\xB9\xDC\xF1\x8A{ [2018-03-20 18:38:14] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 18:38:14] >>> HomeKit: [Client 8] Pair Verify Step 1/2 [2018-03-20 18:38:14] >>> homekit_server_on_pair_verify: [Client 8] Importing device Curve25519 public key [2018-03-20 18:38:14] >>> homekit_server_on_pair_verify: [Client 8] Generating accessory Curve25519 key [2018-03-20 18:38:15] >>> homekit_server_on_pair_verify: [Client 8] Exporting accessory Curve25519 public key [2018-03-20 18:38:15] >>> homekit_server_on_pair_verify: [Client 8] Generating Curve25519 shared secret [2018-03-20 18:38:16] >>> homekit_server_on_pair_verify: [Client 8] Generating signature [2018-03-20 18:38:18] >>> homekit_server_on_pair_verify: [Client 8] Generating proof [2018-03-20 18:38:18] >>> homekit_server_on_pair_verify: [Client 8] Encrypting response [2018-03-20 18:38:18] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 18:38:18] >>> tlv_debug: Got following TLV values: [2018-03-20 18:38:18] >>> tlv_debug: Type 5 value (101 bytes): \xA4\xEC\x06\x06\x99\xF0\x06\xD3\x17\x0E\xE8\x05/5\x14\xC43\xC6\xAB\xEC%\x0B\x00\x18\xF7{\x89\xC4\xD9\x17\xF5\xD2\x0B@\xFF\x03d\xCB$\xDC\xBEh\xB6c\xF7\x97\xE9\xE6\xBB\x06\xD3`C\xB4/a\xFC\x9F-\xB2,\xCCT\xA68\xB5\xC9\xB5\xC6\x97cwoV\xA4\x07\xAC]\xA1H\x97\xDC@:{\xEE\x1Cx\xCA\xC6\xCBa\xC6\x04\x0EQ(\x84t\x84\xCF [2018-03-20 18:38:18] >>> tlv_debug: Type 3 value (32 bytes): \xE3\x89\xD4\x10Zs\xC5\xF8tB/\xCA\xCD\xE8I\x07Pvd\x80\xCA\x88\xE1\xC1_\xC7\xA0\xE7}w*\x10 [2018-03-20 18:38:18] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 18:38:18] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xA4\xEC\x06\x06\x99\xF0\x06\xD3\x17\x0E\xE8\x05/5\x14\xC43\xC6\xAB\xEC%\x0B\x00\x18\xF7{\x89\xC4\xD9\x17\xF5\xD2\x0B@\xFF\x03d\xCB$\xDC\xBEh\xB6c\xF7\x97\xE9\xE6\xBB\x06\xD3`C\xB4/a\xFC\x9F-\xB2,\xCCT\xA68\xB5\xC9\xB5\xC6\x97cwoV\xA4\x07\xAC]\xA1H\x97\xDC@:{\xEE\x1Cx\xCA\xC6\xCBa\xC6\x04\x0EQ(\x84t\x84\xCF\x03 \xE3\x89\xD4\x10Zs\xC5\xF8tB/\xCA\xCD\xE8I\x07Pvd\x80\xCA\x88\xE1\xC1_\xC7\xA0\xE7}w*\x10\x06\x01\x02 [2018-03-20 18:38:18] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 18:38:21] >>> homekit_client_process: [Client 8] Got 257 incomming data [2018-03-20 18:38:21] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 18:38:21] >>> homekit_server_on_pair_verify: Free heap: 11928 [2018-03-20 18:38:21] >>> tlv_debug: Got following TLV values: [2018-03-20 18:38:21] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 18:38:21] >>> tlv_debug: Type 5 value (120 bytes): _r\x03w\x18Q@e\x1E\xA2e\xD5\xE9MkA\xBA\x84V,sb\xCBhn\x81\xC8\x10s\x1D.Em\xA1\x1D(I\xAA\x14\xF3\xAA\xBDs\x01\x8BYa\xEAs\xC7\x9B\xC3\xDF\x85M\xBE\xAA- \xA5\xE3\x0A\x8F\x03\xC8V\xE2*\xDF[6D\xB2\xACu\xB0\x93\xDFr-\x9F\xECi\x83\xF1t\x83\xEB\xCE\x99)\xE5;\xED\xD0\xECY\xA5\xCD\xAD_h\x06\xF6\xFD\xC8\xAE\x9C\xAC\xAF\xC4\xF1\x96@^w\xEA\xDC\xC6\x83 [2018-03-20 18:38:26] >>> HomeKit: [Client 8] Pair Verify Step 2/2 [2018-03-20 18:38:26] >>> homekit_server_on_pair_verify: [Client 8] Decrypting payload [2018-03-20 18:38:26] >>> homekit_server_on_pair_verify: [Client 8] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 18:38:26] >>> HomeKit: [Client 8] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 18:38:26] >>> homekit_server_on_pair_verify: [Client 8] Verifying device signature [2018-03-20 18:38:26] >>> send_tlv_response: [Client 8] Sending TLV response [2018-03-20 18:38:26] >>> tlv_debug: Got following TLV values: [2018-03-20 18:38:26] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 18:38:26] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 18:38:26] >>> HomeKit: [Client 8] Verification successful, secure session established [2018-03-20 18:38:26] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 18:38:26] >>> homekit_client_process: [Client 8] Got 88 incomming data [2018-03-20 18:38:26] >>> homekit_client_process: [Client 8] Decrypting data [2018-03-20 18:38:26] >>> homekit_client_process: [Client 8] Decrypted 70 bytes, available 0 [2018-03-20 18:38:26] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 18:38:26] >>> HomeKit: [Client 8] Get Accessories [2018-03-20 18:38:26] >>> homekit_server_on_get_accessories: Free heap: 12112 [2018-03-20 18:38:26] >>> client_send: [Client 8] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 18:38:26] >>> client_send: [Client 8] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 18:38:26] >>> client_send: [Client 8] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 18:38:26] >>> client_send: [Client 8] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 18:38:26] >>> homekit_client_process: [Client 8] Finished processing [2018-03-20 20:29:42] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 20:30:18] >>> HomeKit: Got new client connection: 7 [2018-03-20 20:30:18] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 20:30:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 20:30:18] >>> homekit_server_on_pair_verify: Free heap: 11732 [2018-03-20 20:30:18] >>> tlv_debug: Got following TLV values: [2018-03-20 20:30:18] >>> tlv_debug: Type 3 value (32 bytes): \xF1`G\x8A:l\xC1o\x1F\xC5#h\xE7\xFE\xE0\x89C\x0B\x9E[\x0C\xC6\xB7\xBF/\xDF\xBD\xBC\xDC\xDE\x97\x1F [2018-03-20 20:30:18] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 20:30:18] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 20:30:18] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 20:30:18] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 20:30:19] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 20:30:19] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 20:30:20] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 20:30:22] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 20:30:22] >>> tlv_debug: Got following TLV values: [2018-03-20 20:30:22] >>> tlv_debug: Type 5 value (101 bytes): 0\xB1\xD3\xE4\x06\xE3@\xE1G\x01\x15\x95%w\x98\x179T{\xADr\x07\x84\xB3#=a'\x0D\x16x\xEA\x1CIzq\x18\x89\xD4\x02\x12\xB9\xDB\x00\x0Fg'\x06y\xACEYPoX\x96 \xE6\xFA\xE2\x82\x08\x01\x92\xB7HO\x13\xED\x19\x9A\x85&\x8D(l\x9F\xD8\xF1n6\xB6#\xC3)\xE9\\\xA0\xCCgX\xF95.\xED\xD8A\x17:F\x98 [2018-03-20 20:30:22] >>> tlv_debug: Type 3 value (32 bytes): \x06c\x82x0\x00\xE9\x9F\xAE\x8C\x1A\x00r\xE6\xEE\x86\x1Ft;b\x07\x9E\x0Cu\xE9B\xB2\xBCpI>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 20:30:22] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e0\xB1\xD3\xE4\x06\xE3@\xE1G\x01\x15\x95%w\x98\x179T{\xADr\x07\x84\xB3#=a'\x0D\x16x\xEA\x1CIzq\x18\x89\xD4\x02\x12\xB9\xDB\x00\x0Fg'\x06y\xACEYPoX\x96 \xE6\xFA\xE2\x82\x08\x01\x92\xB7HO\x13\xED\x19\x9A\x85&\x8D(l\x9F\xD8\xF1n6\xB6#\xC3)\xE9\\\xA0\xCCgX\xF95.\xED\xD8A\x17:F\x98\x03 \x06c\x82x0\x00\xE9\x9F\xAE\x8C\x1A\x00r\xE6\xEE\x86\x1Ft;b\x07\x9E\x0Cu\xE9B\xB2\xBCpI>> homekit_client_process: [Client 7] Finished processing [2018-03-20 20:30:22] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: Free heap: 11944 [2018-03-20 20:30:22] >>> tlv_debug: Got following TLV values: [2018-03-20 20:30:22] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 20:30:22] >>> tlv_debug: Type 5 value (120 bytes): My\xB0\xDF\x88j\xBA\x98\x1A\xDE\xBD\xE4^\xA9lb\x84y\xAE\x0A6n\xE7X\x93\x97\x0B\xE5<\x9F\x00\x8D\x0A\x18&:n\xC4\x9C\x18\xE9\xB1\x92YH\x03\xC9\xD6\xB3`I,b\xA4\x96\x0Fk\xFF\xA3\xD9\x92b;\xB8\x85PX\x12LG\x9C\x0AI\xD82\x15W_\x1A\xB9\x80\xF6\x0A\xF9>\x93\xF8\xC4\x07\x85\x03\xEE\xE0^b\xCC\xAA\xAB/\xF0\x80\xC9}\xD9\xB6\x84\x8Fgr0\x1C\xDD\x9F\x86jU\x90\x0Di [2018-03-20 20:30:22] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 20:30:22] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 20:30:22] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 20:30:25] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 20:30:25] >>> tlv_debug: Got following TLV values: [2018-03-20 20:30:25] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 20:30:25] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 20:30:25] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 20:30:25] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 20:30:25] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 20:30:25] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 20:30:25] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 20:30:25] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 20:30:25] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 20:30:25] >>> homekit_server_on_get_accessories: Free heap: 12116 [2018-03-20 20:30:25] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 20:30:25] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 20:30:26] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 20:30:26] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 20:30:26] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 21:34:40] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 21:34:40] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 21:34:40] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 21:34:40] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 21:34:40] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: Free heap: 12028 [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 21:34:40] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 21:34:40] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 21:34:40] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 21:34:40] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 21:34:40] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 21:34:52] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-20 21:34:52] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 21:34:52] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-20 21:34:52] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-20 21:34:52] >>> HomeKit: [Client 4] Update Characteristics [2018-03-20 21:34:52] >>> homekit_server_on_update_characteristics: Free heap: 11644 [2018-03-20 21:34:52] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:34:52] "aid": 1, [2018-03-20 21:34:52] "iid": 10, [2018-03-20 21:34:52] "ev": true [2018-03-20 21:34:52] } [2018-03-20 21:34:52] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:34:52] "aid": 1, [2018-03-20 21:34:52] "iid": 13, [2018-03-20 21:34:52] "ev": true [2018-03-20 21:34:52] } [2018-03-20 21:34:52] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:34:52] "aid": 1, [2018-03-20 21:34:52] "iid": 16, [2018-03-20 21:34:52] "ev": true [2018-03-20 21:34:52] } [2018-03-20 21:34:52] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-20 21:34:52] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-20 21:34:52] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 21:35:58] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-20 21:35:58] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 21:35:58] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-20 21:35:58] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-20 21:35:58] >>> HomeKit: [Client 4] Update Characteristics [2018-03-20 21:35:58] >>> homekit_server_on_update_characteristics: Free heap: 11704 [2018-03-20 21:35:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:35:58] "aid": 1, [2018-03-20 21:35:58] "iid": 10, [2018-03-20 21:35:58] "ev": false [2018-03-20 21:35:58] } [2018-03-20 21:35:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:35:58] "aid": 1, [2018-03-20 21:35:58] "iid": 13, [2018-03-20 21:35:58] "ev": false [2018-03-20 21:35:58] } [2018-03-20 21:35:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:35:58] "aid": 1, [2018-03-20 21:35:58] "iid": 16, [2018-03-20 21:35:58] "ev": false [2018-03-20 21:35:58] } [2018-03-20 21:35:58] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-20 21:35:58] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-20 21:35:58] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 21:48:43] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 21:48:43] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 21:48:43] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 21:48:43] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 21:48:43] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: Free heap: 11992 [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 21:48:43] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 21:48:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 21:48:43] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 21:48:43] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 21:48:43] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 21:48:54] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-20 21:48:54] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 21:48:54] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-20 21:48:54] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-20 21:48:54] >>> HomeKit: [Client 4] Update Characteristics [2018-03-20 21:48:54] >>> homekit_server_on_update_characteristics: Free heap: 11728 [2018-03-20 21:48:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:48:54] "aid": 1, [2018-03-20 21:48:54] "iid": 10, [2018-03-20 21:48:54] "ev": true [2018-03-20 21:48:54] } [2018-03-20 21:48:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:48:54] "aid": 1, [2018-03-20 21:48:54] "iid": 13, [2018-03-20 21:48:54] "ev": true [2018-03-20 21:48:54] } [2018-03-20 21:48:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:48:54] "aid": 1, [2018-03-20 21:48:54] "iid": 16, [2018-03-20 21:48:54] "ev": true [2018-03-20 21:48:54] } [2018-03-20 21:48:54] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-20 21:48:54] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-20 21:48:54] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 21:49:55] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-20 21:49:55] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 21:49:55] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-20 21:49:55] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-20 21:49:55] >>> HomeKit: [Client 4] Update Characteristics [2018-03-20 21:49:55] >>> homekit_server_on_update_characteristics: Free heap: 11660 [2018-03-20 21:49:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:49:55] "aid": 1, [2018-03-20 21:49:55] "iid": 10, [2018-03-20 21:49:55] "ev": false [2018-03-20 21:49:55] } [2018-03-20 21:49:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:49:55] "aid": 1, [2018-03-20 21:49:55] "iid": 13, [2018-03-20 21:49:55] "ev": false [2018-03-20 21:49:55] } [2018-03-20 21:49:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 21:49:55] "aid": 1, [2018-03-20 21:49:55] "iid": 16, [2018-03-20 21:49:55] "ev": false [2018-03-20 21:49:55] } [2018-03-20 21:49:55] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-20 21:49:55] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-20 21:49:55] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 22:48:03] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-20 22:48:03] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 22:48:03] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-20 22:48:03] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 22:48:03] >>> HomeKit: [Client 4] Get Characteristics [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: Free heap: 11936 [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 22:48:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-20 22:48:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-20 22:48:03] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-20 22:48:03] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 22:48:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 22:48:13] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-20 22:48:13] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 22:48:13] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-20 22:48:13] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-20 22:48:13] >>> HomeKit: [Client 4] Update Characteristics [2018-03-20 22:48:14] >>> homekit_server_on_update_characteristics: Free heap: 11680 [2018-03-20 22:48:14] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 22:48:14] "aid": 1, [2018-03-20 22:48:14] "iid": 10, [2018-03-20 22:48:14] "ev": true [2018-03-20 22:48:14] } [2018-03-20 22:48:14] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 22:48:14] "aid": 1, [2018-03-20 22:48:14] "iid": 13, [2018-03-20 22:48:14] "ev": true [2018-03-20 22:48:14] } [2018-03-20 22:48:14] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 22:48:14] "aid": 1, [2018-03-20 22:48:14] "iid": 16, [2018-03-20 22:48:14] "ev": true [2018-03-20 22:48:14] } [2018-03-20 22:48:14] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-20 22:48:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-20 22:48:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 22:49:57] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-20 22:49:58] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-20 22:49:58] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-20 22:49:58] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-20 22:49:58] >>> HomeKit: [Client 4] Update Characteristics [2018-03-20 22:49:58] >>> homekit_server_on_update_characteristics: Free heap: 11604 [2018-03-20 22:49:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 22:49:58] "aid": 1, [2018-03-20 22:49:58] "iid": 10, [2018-03-20 22:49:58] "ev": false [2018-03-20 22:49:58] } [2018-03-20 22:49:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 22:49:58] "aid": 1, [2018-03-20 22:49:58] "iid": 13, [2018-03-20 22:49:58] "ev": false [2018-03-20 22:49:58] } [2018-03-20 22:49:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-20 22:49:58] "aid": 1, [2018-03-20 22:49:58] "iid": 16, [2018-03-20 22:49:58] "ev": false [2018-03-20 22:49:58] } [2018-03-20 22:49:58] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-20 22:49:58] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-20 22:49:58] >>> homekit_client_process: [Client 4] Finished processing [2018-03-20 23:31:30] >>> HomeKit: [Client 7] Closing client connection [2018-03-20 23:31:31] >>> HomeKit: Got new client connection: 7 [2018-03-20 23:31:31] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-20 23:31:31] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 23:31:31] >>> homekit_server_on_pair_verify: Free heap: 12076 [2018-03-20 23:31:31] >>> tlv_debug: Got following TLV values: [2018-03-20 23:31:31] >>> tlv_debug: Type 3 value (32 bytes): gA\xBCb\xA6\x84\xA2u\x9D>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-20 23:31:31] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-20 23:31:31] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-20 23:31:31] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-20 23:31:32] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-20 23:31:32] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-20 23:31:33] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-20 23:31:35] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 23:31:35] >>> tlv_debug: Got following TLV values: [2018-03-20 23:31:35] >>> tlv_debug: Type 5 value (101 bytes): B\x0C\x85\xD7\x083t\xFBc\x14G\xD8B\xD7P\xDC\xE1\xEA,Z\x9A\xAB\xA5\xD0\xF3W \x15\x15N\xF6L0\xB4\xC2\xD4\x8D\xFA\x0BBY\xF9\xC8\x9B\xDF\x99\xFC\x91\xD3ym\xC5\xA3^\xB0\x174\xF3\xC4\x98r\xF8<\xB2\xF6\xD1(I\xFALg\xA7\xED\x99l\x90Z\xB2\xC3\xD3z8\xE9\xABi\xE9jt\xCB\x0A\x9CR^\xBB\xFD\x95\xCC\x91\x0B\xBE; [2018-03-20 23:31:35] >>> tlv_debug: Type 3 value (32 bytes): (@\xC5\xD7\xEE}\x09z\xB45\xE0tDWr\xCE\x96\xD5\xD4\xA8\x0B\x9Dl\xC3\xE10\xD1\xF1\x9AW!! [2018-03-20 23:31:35] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-20 23:31:35] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eB\x0C\x85\xD7\x083t\xFBc\x14G\xD8B\xD7P\xDC\xE1\xEA,Z\x9A\xAB\xA5\xD0\xF3W \x15\x15N\xF6L0\xB4\xC2\xD4\x8D\xFA\x0BBY\xF9\xC8\x9B\xDF\x99\xFC\x91\xD3ym\xC5\xA3^\xB0\x174\xF3\xC4\x98r\xF8<\xB2\xF6\xD1(I\xFALg\xA7\xED\x99l\x90Z\xB2\xC3\xD3z8\xE9\xABi\xE9jt\xCB\x0A\x9CR^\xBB\xFD\x95\xCC\x91\x0B\xBE;\x03 (@\xC5\xD7\xEE}\x09z\xB45\xE0tDWr\xCE\x96\xD5\xD4\xA8\x0B\x9Dl\xC3\xE10\xD1\xF1\x9AW!!\x06\x01\x02 [2018-03-20 23:31:35] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 23:31:35] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: Free heap: 11784 [2018-03-20 23:31:35] >>> tlv_debug: Got following TLV values: [2018-03-20 23:31:35] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-20 23:31:35] >>> tlv_debug: Type 5 value (120 bytes): \x96l\xEF\xB9&\x9D\x96c\xA3c\x0F\xA9ls\xA5X\x8AH\xA5t|\x8A\xAC\x03\xDAu\x12\xF2\xDE\xD2\x88*\xE3QA9\xB6W~<\xF7\x8E\x1AJ\x93#\xFE\xCD\xDFrc[\xE4\xF9\xE0V\xC1\x1F\xC4m\x15\xAB>\xAB%\xD9>\x17\xDC\x93\xBF\x81\xCA>>\x83\x1B\xA2^p3\xD1lT)}\xE5\x8E\xA3\x86\xF3_\x0B\x93\xB7L\x12\\"k\xF8R^\xA9\xC5\x9F\x1B\xEE\xF6\xA6|\xE4\xD0\xAF\xA7\x851\xF6\x8D\xFD [2018-03-20 23:31:35] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 23:31:35] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-20 23:31:35] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-20 23:31:38] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-20 23:31:38] >>> tlv_debug: Got following TLV values: [2018-03-20 23:31:38] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-20 23:31:38] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-20 23:31:38] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-20 23:31:38] >>> homekit_client_process: [Client 7] Finished processing [2018-03-20 23:31:39] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-20 23:31:39] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-20 23:31:39] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-20 23:31:39] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-20 23:31:39] >>> HomeKit: [Client 7] Get Accessories [2018-03-20 23:31:39] >>> homekit_server_on_get_accessories: Free heap: 11960 [2018-03-20 23:31:39] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-20 23:31:39] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-20 23:31:39] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-20 23:31:39] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-20 23:31:39] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 07:04:38] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 07:04:38] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 07:04:38] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 07:04:38] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:04:38] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: Free heap: 11888 [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:04:38] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:04:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:04:38] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 07:04:38] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:04:38] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 07:05:00] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 07:05:00] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 07:05:00] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 07:05:00] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:05:00] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: Free heap: 11840 [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:05:00] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:05:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:05:00] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 07:05:00] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:05:00] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 07:05:29] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 07:05:29] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 07:05:29] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 07:05:29] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:05:29] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: Free heap: 11792 [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:05:29] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:05:29] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:05:29] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 07:05:29] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:05:29] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 07:05:44] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 07:05:44] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 07:05:44] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 07:05:44] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:05:44] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: Free heap: 11744 [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:05:44] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:05:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:05:44] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 07:05:44] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:05:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 07:06:14] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 07:06:14] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 07:06:14] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 07:06:14] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:06:14] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: Free heap: 11696 [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:06:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:06:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:06:14] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 07:06:14] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:06:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 07:06:43] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 07:06:43] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 07:06:43] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 07:06:43] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:06:43] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: Free heap: 11648 [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:06:43] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 07:06:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 07:06:43] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 07:06:43] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:06:43] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 07:53:57] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 07:53:59] >>> HomeKit: Got new client connection: 7 [2018-03-21 07:53:59] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 07:53:59] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 07:53:59] >>> homekit_server_on_pair_verify: Free heap: 11792 [2018-03-21 07:53:59] >>> tlv_debug: Got following TLV values: [2018-03-21 07:53:59] >>> tlv_debug: Type 3 value (32 bytes): \xD0\xB2\x01!S\xB4\x812\x12\x92\xA2\x1D\xA4\xEBK\\\x82\xBD\x03:\xCD\x9D\xD4#7H\x13\x8D9\xAC\xA7) [2018-03-21 07:53:59] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 07:53:59] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 07:53:59] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 07:53:59] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 07:54:00] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 07:54:00] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 07:54:02] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 07:54:03] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 07:54:03] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 07:54:03] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 07:54:03] >>> tlv_debug: Got following TLV values: [2018-03-21 07:54:03] >>> tlv_debug: Type 5 value (101 bytes): \xBD\xF9\x14^\x8D`F\x9F\xF5e\x00\xD9Tl$\x86\xFBK\x0AJ\x8E\x83\xF89\x96~\xA7f\x9E\xB9O\x13)\xCF\xDF.\xD8\xA9W"\xEF\xD1\xD5f\xF3\xDCa\xE2\x81n\x06.:%\x06\xFC\xD6\x9A\x1D\xB9\x8D\xA6\x1EU]\x8D\xBE\xEA\xAC\x1A\x11\x9ARv(U\xD3\xF5s\x92/\xC5\x82r\xABfh\x84\xB5d\x98P8Z\xB8\xD5e_\xF3\x87\xA7 [2018-03-21 07:54:03] >>> tlv_debug: Type 3 value (32 bytes): 0\xA9Jx2\x9D\x9D\x86e\xB8\xFF\xF3q\x0B\xAE1_\xC8\xF2V&\xF8B\x1D\xA9\x1D\x96\x1C\xE8\x06\x16 [2018-03-21 07:54:03] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 07:54:03] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xBD\xF9\x14^\x8D`F\x9F\xF5e\x00\xD9Tl$\x86\xFBK\x0AJ\x8E\x83\xF89\x96~\xA7f\x9E\xB9O\x13)\xCF\xDF.\xD8\xA9W"\xEF\xD1\xD5f\xF3\xDCa\xE2\x81n\x06.:%\x06\xFC\xD6\x9A\x1D\xB9\x8D\xA6\x1EU]\x8D\xBE\xEA\xAC\x1A\x11\x9ARv(U\xD3\xF5s\x92/\xC5\x82r\xABfh\x84\xB5d\x98P8Z\xB8\xD5e_\xF3\x87\xA7\x03 0\xA9Jx2\x9D\x9D\x86e\xB8\xFF\xF3q\x0B\xAE1_\xC8\xF2V&\xF8B\x1D\xA9\x1D\x96\x1C\xE8\x06\x16\x06\x01\x02 [2018-03-21 07:54:03] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 07:54:03] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 07:56:07] >>> HomeKit: Got new client connection: 7 [2018-03-21 07:56:07] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 07:56:07] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 07:56:07] >>> homekit_server_on_pair_verify: Free heap: 11792 [2018-03-21 07:56:07] >>> tlv_debug: Got following TLV values: [2018-03-21 07:56:07] >>> tlv_debug: Type 3 value (32 bytes): \xE1\x1C\xFFE\xAD\x80"\x0B\x8D\x05\x9BJ\xD4\xF6\x07\xDEH\xB7o\xBF\xA8\xC6\xAA\xD1\xE7\x0B\xAF\x81\xD5\xE7\xFE [2018-03-21 07:56:07] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 07:56:07] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 07:56:07] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 07:56:07] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 07:56:08] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 07:56:08] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 07:56:09] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 07:56:11] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 07:56:11] >>> tlv_debug: Got following TLV values: [2018-03-21 07:56:11] >>> tlv_debug: Type 5 value (101 bytes): \xE6\x82\x9A\x09&y*\x9B\x95%\x05gO{\xF8\xAC\x87\xD2\x17\xC3\xAC\xF0\xB13\x01\xD3"D"\x93\xB7\x14\x97*\xDA\xE2F?\x11\xC9\xBAD\x87S\xAE\xDE\x16#C\x91"\x8ELN\xF8wS\xEDf\xC3\x80u$\xEE\xB2\xE3\xD7\x9A$\xF6\x8AG\xA6N\xD98\x8B\xD56/!\xAE\x97/\xB6\xF7\xE2$\x8E\xC52\xA5$\x034\x07z\x97\x10\xA6\x0C [2018-03-21 07:56:11] >>> tlv_debug: Type 3 value (32 bytes): \xD1\xECsH\xE1`\x87\x08\x82\x0Ai\xB4\xE8y\xAE\x10FF\xB9\xF5\xD8f\x08\x19 \xF1*\x03\xAD\x9D"P [2018-03-21 07:56:11] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 07:56:11] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xE6\x82\x9A\x09&y*\x9B\x95%\x05gO{\xF8\xAC\x87\xD2\x17\xC3\xAC\xF0\xB13\x01\xD3"D"\x93\xB7\x14\x97*\xDA\xE2F?\x11\xC9\xBAD\x87S\xAE\xDE\x16#C\x91"\x8ELN\xF8wS\xEDf\xC3\x80u$\xEE\xB2\xE3\xD7\x9A$\xF6\x8AG\xA6N\xD98\x8B\xD56/!\xAE\x97/\xB6\xF7\xE2$\x8E\xC52\xA5$\x034\x07z\x97\x10\xA6\x0C\x03 \xD1\xECsH\xE1`\x87\x08\x82\x0Ai\xB4\xE8y\xAE\x10FF\xB9\xF5\xD8f\x08\x19 \xF1*\x03\xAD\x9D"P\x06\x01\x02 [2018-03-21 07:56:11] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 07:56:11] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: Free heap: 11504 [2018-03-21 07:56:11] >>> tlv_debug: Got following TLV values: [2018-03-21 07:56:11] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 07:56:11] >>> tlv_debug: Type 5 value (120 bytes): \xAF\xCCu>\xF8\x94\xD7\x92_\xEAd\x02\xAB\xA0:\xC8\xF8\x94\xA8#v\xCE\xC9K\x11\xA5\xE9\xEF6\x05R0\x8B\x90\xF0\xFCrg\xED\\\xB2jp\xB6T\xD3T5\xDB\xCF\xC7\x91\xB0w\xC2\xC4o?{\xED\x10\xDD.\x9FQ\xB5\xBE\x1A\xCF\xBA\xBF\xBBgCp\xFB\xE8\x16\xCA\xD1+B\x8F\xD3\x8E\xAFh\xD5\xEA\xD6\xAC`\xDA.N\x0F\x8Fp\x95&\xA9\xD4X\xDD\x83\xA23N\x81\xA5\x8B\xCD\x97\x9F\x18\x89Yk& [2018-03-21 07:56:11] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 07:56:11] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 07:56:11] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 07:56:14] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 07:56:14] >>> tlv_debug: Got following TLV values: [2018-03-21 07:56:14] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 07:56:14] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 07:56:14] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 07:56:14] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 07:56:14] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 07:56:14] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 07:56:14] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 07:56:14] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 07:56:14] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 07:56:14] >>> homekit_server_on_get_accessories: Free heap: 11680 [2018-03-21 07:56:14] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 07:56:14] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 07:56:14] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 07:56:14] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 07:56:14] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 09:00:46] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 09:00:46] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 09:00:46] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 09:00:46] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 09:00:46] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 09:00:46] >>> homekit_server_on_get_characteristics: Free heap: 11596 [2018-03-21 09:00:46] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 09:00:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:00:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:00:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:00:46] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 09:00:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:00:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:00:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:00:47] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 09:00:47] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 09:00:47] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 09:12:51] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 09:12:51] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 09:12:51] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 09:12:51] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 09:12:51] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: Free heap: 11548 [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:12:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:12:51] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:12:51] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 09:12:51] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 09:12:51] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 09:35:23] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 09:35:23] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 09:35:23] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 09:35:23] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 09:35:23] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: Free heap: 11496 [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:35:23] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:35:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:35:23] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 09:35:23] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 09:35:23] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 09:36:03] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 09:36:03] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 09:36:03] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 09:36:03] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 09:36:03] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: Free heap: 11432 [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:36:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 09:36:03] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 09:36:03] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 09:36:03] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 09:36:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 10:53:54] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 10:53:54] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 10:53:54] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 10:53:54] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 10:53:54] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: Free heap: 11384 [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 10:53:54] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 10:53:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 10:53:54] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 10:53:54] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 10:53:54] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 12:55:12] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 12:55:14] >>> HomeKit: Got new client connection: 7 [2018-03-21 12:55:14] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 12:55:14] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 12:55:14] >>> homekit_server_on_pair_verify: Free heap: 11516 [2018-03-21 12:55:14] >>> tlv_debug: Got following TLV values: [2018-03-21 12:55:14] >>> tlv_debug: Type 3 value (32 bytes): \xF6B\xFF\x9A\xC5C\xBAsT(\xA0\xBDqB>[\x90x\xD7\x89@\xF0C\x9B\xE7\x91\x92\x90\xF7D\xD3& [2018-03-21 12:55:14] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 12:55:14] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 12:55:14] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 12:55:14] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 12:55:15] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 12:55:15] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 12:55:16] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 12:55:18] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 12:55:18] >>> tlv_debug: Got following TLV values: [2018-03-21 12:55:18] >>> tlv_debug: Type 5 value (101 bytes): E\xA5\xB1\x12\x1B\x98\xCB*\xACuq;P8\x1C\x91\xBC\\\xEA\xD7\xAC\x18.\x92o\x11\x16o\xDD-kY6/\x9A('\xE0!\xC7(U\x02\x89\x0E%lD'Yt\x17\x97\x8A\xCA\xE9m\x8B\x193<\xD1\x11\xE1\xF8)\x88\xC4\x83\x8CY\xC0\xEE\xD6\x0A\xE1\xCC\x09\x09"\xCA\xDE9pUT\xD2\xC8\xBD\xC9\xC4\x8E\x1E=\x1FrP\xE2\xF5\x18\xF4 [2018-03-21 12:55:18] >>> tlv_debug: Type 3 value (32 bytes): \xB2\xFD\xB8\xA5#9\xD9S-\xDD#\x9F\xC6>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 12:55:18] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05eE\xA5\xB1\x12\x1B\x98\xCB*\xACuq;P8\x1C\x91\xBC\\\xEA\xD7\xAC\x18.\x92o\x11\x16o\xDD-kY6/\x9A('\xE0!\xC7(U\x02\x89\x0E%lD'Yt\x17\x97\x8A\xCA\xE9m\x8B\x193<\xD1\x11\xE1\xF8)\x88\xC4\x83\x8CY\xC0\xEE\xD6\x0A\xE1\xCC\x09\x09"\xCA\xDE9pUT\xD2\xC8\xBD\xC9\xC4\x8E\x1E=\x1FrP\xE2\xF5\x18\xF4\x03 \xB2\xFD\xB8\xA5#9\xD9S-\xDD#\x9F\xC6>> homekit_client_process: [Client 7] Finished processing [2018-03-21 12:55:18] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: Free heap: 11224 [2018-03-21 12:55:18] >>> tlv_debug: Got following TLV values: [2018-03-21 12:55:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 12:55:18] >>> tlv_debug: Type 5 value (120 bytes): \xAD\xEDD[\xB3\x99\xE48\\dSf\x81\x1E\x9A\xCD\xE7\x95\x02w\xC2\x11\xABT6\xAE\xC3\x9A\x0A\x99'\x06\x1F\xE2+\xE6\xC4\x9B\xD7\x9D"4\xAC\xF9\x94\xBA\xF7'v\x9E@\x83\x1F\xCF\xCC\xA4\x083\xC9\x14!\x98Y}\xC5\xDBY\xA7\x81\x90\x97=\x0F\xEC\xC6u~%\xA2\x0E\xC7uW\xF3\xAC\xF0\xDB\xC9\xD2f\xD3\xA0\x86\x11!\xB5\x98W#\xF5\xD6\x02~\x1E\xE0\xD5\xA6\x13\x91<\x0E\x06e3\x93,1XC\xDD [2018-03-21 12:55:18] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 12:55:18] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 12:55:18] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 12:55:21] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 12:55:21] >>> tlv_debug: Got following TLV values: [2018-03-21 12:55:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 12:55:21] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 12:55:21] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 12:55:21] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 12:55:21] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 12:55:21] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 12:55:21] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 12:55:21] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 12:55:21] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 12:55:21] >>> homekit_server_on_get_accessories: Free heap: 11404 [2018-03-21 12:55:21] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 12:55:21] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 12:55:22] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 12:55:22] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 12:55:22] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 14:41:57] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 14:41:57] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 14:41:57] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 14:41:57] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 14:41:57] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: Free heap: 11336 [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 14:41:57] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 14:41:57] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 14:41:57] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 14:41:57] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 14:41:57] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 15:42:17] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 15:42:17] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 15:42:17] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 15:42:17] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 15:42:17] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: Free heap: 11288 [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:42:17] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:42:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:42:17] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 15:42:17] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 15:42:17] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 15:43:28] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 15:43:28] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 15:43:28] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 15:43:28] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 15:43:28] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: Free heap: 11232 [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:43:28] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:43:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:43:28] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 15:43:28] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 15:43:28] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 15:43:47] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 15:43:47] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 15:43:47] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 15:43:47] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 15:43:47] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: Free heap: 11180 [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:43:47] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:43:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:43:47] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 15:43:47] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 15:43:47] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 15:43:49] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 15:43:49] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 15:43:49] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 15:43:49] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 15:43:49] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: Free heap: 11132 [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:43:49] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:43:49] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:43:49] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 15:43:49] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 15:43:49] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 15:44:05] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 15:44:06] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 15:44:06] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 15:44:06] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 15:44:06] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: Free heap: 11084 [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:44:06] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 15:44:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 15:44:06] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 15:44:06] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 15:44:06] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 17:59:43] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 17:59:44] >>> HomeKit: Got new client connection: 7 [2018-03-21 17:59:44] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 17:59:44] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 17:59:44] >>> homekit_server_on_pair_verify: Free heap: 11216 [2018-03-21 17:59:44] >>> tlv_debug: Got following TLV values: [2018-03-21 17:59:44] >>> tlv_debug: Type 3 value (32 bytes): \xD7\x9Du#@\xC2\xB7\xABc\xE2\xE4{*0[-Z\x01\xFB\x90\xC3a\xFCu\x8B\xE3\x9E\x18\xA8\x13\xA7g [2018-03-21 17:59:44] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 17:59:44] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 17:59:44] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 17:59:44] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 17:59:46] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 17:59:46] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 17:59:47] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 17:59:48] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 17:59:48] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 17:59:48] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 17:59:49] >>> tlv_debug: Got following TLV values: [2018-03-21 17:59:49] >>> tlv_debug: Type 5 value (101 bytes): \xC9\xE3\x8Er\xB8\xFD\x04)\xDFW$W\xDD\xBCI\x99Y%\x9B\xFD\xBDu\x95]\x151\xF8\xCE\x0DPu\xEE\x86g\xD0\xEF -\xF0\x0B}\x85\xFC\x1E\xFAC\xFC\xC0\x10\xF7\xD6)\xA2[Hq\xE0\x8Cy\x0EW\xA2\x87>\xDE\xCD\xD8\xE9\xE3\xC4\x8EVz8\xA8\xB5\x85\xECu^g\x06\xB22\x97W\x91\xDF\x8D\x0Ft\xB2\xFB!\xC5N&\x06\x1DG [2018-03-21 17:59:49] >>> tlv_debug: Type 3 value (32 bytes): \xF9\xFB\x0C(s\x8A\xBE\xBA\xC9Y\xF8*o\xB0\xC9\x13\xF4\xCC\\\x88U\xA5O\xA5\x9AD.\x1E\xE7\xD1Hg [2018-03-21 17:59:49] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 17:59:49] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC9\xE3\x8Er\xB8\xFD\x04)\xDFW$W\xDD\xBCI\x99Y%\x9B\xFD\xBDu\x95]\x151\xF8\xCE\x0DPu\xEE\x86g\xD0\xEF -\xF0\x0B}\x85\xFC\x1E\xFAC\xFC\xC0\x10\xF7\xD6)\xA2[Hq\xE0\x8Cy\x0EW\xA2\x87>\xDE\xCD\xD8\xE9\xE3\xC4\x8EVz8\xA8\xB5\x85\xECu^g\x06\xB22\x97W\x91\xDF\x8D\x0Ft\xB2\xFB!\xC5N&\x06\x1DG\x03 \xF9\xFB\x0C(s\x8A\xBE\xBA\xC9Y\xF8*o\xB0\xC9\x13\xF4\xCC\\\x88U\xA5O\xA5\x9AD.\x1E\xE7\xD1Hg\x06\x01\x02 [2018-03-21 17:59:49] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 17:59:49] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 18:01:02] >>> HomeKit: Got new client connection: 7 [2018-03-21 18:01:02] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 18:01:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 18:01:02] >>> homekit_server_on_pair_verify: Free heap: 11220 [2018-03-21 18:01:02] >>> tlv_debug: Got following TLV values: [2018-03-21 18:01:02] >>> tlv_debug: Type 3 value (32 bytes): \xD2j\xE5x\x11t\x01\xF2\xEC\xA8\x05{\x14~\x10\xB7\x03K"\x04UL\xD4&;\xA1\x051\x07\xB4\x18 [2018-03-21 18:01:02] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 18:01:02] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 18:01:02] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 18:01:02] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 18:01:03] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 18:01:03] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 18:01:04] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 18:01:06] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 18:01:06] >>> tlv_debug: Got following TLV values: [2018-03-21 18:01:06] >>> tlv_debug: Type 5 value (101 bytes): \xC6~\x14\x15\xEC\xAF3g\x842K\xBB\xFE}`\xF1\xE5_V\xA6T?\xBA\x16\xA6,W\x03\xE8\x84\\!U&\x9Ai\x1D\x10\xCC=\x11z\x0C\x0D\xF6\xE5kM\x02\x18\x88U\xF7\xD6U\xB9\xBEK\xB6t[\xCD[\xB6a\xAC\xAA\x97\xC7I\x05\x96\xB4\x99Z}\xE2\x92`\xDB\x90\xF78\x9F\xBC,\x96\xC0\x86O!\xF2\xC7\xB2\x08z\xEC\xBA\xAF\xCE\xB7 [2018-03-21 18:01:06] >>> tlv_debug: Type 3 value (32 bytes): \xEF\x84\xEA\x9E5\xEF1\x95\xDBd/\xCFR\x10\xCB.Q\x81\xAC\xBE&\xF2-0\xA4NzR\xCEY\x15l [2018-03-21 18:01:06] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 18:01:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xC6~\x14\x15\xEC\xAF3g\x842K\xBB\xFE}`\xF1\xE5_V\xA6T?\xBA\x16\xA6,W\x03\xE8\x84\\!U&\x9Ai\x1D\x10\xCC=\x11z\x0C\x0D\xF6\xE5kM\x02\x18\x88U\xF7\xD6U\xB9\xBEK\xB6t[\xCD[\xB6a\xAC\xAA\x97\xC7I\x05\x96\xB4\x99Z}\xE2\x92`\xDB\x90\xF78\x9F\xBC,\x96\xC0\x86O!\xF2\xC7\xB2\x08z\xEC\xBA\xAF\xCE\xB7\x03 \xEF\x84\xEA\x9E5\xEF1\x95\xDBd/\xCFR\x10\xCB.Q\x81\xAC\xBE&\xF2-0\xA4NzR\xCEY\x15l\x06\x01\x02 [2018-03-21 18:01:06] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:01:06] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: Free heap: 10928 [2018-03-21 18:01:06] >>> tlv_debug: Got following TLV values: [2018-03-21 18:01:06] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 18:01:06] >>> tlv_debug: Type 5 value (120 bytes): '6\xC9lh\x1F=\x97\xF2\xEC\x0E>X\xEFT \xA2"\xD4\xBD\xEF\xFFvT.\xAFB\xE6\x84I?\xBEzs`G\xB5io\x92\xF3x\x90\xD2\xE28k\x8B\xD0\xCC\xCC@\xD4\xA1\xFB\xFF\xC5\x11f\xCF*\x1Dk\xB9^\xBFY\xED.\x83\x8A\xFEv\x94\xE6M\xED((\x1D\xA5{$\xDD{\xEA\x84\x09\x820=\xBB\xFDh\x93\xB3\x8A\x0B7\xB7\x1Bft\xC8\x8Av\x8Br\x84\xD3 \x19\xBBD\xFD\xB1\xB6\x10\x0A\xA4 [2018-03-21 18:01:06] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-21 18:01:06] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-21 18:01:06] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 18:01:09] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 18:01:09] >>> tlv_debug: Got following TLV values: [2018-03-21 18:01:09] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 18:01:09] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 18:01:09] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 18:01:09] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:01:09] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 18:01:09] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 18:01:09] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 18:01:09] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 18:01:09] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 18:01:09] >>> homekit_server_on_get_accessories: Free heap: 11100 [2018-03-21 18:01:09] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 18:01:09] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 18:01:10] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 18:01:10] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 18:01:10] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:21:46] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 18:21:51] >>> HomeKit: Got new client connection: 7 [2018-03-21 18:21:51] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 18:21:51] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 18:21:51] >>> homekit_server_on_pair_verify: Free heap: 11080 [2018-03-21 18:21:51] >>> tlv_debug: Got following TLV values: [2018-03-21 18:21:51] >>> tlv_debug: Type 3 value (32 bytes): Un\xB7\x0A\x03\x87\x9BV\xEE\xAC\x84\xA3\xE9\xF3\x9C\xE6\xB2\xEB\xA3\xD4v\xAB\x87\xAC\xF1\xBD\xCD\xAC\xDE\x98\xD7\x17 [2018-03-21 18:21:51] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 18:21:51] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 18:21:51] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 18:21:51] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 18:21:52] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 18:21:52] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 18:21:53] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 18:21:55] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 18:21:55] >>> tlv_debug: Got following TLV values: [2018-03-21 18:21:55] >>> tlv_debug: Type 5 value (101 bytes): \xF0\xCC\xDDBr\x15I\xEA\xE5`\x0E\x04\xD6\x8C\xBDf\x90\xE1vX\x88K\xB68\xE8VD.\x06\xDC\x16\x0Ck\x84F\xF6e~\xFF\xE0\xB1Z\x00\xD7\x9F~\x89vO_\x82s\xBD\xE6\xAD(_i\xB2@\x87\xCA"\xB5\x9E\xBA\xF9\xB5\x0E\x9E\x08\xFE\xF1W}Gg4\xFDe\xED\xC6\x15\xF7H\x1F^Yl\xAAw\xB6\x94r)\x94ff\x0C\x80* [2018-03-21 18:21:55] >>> tlv_debug: Type 3 value (32 bytes): \xB8\xFA\xCA\xD2\xAD\xF0\xE4\xB6Y'\xDEe\x80\xC9\xD3\x1D\x9EZ\xC9\x19\x13.D\x87-\xE3Y\xC9Zv\xD3\x1F [2018-03-21 18:21:55] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 18:21:55] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\xF0\xCC\xDDBr\x15I\xEA\xE5`\x0E\x04\xD6\x8C\xBDf\x90\xE1vX\x88K\xB68\xE8VD.\x06\xDC\x16\x0Ck\x84F\xF6e~\xFF\xE0\xB1Z\x00\xD7\x9F~\x89vO_\x82s\xBD\xE6\xAD(_i\xB2@\x87\xCA"\xB5\x9E\xBA\xF9\xB5\x0E\x9E\x08\xFE\xF1W}Gg4\xFDe\xED\xC6\x15\xF7H\x1F^Yl\xAAw\xB6\x94r)\x94ff\x0C\x80*\x03 \xB8\xFA\xCA\xD2\xAD\xF0\xE4\xB6Y'\xDEe\x80\xC9\xD3\x1D\x9EZ\xC9\x19\x13.D\x87-\xE3Y\xC9Zv\xD3\x1F\x06\x01\x02 [2018-03-21 18:21:55] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:21:55] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: Free heap: 10916 [2018-03-21 18:21:55] >>> tlv_debug: Got following TLV values: [2018-03-21 18:21:55] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 18:21:55] >>> tlv_debug: Type 5 value (120 bytes): qp9\xD09#>T\xDA\xE6\xCC\xC0Yq(\x19\xF0\x03'\xDD\xF9`\xFF-\x10\xE2\xAC"\x9CN\x1E\x88\xB0\x1B\x9BF\x13\xE3\xF1\x02j\xE2\x87k\xAAD\x03\x06,\xD9+\x01\x09\xA2\x14U&\x1BFQ\xDFEy\x89T\x97\xF6\xDE\x97\xFC\xC9\xE4\xD9\xBCz,\x9A\x86(c\x02\x97\x05\xF2\x0A\x05\xEE\xC8\x1C\xB9'l\x95\xE9Fa\x15\x1A\xF6\xF7\xC7\xF4\x8B\xDB\xE8\xADI\xCE2j\x94+M\xE3\x12\x00\x0C\xC9\x1C [2018-03-21 18:21:55] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-21 18:21:55] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-21 18:21:55] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 18:21:58] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 18:21:58] >>> tlv_debug: Got following TLV values: [2018-03-21 18:21:58] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 18:21:58] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 18:21:58] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 18:21:58] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:21:58] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 18:21:58] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 18:21:58] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 18:21:58] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 18:21:58] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 18:21:58] >>> homekit_server_on_get_accessories: Free heap: 11092 [2018-03-21 18:21:58] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 18:21:58] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 18:21:58] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 18:21:59] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 18:21:59] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Decrypted 239 bytes, available 0 [2018-03-21 18:56:27] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 18:56:27] >>> HomeKit: [Client 7] Update Characteristics [2018-03-21 18:56:27] >>> homekit_server_on_update_characteristics: Free heap: 10816 [2018-03-21 18:56:27] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 18:56:27] "aid": 1, [2018-03-21 18:56:27] "iid": 10, [2018-03-21 18:56:27] "ev": true [2018-03-21 18:56:27] } [2018-03-21 18:56:27] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 18:56:27] "aid": 1, [2018-03-21 18:56:27] "iid": 13, [2018-03-21 18:56:27] "ev": true [2018-03-21 18:56:27] } [2018-03-21 18:56:27] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 18:56:27] "aid": 1, [2018-03-21 18:56:27] "iid": 16, [2018-03-21 18:56:27] "ev": true [2018-03-21 18:56:27] } [2018-03-21 18:56:27] >>> homekit_server_on_update_characteristics: [Client 7] There were no processing errors, sending No Content response [2018-03-21 18:56:27] >>> client_send: [Client 7] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Got 110 incomming data [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Decrypted 92 bytes, available 0 [2018-03-21 18:56:27] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 18:56:27] >>> HomeKit: [Client 7] Get Characteristics [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: Free heap: 10956 [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Query paramter id = 1.10,1.16,1.13 [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.10 [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.16 [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.13 [2018-03-21 18:56:27] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.10 [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.16 [2018-03-21 18:56:27] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.13 [2018-03-21 18:56:27] >>> client_send: [Client 7] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 18:56:27] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 18:56:27] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 18:56:40] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 18:56:40] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 18:56:40] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 18:56:40] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 18:56:40] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 18:56:40] >>> homekit_server_on_update_characteristics: Free heap: 10708 [2018-03-21 18:56:40] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 18:56:40] "aid": 1, [2018-03-21 18:56:40] "iid": 10, [2018-03-21 18:56:40] "ev": true [2018-03-21 18:56:40] } [2018-03-21 18:56:40] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 18:56:40] "aid": 1, [2018-03-21 18:56:40] "iid": 13, [2018-03-21 18:56:40] "ev": true [2018-03-21 18:56:40] } [2018-03-21 18:56:40] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 18:56:40] "aid": 1, [2018-03-21 18:56:40] "iid": 16, [2018-03-21 18:56:40] "ev": true [2018-03-21 18:56:40] } [2018-03-21 18:56:40] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 18:56:40] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 18:56:40] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:00:08] >>> homekit_client_process: [Client 7] Got 260 incomming data [2018-03-21 19:00:08] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:00:08] >>> homekit_client_process: [Client 7] Decrypted 242 bytes, available 0 [2018-03-21 19:00:08] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 19:00:08] >>> HomeKit: [Client 7] Update Characteristics [2018-03-21 19:00:08] >>> homekit_server_on_update_characteristics: Free heap: 10256 [2018-03-21 19:00:08] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:00:08] "aid": 1, [2018-03-21 19:00:08] "iid": 10, [2018-03-21 19:00:08] "ev": false [2018-03-21 19:00:08] } [2018-03-21 19:00:08] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:00:08] "aid": 1, [2018-03-21 19:00:08] "iid": 13, [2018-03-21 19:00:08] "ev": false [2018-03-21 19:00:08] } [2018-03-21 19:00:08] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:00:08] "aid": 1, [2018-03-21 19:00:08] "iid": 16, [2018-03-21 19:00:08] "ev": false [2018-03-21 19:00:08] } [2018-03-21 19:00:08] >>> homekit_server_on_update_characteristics: [Client 7] There were no processing errors, sending No Content response [2018-03-21 19:00:08] >>> client_send: [Client 7] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:00:08] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:00:21] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 19:00:21] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:00:21] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 19:00:21] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 19:00:21] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 19:00:21] >>> homekit_server_on_update_characteristics: Free heap: 10696 [2018-03-21 19:00:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:00:21] "aid": 1, [2018-03-21 19:00:21] "iid": 10, [2018-03-21 19:00:21] "ev": false [2018-03-21 19:00:21] } [2018-03-21 19:00:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:00:21] "aid": 1, [2018-03-21 19:00:21] "iid": 13, [2018-03-21 19:00:21] "ev": false [2018-03-21 19:00:21] } [2018-03-21 19:00:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:00:21] "aid": 1, [2018-03-21 19:00:21] "iid": 16, [2018-03-21 19:00:21] "ev": false [2018-03-21 19:00:21] } [2018-03-21 19:00:21] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 19:00:21] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:00:21] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:10:31] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 19:10:31] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:10:31] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 19:10:31] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 19:10:31] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: Free heap: 10960 [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 19:10:31] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 19:10:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 19:10:31] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-21 19:10:31] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 19:10:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:10:56] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 19:10:56] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:10:56] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 19:10:56] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 19:10:56] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 19:10:56] >>> homekit_server_on_update_characteristics: Free heap: 10716 [2018-03-21 19:10:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:10:56] "aid": 1, [2018-03-21 19:10:56] "iid": 10, [2018-03-21 19:10:56] "ev": true [2018-03-21 19:10:56] } [2018-03-21 19:10:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:10:56] "aid": 1, [2018-03-21 19:10:56] "iid": 13, [2018-03-21 19:10:56] "ev": true [2018-03-21 19:10:56] } [2018-03-21 19:10:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:10:56] "aid": 1, [2018-03-21 19:10:56] "iid": 16, [2018-03-21 19:10:56] "ev": true [2018-03-21 19:10:56] } [2018-03-21 19:10:56] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 19:10:56] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:10:56] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:10:57] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 19:10:58] >>> HomeKit: Got new client connection: 7 [2018-03-21 19:10:58] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 19:10:58] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 19:10:58] >>> homekit_server_on_pair_verify: Free heap: 11056 [2018-03-21 19:10:58] >>> tlv_debug: Got following TLV values: [2018-03-21 19:10:58] >>> tlv_debug: Type 3 value (32 bytes): @:\xD61\xC2\x8B\x91\xBC]\xB3\xBF\xF7)\x9Ep~\x8C\xE4\xA3\xA2f\xF4\x0B\x1C\xC4@6\x9E\x83.wC [2018-03-21 19:10:58] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 19:10:58] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 19:10:58] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 19:10:58] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 19:10:59] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 19:10:59] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 19:11:00] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 19:11:02] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 19:11:02] >>> tlv_debug: Got following TLV values: [2018-03-21 19:11:02] >>> tlv_debug: Type 5 value (101 bytes): f\x8E\xAF\x1E[\xADw\xE3u\xC4\xE3 I]\xAB\x8D\xF6\x8CT\xB8\xDBk\xEEM/\xD9M{\x07\xE6&\xA9Hz\xE6\x8E\xA9\xF3\xEE\x8B_2\xFC\x08\xF7K9\xACbIzgB\x17\xE1;\x84\xF1&\xF7\xA5\x99>U\xC6\xFD\xE9\xD8\xA8\xF6\xC9\xA7\xA0lz\x18\xEF0\x92\xA0f\xDEt\xFC\xF1\xB6\xBC\x12\xD2G|CAV\xAC5\xA6I\xE6 [2018-03-21 19:11:02] >>> tlv_debug: Type 3 value (32 bytes): \x8F\x85\xC5\xBB\xDE\xA9\xE7\xA4z\xD4\xCC4r\xE4\x0B]x!\xC0\xB2#_\xE3\x06\xCCX\xF9p#\xDC\x85\\ [2018-03-21 19:11:02] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 19:11:02] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ef\x8E\xAF\x1E[\xADw\xE3u\xC4\xE3 I]\xAB\x8D\xF6\x8CT\xB8\xDBk\xEEM/\xD9M{\x07\xE6&\xA9Hz\xE6\x8E\xA9\xF3\xEE\x8B_2\xFC\x08\xF7K9\xACbIzgB\x17\xE1;\x84\xF1&\xF7\xA5\x99>U\xC6\xFD\xE9\xD8\xA8\xF6\xC9\xA7\xA0lz\x18\xEF0\x92\xA0f\xDEt\xFC\xF1\xB6\xBC\x12\xD2G|CAV\xAC5\xA6I\xE6\x03 \x8F\x85\xC5\xBB\xDE\xA9\xE7\xA4z\xD4\xCC4r\xE4\x0B]x!\xC0\xB2#_\xE3\x06\xCCX\xF9p#\xDC\x85\\\x06\x01\x02 [2018-03-21 19:11:02] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:02] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: Free heap: 10772 [2018-03-21 19:11:02] >>> tlv_debug: Got following TLV values: [2018-03-21 19:11:02] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 19:11:02] >>> tlv_debug: Type 5 value (120 bytes): N\x99\xE8\xA5S\x19\xB2\x8F\xFC?A\x85\xCB;\xCE\x16\x06\xE8\xB14\x12K*\xAFbb\xBE\x09\xACw[\xB2r8\xBA\x09\xA1\x8B\x93\x1F\x98\x8A\xB26\x15\x82\xF5p\xE8L?\xA4\xF3\xCB\x03J\x0DP\x87Qh$4S\xCD\xE0d\x11\x9D\xAB*\xEB\xBA\xA0\xF1\x16V\xCF\x0C\xC8\xEB0\x8C9\x97\xDC\xC7\xFB\xE6\xF5L\xEE\xAC\xC0\x86\xCAg\xDF\x17\xE8\x08\x06\xC9\xC5\x02\xB3M?&Q\x9B\x83\xE2l\x08\x94 [2018-03-21 19:11:02] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-21 19:11:02] >>> HomeKit: [Client 7] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-21 19:11:02] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 19:11:05] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 19:11:05] >>> tlv_debug: Got following TLV values: [2018-03-21 19:11:05] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 19:11:05] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 19:11:05] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 19:11:05] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:05] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 19:11:05] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:11:05] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 19:11:05] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 19:11:05] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 19:11:05] >>> homekit_server_on_get_accessories: Free heap: 10944 [2018-03-21 19:11:05] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 19:11:05] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 19:11:05] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 19:11:05] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 19:11:05] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypted 239 bytes, available 0 [2018-03-21 19:11:06] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 19:11:06] >>> HomeKit: [Client 7] Update Characteristics [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: Free heap: 10660 [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 10, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 13, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 16, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] There were no processing errors, sending No Content response [2018-03-21 19:11:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypted 239 bytes, available 0 [2018-03-21 19:11:06] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 19:11:06] >>> HomeKit: [Client 7] Update Characteristics [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: Free heap: 10468 [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 10, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 13, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 16, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] There were no processing errors, sending No Content response [2018-03-21 19:11:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypted 239 bytes, available 0 [2018-03-21 19:11:06] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 19:11:06] >>> HomeKit: [Client 7] Update Characteristics [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: Free heap: 10600 [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 10, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 13, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:11:06] "aid": 1, [2018-03-21 19:11:06] "iid": 16, [2018-03-21 19:11:06] "ev": true [2018-03-21 19:11:06] } [2018-03-21 19:11:06] >>> homekit_server_on_update_characteristics: [Client 7] There were no processing errors, sending No Content response [2018-03-21 19:11:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Got 110 incomming data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Decrypted 92 bytes, available 0 [2018-03-21 19:11:06] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 19:11:06] >>> HomeKit: [Client 7] Get Characteristics [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: Free heap: 10676 [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Query paramter id = 1.10,1.16,1.13 [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.10 [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.16 [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.13 [2018-03-21 19:11:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.10 [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.16 [2018-03-21 19:11:06] >>> homekit_server_on_get_characteristics: [Client 7] Requested characteristic info for 1.13 [2018-03-21 19:11:06] >>> client_send: [Client 7] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 19:11:06] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 19:11:06] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:11:18] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 19:11:18] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:11:18] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 19:11:18] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 19:11:18] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 19:11:18] >>> homekit_server_on_update_characteristics: Free heap: 10544 [2018-03-21 19:11:18] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:11:18] "aid": 1, [2018-03-21 19:11:18] "iid": 10, [2018-03-21 19:11:18] "ev": true [2018-03-21 19:11:18] } [2018-03-21 19:11:18] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:11:18] "aid": 1, [2018-03-21 19:11:18] "iid": 13, [2018-03-21 19:11:18] "ev": true [2018-03-21 19:11:18] } [2018-03-21 19:11:18] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:11:18] "aid": 1, [2018-03-21 19:11:18] "iid": 16, [2018-03-21 19:11:18] "ev": true [2018-03-21 19:11:18] } [2018-03-21 19:11:18] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 19:11:18] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:11:18] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:14:02] >>> homekit_client_process: [Client 7] Got 260 incomming data [2018-03-21 19:14:02] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 19:14:02] >>> homekit_client_process: [Client 7] Decrypted 242 bytes, available 0 [2018-03-21 19:14:02] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 19:14:02] >>> HomeKit: [Client 7] Update Characteristics [2018-03-21 19:14:02] >>> homekit_server_on_update_characteristics: Free heap: 10404 [2018-03-21 19:14:02] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:14:02] "aid": 1, [2018-03-21 19:14:02] "iid": 10, [2018-03-21 19:14:02] "ev": false [2018-03-21 19:14:02] } [2018-03-21 19:14:02] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:14:02] "aid": 1, [2018-03-21 19:14:02] "iid": 13, [2018-03-21 19:14:02] "ev": false [2018-03-21 19:14:02] } [2018-03-21 19:14:02] >>> homekit_server_on_update_characteristics: [Client 7] Processing element { [2018-03-21 19:14:02] "aid": 1, [2018-03-21 19:14:02] "iid": 16, [2018-03-21 19:14:02] "ev": false [2018-03-21 19:14:02] } [2018-03-21 19:14:02] >>> homekit_server_on_update_characteristics: [Client 7] There were no processing errors, sending No Content response [2018-03-21 19:14:02] >>> client_send: [Client 7] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:14:02] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 19:17:38] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 19:17:38] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:17:38] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 19:17:39] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 19:17:39] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 19:17:39] >>> homekit_server_on_update_characteristics: Free heap: 10596 [2018-03-21 19:17:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:17:39] "aid": 1, [2018-03-21 19:17:39] "iid": 10, [2018-03-21 19:17:39] "ev": false [2018-03-21 19:17:39] } [2018-03-21 19:17:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:17:39] "aid": 1, [2018-03-21 19:17:39] "iid": 13, [2018-03-21 19:17:39] "ev": false [2018-03-21 19:17:39] } [2018-03-21 19:17:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:17:39] "aid": 1, [2018-03-21 19:17:39] "iid": 16, [2018-03-21 19:17:39] "ev": false [2018-03-21 19:17:39] } [2018-03-21 19:17:39] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 19:17:39] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:17:39] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:33:19] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 19:33:19] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:33:19] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 19:33:19] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 19:33:19] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: Free heap: 10872 [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 19:33:19] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 19:33:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 19:33:19] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-21 19:33:20] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 19:33:20] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:33:31] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 19:33:31] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:33:31] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 19:33:31] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 19:33:31] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 19:33:31] >>> homekit_server_on_update_characteristics: Free heap: 10616 [2018-03-21 19:33:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:33:31] "aid": 1, [2018-03-21 19:33:31] "iid": 10, [2018-03-21 19:33:31] "ev": true [2018-03-21 19:33:31] } [2018-03-21 19:33:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:33:31] "aid": 1, [2018-03-21 19:33:31] "iid": 13, [2018-03-21 19:33:31] "ev": true [2018-03-21 19:33:31] } [2018-03-21 19:33:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:33:31] "aid": 1, [2018-03-21 19:33:31] "iid": 16, [2018-03-21 19:33:31] "ev": true [2018-03-21 19:33:31] } [2018-03-21 19:33:31] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 19:33:31] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:33:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 19:34:59] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 19:34:59] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 19:34:59] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 19:34:59] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 19:34:59] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 19:34:59] >>> homekit_server_on_update_characteristics: Free heap: 10540 [2018-03-21 19:34:59] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:34:59] "aid": 1, [2018-03-21 19:34:59] "iid": 10, [2018-03-21 19:34:59] "ev": false [2018-03-21 19:34:59] } [2018-03-21 19:34:59] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:34:59] "aid": 1, [2018-03-21 19:34:59] "iid": 13, [2018-03-21 19:34:59] "ev": false [2018-03-21 19:34:59] } [2018-03-21 19:34:59] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 19:34:59] "aid": 1, [2018-03-21 19:34:59] "iid": 16, [2018-03-21 19:34:59] "ev": false [2018-03-21 19:34:59] } [2018-03-21 19:34:59] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 19:34:59] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 19:34:59] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 20:19:10] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 20:20:02] >>> HomeKit: Got new client connection: 7 [2018-03-21 20:20:02] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 20:20:02] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 20:20:02] >>> homekit_server_on_pair_verify: Free heap: 11020 [2018-03-21 20:20:02] >>> tlv_debug: Got following TLV values: [2018-03-21 20:20:02] >>> tlv_debug: Type 3 value (32 bytes): \xC4\xD4\x8D\x84\\7\x84"?\xF4|:t\xBA\x15\x9D!}A\x8C=\x0C\x8A\x88\x1EUm,\xE1\xA0\xC7R [2018-03-21 20:20:02] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 20:20:02] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 20:20:02] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 20:20:02] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 20:20:04] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 20:20:04] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 20:20:05] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 20:20:06] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 20:20:06] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 20:20:06] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 20:20:06] >>> tlv_debug: Got following TLV values: [2018-03-21 20:20:06] >>> tlv_debug: Type 5 value (101 bytes): i\xEA\xE9\x90\xC2\xD2*\xB3?^A[\xCE\xC4\xE99/\xB9J\xD2\xD7M|\x93\xC7t\xFFYxW\xEC5!h|\x16\xF1\xC1`\xD7;G3\xD3\xC7\xA9\xFD}\x07\xF9V1\x93\xE4\x81sG\x07\xEFy\\W\x8Fu\x11\xE6\xA3\xDD\xD9KvE\xEA\xE0t\x87\xC5\x06\xCA\xC9\xB9\xFF\x9B\x91q\x9Be\xC7b?\x15w\x0B$#\x0F\xA98\x0F\x83\xC5 [2018-03-21 20:20:06] >>> tlv_debug: Type 3 value (32 bytes): \xA7ng\x10b=Mt,\xFBP:\x1C\x01?\x13\x98\x82\x83&\xCEr\xB82\xE0X(\xB1)1\xCA\x0A [2018-03-21 20:20:06] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 20:20:06] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05ei\xEA\xE9\x90\xC2\xD2*\xB3?^A[\xCE\xC4\xE99/\xB9J\xD2\xD7M|\x93\xC7t\xFFYxW\xEC5!h|\x16\xF1\xC1`\xD7;G3\xD3\xC7\xA9\xFD}\x07\xF9V1\x93\xE4\x81sG\x07\xEFy\\W\x8Fu\x11\xE6\xA3\xDD\xD9KvE\xEA\xE0t\x87\xC5\x06\xCA\xC9\xB9\xFF\x9B\x91q\x9Be\xC7b?\x15w\x0B$#\x0F\xA98\x0F\x83\xC5\x03 \xA7ng\x10b=Mt,\xFBP:\x1C\x01?\x13\x98\x82\x83&\xCEr\xB82\xE0X(\xB1)1\xCA\x0A\x06\x01\x02 [2018-03-21 20:20:07] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 20:20:07] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 20:20:07] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 20:20:07] >>> homekit_server_on_pair_verify: Free heap: 10716 [2018-03-21 20:20:07] >>> tlv_debug: Got following TLV values: [2018-03-21 20:20:07] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 20:20:07] >>> tlv_debug: Type 5 value (120 bytes): \xFF\xD9\xEC\x81\xF4\x89PA\xA7\xC2o#]\xA8\xA2@T\x93;\x80\x91\x15\xD3\xEE[\x812\x0C5q*wF\x90\xB9\x0D2\x08V\xA8\xE1V\xDB\xC7\xD1\x00\xE6\x01e)\x84.\xFA\xF6\xDE9[\xAB\xB9\x17\xD9<\xD7\xCC\xCC6x/\xDB\xC9\xF1\x97f\x90-\x1Cw\x87\xC6\x02\xD6\x03c\xF9f\xA8\xB9.\x84\xAA\xC3\x9E\xC1p\x0C=\xC9\x0E\xD9\xFF\xA9\xE9)\xF4L;\x15\xB8\xB1\xFB|\xEE\xC7\xC1\x81,tv\x0C\xB6 [2018-03-21 20:20:07] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 20:20:07] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 20:20:07] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 20:20:07] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 20:20:07] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 20:20:10] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 20:20:10] >>> tlv_debug: Got following TLV values: [2018-03-21 20:20:10] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 20:20:10] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 20:20:10] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 20:20:10] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 20:20:10] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 20:20:10] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 20:20:10] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 20:20:10] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 20:20:10] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 20:20:10] >>> homekit_server_on_get_accessories: Free heap: 10908 [2018-03-21 20:20:10] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 20:20:10] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 20:20:11] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 20:20:11] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 20:20:11] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 21:27:25] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 21:27:25] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 21:27:25] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 21:27:25] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 21:27:25] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: Free heap: 10812 [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:27:25] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:27:25] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:27:25] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 21:27:25] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 21:27:25] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 21:27:30] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 21:27:30] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 21:27:30] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 21:27:30] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 21:27:30] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: Free heap: 10768 [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:27:30] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:27:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:27:30] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 21:27:30] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 21:27:30] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 21:28:19] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 21:28:19] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 21:28:19] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 21:28:19] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 21:28:19] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 21:28:19] >>> homekit_server_on_get_characteristics: Free heap: 10712 [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:28:20] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:28:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:28:20] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 21:28:20] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 21:28:20] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 21:52:52] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 21:52:52] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 21:52:52] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 21:52:52] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 21:52:52] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: Free heap: 10672 [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:52:52] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 21:52:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 21:52:52] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-21 21:52:52] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 21:52:52] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 21:53:14] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 21:53:14] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 21:53:14] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 21:53:14] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 21:53:14] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 21:53:14] >>> homekit_server_on_update_characteristics: Free heap: 10284 [2018-03-21 21:53:14] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 21:53:14] "aid": 1, [2018-03-21 21:53:14] "iid": 10, [2018-03-21 21:53:14] "ev": true [2018-03-21 21:53:14] } [2018-03-21 21:53:14] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 21:53:14] "aid": 1, [2018-03-21 21:53:14] "iid": 13, [2018-03-21 21:53:14] "ev": true [2018-03-21 21:53:14] } [2018-03-21 21:53:14] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 21:53:14] "aid": 1, [2018-03-21 21:53:14] "iid": 16, [2018-03-21 21:53:14] "ev": true [2018-03-21 21:53:14] } [2018-03-21 21:53:14] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 21:53:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 21:53:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 21:56:45] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 21:56:45] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 21:56:45] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 21:56:45] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 21:56:45] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 21:56:45] >>> homekit_server_on_update_characteristics: Free heap: 10212 [2018-03-21 21:56:45] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 21:56:45] "aid": 1, [2018-03-21 21:56:45] "iid": 10, [2018-03-21 21:56:45] "ev": false [2018-03-21 21:56:45] } [2018-03-21 21:56:45] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 21:56:45] "aid": 1, [2018-03-21 21:56:45] "iid": 13, [2018-03-21 21:56:45] "ev": false [2018-03-21 21:56:45] } [2018-03-21 21:56:45] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 21:56:45] "aid": 1, [2018-03-21 21:56:45] "iid": 16, [2018-03-21 21:56:45] "ev": false [2018-03-21 21:56:45] } [2018-03-21 21:56:45] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 21:56:45] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 21:56:45] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 22:00:42] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 22:00:42] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 22:00:42] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 22:00:42] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 22:00:43] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: Free heap: 10624 [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 22:00:43] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 22:00:43] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 22:00:43] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 22:00:43] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 22:00:43] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 22:00:53] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 22:00:53] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 22:00:53] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 22:00:53] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 22:00:53] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 22:00:53] >>> homekit_server_on_update_characteristics: Free heap: 10368 [2018-03-21 22:00:53] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 22:00:53] "aid": 1, [2018-03-21 22:00:53] "iid": 10, [2018-03-21 22:00:53] "ev": true [2018-03-21 22:00:53] } [2018-03-21 22:00:53] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 22:00:53] "aid": 1, [2018-03-21 22:00:53] "iid": 13, [2018-03-21 22:00:53] "ev": true [2018-03-21 22:00:53] } [2018-03-21 22:00:53] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 22:00:53] "aid": 1, [2018-03-21 22:00:53] "iid": 16, [2018-03-21 22:00:53] "ev": true [2018-03-21 22:00:53] } [2018-03-21 22:00:53] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 22:00:53] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 22:00:53] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 22:01:46] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 22:01:46] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 22:01:46] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 22:01:46] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 22:01:46] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: Free heap: 10504 [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 22:01:46] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 22:01:46] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 22:01:46] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-21 22:01:46] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 22:01:46] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 22:04:11] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 22:04:11] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 22:04:11] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 22:04:11] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 22:04:11] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 22:04:11] >>> homekit_server_on_update_characteristics: Free heap: 10248 [2018-03-21 22:04:11] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 22:04:11] "aid": 1, [2018-03-21 22:04:11] "iid": 10, [2018-03-21 22:04:11] "ev": false [2018-03-21 22:04:11] } [2018-03-21 22:04:11] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 22:04:11] "aid": 1, [2018-03-21 22:04:11] "iid": 13, [2018-03-21 22:04:11] "ev": false [2018-03-21 22:04:11] } [2018-03-21 22:04:11] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 22:04:11] "aid": 1, [2018-03-21 22:04:11] "iid": 16, [2018-03-21 22:04:11] "ev": false [2018-03-21 22:04:11] } [2018-03-21 22:04:11] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 22:04:11] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 22:04:11] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 22:47:42] >>> HomeKit: [Client 7] Closing client connection [2018-03-21 22:47:43] >>> HomeKit: Got new client connection: 7 [2018-03-21 22:47:43] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-21 22:47:43] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 22:47:43] >>> homekit_server_on_pair_verify: Free heap: 10716 [2018-03-21 22:47:43] >>> tlv_debug: Got following TLV values: [2018-03-21 22:47:43] >>> tlv_debug: Type 3 value (32 bytes): \xD0\xA2\xB4\xFA\xA5\x06\xF2\xEDJ\x01\xE6\x1B\x05\xFE\x14\xDD\xEAR\x1Fi\xE1$\xB4\xF5\xBB\xEA'\x13\x9E\xFB\x1C\x10 [2018-03-21 22:47:43] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-21 22:47:43] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-21 22:47:43] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-21 22:47:43] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-21 22:47:44] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-21 22:47:44] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-21 22:47:45] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-21 22:47:47] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 22:47:47] >>> tlv_debug: Got following TLV values: [2018-03-21 22:47:47] >>> tlv_debug: Type 5 value (101 bytes): @w~\xFC\x83\x1C%{\xF16\xB8\xA1\x09\x08h}\x94}ji\x8D\xB9B^\xC5\xE3B\xC7\xC1\xA2ls\x8CZ\xB0\x879\x8A\xDE\x82=0\xFC,\xDC\xEB\xC8\xE5\xCB\xE9\x95,\x02K0\x1C\xED\x0Ce\xF6\xAB\xA2\x873^\xB3U\xADH1\x08No\xF5\xB4\xA7\xD5BLu\xB4B\x1D\x034\x11\x06\xEB\xBB/c\x12\xFF\xFA\xB2\x14\xEC\xF3\x0D\xEC\x0D [2018-03-21 22:47:47] >>> tlv_debug: Type 3 value (32 bytes): K\xDF\xB6d\x1D\x98\xF5\xAD\xE8\xAB\xF5\x84bU\xCF\x8A\xE1\xF5\xB2\xA8\x0Cs\xCD\xD6$\x03;\xFA0\xA9KA [2018-03-21 22:47:47] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-21 22:47:47] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e@w~\xFC\x83\x1C%{\xF16\xB8\xA1\x09\x08h}\x94}ji\x8D\xB9B^\xC5\xE3B\xC7\xC1\xA2ls\x8CZ\xB0\x879\x8A\xDE\x82=0\xFC,\xDC\xEB\xC8\xE5\xCB\xE9\x95,\x02K0\x1C\xED\x0Ce\xF6\xAB\xA2\x873^\xB3U\xADH1\x08No\xF5\xB4\xA7\xD5BLu\xB4B\x1D\x034\x11\x06\xEB\xBB/c\x12\xFF\xFA\xB2\x14\xEC\xF3\x0D\xEC\x0D\x03 K\xDF\xB6d\x1D\x98\xF5\xAD\xE8\xAB\xF5\x84bU\xCF\x8A\xE1\xF5\xB2\xA8\x0Cs\xCD\xD6$\x03;\xFA0\xA9KA\x06\x01\x02 [2018-03-21 22:47:47] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 22:47:47] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: Free heap: 10428 [2018-03-21 22:47:47] >>> tlv_debug: Got following TLV values: [2018-03-21 22:47:47] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-21 22:47:47] >>> tlv_debug: Type 5 value (120 bytes): n\xAC\xC6\xBC^\xFF`\x09\x09C\x15\xF2\x05\x17\xE0\xB9\xF8gS6\xFCd\xC8\x8B!!\xA9\x9B\xA4'\x00\x9C\x0E\xD8z-\x95\xF0\xB7(\xCB\x8D\xD0b\x9E\x9F b\xBE\x1Bg\x156)\xB3\x14\x9E\xE9r\xBDV\xBA\xB7QA\x91O\xB6\x91"\x05\xBCy\x81\xB7\x1Cx?\x03\xD8=\x9A\x07\xD0s\xC8\xDE[_\xB1\xB6\x94\x04\xDE\x10r\x99\x1D7\x08#>\xE8Yp\x81\x1B)\xA4\xEA\\\xDE<\xB5\xBC\x08\xD7:\xA4 [2018-03-21 22:47:47] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 22:47:47] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-21 22:47:47] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-21 22:47:50] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-21 22:47:50] >>> tlv_debug: Got following TLV values: [2018-03-21 22:47:50] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-21 22:47:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-21 22:47:50] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-21 22:47:50] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 22:47:50] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-21 22:47:50] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-21 22:47:50] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-21 22:47:50] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 22:47:50] >>> HomeKit: [Client 7] Get Accessories [2018-03-21 22:47:50] >>> homekit_server_on_get_accessories: Free heap: 10596 [2018-03-21 22:47:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 22:47:50] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-21 22:47:50] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-21 22:47:50] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 22:47:50] >>> homekit_client_process: [Client 7] Finished processing [2018-03-21 23:39:26] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 23:39:26] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 23:39:26] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 23:39:26] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 23:39:26] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: Free heap: 10520 [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 23:39:26] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 23:39:26] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 23:39:26] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-21 23:39:26] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 23:39:26] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 23:39:36] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 23:39:36] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 23:39:36] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 23:39:36] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 23:39:36] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 23:39:36] >>> homekit_server_on_update_characteristics: Free heap: 10264 [2018-03-21 23:39:36] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:39:36] "aid": 1, [2018-03-21 23:39:36] "iid": 10, [2018-03-21 23:39:36] "ev": true [2018-03-21 23:39:36] } [2018-03-21 23:39:36] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:39:36] "aid": 1, [2018-03-21 23:39:36] "iid": 13, [2018-03-21 23:39:36] "ev": true [2018-03-21 23:39:36] } [2018-03-21 23:39:36] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:39:36] "aid": 1, [2018-03-21 23:39:36] "iid": 16, [2018-03-21 23:39:36] "ev": true [2018-03-21 23:39:36] } [2018-03-21 23:39:36] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 23:39:36] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 23:39:36] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 23:40:52] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 23:40:52] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 23:40:52] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 23:40:52] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 23:40:52] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 23:40:52] >>> homekit_server_on_update_characteristics: Free heap: 10060 [2018-03-21 23:40:52] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:40:52] "aid": 1, [2018-03-21 23:40:52] "iid": 10, [2018-03-21 23:40:52] "ev": false [2018-03-21 23:40:52] } [2018-03-21 23:40:52] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:40:52] "aid": 1, [2018-03-21 23:40:52] "iid": 13, [2018-03-21 23:40:52] "ev": false [2018-03-21 23:40:52] } [2018-03-21 23:40:52] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:40:52] "aid": 1, [2018-03-21 23:40:52] "iid": 16, [2018-03-21 23:40:52] "ev": false [2018-03-21 23:40:52] } [2018-03-21 23:40:52] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 23:40:52] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 23:40:52] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 23:50:38] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-21 23:50:38] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 23:50:38] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-21 23:50:38] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-21 23:50:38] >>> HomeKit: [Client 4] Get Characteristics [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: Free heap: 10472 [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 23:50:38] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-21 23:50:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-21 23:50:38] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-21 23:50:38] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-21 23:50:38] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 23:50:49] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-21 23:50:49] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 23:50:49] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-21 23:50:49] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-21 23:50:49] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 23:50:49] >>> homekit_server_on_update_characteristics: Free heap: 10212 [2018-03-21 23:50:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:50:49] "aid": 1, [2018-03-21 23:50:49] "iid": 10, [2018-03-21 23:50:49] "ev": true [2018-03-21 23:50:49] } [2018-03-21 23:50:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:50:49] "aid": 1, [2018-03-21 23:50:49] "iid": 13, [2018-03-21 23:50:49] "ev": true [2018-03-21 23:50:49] } [2018-03-21 23:50:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:50:49] "aid": 1, [2018-03-21 23:50:49] "iid": 16, [2018-03-21 23:50:49] "ev": true [2018-03-21 23:50:49] } [2018-03-21 23:50:49] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 23:50:49] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 23:50:49] >>> homekit_client_process: [Client 4] Finished processing [2018-03-21 23:53:12] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-21 23:53:12] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-21 23:53:12] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-21 23:53:12] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-21 23:53:12] >>> HomeKit: [Client 4] Update Characteristics [2018-03-21 23:53:12] >>> homekit_server_on_update_characteristics: Free heap: 10140 [2018-03-21 23:53:12] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:53:12] "aid": 1, [2018-03-21 23:53:12] "iid": 10, [2018-03-21 23:53:12] "ev": false [2018-03-21 23:53:12] } [2018-03-21 23:53:12] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:53:12] "aid": 1, [2018-03-21 23:53:12] "iid": 13, [2018-03-21 23:53:12] "ev": false [2018-03-21 23:53:12] } [2018-03-21 23:53:12] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-21 23:53:12] "aid": 1, [2018-03-21 23:53:12] "iid": 16, [2018-03-21 23:53:12] "ev": false [2018-03-21 23:53:12] } [2018-03-21 23:53:12] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-21 23:53:12] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-21 23:53:12] >>> homekit_client_process: [Client 4] Finished processing [2018-03-22 06:18:00] >>> HomeKit: [Client 7] Closing client connection [2018-03-22 06:18:09] >>> HomeKit: Got new client connection: 7 [2018-03-22 06:18:09] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-22 06:18:09] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-22 06:18:09] >>> homekit_server_on_pair_verify: Free heap: 10616 [2018-03-22 06:18:09] >>> tlv_debug: Got following TLV values: [2018-03-22 06:18:09] >>> tlv_debug: Type 3 value (32 bytes): \xC0\x04\xBFS\xDD\xF5\xBE:y\xD4\x9C]o\xF8$\x87\xC7\x92\x9Bu\xE0\x95U:\xFA\x0A\xAB4B\x07q$ [2018-03-22 06:18:09] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-22 06:18:09] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-22 06:18:09] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-22 06:18:09] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-22 06:18:10] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-22 06:18:10] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-22 06:18:11] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-22 06:18:13] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-22 06:18:13] >>> tlv_debug: Got following TLV values: [2018-03-22 06:18:13] >>> tlv_debug: Type 5 value (101 bytes): \x9D\x9A\x97\x98\x97{\x9C\xB2\xE7\xC4!5T\xC32\xFD\x94\x1F\xD0fX\xBE_\xF5\xE1\x97\xA7\xFC\xDFSx"+\x97\x11/8s\x8D+`\x1C]ln\x96\xC9\xD6\xF6\xD9m\xF0u\xAC\xEE\xB1\xBC\xCB\x98\x1Bej\xB7\xC9\xD0<\xF8b\x1D\x86F\xA5\x00\xC9d\xCB0bpDR?m\x8E\x1C\xEC{\xBF\xDEO\x1C\x11!\xBC\x8D#\xD4H\x1E [2018-03-22 06:18:13] >>> tlv_debug: Type 3 value (32 bytes): 2<\xE7j_vhq\x98i\xF2\xA8\x9E\xDC\x04\xA5\x14\xCF\xAD+\x18}\xA3w\x1F)\x86}\xCB\x1F\x96R [2018-03-22 06:18:13] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-22 06:18:13] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x9D\x9A\x97\x98\x97{\x9C\xB2\xE7\xC4!5T\xC32\xFD\x94\x1F\xD0fX\xBE_\xF5\xE1\x97\xA7\xFC\xDFSx"+\x97\x11/8s\x8D+`\x1C]ln\x96\xC9\xD6\xF6\xD9m\xF0u\xAC\xEE\xB1\xBC\xCB\x98\x1Bej\xB7\xC9\xD0<\xF8b\x1D\x86F\xA5\x00\xC9d\xCB0bpDR?m\x8E\x1C\xEC{\xBF\xDEO\x1C\x11!\xBC\x8D#\xD4H\x1E\x03 2<\xE7j_vhq\x98i\xF2\xA8\x9E\xDC\x04\xA5\x14\xCF\xAD+\x18}\xA3w\x1F)\x86}\xCB\x1F\x96R\x06\x01\x02 [2018-03-22 06:18:13] >>> homekit_client_process: [Client 7] Finished processing [2018-03-22 06:18:13] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: Free heap: 10328 [2018-03-22 06:18:13] >>> tlv_debug: Got following TLV values: [2018-03-22 06:18:13] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-22 06:18:13] >>> tlv_debug: Type 5 value (120 bytes): \x93x\x02M\xB7\xA1\xDC+G\xC8Fw$\xA5Ej\x80\x14\xC9;\xD9F\xE1\xE8\xE1A*\x08\x07!)=\xDC\xE8DX\xA0\xB7\xD1\xDA\x96\x89\xF9\xE0y\xE7SJ\xD5\xEE\x9AH\xEEA\xBF\x16\xCD=\xB1/\xFB\x84\xFB\xDE^\xBC\xA8\xB6\xC4\xEA\xA7^,\xDBJd\x8F\x1F\xE0\x92I\x13\x8Ek\xFF\x9F(C\x12\xF9r\x09tr/\x09SU\x98}\x1Fd\x9F!\x92\x0C\xCAj\xB7\x17-M\x86\xB5R\xDB\xD7y\xF8 [2018-03-22 06:18:13] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-22 06:18:13] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-22 06:18:13] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-22 06:18:16] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-22 06:18:16] >>> tlv_debug: Got following TLV values: [2018-03-22 06:18:16] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-22 06:18:16] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-22 06:18:16] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-22 06:18:16] >>> homekit_client_process: [Client 7] Finished processing [2018-03-22 06:18:16] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-22 06:18:16] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-22 06:18:16] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-22 06:18:16] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-22 06:18:16] >>> HomeKit: [Client 7] Get Accessories [2018-03-22 06:18:16] >>> homekit_server_on_get_accessories: Free heap: 10372 [2018-03-22 06:18:16] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-22 06:18:16] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-22 06:18:16] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-22 06:18:16] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-22 06:18:16] >>> homekit_client_process: [Client 7] Finished processing [2018-03-22 06:55:44] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-22 06:55:44] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 06:55:44] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-22 06:55:44] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-22 06:55:44] >>> HomeKit: [Client 4] Get Characteristics [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: Free heap: 10420 [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-22 06:55:44] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-22 06:55:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-22 06:55:44] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-22 06:55:44] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-22 06:55:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-22 06:55:54] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-22 06:55:54] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 06:55:54] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-22 06:55:54] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-22 06:55:54] >>> HomeKit: [Client 4] Update Characteristics [2018-03-22 06:55:54] >>> homekit_server_on_update_characteristics: Free heap: 10152 [2018-03-22 06:55:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 06:55:54] "aid": 1, [2018-03-22 06:55:54] "iid": 10, [2018-03-22 06:55:54] "ev": true [2018-03-22 06:55:54] } [2018-03-22 06:55:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 06:55:54] "aid": 1, [2018-03-22 06:55:54] "iid": 13, [2018-03-22 06:55:54] "ev": true [2018-03-22 06:55:54] } [2018-03-22 06:55:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 06:55:54] "aid": 1, [2018-03-22 06:55:54] "iid": 16, [2018-03-22 06:55:54] "ev": true [2018-03-22 06:55:54] } [2018-03-22 06:55:54] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-22 06:55:54] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-22 06:55:54] >>> homekit_client_process: [Client 4] Finished processing [2018-03-22 06:57:08] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-22 06:57:08] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 06:57:08] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-22 06:57:08] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-22 06:57:08] >>> HomeKit: [Client 4] Update Characteristics [2018-03-22 06:57:08] >>> homekit_server_on_update_characteristics: Free heap: 10084 [2018-03-22 06:57:08] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 06:57:08] "aid": 1, [2018-03-22 06:57:08] "iid": 10, [2018-03-22 06:57:08] "ev": false [2018-03-22 06:57:08] } [2018-03-22 06:57:08] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 06:57:08] "aid": 1, [2018-03-22 06:57:08] "iid": 13, [2018-03-22 06:57:08] "ev": false [2018-03-22 06:57:08] } [2018-03-22 06:57:08] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 06:57:08] "aid": 1, [2018-03-22 06:57:08] "iid": 16, [2018-03-22 06:57:08] "ev": false [2018-03-22 06:57:08] } [2018-03-22 06:57:08] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-22 06:57:08] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-22 06:57:08] >>> homekit_client_process: [Client 4] Finished processing [2018-03-22 07:43:15] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-22 07:43:15] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 07:43:15] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-22 07:43:15] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x [2018-03-22 07:54:58] [2018-03-22 07:54:59] [2018-03-22 07:55:00] [2018-03-22 07:55:14] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-22 07:55:14] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 07:55:14] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-22 07:55:14] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-22 07:55:14] >>> HomeKit: [Client 4] Get Characteristics [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: Free heap: 9704 [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-22 07:55:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-22 07:55:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-22 07:55:14] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-22 07:55:14] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-22 07:55:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-22 07:55:24] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-22 07:55:24] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 07:55:24] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-22 07:55:24] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-22 07:55:24] >>> HomeKit: [Client 4] Update Characteristics [2018-03-22 07:55:24] >>> homekit_server_on_update_characteristics: Free heap: 9316 [2018-03-22 07:55:24] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 07:55:24] "aid": 1, [2018-03-22 07:55:24] "iid": 10, [2018-03-22 07:55:24] "ev": true [2018-03-22 07:55:24] } [2018-03-22 07:55:24] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 07:55:24] "aid": 1, [2018-03-22 07:55:24] "iid": 13, [2018-03-22 07:55:24] "ev": true [2018-03-22 07:55:24] } [2018-03-22 07:55:24] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 07:55:24] "aid": 1, [2018-03-22 07:55:24] "iid": 16, [2018-03-22 07:55:24] "ev": true [2018-03-22 07:55:24] } [2018-03-22 07:55:24] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-22 07:55:24] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-22 07:55:24] >>> homekit_client_process: [Client 4] Finished processing [2018-03-22 07:56:48] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-22 07:56:48] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-22 07:56:48] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-22 07:56:48] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-22 07:56:48] >>> HomeKit: [Client 4] Update Characteristics [2018-03-22 07:56:48] >>> homekit_server_on_update_characteristics: Free heap: 9372 [2018-03-22 07:56:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 07:56:48] "aid": 1, [2018-03-22 07:56:48] "iid": 10, [2018-03-22 07:56:48] "ev": false [2018-03-22 07:56:48] } [2018-03-22 07:56:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 07:56:49] "aid": 1, [2018-03-22 07:56:49] "iid": 13, [2018-03-22 07:56:49] "ev": false [2018-03-22 07:56:49] } [2018-03-22 07:56:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-22 07:56:49] "aid": 1, [2018-03-22 07:56:49] "iid": 16, [2018-03-22 07:56:49] "ev": false [2018-03-22 07:56:49] } [2018-03-22 07:56:49] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-22 07:56:49] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-22 07:56:49] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 07:17:12] >>> HomeKit: [Client 7] Closing client connection [2018-03-23 07:17:13] >>> HomeKit: Got new client connection: 7 [2018-03-23 07:17:13] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-23 07:17:13] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-23 07:17:13] >>> homekit_server_on_pair_verify: Free heap: 9840 [2018-03-23 07:17:13] >>> tlv_debug: Got following TLV values: [2018-03-23 07:17:13] >>> tlv_debug: Type 3 value (32 bytes): \xE0\xA5\xF2\xEDd\xDD\x13\xF8\x94\xBAE\x8A\xB1\xA9\x01\xAE\x98\x19U6F#"\x01\xE9T\xAE\xFAn\x8C\xE2y [2018-03-23 07:17:13] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-23 07:17:13] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-23 07:17:13] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-23 07:17:13] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-23 07:17:15] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-23 07:17:15] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-23 07:17:16] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-23 07:17:17] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-23 07:17:17] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-23 07:17:17] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-23 07:17:17] >>> tlv_debug: Got following TLV values: [2018-03-23 07:17:17] >>> tlv_debug: Type 5 value (101 bytes): .\x13}]+\x99\x0CG\x0Az\xDDC\xB2\xE4\xF5\x1C\xCD+\xD0\xF9w#\x8B\xB9:v\x0Ey\xD3\xBC\x07 \x03\x154\xD4\x0F\xCFo\xFCIR1_1\xFF\xF3?gL \x07I\x04)b]\x87\xDC\xC6q\xBC\xBD\xF7\xB4\xE7-\xF2H5\x88\x00oaC\xD0\x9CK\xDC^\xDB\x1F\xCA"O\xF7s\x81\x99\xD4\xC5x\xBA\xF4\x9C~\x11\xD0\xEB\x03\x04 [2018-03-23 07:17:18] >>> tlv_debug: Type 3 value (32 bytes): L\xC6\xFET\\<\xA1\x9FfnGy\xE7+\xB2\xD0\xD3\xDF\xBCKN\xF0X&\xA6\x1B\x1C:\x9F\x82\xF3$ [2018-03-23 07:17:18] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-23 07:17:18] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e.\x13}]+\x99\x0CG\x0Az\xDDC\xB2\xE4\xF5\x1C\xCD+\xD0\xF9w#\x8B\xB9:v\x0Ey\xD3\xBC\x07 \x03\x154\xD4\x0F\xCFo\xFCIR1_1\xFF\xF3?gL \x07I\x04)b]\x87\xDC\xC6q\xBC\xBD\xF7\xB4\xE7-\xF2H5\x88\x00oaC\xD0\x9CK\xDC^\xDB\x1F\xCA"O\xF7s\x81\x99\xD4\xC5x\xBA\xF4\x9C~\x11\xD0\xEB\x03\x04\x03 L\xC6\xFET\\<\xA1\x9FfnGy\xE7+\xB2\xD0\xD3\xDF\xBCKN\xF0X&\xA6\x1B\x1C:\x9F\x82\xF3$\x06\x01\x02 [2018-03-23 07:17:18] >>> homekit_client_process: [Client 7] Finished processing [2018-03-23 07:17:18] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-23 07:17:18] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-23 07:17:18] >>> homekit_server_on_pair_verify: Free heap: 9552 [2018-03-23 07:17:18] >>> tlv_debug: Got following TLV values: [2018-03-23 07:17:18] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-23 07:17:18] >>> tlv_debug: Type 5 value (120 bytes): P,\xF5\x9E{\xF6s]\x0EB \x06\xABT\xD0\xAD\x9D\x1C\xA9\xC3^\xAB\x008h\x9E8\xC9\x16R\xD5\x8AZ\xDC\xEA\xD0\x87h\xACcV\xE1a\xF2%U\xCATz38v\xD6G_\x15\x90,\x053\xF7\x0E\xDAAw\xCB2zq.\x87!\xB5h\x8F(Z\xCDy\x17\xB4\x95\xD9\xC7TJW\xEB>\x11\x91\xC5\x14\xEB\x9F\xC5$\xF6\xF1u\x97\xDA<\x1A\\\x01\xBD\xA6\x14L\x99R\xB1P>A\xA7\x19\xD5' [2018-03-23 07:17:19] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-23 07:17:19] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-23 07:17:19] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-23 07:17:19] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-23 07:17:19] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-23 07:17:21] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-23 07:17:21] >>> tlv_debug: Got following TLV values: [2018-03-23 07:17:21] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-23 07:17:21] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-23 07:17:21] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-23 07:17:21] >>> homekit_client_process: [Client 7] Finished processing [2018-03-23 07:17:22] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-23 07:17:22] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-23 07:17:22] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-23 07:17:22] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 07:17:22] >>> HomeKit: [Client 7] Get Accessories [2018-03-23 07:17:22] >>> homekit_server_on_get_accessories: Free heap: 9348 [2018-03-23 07:17:22] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 07:17:22] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-23 07:17:25] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-23 07:17:25] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 07:17:25] >>> homekit_client_process: [Client 7] Finished processing [2018-03-23 08:13:17] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:13:17] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:13:17] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:13:17] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:13:17] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: Free heap: 9656 [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:13:17] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:13:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:13:17] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:13:18] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:13:18] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:13:27] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 08:13:27] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:13:27] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 08:13:27] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 08:13:27] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:13:27] >>> homekit_server_on_update_characteristics: Free heap: 9400 [2018-03-23 08:13:27] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:13:27] "aid": 1, [2018-03-23 08:13:27] "iid": 10, [2018-03-23 08:13:27] "ev": true [2018-03-23 08:13:27] } [2018-03-23 08:13:27] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:13:27] "aid": 1, [2018-03-23 08:13:27] "iid": 13, [2018-03-23 08:13:27] "ev": true [2018-03-23 08:13:27] } [2018-03-23 08:13:27] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:13:27] "aid": 1, [2018-03-23 08:13:27] "iid": 16, [2018-03-23 08:13:27] "ev": true [2018-03-23 08:13:27] } [2018-03-23 08:13:27] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:13:27] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:13:27] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:14:38] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:14:38] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:14:38] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:14:38] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:14:38] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: Free heap: 9412 [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:14:38] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:14:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:14:38] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:14:38] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:14:38] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:14:40] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 08:14:40] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:14:40] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 08:14:40] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 08:14:40] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:14:40] >>> homekit_server_on_update_characteristics: Free heap: 9264 [2018-03-23 08:14:40] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:14:40] "aid": 1, [2018-03-23 08:14:40] "iid": 10, [2018-03-23 08:14:40] "ev": false [2018-03-23 08:14:40] } [2018-03-23 08:14:40] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:14:40] "aid": 1, [2018-03-23 08:14:40] "iid": 13, [2018-03-23 08:14:40] "ev": false [2018-03-23 08:14:40] } [2018-03-23 08:14:40] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:14:40] "aid": 1, [2018-03-23 08:14:40] "iid": 16, [2018-03-23 08:14:40] "ev": false [2018-03-23 08:14:40] } [2018-03-23 08:14:40] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:14:40] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:14:40] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:14:48] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 08:14:48] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:14:48] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 08:14:48] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 08:14:48] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:14:48] >>> homekit_server_on_update_characteristics: Free heap: 9336 [2018-03-23 08:14:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:14:48] "aid": 1, [2018-03-23 08:14:48] "iid": 10, [2018-03-23 08:14:48] "ev": true [2018-03-23 08:14:48] } [2018-03-23 08:14:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:14:48] "aid": 1, [2018-03-23 08:14:48] "iid": 13, [2018-03-23 08:14:48] "ev": true [2018-03-23 08:14:48] } [2018-03-23 08:14:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:14:48] "aid": 1, [2018-03-23 08:14:48] "iid": 16, [2018-03-23 08:14:48] "ev": true [2018-03-23 08:14:48] } [2018-03-23 08:14:48] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:14:48] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:14:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:15:54] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 08:15:54] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:15:54] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 08:15:54] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 08:15:54] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:15:54] >>> homekit_server_on_update_characteristics: Free heap: 9260 [2018-03-23 08:15:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:15:54] "aid": 1, [2018-03-23 08:15:54] "iid": 10, [2018-03-23 08:15:54] "ev": false [2018-03-23 08:15:54] } [2018-03-23 08:15:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:15:54] "aid": 1, [2018-03-23 08:15:54] "iid": 13, [2018-03-23 08:15:54] "ev": false [2018-03-23 08:15:54] } [2018-03-23 08:15:54] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:15:54] "aid": 1, [2018-03-23 08:15:54] "iid": 16, [2018-03-23 08:15:54] "ev": false [2018-03-23 08:15:54] } [2018-03-23 08:15:54] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:15:54] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:15:54] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:16:30] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:16:30] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:16:30] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:16:30] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:16:30] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: Free heap: 9540 [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:30] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:30] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:16:30] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:16:30] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:16:39] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:16:39] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:16:39] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:16:39] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:16:39] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: Free heap: 9484 [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:39] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:39] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:39] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:16:39] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:16:39] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:16:41] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 08:16:41] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:16:41] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 08:16:41] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 08:16:41] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:16:41] >>> homekit_server_on_update_characteristics: Free heap: 9228 [2018-03-23 08:16:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:16:41] "aid": 1, [2018-03-23 08:16:41] "iid": 10, [2018-03-23 08:16:41] "ev": true [2018-03-23 08:16:41] } [2018-03-23 08:16:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:16:41] "aid": 1, [2018-03-23 08:16:41] "iid": 13, [2018-03-23 08:16:41] "ev": true [2018-03-23 08:16:41] } [2018-03-23 08:16:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:16:41] "aid": 1, [2018-03-23 08:16:41] "iid": 16, [2018-03-23 08:16:41] "ev": true [2018-03-23 08:16:41] } [2018-03-23 08:16:41] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:16:41] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:16:41] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:16:48] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:16:48] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:16:48] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:16:48] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:16:48] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: Free heap: 9376 [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:48] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:48] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:16:48] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:16:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:16:54] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:16:54] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:16:54] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:16:54] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:16:54] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:16:54] >>> homekit_server_on_get_characteristics: Free heap: 9328 [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:55] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:16:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:16:55] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:16:55] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:16:55] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:17:00] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:17:00] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:17:00] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:17:00] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:17:00] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: Free heap: 9032 [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:00] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:00] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:00] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:17:00] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:17:00] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:17:04] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:17:04] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:17:04] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:17:04] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:17:04] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: Free heap: 9224 [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:04] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:04] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:04] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:17:04] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:17:04] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:17:10] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:17:10] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:17:10] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:17:10] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:17:10] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: Free heap: 9172 [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:10] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:10] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:10] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:17:10] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:17:10] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:17:15] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:17:15] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:17:15] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:17:15] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:17:15] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: Free heap: 9120 [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:15] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:17:15] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:17:15] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:17:15] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:17:15] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:18:43] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 08:18:43] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:18:43] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 08:18:43] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 08:18:43] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:18:43] >>> homekit_server_on_update_characteristics: Free heap: 8856 [2018-03-23 08:18:43] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:18:43] "aid": 1, [2018-03-23 08:18:43] "iid": 10, [2018-03-23 08:18:43] "ev": false [2018-03-23 08:18:43] } [2018-03-23 08:18:43] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:18:43] "aid": 1, [2018-03-23 08:18:43] "iid": 13, [2018-03-23 08:18:43] "ev": false [2018-03-23 08:18:43] } [2018-03-23 08:18:43] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:18:43] "aid": 1, [2018-03-23 08:18:43] "iid": 16, [2018-03-23 08:18:43] "ev": false [2018-03-23 08:18:43] } [2018-03-23 08:18:43] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:18:43] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:18:43] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:18:44] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:18:44] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:18:44] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:18:44] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:18:44] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: Free heap: 9132 [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:18:44] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:18:44] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:18:44] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:18:44] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:18:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:18:55] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 08:18:55] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:18:55] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 08:18:55] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 08:18:55] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:18:55] >>> homekit_server_on_update_characteristics: Free heap: 8744 [2018-03-23 08:18:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:18:55] "aid": 1, [2018-03-23 08:18:55] "iid": 10, [2018-03-23 08:18:55] "ev": true [2018-03-23 08:18:55] } [2018-03-23 08:18:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:18:55] "aid": 1, [2018-03-23 08:18:55] "iid": 13, [2018-03-23 08:18:55] "ev": true [2018-03-23 08:18:55] } [2018-03-23 08:18:55] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:18:55] "aid": 1, [2018-03-23 08:18:55] "iid": 16, [2018-03-23 08:18:55] "ev": true [2018-03-23 08:18:55] } [2018-03-23 08:18:55] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:18:55] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:18:55] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:20:22] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 08:20:22] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:20:22] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 08:20:22] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 08:20:22] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:20:22] >>> homekit_server_on_update_characteristics: Free heap: 8684 [2018-03-23 08:20:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:20:22] "aid": 1, [2018-03-23 08:20:22] "iid": 10, [2018-03-23 08:20:22] "ev": false [2018-03-23 08:20:22] } [2018-03-23 08:20:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:20:22] "aid": 1, [2018-03-23 08:20:22] "iid": 13, [2018-03-23 08:20:22] "ev": false [2018-03-23 08:20:22] } [2018-03-23 08:20:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:20:22] "aid": 1, [2018-03-23 08:20:22] "iid": 16, [2018-03-23 08:20:22] "ev": false [2018-03-23 08:20:22] } [2018-03-23 08:20:22] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:20:22] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:20:22] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:27:21] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:27:21] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:27:21] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:27:21] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:27:21] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: Free heap: 9092 [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:27:21] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:27:21] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:27:21] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:27:21] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:27:21] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:27:33] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 08:27:33] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:27:33] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 08:27:33] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 08:27:33] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:27:33] >>> homekit_server_on_update_characteristics: Free heap: 8836 [2018-03-23 08:27:33] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:27:33] "aid": 1, [2018-03-23 08:27:33] "iid": 10, [2018-03-23 08:27:33] "ev": true [2018-03-23 08:27:33] } [2018-03-23 08:27:33] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:27:33] "aid": 1, [2018-03-23 08:27:33] "iid": 13, [2018-03-23 08:27:33] "ev": true [2018-03-23 08:27:33] } [2018-03-23 08:27:33] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:27:33] "aid": 1, [2018-03-23 08:27:33] "iid": 16, [2018-03-23 08:27:33] "ev": true [2018-03-23 08:27:33] } [2018-03-23 08:27:33] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:27:33] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:27:33] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:27:55] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:27:55] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:27:55] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:27:55] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:27:55] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: Free heap: 8852 [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:27:55] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:27:55] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:27:55] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:27:55] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:27:55] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:28:06] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:28:06] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:28:06] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:28:06] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:28:06] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: Free heap: 8936 [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:28:06] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:28:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:28:06] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:28:06] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:28:06] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:28:14] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:28:14] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:28:14] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:28:14] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:28:14] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: Free heap: 8636 [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:28:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:28:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:28:14] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:28:14] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:28:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:29:05] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 08:29:05] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:29:05] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 08:29:05] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 08:29:05] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: Free heap: 8840 [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:29:05] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 08:29:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 08:29:05] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 08:29:05] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 08:29:05] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 08:30:21] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 08:30:21] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 08:30:21] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 08:30:21] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 08:30:21] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 08:30:21] >>> homekit_server_on_update_characteristics: Free heap: 8568 [2018-03-23 08:30:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:30:21] "aid": 1, [2018-03-23 08:30:21] "iid": 10, [2018-03-23 08:30:21] "ev": false [2018-03-23 08:30:21] } [2018-03-23 08:30:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:30:21] "aid": 1, [2018-03-23 08:30:21] "iid": 13, [2018-03-23 08:30:21] "ev": false [2018-03-23 08:30:21] } [2018-03-23 08:30:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 08:30:21] "aid": 1, [2018-03-23 08:30:21] "iid": 16, [2018-03-23 08:30:21] "ev": false [2018-03-23 08:30:21] } [2018-03-23 08:30:21] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 08:30:21] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 08:30:21] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:22:23] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 12:22:23] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:22:23] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 12:22:23] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 12:22:23] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 12:22:23] >>> homekit_server_on_get_characteristics: Free heap: 8588 [2018-03-23 12:22:23] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 12:22:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 12:22:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 12:22:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 12:22:23] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 12:22:24] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 12:22:24] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 12:22:24] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 12:22:24] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 12:22:24] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 12:22:24] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:22:39] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 12:22:39] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:22:39] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 12:22:39] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 12:22:39] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 12:22:39] >>> homekit_server_on_update_characteristics: Free heap: 8584 [2018-03-23 12:22:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:22:39] "aid": 1, [2018-03-23 12:22:39] "iid": 10, [2018-03-23 12:22:39] "ev": true [2018-03-23 12:22:39] } [2018-03-23 12:22:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:22:39] "aid": 1, [2018-03-23 12:22:39] "iid": 13, [2018-03-23 12:22:39] "ev": true [2018-03-23 12:22:39] } [2018-03-23 12:22:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:22:39] "aid": 1, [2018-03-23 12:22:39] "iid": 16, [2018-03-23 12:22:39] "ev": true [2018-03-23 12:22:39] } [2018-03-23 12:22:39] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 12:22:39] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 12:22:39] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:23:48] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 12:23:48] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:23:48] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 12:23:48] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 12:23:48] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 12:23:48] >>> homekit_server_on_update_characteristics: Free heap: 8520 [2018-03-23 12:23:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:23:48] "aid": 1, [2018-03-23 12:23:48] "iid": 10, [2018-03-23 12:23:48] "ev": false [2018-03-23 12:23:48] } [2018-03-23 12:23:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:23:48] "aid": 1, [2018-03-23 12:23:48] "iid": 13, [2018-03-23 12:23:48] "ev": false [2018-03-23 12:23:48] } [2018-03-23 12:23:48] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:23:48] "aid": 1, [2018-03-23 12:23:48] "iid": 16, [2018-03-23 12:23:48] "ev": false [2018-03-23 12:23:48] } [2018-03-23 12:23:48] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 12:23:48] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 12:23:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:41:30] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 12:41:30] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:41:30] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 12:41:30] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 12:41:30] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 12:41:30] >>> homekit_server_on_get_characteristics: Free heap: 8796 [2018-03-23 12:41:30] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 12:41:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 12:41:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 12:41:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 12:41:30] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 12:41:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 12:41:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 12:41:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 12:41:31] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 12:41:31] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 12:41:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:41:39] >>> homekit_client_process: [Client 4] Got 198 incomming data [2018-03-23 12:41:39] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:41:39] >>> homekit_client_process: [Client 4] Decrypted 180 bytes, available 0 [2018-03-23 12:41:39] Decrypted data (180 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 50\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":1}]}" [2018-03-23 12:41:39] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 12:41:39] >>> homekit_server_on_update_characteristics: Free heap: 8648 [2018-03-23 12:41:39] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:41:39] "aid": 1, [2018-03-23 12:41:39] "iid": 10, [2018-03-23 12:41:39] "value": 1 [2018-03-23 12:41:39] } [2018-03-23 12:41:39] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 12:41:39] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 12:41:39] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:41:42] >>> homekit_client_process: [Client 4] Got 198 incomming data [2018-03-23 12:41:42] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:41:42] >>> homekit_client_process: [Client 4] Decrypted 180 bytes, available 0 [2018-03-23 12:41:42] Decrypted data (180 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 50\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":0}]}" [2018-03-23 12:41:42] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 12:41:42] >>> homekit_server_on_update_characteristics: Free heap: 8384 [2018-03-23 12:41:42] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:41:42] "aid": 1, [2018-03-23 12:41:42] "iid": 10, [2018-03-23 12:41:42] "value": 0 [2018-03-23 12:41:42] } [2018-03-23 12:41:42] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 12:41:42] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 12:41:42] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:41:45] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 12:41:45] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:41:45] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 12:41:45] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 12:41:45] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 12:41:45] >>> homekit_server_on_update_characteristics: Free heap: 8532 [2018-03-23 12:41:45] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:41:45] "aid": 1, [2018-03-23 12:41:45] "iid": 10, [2018-03-23 12:41:45] "ev": true [2018-03-23 12:41:45] } [2018-03-23 12:41:45] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:41:45] "aid": 1, [2018-03-23 12:41:45] "iid": 13, [2018-03-23 12:41:45] "ev": true [2018-03-23 12:41:45] } [2018-03-23 12:41:45] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:41:45] "aid": 1, [2018-03-23 12:41:45] "iid": 16, [2018-03-23 12:41:45] "ev": true [2018-03-23 12:41:45] } [2018-03-23 12:41:45] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 12:41:45] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 12:41:45] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 12:43:03] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 12:43:03] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 12:43:03] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 12:43:03] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 12:43:03] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 12:43:03] >>> homekit_server_on_update_characteristics: Free heap: 8464 [2018-03-23 12:43:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:43:03] "aid": 1, [2018-03-23 12:43:03] "iid": 10, [2018-03-23 12:43:03] "ev": false [2018-03-23 12:43:03] } [2018-03-23 12:43:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:43:03] "aid": 1, [2018-03-23 12:43:03] "iid": 13, [2018-03-23 12:43:03] "ev": false [2018-03-23 12:43:03] } [2018-03-23 12:43:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 12:43:03] "aid": 1, [2018-03-23 12:43:03] "iid": 16, [2018-03-23 12:43:03] "ev": false [2018-03-23 12:43:03] } [2018-03-23 12:43:03] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 12:43:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 12:43:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 14:55:20] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 14:55:20] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 14:55:20] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 14:55:20] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 14:55:20] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: Free heap: 8740 [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 14:55:20] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 14:55:20] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 14:55:20] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 14:55:20] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 14:55:20] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 14:55:31] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 14:55:31] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 14:55:31] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 14:55:31] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 14:55:31] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 14:55:31] >>> homekit_server_on_update_characteristics: Free heap: 8352 [2018-03-23 14:55:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 14:55:31] "aid": 1, [2018-03-23 14:55:31] "iid": 10, [2018-03-23 14:55:31] "ev": true [2018-03-23 14:55:31] } [2018-03-23 14:55:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 14:55:31] "aid": 1, [2018-03-23 14:55:31] "iid": 13, [2018-03-23 14:55:31] "ev": true [2018-03-23 14:55:31] } [2018-03-23 14:55:31] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 14:55:31] "aid": 1, [2018-03-23 14:55:31] "iid": 16, [2018-03-23 14:55:31] "ev": true [2018-03-23 14:55:31] } [2018-03-23 14:55:31] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 14:55:31] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 14:55:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 14:57:15] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 14:57:15] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 14:57:15] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 14:57:15] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 14:57:16] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 14:57:16] >>> homekit_server_on_update_characteristics: Free heap: 8416 [2018-03-23 14:57:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 14:57:16] "aid": 1, [2018-03-23 14:57:16] "iid": 10, [2018-03-23 14:57:16] "ev": false [2018-03-23 14:57:16] } [2018-03-23 14:57:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 14:57:16] "aid": 1, [2018-03-23 14:57:16] "iid": 13, [2018-03-23 14:57:16] "ev": false [2018-03-23 14:57:16] } [2018-03-23 14:57:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 14:57:16] "aid": 1, [2018-03-23 14:57:16] "iid": 16, [2018-03-23 14:57:16] "ev": false [2018-03-23 14:57:16] } [2018-03-23 14:57:16] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 14:57:16] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 14:57:16] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 16:57:23] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 16:57:23] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 16:57:23] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 16:57:23] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 16:57:23] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: Free heap: 8692 [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 16:57:23] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 16:57:23] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 16:57:23] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 16:57:23] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 16:57:23] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 16:57:32] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 16:57:32] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 16:57:32] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 16:57:32] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 16:57:32] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 16:57:32] >>> homekit_server_on_update_characteristics: Free heap: 8428 [2018-03-23 16:57:32] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 16:57:32] "aid": 1, [2018-03-23 16:57:32] "iid": 10, [2018-03-23 16:57:32] "ev": true [2018-03-23 16:57:32] } [2018-03-23 16:57:32] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 16:57:32] "aid": 1, [2018-03-23 16:57:32] "iid": 13, [2018-03-23 16:57:32] "ev": true [2018-03-23 16:57:32] } [2018-03-23 16:57:32] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 16:57:32] "aid": 1, [2018-03-23 16:57:32] "iid": 16, [2018-03-23 16:57:32] "ev": true [2018-03-23 16:57:32] } [2018-03-23 16:57:32] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 16:57:32] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 16:57:32] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 16:59:46] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 16:59:46] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 16:59:46] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 16:59:46] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 16:59:46] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 16:59:46] >>> homekit_server_on_update_characteristics: Free heap: 8364 [2018-03-23 16:59:46] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 16:59:46] "aid": 1, [2018-03-23 16:59:46] "iid": 10, [2018-03-23 16:59:46] "ev": false [2018-03-23 16:59:46] } [2018-03-23 16:59:46] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 16:59:46] "aid": 1, [2018-03-23 16:59:46] "iid": 13, [2018-03-23 16:59:46] "ev": false [2018-03-23 16:59:46] } [2018-03-23 16:59:46] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 16:59:46] "aid": 1, [2018-03-23 16:59:46] "iid": 16, [2018-03-23 16:59:46] "ev": false [2018-03-23 16:59:46] } [2018-03-23 16:59:46] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 16:59:46] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 16:59:46] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 18:48:36] >>> homekit_client_process: [Client 4] Got 105 incomming data [2018-03-23 18:48:36] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 18:48:36] >>> homekit_client_process: [Client 4] Decrypted 87 bytes, available 0 [2018-03-23 18:48:36] Decrypted data (87 bytes): "GET /characteristics?id=1.10,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 18:48:37] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 18:48:37] >>> homekit_server_on_get_characteristics: Free heap: 8644 [2018-03-23 18:48:37] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13 [2018-03-23 18:48:37] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 18:48:37] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 18:48:37] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 18:48:37] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 18:48:37] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 18:48:37] >>> client_send: [Client 4] Sending payload: 57\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-23 18:48:37] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 18:48:37] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 18:49:30] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 18:49:30] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 18:49:30] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 18:49:30] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 18:49:30] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 18:49:30] >>> homekit_server_on_update_characteristics: Free heap: 8388 [2018-03-23 18:49:30] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 18:49:30] "aid": 1, [2018-03-23 18:49:30] "iid": 10, [2018-03-23 18:49:30] "ev": true [2018-03-23 18:49:30] } [2018-03-23 18:49:30] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 18:49:30] "aid": 1, [2018-03-23 18:49:30] "iid": 13, [2018-03-23 18:49:30] "ev": true [2018-03-23 18:49:30] } [2018-03-23 18:49:30] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 18:49:30] "aid": 1, [2018-03-23 18:49:30] "iid": 16, [2018-03-23 18:49:30] "ev": true [2018-03-23 18:49:30] } [2018-03-23 18:49:30] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 18:49:30] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 18:49:30] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 18:49:56] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 18:49:56] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 18:49:56] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 18:49:56] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 18:49:56] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 18:49:56] >>> homekit_server_on_update_characteristics: Free heap: 8304 [2018-03-23 18:49:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 18:49:56] "aid": 1, [2018-03-23 18:49:56] "iid": 10, [2018-03-23 18:49:56] "ev": false [2018-03-23 18:49:56] } [2018-03-23 18:49:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 18:49:56] "aid": 1, [2018-03-23 18:49:56] "iid": 13, [2018-03-23 18:49:56] "ev": false [2018-03-23 18:49:56] } [2018-03-23 18:49:56] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 18:49:56] "aid": 1, [2018-03-23 18:49:56] "iid": 16, [2018-03-23 18:49:56] "ev": false [2018-03-23 18:49:56] } [2018-03-23 18:49:56] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 18:49:56] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 18:49:56] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 19:45:16] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 19:45:16] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 19:45:16] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 19:45:16] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 19:45:16] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: Free heap: 8332 [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 19:45:16] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 19:45:16] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 19:45:16] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 19:45:16] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 19:45:16] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 19:45:27] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 19:45:27] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 19:45:27] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 19:45:27] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 19:45:27] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 19:45:27] >>> homekit_server_on_update_characteristics: Free heap: 8336 [2018-03-23 19:45:27] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 19:45:27] "aid": 1, [2018-03-23 19:45:27] "iid": 10, [2018-03-23 19:45:27] "ev": true [2018-03-23 19:45:27] } [2018-03-23 19:45:27] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 19:45:27] "aid": 1, [2018-03-23 19:45:27] "iid": 13, [2018-03-23 19:45:27] "ev": true [2018-03-23 19:45:27] } [2018-03-23 19:45:27] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 19:45:27] "aid": 1, [2018-03-23 19:45:27] "iid": 16, [2018-03-23 19:45:27] "ev": true [2018-03-23 19:45:27] } [2018-03-23 19:45:27] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 19:45:27] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 19:45:27] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 19:46:51] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 19:46:51] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 19:46:51] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 19:46:51] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 19:46:51] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 19:46:51] >>> homekit_server_on_update_characteristics: Free heap: 8252 [2018-03-23 19:46:51] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 19:46:51] "aid": 1, [2018-03-23 19:46:51] "iid": 10, [2018-03-23 19:46:51] "ev": false [2018-03-23 19:46:51] } [2018-03-23 19:46:51] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 19:46:51] "aid": 1, [2018-03-23 19:46:51] "iid": 13, [2018-03-23 19:46:51] "ev": false [2018-03-23 19:46:51] } [2018-03-23 19:46:51] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 19:46:51] "aid": 1, [2018-03-23 19:46:51] "iid": 16, [2018-03-23 19:46:51] "ev": false [2018-03-23 19:46:51] } [2018-03-23 19:46:51] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 19:46:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 19:46:51] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 21:34:36] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 21:34:36] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 21:34:36] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 21:34:36] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 21:34:36] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: Free heap: 8540 [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 21:34:36] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 21:34:36] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 21:34:36] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 21:34:36] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 21:34:36] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 21:34:42] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 21:34:42] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 21:34:42] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 21:34:42] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 21:34:42] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: Free heap: 8488 [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 21:34:42] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 21:34:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 21:34:42] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 21:34:42] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 21:34:42] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-23 21:34:47] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 21:34:47] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: Free heap: 8436 [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 21:34:47] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 21:34:47] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-23 21:34:47] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-23 21:34:47] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 21:34:47] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 21:34:47] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 21:34:47] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 21:34:47] >>> homekit_server_on_update_characteristics: Free heap: 8180 [2018-03-23 21:34:47] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 21:34:47] "aid": 1, [2018-03-23 21:34:47] "iid": 10, [2018-03-23 21:34:47] "ev": true [2018-03-23 21:34:47] } [2018-03-23 21:34:47] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 21:34:47] "aid": 1, [2018-03-23 21:34:47] "iid": 13, [2018-03-23 21:34:47] "ev": true [2018-03-23 21:34:47] } [2018-03-23 21:34:47] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 21:34:47] "aid": 1, [2018-03-23 21:34:47] "iid": 16, [2018-03-23 21:34:47] "ev": true [2018-03-23 21:34:47] } [2018-03-23 21:34:47] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 21:34:47] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 21:34:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 21:36:03] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 21:36:03] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 21:36:03] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 21:36:03] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 21:36:03] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 21:36:03] >>> homekit_server_on_update_characteristics: Free heap: 7972 [2018-03-23 21:36:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 21:36:03] "aid": 1, [2018-03-23 21:36:03] "iid": 10, [2018-03-23 21:36:03] "ev": false [2018-03-23 21:36:03] } [2018-03-23 21:36:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 21:36:03] "aid": 1, [2018-03-23 21:36:03] "iid": 13, [2018-03-23 21:36:03] "ev": false [2018-03-23 21:36:03] } [2018-03-23 21:36:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 21:36:03] "aid": 1, [2018-03-23 21:36:03] "iid": 16, [2018-03-23 21:36:03] "ev": false [2018-03-23 21:36:03] } [2018-03-23 21:36:03] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 21:36:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 21:36:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Got 105 incomming data [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Decrypted 87 bytes, available 0 [2018-03-23 23:56:17] Decrypted data (87 bytes): "GET /characteristics?id=1.10,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-23 23:56:17] >>> HomeKit: [Client 4] Get Characteristics [2018-03-23 23:56:17] >>> homekit_server_on_get_characteristics: Free heap: 8396 [2018-03-23 23:56:17] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13 [2018-03-23 23:56:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 23:56:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 23:56:17] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-23 23:56:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-23 23:56:17] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-23 23:56:17] >>> client_send: [Client 4] Sending payload: 57\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-23 23:56:17] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-23 23:56:17] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-23 23:56:17] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 23:56:17] >>> homekit_server_on_update_characteristics: Free heap: 8144 [2018-03-23 23:56:17] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 23:56:17] "aid": 1, [2018-03-23 23:56:17] "iid": 10, [2018-03-23 23:56:17] "ev": true [2018-03-23 23:56:17] } [2018-03-23 23:56:17] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 23:56:17] "aid": 1, [2018-03-23 23:56:17] "iid": 13, [2018-03-23 23:56:17] "ev": true [2018-03-23 23:56:17] } [2018-03-23 23:56:17] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 23:56:17] "aid": 1, [2018-03-23 23:56:17] "iid": 16, [2018-03-23 23:56:17] "ev": true [2018-03-23 23:56:17] } [2018-03-23 23:56:17] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 23:56:17] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 23:56:17] >>> homekit_client_process: [Client 4] Finished processing [2018-03-23 23:57:22] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-23 23:57:22] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-23 23:57:22] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-23 23:57:22] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-23 23:57:22] >>> HomeKit: [Client 4] Update Characteristics [2018-03-23 23:57:22] >>> homekit_server_on_update_characteristics: Free heap: 8076 [2018-03-23 23:57:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 23:57:22] "aid": 1, [2018-03-23 23:57:22] "iid": 10, [2018-03-23 23:57:22] "ev": false [2018-03-23 23:57:22] } [2018-03-23 23:57:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 23:57:22] "aid": 1, [2018-03-23 23:57:22] "iid": 13, [2018-03-23 23:57:22] "ev": false [2018-03-23 23:57:22] } [2018-03-23 23:57:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-23 23:57:22] "aid": 1, [2018-03-23 23:57:22] "iid": 16, [2018-03-23 23:57:22] "ev": false [2018-03-23 23:57:22] } [2018-03-23 23:57:22] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-23 23:57:22] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-23 23:57:22] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 00:13:31] >>> homekit_client_process: [Client 4] Got 105 incomming data [2018-03-24 00:13:31] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 00:13:31] >>> homekit_client_process: [Client 4] Decrypted 87 bytes, available 0 [2018-03-24 00:13:31] Decrypted data (87 bytes): "GET /characteristics?id=1.10,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 00:13:31] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 00:13:31] >>> homekit_server_on_get_characteristics: Free heap: 8356 [2018-03-24 00:13:31] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13 [2018-03-24 00:13:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 00:13:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 00:13:31] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 00:13:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 00:13:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 00:13:31] >>> client_send: [Client 4] Sending payload: 57\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-24 00:13:31] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 00:13:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 00:13:41] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 00:13:41] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 00:13:41] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 00:13:41] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 00:13:41] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 00:13:41] >>> homekit_server_on_update_characteristics: Free heap: 8104 [2018-03-24 00:13:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 00:13:41] "aid": 1, [2018-03-24 00:13:41] "iid": 10, [2018-03-24 00:13:41] "ev": true [2018-03-24 00:13:41] } [2018-03-24 00:13:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 00:13:41] "aid": 1, [2018-03-24 00:13:41] "iid": 13, [2018-03-24 00:13:41] "ev": true [2018-03-24 00:13:41] } [2018-03-24 00:13:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 00:13:41] "aid": 1, [2018-03-24 00:13:41] "iid": 16, [2018-03-24 00:13:41] "ev": true [2018-03-24 00:13:41] } [2018-03-24 00:13:41] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 00:13:41] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 00:13:41] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 00:17:20] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 00:17:20] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 00:17:20] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 00:17:20] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 00:17:20] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 00:17:20] >>> homekit_server_on_update_characteristics: Free heap: 8028 [2018-03-24 00:17:20] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 00:17:20] "aid": 1, [2018-03-24 00:17:20] "iid": 10, [2018-03-24 00:17:20] "ev": false [2018-03-24 00:17:20] } [2018-03-24 00:17:20] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 00:17:20] "aid": 1, [2018-03-24 00:17:20] "iid": 13, [2018-03-24 00:17:20] "ev": false [2018-03-24 00:17:20] } [2018-03-24 00:17:20] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 00:17:20] "aid": 1, [2018-03-24 00:17:20] "iid": 16, [2018-03-24 00:17:20] "ev": false [2018-03-24 00:17:20] } [2018-03-24 00:17:20] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 00:17:20] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 00:17:20] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 00:44:30] >>> HomeKit: [Client 7] Closing client connection [2018-03-24 00:44:31] >>> HomeKit: Got new client connection: 7 [2018-03-24 00:44:32] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-24 00:44:32] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-24 00:44:32] >>> homekit_server_on_pair_verify: Free heap: 8492 [2018-03-24 00:44:32] >>> tlv_debug: Got following TLV values: [2018-03-24 00:44:32] >>> tlv_debug: Type 3 value (32 bytes): =\xA5p\xC4\x99TH1\x04\xEC\xE8\xFE\xAC E\x07aCp\xBB\xE7\x10\x88\x98_NVv\xDE\x05XB [2018-03-24 00:44:32] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-24 00:44:32] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-24 00:44:32] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-24 00:44:32] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-24 00:44:33] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-24 00:44:33] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-24 00:44:34] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-24 00:44:36] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-24 00:44:36] >>> tlv_debug: Got following TLV values: [2018-03-24 00:44:36] >>> tlv_debug: Type 5 value (101 bytes): \x1F\x00\xFB\x0BP\x09w\xB5H\xA4$\xA8\xD1Yv%V\xC7t]\xE0:Q5\x17\xFF\xAB\x09\xD7%\xA6\xE55\xF9o"o/\xAD\xD3\xCB\xC4\xFA\xDB\xB6\xCE\x85\xD4WC\xBBQ\xF6\xA6\xA2\x98U\x02\x88\x97\xFB\xEA\x1E\x1C\x80\x93^z\xA1lj\x00\xF6\xAE\xB0\xAA\x0B\xC1B\xF2\x87\xBCN\x83\xDEV\x0DD\xE4d\xABv\xA1\x9Db1\xFEp\xEC7$ [2018-03-24 00:44:36] >>> tlv_debug: Type 3 value (32 bytes): \xD8\xABx\xC1\xAA\x91BV\x82wG`\xD6\xB1y\xCD\xA24\xEE\x0622\xC2o=>\xEAAg\x07\x12l [2018-03-24 00:44:36] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-24 00:44:36] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x1F\x00\xFB\x0BP\x09w\xB5H\xA4$\xA8\xD1Yv%V\xC7t]\xE0:Q5\x17\xFF\xAB\x09\xD7%\xA6\xE55\xF9o"o/\xAD\xD3\xCB\xC4\xFA\xDB\xB6\xCE\x85\xD4WC\xBBQ\xF6\xA6\xA2\x98U\x02\x88\x97\xFB\xEA\x1E\x1C\x80\x93^z\xA1lj\x00\xF6\xAE\xB0\xAA\x0B\xC1B\xF2\x87\xBCN\x83\xDEV\x0DD\xE4d\xABv\xA1\x9Db1\xFEp\xEC7$\x03 \xD8\xABx\xC1\xAA\x91BV\x82wG`\xD6\xB1y\xCD\xA24\xEE\x0622\xC2o=>\xEAAg\x07\x12l\x06\x01\x02 [2018-03-24 00:44:36] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:44:36] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: Free heap: 8200 [2018-03-24 00:44:36] >>> tlv_debug: Got following TLV values: [2018-03-24 00:44:36] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-24 00:44:36] >>> tlv_debug: Type 5 value (120 bytes): \x07\x8C\xE5\x05\xAF'\x11\\\xF4`N\xE8\x99K\x18.\xEE\xD1\xC1\x89]\xDB\xE6\xE1}\xC7l\x1B\x0D\x81\x1A\x93\x86\x97e\x0A\xB4\xA8\x95}@\x95 \x035\xA2\xB8\xA4\x81\xD1\xCBxG\x92\x10\xCBu\x10\x09s\xFCm\x93\xE2+\xD0z8\xB9@\xCAkB\x9B\xDE@%\xB9v\xFE\x13j\x91\xCAf\xF5\xEB\x14\x19I\xF5[\xAA\xED\xDEr\x1BR\xF5\xCC\xF4\x89qD\x9C\xA4\xEC\xE9\xEF\xB8\xD2<\xF2iD\x9B\xCDU\xB8 [2018-03-24 00:44:36] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-24 00:44:36] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-24 00:44:36] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-24 00:44:39] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-24 00:44:39] >>> tlv_debug: Got following TLV values: [2018-03-24 00:44:39] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-24 00:44:39] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-24 00:44:39] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-24 00:44:39] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:44:39] >>> HomeKit: [Client 7] Closing client connection [2018-03-24 00:45:00] >>> HomeKit: Got new client connection: 7 [2018-03-24 00:45:00] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-24 00:45:00] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-24 00:45:00] >>> homekit_server_on_pair_verify: Free heap: 6512 [2018-03-24 00:45:00] >>> tlv_debug: Got following TLV values: [2018-03-24 00:45:00] >>> tlv_debug: Type 3 value (32 bytes): \xE1\xA5\xBC\xEB\xF8\x03\xE4n\x0A\x91]K"B\xC5K\xEF\xAE\xCC\xAE>s5\xB0U\xE1\xA4\xA9ai\xA9\x14 [2018-03-24 00:45:00] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-24 00:45:00] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-24 00:45:00] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-24 00:45:00] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-24 00:45:01] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-24 00:45:01] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-24 00:45:02] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-24 00:45:04] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-24 00:45:04] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-24 00:45:04] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-24 00:45:04] >>> tlv_debug: Got following TLV values: [2018-03-24 00:45:04] >>> tlv_debug: Type 5 value (101 bytes): \x04\x85j\xD5'\x10S \xD5\xB6\x9D\x0C\x95\xFF\x89\xCCc\xBB\xDB]\xEBd\xA5j\xFD/\xFAN\xDAM\xA0\x8A^\xDA\x9A\xB3\x86\x8B]\x800\xEF\xBAl\xA3\xCA-u\x85V{\x00\x8F5DRJ\xB6|\x85\x0A\xC7\x0E\xF1\xB1\xFB(~\xB9\x86\xE9g\x85\x92\xD4\xA7M\xBF\x98\\V\x94\x03[\x13\x15\x88\xFB\xA4_\xCB\x8C\xDE\xC2\x8B\x9D\x15]\x8A\xD3 [2018-03-24 00:45:04] >>> tlv_debug: Type 3 value (32 bytes): W\x17yQ\x1B70\x12\xE8\x92\x1A\x13ZcU\x88\x1B2\xCC@\x03\x1B\xF9\x8Ak\xF8\xE1\x9F\xC9E, [2018-03-24 00:45:04] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-24 00:45:04] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x04\x85j\xD5'\x10S \xD5\xB6\x9D\x0C\x95\xFF\x89\xCCc\xBB\xDB]\xEBd\xA5j\xFD/\xFAN\xDAM\xA0\x8A^\xDA\x9A\xB3\x86\x8B]\x800\xEF\xBAl\xA3\xCA-u\x85V{\x00\x8F5DRJ\xB6|\x85\x0A\xC7\x0E\xF1\xB1\xFB(~\xB9\x86\xE9g\x85\x92\xD4\xA7M\xBF\x98\\V\x94\x03[\x13\x15\x88\xFB\xA4_\xCB\x8C\xDE\xC2\x8B\x9D\x15]\x8A\xD3\x03 W\x17yQ\x1B70\x12\xE8\x92\x1A\x13ZcU\x88\x1B2\xCC@\x03\x1B\xF9\x8Ak\xF8\xE1\x9F\xC9E,\x06\x01\x02 [2018-03-24 00:46:38] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:46:39] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-24 00:46:39] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-24 00:46:39] >>> homekit_server_on_pair_verify: Free heap: 8208 [2018-03-24 00:46:39] >>> tlv_debug: Got following TLV values: [2018-03-24 00:46:39] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-24 00:46:39] >>> tlv_debug: Type 5 value (120 bytes): w{\x19\xED\xE2\xCBq\xEF\xFD\xE6\xA2\x88"~\x87![\xE5o\xB45 \x14\x92./2od\xF0\x06P\x11\xFFR\xA1\xB99\xD4\x82\x0C\x83\xF2j\x0F\xCCl<\x9B*\x9Drm\x89l4\xC8\x8B\xA3+\xD0\x06\x8B1\x9Ej\x15\x81D+\xA0\xA2a\xAA{om\xD5\xE8\x98\x9B\xB9\xBD9\xA8\xA7\x89/\x82\xA4e\xBB\xA5!\x14\xDC\xED\xD3\xBC\xCE\x87u\xBA\x84a5\xB7\xE4\x09\xADj\x98=\xF31;\x1C1\xB7 [2018-03-24 00:46:39] >>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-24 00:46:39] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-24 00:46:39] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-24 00:46:39] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-24 00:46:39] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-24 00:46:42] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-24 00:46:42] >>> tlv_debug: Got following TLV values: [2018-03-24 00:46:42] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-24 00:46:42] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-24 00:46:42] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-24 00:46:42] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:46:42] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-24 00:46:42] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-24 00:46:42] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-24 00:46:42] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 00:46:42] >>> HomeKit: [Client 7] Get Accessories [2018-03-24 00:46:42] >>> homekit_server_on_get_accessories: Free heap: 8252 [2018-03-24 00:46:42] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 00:46:42] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-24 00:46:42] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-24 00:46:42] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 00:46:42] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:46:42] !!! HomeKit: [Client 7] Error reading data from socket (code 104). Disconnecting [2018-03-24 00:46:42] >>> HomeKit: [Client 7] Closing client connection [2018-03-24 00:47:42] >>> HomeKit: Got new client connection: 7 [2018-03-24 00:47:42] >>> homekit_client_process: [Client 7] Got 168 incomming data [2018-03-24 00:47:42] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-24 00:47:42] >>> homekit_server_on_pair_verify: Free heap: 8496 [2018-03-24 00:47:42] >>> tlv_debug: Got following TLV values: [2018-03-24 00:47:42] >>> tlv_debug: Type 3 value (32 bytes): \x13-\xDA5+_4\x9E\x87U\xC9e\x02\x17,^\xDBK\x9A\x0F"\x98\x04\xE7/\xE3\x97\xDD\x15\x97\xB7\x00 [2018-03-24 00:47:42] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-24 00:47:42] >>> HomeKit: [Client 7] Pair Verify Step 1/2 [2018-03-24 00:47:42] >>> homekit_server_on_pair_verify: [Client 7] Importing device Curve25519 public key [2018-03-24 00:47:42] >>> homekit_server_on_pair_verify: [Client 7] Generating accessory Curve25519 key [2018-03-24 00:47:43] >>> homekit_server_on_pair_verify: [Client 7] Exporting accessory Curve25519 public key [2018-03-24 00:47:43] >>> homekit_server_on_pair_verify: [Client 7] Generating Curve25519 shared secret [2018-03-24 00:47:44] >>> homekit_server_on_pair_verify: [Client 7] Generating signature [2018-03-24 00:47:46] >>> homekit_server_on_pair_verify: [Client 7] Generating proof [2018-03-24 00:47:46] >>> homekit_server_on_pair_verify: [Client 7] Encrypting response [2018-03-24 00:47:46] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-24 00:47:46] >>> tlv_debug: Got following TLV values: [2018-03-24 00:47:46] >>> tlv_debug: Type 5 value (101 bytes): }@\xA2\xCF\xDA\xC9nWRs\x14/\xF2?i\xEB\x9E/\xFA.\xBB\xFB7.\x9B\x02\xC5\xDA=\x16\xE2p\xEE\xA4\x1F:\xDFL\x14\xCBJ\xBC\xBE~\xAB\xFA\x19\x0E\xEE2|8\x15h\xD1e\x8A\x12ss[~\x03\x86\xE6\xC4_\xFA\x85\xD1\xAE;k\xC6\xCBy&y\xF8\xE3E\x1A\xD8\xED*8\xB1\xA6\xB6\xB0\x82b\xD3_\xD9\x0A\x19\xCE~ [2018-03-24 00:47:46] >>> tlv_debug: Type 3 value (32 bytes): \x00G\x90L\x11I\x15,\xDF\xCF\x15\x1B\xEB\xFC\xA3s*\x90?\xDC\x8C\xFC>CC\xB9\xAC\x9E;\xDDB\x0C [2018-03-24 00:47:46] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-24 00:47:46] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e}@\xA2\xCF\xDA\xC9nWRs\x14/\xF2?i\xEB\x9E/\xFA.\xBB\xFB7.\x9B\x02\xC5\xDA=\x16\xE2p\xEE\xA4\x1F:\xDFL\x14\xCBJ\xBC\xBE~\xAB\xFA\x19\x0E\xEE2|8\x15h\xD1e\x8A\x12ss[~\x03\x86\xE6\xC4_\xFA\x85\xD1\xAE;k\xC6\xCBy&y\xF8\xE3E\x1A\xD8\xED*8\xB1\xA6\xB6\xB0\x82b\xD3_\xD9\x0A\x19\xCE~\x03 \x00G\x90L\x11I\x15,\xDF\xCF\x15\x1B\xEB\xFC\xA3s*\x90?\xDC\x8C\xFC>CC\xB9\xAC\x9E;\xDDB\x0C\x06\x01\x02 [2018-03-24 00:47:46] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:47:47] >>> homekit_client_process: [Client 7] Got 257 incomming data [2018-03-24 00:47:47] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-24 00:47:47] >>> homekit_server_on_pair_verify: Free heap: 7828 [2018-03-24 00:47:47] >>> tlv_debug: Got following TLV values: [2018-03-24 00:47:47] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-24 00:47:47] >>> tlv_debug: Type 5 value (120 bytes): \x1B\x86\x97m\xCB\x0D\xA0L./N@9JHWI]B\xBF\x01\x13x\xBB\xA8&\xBE\x14(\xE3\xFB\x07AX4G\xCA\x06\x94\xD3\x83\xD5Cm\xB0\x01{\x99"\xA5\xA5\x1B)\xF2\xAEm\xF1\x15\x9BN\xC7\xD6\xC2\xEC\xC2G\x15:m4s\x91\xEB\xFB\xED\xB2>> HomeKit: [Client 7] Pair Verify Step 2/2 [2018-03-24 00:47:47] >>> homekit_server_on_pair_verify: [Client 7] Decrypting payload [2018-03-24 00:47:47] >>> homekit_server_on_pair_verify: [Client 7] Searching pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-24 00:47:47] >>> HomeKit: [Client 7] Found pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269 [2018-03-24 00:47:47] >>> homekit_server_on_pair_verify: [Client 7] Verifying device signature [2018-03-24 00:47:50] >>> send_tlv_response: [Client 7] Sending TLV response [2018-03-24 00:47:50] >>> tlv_debug: Got following TLV values: [2018-03-24 00:47:50] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-24 00:47:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-24 00:47:50] >>> HomeKit: [Client 7] Verification successful, secure session established [2018-03-24 00:47:50] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 00:47:50] >>> homekit_client_process: [Client 7] Got 88 incomming data [2018-03-24 00:47:50] >>> homekit_client_process: [Client 7] Decrypting data [2018-03-24 00:47:50] >>> homekit_client_process: [Client 7] Decrypted 70 bytes, available 0 [2018-03-24 00:47:50] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 00:47:50] >>> HomeKit: [Client 7] Get Accessories [2018-03-24 00:47:50] >>> homekit_server_on_get_accessories: Free heap: 8380 [2018-03-24 00:47:50] >>> client_send: [Client 7] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 00:47:50] >>> client_send: [Client 7] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-24 00:47:50] >>> client_send: [Client 7] Sending payload: 27d\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":false}]}]}]}\x0D\x0A [2018-03-24 00:47:50] >>> client_send: [Client 7] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 00:47:50] >>> homekit_client_process: [Client 7] Finished processing [2018-03-24 08:17:47] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 08:17:47] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 08:17:47] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 08:17:47] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 08:17:47] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 08:17:47] >>> homekit_server_on_get_characteristics: Free heap: 8188 [2018-03-24 08:17:47] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-24 08:17:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 08:17:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 08:17:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 08:17:48] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 08:17:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 08:17:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 08:17:48] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 08:17:48] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-24 08:17:48] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 08:17:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 08:17:56] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 08:17:56] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 08:17:56] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 08:17:56] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 08:17:56] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: Free heap: 7852 [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 08:17:56] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 08:17:56] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 08:17:56] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-24 08:17:56] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 08:17:56] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 12:18:53] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 12:18:53] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 12:18:53] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 12:18:53] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 12:18:53] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: Free heap: 7936 [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 12:18:53] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 12:18:53] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 12:18:53] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 12:18:53] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 12:18:53] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 12:19:03] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 12:19:03] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 12:19:03] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 12:19:03] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 12:19:03] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 12:19:03] >>> homekit_server_on_update_characteristics: Free heap: 7940 [2018-03-24 12:19:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:19:03] "aid": 1, [2018-03-24 12:19:03] "iid": 10, [2018-03-24 12:19:03] "ev": true [2018-03-24 12:19:03] } [2018-03-24 12:19:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:19:03] "aid": 1, [2018-03-24 12:19:03] "iid": 13, [2018-03-24 12:19:03] "ev": true [2018-03-24 12:19:03] } [2018-03-24 12:19:03] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:19:03] "aid": 1, [2018-03-24 12:19:03] "iid": 16, [2018-03-24 12:19:03] "ev": true [2018-03-24 12:19:03] } [2018-03-24 12:19:03] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 12:19:03] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 12:19:03] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 12:19:03] >>> homekit_client_process: [Client 4] Got 198 incomming data [2018-03-24 12:19:04] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 12:19:04] >>> homekit_client_process: [Client 4] Decrypted 180 bytes, available 0 [2018-03-24 12:19:04] Decrypted data (180 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 50\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":1}]}" [2018-03-24 12:19:04] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 12:19:04] >>> homekit_server_on_update_characteristics: Free heap: 7992 [2018-03-24 12:19:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:19:04] "aid": 1, [2018-03-24 12:19:04] "iid": 10, [2018-03-24 12:19:04] "value": 1 [2018-03-24 12:19:04] } [2018-03-24 12:19:04] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 12:19:04] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 12:19:04] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 12:19:06] >>> homekit_client_process: [Client 4] Got 198 incomming data [2018-03-24 12:19:06] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 12:19:06] >>> homekit_client_process: [Client 4] Decrypted 180 bytes, available 0 [2018-03-24 12:19:06] Decrypted data (180 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 50\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":0}]}" [2018-03-24 12:19:06] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 12:19:06] >>> homekit_server_on_update_characteristics: Free heap: 7992 [2018-03-24 12:19:06] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:19:06] "aid": 1, [2018-03-24 12:19:06] "iid": 10, [2018-03-24 12:19:06] "value": 0 [2018-03-24 12:19:06] } [2018-03-24 12:19:06] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 12:19:06] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 12:19:06] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 12:20:22] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 12:20:22] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 12:20:22] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 12:20:22] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 12:20:22] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 12:20:22] >>> homekit_server_on_update_characteristics: Free heap: 7868 [2018-03-24 12:20:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:20:22] "aid": 1, [2018-03-24 12:20:22] "iid": 10, [2018-03-24 12:20:22] "ev": false [2018-03-24 12:20:22] } [2018-03-24 12:20:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:20:22] "aid": 1, [2018-03-24 12:20:22] "iid": 13, [2018-03-24 12:20:22] "ev": false [2018-03-24 12:20:22] } [2018-03-24 12:20:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 12:20:22] "aid": 1, [2018-03-24 12:20:22] "iid": 16, [2018-03-24 12:20:22] "ev": false [2018-03-24 12:20:22] } [2018-03-24 12:20:22] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 12:20:22] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 12:20:22] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 16:19:14] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 16:19:14] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 16:19:14] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 16:19:14] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 16:19:14] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: Free heap: 7884 [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 16:19:14] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 16:19:14] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 16:19:14] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 16:19:14] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 16:19:14] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 16:19:24] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 16:19:24] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 16:19:24] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 16:19:24] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 16:19:24] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 16:19:24] >>> homekit_server_on_update_characteristics: Free heap: 7888 [2018-03-24 16:19:24] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 16:19:24] "aid": 1, [2018-03-24 16:19:24] "iid": 10, [2018-03-24 16:19:24] "ev": true [2018-03-24 16:19:24] } [2018-03-24 16:19:24] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 16:19:24] "aid": 1, [2018-03-24 16:19:24] "iid": 13, [2018-03-24 16:19:24] "ev": true [2018-03-24 16:19:24] } [2018-03-24 16:19:24] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 16:19:24] "aid": 1, [2018-03-24 16:19:24] "iid": 16, [2018-03-24 16:19:24] "ev": true [2018-03-24 16:19:24] } [2018-03-24 16:19:24] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 16:19:24] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 16:19:24] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 16:20:32] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 16:20:32] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 16:20:32] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 16:20:32] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 16:20:37] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 16:20:37] >>> homekit_server_on_update_characteristics: Free heap: 7820 [2018-03-24 16:20:37] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 16:20:37] "aid": 1, [2018-03-24 16:20:37] "iid": 10, [2018-03-24 16:20:37] "ev": false [2018-03-24 16:20:37] } [2018-03-24 16:20:37] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 16:20:37] "aid": 1, [2018-03-24 16:20:37] "iid": 13, [2018-03-24 16:20:37] "ev": false [2018-03-24 16:20:37] } [2018-03-24 16:20:37] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 16:20:37] "aid": 1, [2018-03-24 16:20:37] "iid": 16, [2018-03-24 16:20:37] "ev": false [2018-03-24 16:20:37] } [2018-03-24 16:20:37] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 16:20:37] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 16:20:37] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 19:16:06] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 19:16:06] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 19:16:06] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 19:16:06] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 19:16:06] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: Free heap: 7856 [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 19:16:06] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 19:16:06] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 19:16:06] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 19:16:06] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 19:16:06] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 19:16:16] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 19:16:16] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 19:16:16] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 19:16:16] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 19:16:16] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 19:16:16] >>> homekit_server_on_update_characteristics: Free heap: 7840 [2018-03-24 19:16:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 19:16:16] "aid": 1, [2018-03-24 19:16:16] "iid": 10, [2018-03-24 19:16:16] "ev": true [2018-03-24 19:16:16] } [2018-03-24 19:16:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 19:16:16] "aid": 1, [2018-03-24 19:16:16] "iid": 13, [2018-03-24 19:16:16] "ev": true [2018-03-24 19:16:16] } [2018-03-24 19:16:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 19:16:16] "aid": 1, [2018-03-24 19:16:16] "iid": 16, [2018-03-24 19:16:16] "ev": true [2018-03-24 19:16:16] } [2018-03-24 19:16:16] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 19:16:16] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 19:16:16] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 19:17:29] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 19:17:29] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 19:17:29] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 19:17:29] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 19:17:29] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 19:17:29] >>> homekit_server_on_update_characteristics: Free heap: 7764 [2018-03-24 19:17:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 19:17:29] "aid": 1, [2018-03-24 19:17:29] "iid": 10, [2018-03-24 19:17:29] "ev": false [2018-03-24 19:17:29] } [2018-03-24 19:17:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 19:17:29] "aid": 1, [2018-03-24 19:17:29] "iid": 13, [2018-03-24 19:17:29] "ev": false [2018-03-24 19:17:29] } [2018-03-24 19:17:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 19:17:29] "aid": 1, [2018-03-24 19:17:29] "iid": 16, [2018-03-24 19:17:29] "ev": false [2018-03-24 19:17:29] } [2018-03-24 19:17:29] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 19:17:29] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 19:17:29] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:05] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 20:51:05] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:05] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 20:51:05] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:05] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: Free heap: 8040 [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:05] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:05] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:05] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 20:51:05] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:05] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:08] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 20:51:08] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:08] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 20:51:08] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:08] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: Free heap: 8000 [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:08] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:08] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 20:51:08] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:08] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:12] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 20:51:12] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:12] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 20:51:12] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:12] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: Free heap: 7952 [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:12] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:12] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:12] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 20:51:12] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:12] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:16] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 20:51:16] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:16] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 20:51:16] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 20:51:16] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 20:51:16] >>> homekit_server_on_update_characteristics: Free heap: 7696 [2018-03-24 20:51:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:51:16] "aid": 1, [2018-03-24 20:51:16] "iid": 10, [2018-03-24 20:51:16] "ev": true [2018-03-24 20:51:16] } [2018-03-24 20:51:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:51:16] "aid": 1, [2018-03-24 20:51:16] "iid": 13, [2018-03-24 20:51:16] "ev": true [2018-03-24 20:51:16] } [2018-03-24 20:51:16] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:51:16] "aid": 1, [2018-03-24 20:51:16] "iid": 16, [2018-03-24 20:51:16] "ev": true [2018-03-24 20:51:16] } [2018-03-24 20:51:16] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 20:51:16] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 20:51:16] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:18] >>> homekit_client_process: [Client 4] Got 105 incomming data [2018-03-24 20:51:18] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:18] >>> homekit_client_process: [Client 4] Decrypted 87 bytes, available 0 [2018-03-24 20:51:18] Decrypted data (87 bytes): "GET /characteristics?id=1.10,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:18] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:18] >>> homekit_server_on_get_characteristics: Free heap: 7848 [2018-03-24 20:51:18] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13 [2018-03-24 20:51:18] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:18] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:18] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:18] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:18] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:18] >>> client_send: [Client 4] Sending payload: 57\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-24 20:51:18] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:18] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:19] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 20:51:19] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:19] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 20:51:19] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:19] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: Free heap: 7800 [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:19] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:19] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 20:51:19] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:19] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:28] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 20:51:28] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:28] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 20:51:28] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:28] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: Free heap: 7752 [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:28] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:28] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:28] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 20:51:28] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:28] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:29] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 20:51:29] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:29] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 20:51:29] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 20:51:29] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 20:51:29] >>> homekit_server_on_update_characteristics: Free heap: 7492 [2018-03-24 20:51:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:51:29] "aid": 1, [2018-03-24 20:51:29] "iid": 10, [2018-03-24 20:51:29] "ev": true [2018-03-24 20:51:29] } [2018-03-24 20:51:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:51:29] "aid": 1, [2018-03-24 20:51:29] "iid": 13, [2018-03-24 20:51:29] "ev": true [2018-03-24 20:51:29] } [2018-03-24 20:51:29] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:51:29] "aid": 1, [2018-03-24 20:51:29] "iid": 16, [2018-03-24 20:51:29] "ev": true [2018-03-24 20:51:29] } [2018-03-24 20:51:29] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 20:51:29] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 20:51:29] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:51:50] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 20:51:50] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:51:50] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 20:51:50] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 20:51:50] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: Free heap: 7700 [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:50] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 20:51:50] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 20:51:50] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 20:51:50] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 20:51:50] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 20:53:04] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 20:53:04] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 20:53:04] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 20:53:04] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 20:53:04] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 20:53:04] >>> homekit_server_on_update_characteristics: Free heap: 7436 [2018-03-24 20:53:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:53:04] "aid": 1, [2018-03-24 20:53:04] "iid": 10, [2018-03-24 20:53:04] "ev": false [2018-03-24 20:53:04] } [2018-03-24 20:53:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:53:04] "aid": 1, [2018-03-24 20:53:04] "iid": 13, [2018-03-24 20:53:04] "ev": false [2018-03-24 20:53:04] } [2018-03-24 20:53:04] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 20:53:04] "aid": 1, [2018-03-24 20:53:04] "iid": 16, [2018-03-24 20:53:04] "ev": false [2018-03-24 20:53:04] } [2018-03-24 20:53:04] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 20:53:04] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 20:53:04] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 21:35:42] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 21:35:42] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 21:35:42] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 21:35:42] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 21:35:42] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: Free heap: 7712 [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 21:35:42] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 21:35:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 21:35:42] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 21:35:42] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 21:35:42] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 21:36:11] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 21:36:11] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 21:36:11] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 21:36:11] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 21:36:11] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 21:36:11] >>> homekit_server_on_update_characteristics: Free heap: 7456 [2018-03-24 21:36:11] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 21:36:11] "aid": 1, [2018-03-24 21:36:11] "iid": 10, [2018-03-24 21:36:11] "ev": true [2018-03-24 21:36:11] } [2018-03-24 21:36:11] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 21:36:11] "aid": 1, [2018-03-24 21:36:11] "iid": 13, [2018-03-24 21:36:11] "ev": true [2018-03-24 21:36:11] } [2018-03-24 21:36:11] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 21:36:11] "aid": 1, [2018-03-24 21:36:11] "iid": 16, [2018-03-24 21:36:11] "ev": true [2018-03-24 21:36:11] } [2018-03-24 21:36:11] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 21:36:11] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 21:36:11] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 21:36:58] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 21:36:58] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 21:36:58] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 21:36:58] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 21:36:58] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 21:36:58] >>> homekit_server_on_update_characteristics: Free heap: 7248 [2018-03-24 21:36:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 21:36:58] "aid": 1, [2018-03-24 21:36:58] "iid": 10, [2018-03-24 21:36:58] "ev": false [2018-03-24 21:36:58] } [2018-03-24 21:36:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 21:36:58] "aid": 1, [2018-03-24 21:36:58] "iid": 13, [2018-03-24 21:36:58] "ev": false [2018-03-24 21:36:58] } [2018-03-24 21:36:58] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 21:36:58] "aid": 1, [2018-03-24 21:36:58] "iid": 16, [2018-03-24 21:36:58] "ev": false [2018-03-24 21:36:58] } [2018-03-24 21:36:58] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 21:36:58] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 21:36:58] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:39:08] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:39:08] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:39:08] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:39:08] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:39:08] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: Free heap: 7664 [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:39:08] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:39:08] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:39:08] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:39:08] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:39:08] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:39:08] >>> mdns_reply could not alloc 1460 [2018-03-24 22:39:18] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 22:39:18] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:39:18] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 22:39:18] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 22:39:18] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 22:39:18] >>> homekit_server_on_update_characteristics: Free heap: 7408 [2018-03-24 22:39:18] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:39:18] "aid": 1, [2018-03-24 22:39:18] "iid": 10, [2018-03-24 22:39:18] "ev": true [2018-03-24 22:39:18] } [2018-03-24 22:39:18] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:39:18] "aid": 1, [2018-03-24 22:39:18] "iid": 13, [2018-03-24 22:39:18] "ev": true [2018-03-24 22:39:18] } [2018-03-24 22:39:18] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:39:18] "aid": 1, [2018-03-24 22:39:18] "iid": 16, [2018-03-24 22:39:18] "ev": true [2018-03-24 22:39:18] } [2018-03-24 22:39:18] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 22:39:18] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 22:39:18] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:40:21] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 22:40:21] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:40:21] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 22:40:21] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 22:40:21] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 22:40:21] >>> homekit_server_on_update_characteristics: Free heap: 7336 [2018-03-24 22:40:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:40:21] "aid": 1, [2018-03-24 22:40:21] "iid": 10, [2018-03-24 22:40:21] "ev": false [2018-03-24 22:40:21] } [2018-03-24 22:40:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:40:21] "aid": 1, [2018-03-24 22:40:21] "iid": 13, [2018-03-24 22:40:21] "ev": false [2018-03-24 22:40:21] } [2018-03-24 22:40:21] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:40:21] "aid": 1, [2018-03-24 22:40:21] "iid": 16, [2018-03-24 22:40:21] "ev": false [2018-03-24 22:40:21] } [2018-03-24 22:40:21] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 22:40:21] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 22:40:21] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:52:54] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:52:54] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:52:54] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:52:54] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:52:54] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: Free heap: 7612 [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:52:54] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:52:54] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:52:54] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:52:54] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:52:54] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:53:05] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-24 22:53:05] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:53:05] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-24 22:53:05] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-24 22:53:05] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 22:53:05] >>> homekit_server_on_update_characteristics: Free heap: 7356 [2018-03-24 22:53:05] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:53:05] "aid": 1, [2018-03-24 22:53:05] "iid": 10, [2018-03-24 22:53:05] "ev": true [2018-03-24 22:53:05] } [2018-03-24 22:53:05] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:53:05] "aid": 1, [2018-03-24 22:53:05] "iid": 13, [2018-03-24 22:53:05] "ev": true [2018-03-24 22:53:05] } [2018-03-24 22:53:05] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 22:53:05] "aid": 1, [2018-03-24 22:53:05] "iid": 16, [2018-03-24 22:53:05] "ev": true [2018-03-24 22:53:05] } [2018-03-24 22:53:05] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 22:53:05] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 22:53:05] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:53:41] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:53:41] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:53:41] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:53:41] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:53:41] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: Free heap: 7500 [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:53:41] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:53:41] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:53:41] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:53:41] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:53:41] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:54:52] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:54:52] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:54:52] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:54:52] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:54:52] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: Free heap: 7452 [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:54:52] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:54:52] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:54:52] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:54:52] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:54:52] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:54:52] >>> mdns_reply could not alloc 1460 [2018-03-24 22:55:35] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:55:35] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:55:35] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:55:35] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:55:35] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: Free heap: 7400 [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:55:35] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:55:35] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:55:35] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:55:35] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:55:35] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:56:07] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:56:07] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:56:07] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:56:07] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:56:07] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: Free heap: 7348 [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:56:07] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:56:07] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:56:07] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:56:07] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:56:07] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:56:42] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:56:42] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:56:42] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:56:42] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:56:42] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: Free heap: 7300 [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:56:42] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:56:42] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:56:42] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-24 22:56:42] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:56:42] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 22:57:27] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-24 22:57:27] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 22:57:27] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-24 22:57:27] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.16,1.13 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-24 22:57:27] >>> HomeKit: [Client 4] Get Characteristics [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: Free heap: 7252 [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.16,1.13 [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:57:27] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-24 22:57:27] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-24 22:57:27] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":16,"value":false},{"aid":1,"iid":13,"value":false}]}\x0D\x0A [2018-03-24 22:57:27] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-24 22:57:27] >>> homekit_client_process: [Client 4] Finished processing [2018-03-24 23:00:22] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-24 23:00:22] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-24 23:00:22] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-24 23:00:22] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-24 23:00:22] >>> HomeKit: [Client 4] Update Characteristics [2018-03-24 23:00:22] >>> homekit_server_on_update_characteristics: Free heap: 6856 [2018-03-24 23:00:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 23:00:22] "aid": 1, [2018-03-24 23:00:22] "iid": 10, [2018-03-24 23:00:22] "ev": false [2018-03-24 23:00:22] } [2018-03-24 23:00:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 23:00:22] "aid": 1, [2018-03-24 23:00:22] "iid": 13, [2018-03-24 23:00:22] "ev": false [2018-03-24 23:00:22] } [2018-03-24 23:00:22] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-24 23:00:22] "aid": 1, [2018-03-24 23:00:22] "iid": 16, [2018-03-24 23:00:22] "ev": false [2018-03-24 23:00:22] } [2018-03-24 23:00:22] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-24 23:00:22] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-24 23:00:22] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:23:30] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-25 09:23:30] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:23:30] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-25 09:23:30] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-25 09:23:30] >>> HomeKit: [Client 4] Get Characteristics [2018-03-25 09:23:30] >>> homekit_server_on_get_characteristics: Free heap: 7272 [2018-03-25 09:23:30] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-25 09:23:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-25 09:23:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-25 09:23:30] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-25 09:23:30] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-25 09:23:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-25 09:23:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-25 09:23:31] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-25 09:23:31] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-25 09:23:31] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-25 09:23:31] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:23:40] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-25 09:23:40] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:23:40] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-25 09:23:41] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-25 09:23:41] >>> HomeKit: [Client 4] Update Characteristics [2018-03-25 09:23:41] >>> homekit_server_on_update_characteristics: Free heap: 7016 [2018-03-25 09:23:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:23:41] "aid": 1, [2018-03-25 09:23:41] "iid": 10, [2018-03-25 09:23:41] "ev": true [2018-03-25 09:23:41] } [2018-03-25 09:23:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:23:41] "aid": 1, [2018-03-25 09:23:41] "iid": 13, [2018-03-25 09:23:41] "ev": true [2018-03-25 09:23:41] } [2018-03-25 09:23:41] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:23:41] "aid": 1, [2018-03-25 09:23:41] "iid": 16, [2018-03-25 09:23:41] "ev": true [2018-03-25 09:23:41] } [2018-03-25 09:23:41] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-25 09:23:41] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-25 09:23:41] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:23:41] >>> mdns_reply could not alloc 1460 [2018-03-25 09:24:19] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-25 09:24:19] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:24:19] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-25 09:24:19] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-25 09:24:19] >>> HomeKit: [Client 4] Get Characteristics [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: Free heap: 7160 [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-25 09:24:19] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-25 09:24:19] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-25 09:24:19] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-25 09:24:19] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-25 09:24:19] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:25:38] >>> homekit_client_process: [Client 4] Got 110 incomming data [2018-03-25 09:25:38] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:25:38] >>> homekit_client_process: [Client 4] Decrypted 92 bytes, available 0 [2018-03-25 09:25:38] Decrypted data (92 bytes): "GET /characteristics?id=1.10,1.13,1.16 HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-25 09:25:38] >>> HomeKit: [Client 4] Get Characteristics [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: Free heap: 7112 [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Query paramter id = 1.10,1.13,1.16 [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-25 09:25:38] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.10 [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.13 [2018-03-25 09:25:38] >>> homekit_server_on_get_characteristics: [Client 4] Requested characteristic info for 1.16 [2018-03-25 09:25:38] >>> client_send: [Client 4] Sending payload: 78\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"value":false},{"aid":1,"iid":13,"value":false},{"aid":1,"iid":16,"value":false}]}\x0D\x0A [2018-03-25 09:25:39] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-25 09:25:39] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:25:44] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-25 09:25:44] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:25:44] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-25 09:25:44] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-25 09:25:44] >>> HomeKit: [Client 4] Update Characteristics [2018-03-25 09:25:44] >>> homekit_server_on_update_characteristics: Free heap: 6840 [2018-03-25 09:25:44] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:25:44] "aid": 1, [2018-03-25 09:25:44] "iid": 10, [2018-03-25 09:25:44] "ev": false [2018-03-25 09:25:44] } [2018-03-25 09:25:44] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:25:44] "aid": 1, [2018-03-25 09:25:44] "iid": 13, [2018-03-25 09:25:44] "ev": false [2018-03-25 09:25:44] } [2018-03-25 09:25:44] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:25:44] "aid": 1, [2018-03-25 09:25:44] "iid": 16, [2018-03-25 09:25:44] "ev": false [2018-03-25 09:25:44] } [2018-03-25 09:25:44] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-25 09:25:44] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-25 09:25:44] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:25:49] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-25 09:25:49] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:25:49] >>> homekit_client_process: [Client 4] Decrypted 239 bytes, available 0 [2018-03-25 09:25:49] Decrypted data (239 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 108\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":true},{"aid":1,"iid":13,"ev":true},{"aid":1,"iid":16,"ev":true}]}" [2018-03-25 09:25:49] >>> HomeKit: [Client 4] Update Characteristics [2018-03-25 09:25:49] >>> homekit_server_on_update_characteristics: Free heap: 6912 [2018-03-25 09:25:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:25:49] "aid": 1, [2018-03-25 09:25:49] "iid": 10, [2018-03-25 09:25:49] "ev": true [2018-03-25 09:25:49] } [2018-03-25 09:25:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:25:49] "aid": 1, [2018-03-25 09:25:49] "iid": 13, [2018-03-25 09:25:49] "ev": true [2018-03-25 09:25:49] } [2018-03-25 09:25:49] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:25:49] "aid": 1, [2018-03-25 09:25:49] "iid": 16, [2018-03-25 09:25:49] "ev": true [2018-03-25 09:25:49] } [2018-03-25 09:25:49] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-25 09:25:49] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-25 09:25:49] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:26:57] >>> homekit_client_process: [Client 4] Got 260 incomming data [2018-03-25 09:26:57] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:26:57] >>> homekit_client_process: [Client 4] Decrypted 242 bytes, available 0 [2018-03-25 09:26:57] Decrypted data (242 bytes): "PUT /characteristics HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0AContent-Length: 111\x0D\x0AContent-Type: application/hap+json\x0D\x0A\x0D\x0A{"characteristics":[{"aid":1,"iid":10,"ev":false},{"aid":1,"iid":13,"ev":false},{"aid":1,"iid":16,"ev":false}]}" [2018-03-25 09:26:57] >>> HomeKit: [Client 4] Update Characteristics [2018-03-25 09:26:57] >>> homekit_server_on_update_characteristics: Free heap: 6836 [2018-03-25 09:26:57] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:26:57] "aid": 1, [2018-03-25 09:26:57] "iid": 10, [2018-03-25 09:26:57] "ev": false [2018-03-25 09:26:57] } [2018-03-25 09:26:57] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:26:57] "aid": 1, [2018-03-25 09:26:57] "iid": 13, [2018-03-25 09:26:57] "ev": false [2018-03-25 09:26:57] } [2018-03-25 09:26:57] >>> homekit_server_on_update_characteristics: [Client 4] Processing element { [2018-03-25 09:26:57] "aid": 1, [2018-03-25 09:26:57] "iid": 16, [2018-03-25 09:26:57] "ev": false [2018-03-25 09:26:57] } [2018-03-25 09:26:57] >>> homekit_server_on_update_characteristics: [Client 4] There were no processing errors, sending No Content response [2018-03-25 09:26:57] >>> client_send: [Client 4] Sending payload: HTTP/1.1 204 No Content\x0D\x0A\x0D\x0A [2018-03-25 09:26:57] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:51:42] >>> HomeKit: [Client 4] Closing client connection [2018-03-25 09:51:43] >>> HomeKit: Got new client connection: 4 [2018-03-25 09:51:43] >>> homekit_client_process: [Client 4] Got 168 incomming data [2018-03-25 09:51:43] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-25 09:51:43] >>> homekit_server_on_pair_verify: Free heap: 7304 [2018-03-25 09:51:43] >>> tlv_debug: Got following TLV values: [2018-03-25 09:51:43] >>> tlv_debug: Type 3 value (32 bytes): \xABN@(\xDA}\x1A\xAE\xD6\x8CV\\E\x06\xBC\xDD~CP\x92\xCAd\xE9\xFDv\x8D\x91U\xFC\xAA5n [2018-03-25 09:51:43] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-25 09:51:43] >>> HomeKit: [Client 4] Pair Verify Step 1/2 [2018-03-25 09:51:43] >>> homekit_server_on_pair_verify: [Client 4] Importing device Curve25519 public key [2018-03-25 09:51:43] >>> homekit_server_on_pair_verify: [Client 4] Generating accessory Curve25519 key [2018-03-25 09:51:45] >>> homekit_server_on_pair_verify: [Client 4] Exporting accessory Curve25519 public key [2018-03-25 09:51:45] >>> homekit_server_on_pair_verify: [Client 4] Generating Curve25519 shared secret [2018-03-25 09:51:46] >>> homekit_server_on_pair_verify: [Client 4] Generating signature [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: [Client 4] Generating proof [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: [Client 4] Encrypting response [2018-03-25 09:51:48] >>> send_tlv_response: [Client 4] Sending TLV response [2018-03-25 09:51:48] >>> tlv_debug: Got following TLV values: [2018-03-25 09:51:48] >>> tlv_debug: Type 5 value (101 bytes): /\x10\x99\x92\xBB\xB0\xB1k\xC3\x14S\x96\x95\x16\xBC\xDE'\xE4+m\xDDk\xBB>\x17>R2my\x99\xA9\xE9c/\xDF\x14,g\xD0pA\xDC\xE3g>\xF5\x82\x02\xA0\xC6\x8C\xB5\xDAv\xFBm\xC3\xBF\xCC$\xB9\xB0\xFB!6\xEBy,;]/k\xD3\x11dk\x9Ab"\xF3\x83\xACyX\xBD\xEE\xAE\x03\x8EFy}`\xAE\xFB\xE8\xDE\xD2\xF7\x97 [2018-03-25 09:51:48] >>> tlv_debug: Type 3 value (32 bytes): \xA3\x8Ak\x9E\xA9\xDBw^Z\x96*.\xD4\x86=%\x11!_\x1F\x87:\x8D-D\x1F\x02\xFFP:mT [2018-03-25 09:51:48] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-25 09:51:48] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e/\x10\x99\x92\xBB\xB0\xB1k\xC3\x14S\x96\x95\x16\xBC\xDE'\xE4+m\xDDk\xBB>\x17>R2my\x99\xA9\xE9c/\xDF\x14,g\xD0pA\xDC\xE3g>\xF5\x82\x02\xA0\xC6\x8C\xB5\xDAv\xFBm\xC3\xBF\xCC$\xB9\xB0\xFB!6\xEBy,;]/k\xD3\x11dk\x9Ab"\xF3\x83\xACyX\xBD\xEE\xAE\x03\x8EFy}`\xAE\xFB\xE8\xDE\xD2\xF7\x97\x03 \xA3\x8Ak\x9E\xA9\xDBw^Z\x96*.\xD4\x86=%\x11!_\x1F\x87:\x8D-D\x1F\x02\xFFP:mT\x06\x01\x02 [2018-03-25 09:51:48] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:51:48] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: Free heap: 7016 [2018-03-25 09:51:48] >>> tlv_debug: Got following TLV values: [2018-03-25 09:51:48] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-25 09:51:48] >>> tlv_debug: Type 5 value (120 bytes): \x8A&\xCC}\x00&\x99;\x98\x93\xDA*O\xCD\x13\xD0Ct\x99\xBE\x02\x0C\x8ET\x12\x93\x1F\xBC\x9C\xE4\xB8\xF4\xE6}\xBE8l\x17\x8F\x9D\x81\xB6\x8A`\xF8;X\x83\x8A\xDF@\xA9s\x8E\xFD\xB1\xF9\x97n\xD4X\x96EA'w\xF6\xBE\xA2\x02\xD2\xB2k\xEBbE\xE2\xE2\xA3\x97 \xED4o\xB5\x84\xF9\xBD[\xF1\xA5\x93\xA5Ve0$\x9DH5S;m\xB6\xAC\xD5\xCE;V\xFAZ\xC8zS\x17\xAB\xD1m\x9B\xE1 [2018-03-25 09:51:48] >>> HomeKit: [Client 4] Pair Verify Step 2/2 [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: [Client 4] Decrypting payload [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: [Client 4] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-25 09:51:48] >>> HomeKit: [Client 4] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-25 09:51:48] >>> homekit_server_on_pair_verify: [Client 4] Verifying device signature [2018-03-25 09:51:51] >>> send_tlv_response: [Client 4] Sending TLV response [2018-03-25 09:51:51] >>> tlv_debug: Got following TLV values: [2018-03-25 09:51:51] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-25 09:51:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-25 09:51:51] >>> HomeKit: [Client 4] Verification successful, secure session established [2018-03-25 09:51:51] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:51:51] >>> homekit_client_process: [Client 4] Got 88 incomming data [2018-03-25 09:51:51] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:51:51] >>> homekit_client_process: [Client 4] Decrypted 70 bytes, available 0 [2018-03-25 09:51:51] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-25 09:51:51] >>> HomeKit: [Client 4] Get Accessories [2018-03-25 09:51:51] >>> homekit_server_on_get_accessories: Free heap: 7060 [2018-03-25 09:51:51] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-25 09:51:51] Fatal exception (29): [2018-03-25 09:51:51] epc1=0x4000e143 [2018-03-25 09:51:51] epc2=0x00000000 [2018-03-25 09:51:51] epc3=0x40210386 [2018-03-25 09:51:51] excvaddr=0x00000000 [2018-03-25 09:51:51] depc=0x00000000 [2018-03-25 09:51:51] excsave1=0x400018cc [2018-03-25 09:51:51] Registers: [2018-03-25 09:51:51] a0 400018cc a1 3fff64e0 a2 00000000 a3 00000001 [2018-03-25 09:51:51] a4 00000003 a5 00000001 a6 00000000 a7 3fff65b1 [2018-03-25 09:51:51] a8 3fff65b0 a9 00000000 a10 3fff65b3 a11 00000033 [2018-03-25 09:51:51] a12 3fff6620 a13 00000003 SAR 0000001f [2018-03-25 09:51:51] [2018-03-25 09:51:51] Stack: SP=0x3fff64e0 [2018-03-25 09:51:51] 0x3fff64e0: 40105eb2 3fff26f4 3fff6570 40211679 [2018-03-25 09:51:51] 0x3fff64f0: 00000040 3fff65b0 3fff6520 40105de4 [2018-03-25 09:51:51] 0x3fff6500: 40105eb2 3fff26f4 3fff6590 3fff6570 [2018-03-25 09:51:51] 0x3fff6510: 40105de4 3fff6620 3fff65b0 40211a34 [2018-03-25 09:51:51] 0x3fff6520: 00000003 4022ffcc 3fff6550 3fff6590 [2018-03-25 09:51:51] 0x3fff6530: 3fff26f4 00000003 00000010 3ffe94db [2018-03-25 09:51:51] 0x3fff6540: 3fff65b3 3fff6650 4022ffcc 40211a34 [2018-03-25 09:51:51] 0x3fff6550: 00000006 00000001 0000000a 40230176 [2018-03-25 09:51:51] [2018-03-25 09:51:51] Free Heap: 4268 [2018-03-25 09:51:51] _heap_start 0x3fff1d08 brk 0x3fffff34 supervisor sp 0x40000000 sp-brk 204 bytes [2018-03-25 09:51:51] arena (total_size) 57900 fordblks (free_size) 4064 uordblocks (used_size) 53836 [2018-03-25 09:51:51] [2018-03-25 09:51:51] ets Jan 8 2013,rst cause:1, boot mode:(3,6) [2018-03-25 09:51:51] [2018-03-25 09:51:51] load 0x40100000, len 2292, room 16 [2018-03-25 09:51:51] tail 4 [2018-03-25 09:51:51] chksum 0x57 [2018-03-25 09:51:51] load 0x3ffe8000, len 772, room 4 [2018-03-25 09:51:51] tail 0 [2018-03-25 09:51:51] chksum 0x0b [2018-03-25 09:51:51] csum 0x0b [2018-03-25 09:51:51] [2018-03-25 09:51:51] rBoot v1.4.0 - richardaburton@gmail.com [2018-03-25 09:51:51] Flash Size: 8 Mbit [2018-03-25 09:51:51] Flash Mode: DOUT [2018-03-25 09:51:51] Flash Speed: 40 MHz [2018-03-25 09:51:51] rBoot Option: Big flash [2018-03-25 09:51:51] rBoot Option: RTC data [2018-03-25 09:51:51] [2018-03-25 09:51:51] Booting rom 0. [2018-03-25 09:51:51] pp_task_hdl : 3ffefea0, prio:14, stack:512 [2018-03-25 09:51:51] pm_task_hdl : 3ffef900, prio:1, stack:176 [2018-03-25 09:51:51] frc2_timer_task_hdl:0x3fff3fd8, prio:12, stack:200 [2018-03-25 09:51:51] [2018-03-25 09:51:51] ESP-Open-SDK ver: 0.0.1 compiled @ Mar 9 2018 10:23:37 [2018-03-25 09:51:51] phy ver: 273, pp ver: 8.3 [2018-03-25 09:51:51] [2018-03-25 09:51:51] >>> wifi_config: Initializing WiFi config [2018-03-25 09:51:51] >>> wifi_config: Found configuration, connecting to HomekitNet [2018-03-25 09:51:51] mode : sta(5c:cf:7f:96:e4:2a) [2018-03-25 09:51:51] add if0 [2018-03-25 09:51:51] scandone [2018-03-25 09:51:53] add 0 [2018-03-25 09:51:53] aid 2 [2018-03-25 09:51:53] cnt [2018-03-25 09:51:53] [2018-03-25 09:51:53] connected with HomekitNet, channel 1 [2018-03-25 09:51:53] dhcp client start... [2018-03-25 09:51:54] ip:10.0.1.12,mask:255.255.255.0,gw:10.0.1.1 [2018-03-25 09:51:54] >>> wifi_config: wifi_config_sta_connect_timeout_callback: Successfully connected [2018-03-25 09:51:54] >>> HomeKit: Starting server [2018-03-25 09:51:54] >>> HomeKit: Using existing accessory ID: ED:E5:DD:B5:E3:78 [2018-03-25 09:51:54] >>> HomeKit: Found admin pairing with 396C3207-50EF-44E0-9B6E-BF2BE09DE269, disabling pair setup [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] Function called without core lock [2018-03-25 09:51:54] >>> HomeKit: Configuring mDNS [2018-03-25 09:51:54] >>> HomeKit: mDNS announcement system started: Name=SonoffB 96E42A c#=1ff=0id=ED:E5:DD:B5:E3:78md=Sonoff Basic wPOWpv=1.0sf=0ci=8s#=1 Port=5556 TTL=255 [2018-03-25 09:51:54] >>> homekit_run_server: Staring HTTP server [2018-03-25 09:52:11] >>> Power Outage Warning: ON event sent [2018-03-25 09:52:14] >>> Power Outage Warning: OFF event sent [2018-03-25 09:52:31] >>> Power Outage Warning: ON event sent [2018-03-25 09:52:34] >>> Power Outage Warning: OFF event sent [2018-03-25 09:52:51] >>> Power Outage Warning: ON event sent [2018-03-25 09:52:54] >>> Power Outage Warning: OFF event sent [2018-03-25 09:53:11] >>> Power Outage Warning: ON event sent [2018-03-25 09:53:14] >>> Power Outage Warning: OFF event sent [2018-03-25 09:53:31] >>> Power Outage Warning: ON event sent [2018-03-25 09:53:34] >>> Power Outage Warning: OFF event sent [2018-03-25 09:53:51] >>> Power Outage Warning: ON event sent [2018-03-25 09:53:54] >>> Power Outage Warning: OFF event sent [2018-03-25 09:54:11] >>> Power Outage Warning: ON event sent [2018-03-25 09:54:14] >>> Power Outage Warning: OFF event sent [2018-03-25 09:54:19] >>> HomeKit: Got new client connection: 4 [2018-03-25 09:54:19] >>> homekit_client_process: [Client 4] Got 168 incomming data [2018-03-25 09:54:19] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-25 09:54:20] >>> homekit_server_on_pair_verify: Free heap: 32436 [2018-03-25 09:54:20] >>> tlv_debug: Got following TLV values: [2018-03-25 09:54:20] >>> tlv_debug: Type 3 value (32 bytes): \x95\x80ea<\x1A\x9D9\x82\xA2\xA5\xB7\xB4\xF2F\xCDB0\xF1T\xE4[/m\x81:ww\x87\xCD\xD0 [2018-03-25 09:54:20] >>> tlv_debug: Type 6 value (1 bytes): \x01 [2018-03-25 09:54:20] >>> HomeKit: [Client 4] Pair Verify Step 1/2 [2018-03-25 09:54:20] >>> homekit_server_on_pair_verify: [Client 4] Importing device Curve25519 public key [2018-03-25 09:54:20] >>> homekit_server_on_pair_verify: [Client 4] Generating accessory Curve25519 key [2018-03-25 09:54:21] >>> homekit_server_on_pair_verify: [Client 4] Exporting accessory Curve25519 public key [2018-03-25 09:54:21] >>> homekit_server_on_pair_verify: [Client 4] Generating Curve25519 shared secret [2018-03-25 09:54:22] >>> homekit_server_on_pair_verify: [Client 4] Generating signature [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: [Client 4] Generating proof [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: [Client 4] Encrypting response [2018-03-25 09:54:24] >>> send_tlv_response: [Client 4] Sending TLV response [2018-03-25 09:54:24] >>> tlv_debug: Got following TLV values: [2018-03-25 09:54:24] >>> tlv_debug: Type 5 value (101 bytes): \x1F\x0FR\xF8h\xBE\xA49\xC5\x00e\xF2\xF7\x11\xA0\xC7\x05\x85\xBF\x99\xA84*\x96\xB9\x1C\x1Cg\xC3\xBAPe,\xFDd\xFA&\x9E\x92\x89\x0C\xE2RJ\xE1\xEA\x1C\xC6j\x88}\x94\xAFh\xF8q#\xF0\xE1\xD4\xD5\xB8\xD9\x14\xB1\xCE\x1E\xF5o)\xEB+\xDE\x9C\xB4\xB4E\xB2\xCA:Q,\xB6\xDC\x1F\xF1\xD9\xCF\xA3\x85\xBB~\xE0Z4\xF4\x83\xEF\x91eQ [2018-03-25 09:54:24] >>> tlv_debug: Type 3 value (32 bytes): \x02d\xA0\\=J\xC2\xAAn\xB3\x055\x82\xF2$\x1D/\x8DP\xEB/\x8EXd\x1E+\xFC\x9Ce\xFB\x0B0 [2018-03-25 09:54:24] >>> tlv_debug: Type 6 value (1 bytes): \x02 [2018-03-25 09:54:24] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 140\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x05e\x1F\x0FR\xF8h\xBE\xA49\xC5\x00e\xF2\xF7\x11\xA0\xC7\x05\x85\xBF\x99\xA84*\x96\xB9\x1C\x1Cg\xC3\xBAPe,\xFDd\xFA&\x9E\x92\x89\x0C\xE2RJ\xE1\xEA\x1C\xC6j\x88}\x94\xAFh\xF8q#\xF0\xE1\xD4\xD5\xB8\xD9\x14\xB1\xCE\x1E\xF5o)\xEB+\xDE\x9C\xB4\xB4E\xB2\xCA:Q,\xB6\xDC\x1F\xF1\xD9\xCF\xA3\x85\xBB~\xE0Z4\xF4\x83\xEF\x91eQ\x03 \x02d\xA0\\=J\xC2\xAAn\xB3\x055\x82\xF2$\x1D/\x8DP\xEB/\x8EXd\x1E+\xFC\x9Ce\xFB\x0B0\x06\x01\x02 [2018-03-25 09:54:24] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:54:24] >>> homekit_client_process: [Client 4] Got 257 incomming data [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: HomeKit Pair Verify [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: Free heap: 32148 [2018-03-25 09:54:24] >>> tlv_debug: Got following TLV values: [2018-03-25 09:54:24] >>> tlv_debug: Type 6 value (1 bytes): \x03 [2018-03-25 09:54:24] >>> tlv_debug: Type 5 value (120 bytes): \xDF\x00\x05>\x9A\x84\x858nr+\xE0]\xDDh\\\x15\x19>~\xFE)\xFD\x93\xF8_\xD7\xA1\xD7\x8F\x16\x15?\x0Af\xF9\xD7\xA8\xB61\xD2\xC4\xCF\x10#\x00]S\x11P\x19\x85J3\xDC\xE0\x1A\x16\xEBm\x84\xA7\xC4\x8F\xD1\x0B\xF1r\x91\xEE\x0D\xB9pUw\xE75@f|\x06\x1B\xFAp\xCA\x89\x96\x17\xC5\x11?KQ\xB7d\xD3\x1E\xCE4\x8Fi\x1F\xA3m;\x862N\x8E2^\x01G\x80\x0B\xF5\xB7\xFA\xC4P [2018-03-25 09:54:24] >>> HomeKit: [Client 4] Pair Verify Step 2/2 [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: [Client 4] Decrypting payload [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: [Client 4] Searching pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-25 09:54:24] >>> HomeKit: [Client 4] Found pairing with 7AFA0295-E334-41E2-83CC-CCEEE4D78B86 [2018-03-25 09:54:24] >>> homekit_server_on_pair_verify: [Client 4] Verifying device signature [2018-03-25 09:54:27] >>> send_tlv_response: [Client 4] Sending TLV response [2018-03-25 09:54:27] >>> tlv_debug: Got following TLV values: [2018-03-25 09:54:27] >>> tlv_debug: Type 6 value (1 bytes): \x04 [2018-03-25 09:54:27] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 3\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04 [2018-03-25 09:54:27] >>> HomeKit: [Client 4] Verification successful, secure session established [2018-03-25 09:54:27] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:54:27] >>> homekit_client_process: [Client 4] Got 88 incomming data [2018-03-25 09:54:27] >>> homekit_client_process: [Client 4] Decrypting data [2018-03-25 09:54:27] >>> homekit_client_process: [Client 4] Decrypted 70 bytes, available 0 [2018-03-25 09:54:27] Decrypted data (70 bytes): "GET /accessories HTTP/1.1\x0D\x0AHost: SonoffB\\03296E42A._hap._tcp.local\x0D\x0A\x0D\x0A" [2018-03-25 09:54:27] >>> HomeKit: [Client 4] Get Accessories [2018-03-25 09:54:27] >>> homekit_server_on_get_accessories: Free heap: 32324 [2018-03-25 09:54:27] >>> client_send: [Client 4] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/hap+json\x0D\x0ATransfer-Encoding: chunked\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A [2018-03-25 09:54:27] >>> client_send: [Client 4] Sending payload: 3fc\x0D\x0A{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":2,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":3,"type":"20","perms":["pr"],"description":"Manufacturer","format":"string","value":"iTEAD"},{"aid":1,"iid":4,"type":"30","perms":["pr"],"description":"Serial Number","format":"string","value":"SonoffB 96E42A"},{"aid":1,"iid":5,"type":"21","perms":["pr"],"description":"Model","format":"string","value":"Sonoff Basic wPOW"},{"aid":1,"iid":6,"type":"52","perms":["pr"],"description":"Firmware Revision","format":"string","value":"0.2.2"},{"aid":1,"iid":7,"type":"14","perms":["pw"],"description":"Identify","format":"bool"}]},{"iid":8,"type":"49","hidden":false,"primary":true,"characteristics":[{"aid":1,"iid":9,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Sonoff Switch"},{"aid":1,"iid":10,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On",\x0D\x0A [2018-03-25 09:54:27] >>> client_send: [Client 4] Sending payload: 27c\x0D\x0A"format":"bool","value":false}]},{"iid":11,"type":"85","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":12,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"Power Outage"},{"aid":1,"iid":13,"type":"22","perms":["pr","ev"],"ev":false,"description":"Motion Detected","format":"bool","value":false}]},{"iid":14,"type":"49","hidden":false,"primary":false,"characteristics":[{"aid":1,"iid":15,"type":"23","perms":["pr"],"description":"Name","format":"string","value":"PO Switch"},{"aid":1,"iid":16,"type":"25","perms":["pr","pw","ev"],"ev":false,"description":"On","format":"bool","value":true}]}]}]}\x0D\x0A [2018-03-25 09:54:27] >>> client_send: [Client 4] Sending payload: 0\x0D\x0A\x0D\x0A [2018-03-25 09:54:27] >>> homekit_client_process: [Client 4] Finished processing [2018-03-25 09:54:31] >>> Power Outage Warning: ON event sent [2018-03-25 09:54:34] >>> Power Outage Warning: OFF event sent [2018-03-25 09:54:51] >>> Power Outage Warning: ON event sent [2018-03-25 09:54:54] >>> Power Outage Warning: OFF event sent [