>> 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/\x89XY\xAE\x92\xD630\xC99@\xA5c\xDD\x18c\xD5\x1C\xEA\\\xB1\x99\x14N\xCB\xCEV\x1F\x84>\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/\x89XY\xAE\x92\xD630\xC99@\xA5c\xDD\x18c\xD5\x1C\xEA\\\xB1\x99\x14N\xCB\xCEV\x1F\x84>\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 [2018-03-20 20:30:22] >>> 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\x06\x01\x02 [2018-03-20 20:30:22] >>> 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\x0B\xD5\xBB\x10\xF0\xEB\xD1\x81\xEB\x1FJ^\x87\x0E.\x17r\x19 \x02 [2018-03-20 23:31:31] >>> 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 [