brutella/hap

MethodDeletePairing doesn't work correctly

xxandev opened this issue · 1 comments

maybe it's my problem
I have 7 users at home
adding an accessory works correctly, but if I remove the accessory, not all .pairing files are removed, after the accessory is not added again

before pairing

pi@ap2dev:~/test/EX-Switch $ ls
  configHash
  keypair
  schema
  uuid
  version
pi@ap2dev:~/test/EX-Switch $

after pairing

pi@ap2dev:~/test/EX-Switch $ ls
39383141433539452d394636462d344644332d423532432d453631373731303439364342.pairing  
31363039453845302d383830362d343935372d393746362d353842374132414241423146.pairing
44323039333344452d343032342d343230422d423636392d313234314243374639343731.pairing
35443739454338352d463336442d343634462d413436422d303430374236423145414445.pairing
44414432383334432d383641302d344142312d423442372d393834433230363234393430.pairing  
36364530414234412d383130392d343142442d414241392d444642343046423338313334.pairing
46393330423233432d463436312d343845452d384234352d433139413846364241384533.pairing  
configHash
keypair
schema
uuid
version
pi@ap2dev:~/test/EX-Switch $

after removal

pi@ap2dev:~/test/EX-Switch $ ls
31363039453845302d383830362d343935372d393746362d353842374132414241423146.pairing
44414432383334432d383641302d344142312d423442372d393834433230363234393430.pairing
39383141433539452d394636462d344644332d423532432d453631373731303439364342.pairing
46393330423233432d463436312d343845452d384234352d433139413846364241384533.pairing
configHash
keypair
schema
uuid
version
pi@ap2dev:~/test/EX-Switch $

LOG

pi@ap2dev:~/test $ ./switch
13:49:49 [ EX-Switch / Switch ] hap server create successful.
13:49:49 [ EX-Switch / Switch ] hap server starting set, address :10102, pin 13467908.
13:49:49 [HAP_DBG]listening at [::]:10102
13:50:09 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-setup HTTP/1.1" from 192.168.1.100:54313 - 200 409B in 177.522883ms
13:50:16 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-setup HTTP/1.1" from 192.168.1.100:54313 - 200 69B in 196.121612ms
13:50:16 [HAP_DBG]{"Identifier":"66E0AB4A-8109-41BD-ABA9-DFB40FB38134","PublicKey":"G7SS+jNl/tQ1jLTFMUF9leRRbm2VW+GfDpa0fWerdng=","Signature":"ASeqt7Zy3WK3/vOuPD1HofU1cCXP0l3c9mCbnHBzTjQsWb5V/GClCWpwb7sOeBBEnyAGgwgUC4+bTZn3yrIkDQ=="}
13:50:16 [HAP_DBG]ed25519 signature valid
13:50:16 [HAP_DBG]storing public key for 66E0AB4A-8109-41BD-ABA9-DFB40FB38134
13:50:17 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-setup HTTP/1.1" from 192.168.1.100:54313 - 200 140B in 1.123627018s
13:50:18 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54314 - 200 140B in 20.987468ms
13:50:18 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54314 - 200 3B in 9.517566ms
13:50:18 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:50:18 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.100:54314 - 200 617B in 1.149214ms
13:50:18 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:50:18 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54314 - 204 0B in 729.372µs
13:50:18 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:50:18 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54314 - 204 0B in 294.269µs
13:50:18 [HAP_DBG]{"characteristics":[{"aid":1,"iid":3,"value":"alpr777"},{"aid":1,"iid":4,"value":"HAP-SW"},{"aid":1,"iid":6,"value":"EX-Switch"},{"aid":1,"iid":7,"value":"1.2.3"}]}
13:50:18 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.3,1.4,1.6,1.7 HTTP/1.1" from 192.168.1.100:54314 - 200 164B in 881.507µs
13:50:19 [HAP_DBG]send event to 192.168.1.100:54314:
EVENT/1.0 200 OK
Content-Length: 52
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":true}]}
13:50:19 [ EX-Switch / Switch ] acc switch update on: bool - true
13:50:19 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:50:20 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54314 - 200 3B in 1.003771875s
13:50:20 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:50:21 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54314 - 200 3B in 1.003172295s
13:50:22 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:50:23 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54314 - 200 3B in 1.005519422s
13:50:23 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:50:24 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54314 - 200 3B in 1.005829422s
13:50:24 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49237 - 200 140B in 20.281534ms
13:50:24 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49237 - 200 3B in 9.18189ms
13:50:24 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:50:24 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.165:49237 - 200 616B in 973.277µs
13:50:25 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.178:49505 - 200 140B in 24.395215ms
13:50:25 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50708 - 200 140B in 26.043959ms
13:50:26 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 8.208144ms
13:50:26 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50708 - 200 3B in 9.493191ms
13:50:26 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:50:26 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.178:49505 - 200 616B in 815.414µs
13:50:26 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:50:26 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.149:50708 - 200 616B in 1.804055ms
13:50:28 [HAP_DBG]{"characteristics":[{"aid":1,"iid":7,"value":"1.2.3"}]}
13:50:28 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.7 HTTP/1.1" from 192.168.1.178:49505 - 200 55B in 290.571µs
13:50:31 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54317 - 200 140B in 20.626532ms
13:50:31 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 9.430952ms
13:50:31 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:50:31 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.100:54317 - 200 616B in 893.329µs
13:50:31 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:50:32 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:50:32 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.178:49505 - 204 0B in 330.572µs
13:50:32 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 1.004311049s
13:50:32 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:50:32 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54317 - 204 0B in 470.624µs
13:50:32 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:50:33 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 1.004374382s
13:50:33 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:50:34 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"value":true}]}
13:50:34 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.9 HTTP/1.1" from 192.168.1.178:49505 - 200 52B in 375.415µs
13:50:34 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 1.003785531s
13:50:34 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:50:35 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 1.003373346s
13:50:35 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:50:36 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 1.005016674s
13:50:36 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:50:37 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54317 - 200 3B in 1.003744231s
13:50:42 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49240 - 200 140B in 24.757193ms
13:50:42 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 12.577762ms
13:50:42 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:50:42 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.165:49240 - 200 616B in 892.913µs
13:50:42 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:50:43 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 1.003499861s
13:50:43 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:50:44 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 1.006367507s
13:50:44 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:50:45 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 1.004615952s
13:50:45 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:50:46 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 1.004510172s
13:50:46 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:50:47 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 1.004366111s
13:50:47 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:50:48 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49240 - 200 3B in 1.005714804s
13:50:49 [HAP_DBG]send event to 192.168.1.178:49505:
EVENT/1.0 200 OK
Content-Length: 53
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":false}]}
13:50:49 [ EX-Switch / Switch ] acc switch update on: bool - false
13:50:53 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49241 - 200 140B in 21.212208ms
13:50:53 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 10.620323ms
13:50:53 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:50:53 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.165:49241 - 200 617B in 1.049579ms
13:50:53 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:50:54 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 1.004746844s
13:50:54 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:50:55 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 1.00471023s
13:50:55 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:50:56 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 1.004023046s
13:50:56 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:50:57 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.109:52609 - 200 140B in 24.039852ms
13:50:57 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.109:52609 - 200 3B in 12.402607ms
13:50:57 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 1.003746954s
13:50:57 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:50:57 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:50:57 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.109:52609 - 200 617B in 1.819576ms
13:50:58 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.106:65242 - 200 140B in 20.683251ms
13:50:58 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.106:65242 - 200 3B in 11.267924ms
13:50:58 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 1.006996004s
13:50:58 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:50:58 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:50:58 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.106:65242 - 200 617B in 775.622µs
13:50:59 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50714 - 200 140B in 20.845022ms
13:50:59 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 10.960009ms
13:50:59 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:50:59 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.149:50714 - 200 617B in 942.652µs
13:50:59 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:50:59 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49241 - 200 3B in 1.003373884s
13:51:00 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 1.004543359s
13:51:00 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:01 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 1.004306745s
13:51:01 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:02 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 1.004477892s
13:51:02 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:03 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54319 - 200 140B in 20.51195ms
13:51:03 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 9.28814ms
13:51:03 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:51:03 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.100:54319 - 200 617B in 900.048µs
13:51:03 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:03 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 1.004598725s
13:51:03 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:04 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 1.003505084s
13:51:04 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:51:04 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54319 - 204 0B in 377.55µs
13:51:04 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:04 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 1.005877107s
13:51:04 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:51:05 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 1.005296119s
13:51:05 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:05 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50714 - 200 3B in 1.00454555s
13:51:06 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 1.005022684s
13:51:06 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:07 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 1.004293833s
13:51:07 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:08 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 1.004667842s
13:51:08 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:51:09 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54319 - 200 3B in 1.004366438s
13:51:11 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50717 - 200 140B in 20.612418ms
13:51:11 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 9.927149ms
13:51:11 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:51:11 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.149:50717 - 200 617B in 871.559µs
13:51:11 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:12 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 1.00356785s
13:51:12 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:13 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 1.004462117s
13:51:13 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:13 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:14 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 1.004790867s
13:51:14 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004550555s
13:51:14 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:14 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:15 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 1.004613473s
13:51:15 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:51:15 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005542219s
13:51:15 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:16 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 1.003924882s
13:51:16 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:16 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005228263s
13:51:16 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:17 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50717 - 200 3B in 1.004434308s
13:51:17 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004550922s
13:51:17 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:18 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004225612s
13:51:18 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:51:19 [HAP_DBG]send event to 192.168.1.178:49505:
EVENT/1.0 200 OK
Content-Length: 52
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":true}]}
13:51:19 [ EX-Switch / Switch ] acc switch update on: bool - true
13:51:19 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.006108522s
13:51:25 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:26 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004719989s
13:51:26 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:27 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004393117s
13:51:27 [HAP_DBG]{"characteristics":[{"aid":1,"iid":7,"value":"1.2.3"}]}
13:51:27 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.7 HTTP/1.1" from 192.168.1.178:49505 - 200 55B in 260.624µs
13:51:27 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:27 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49242 - 200 140B in 20.780595ms
13:51:27 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 11.736568ms
13:51:27 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:51:27 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.165:49242 - 200 616B in 1.007912ms
13:51:27 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:28 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005066917s
13:51:28 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 1.004584992s
13:51:28 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:29 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 1.004111186s
13:51:29 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:29 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:30 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 1.005170755s
13:51:30 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:30 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005846508s
13:51:30 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:31 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 1.004659586s
13:51:31 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:31 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004376175s
13:51:32 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:51:32 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 1.005613687s
13:51:32 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:51:33 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005096491s
13:51:33 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49242 - 200 3B in 1.00511805s
13:51:49 [HAP_DBG]send event to 192.168.1.178:49505:
EVENT/1.0 200 OK
Content-Length: 53
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":false}]}
13:51:49 [ EX-Switch / Switch ] acc switch update on: bool - false
13:51:54 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50718 - 200 140B in 20.871836ms
13:51:54 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 10.603576ms
13:51:54 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:51:54 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.149:50718 - 200 617B in 1.093869ms
13:51:54 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:55 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 1.004277371s
13:51:55 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:56 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:51:56 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 1.004096921s
13:51:56 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:51:57 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004818554s
13:51:57 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 1.004098023s
13:51:57 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:51:58 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005379241s
13:51:58 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:58 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:51:59 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 1.005165518s
13:51:59 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:51:59 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005210866s
13:52:00 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 1.004590172s
13:52:00 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:52:01 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.149:50718 - 200 3B in 1.004063876s
13:52:02 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:52:03 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004336036s
13:52:03 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:52:04 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004127091s
13:52:04 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:52:05 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.003744031s
13:52:19 [HAP_DBG]send event to 192.168.1.178:49505:
EVENT/1.0 200 OK
Content-Length: 52
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":true}]}
13:52:19 [ EX-Switch / Switch ] acc switch update on: bool - true
13:52:28 [HAP_DBG]{"characteristics":[{"aid":1,"iid":7,"value":"1.2.3"}]}
13:52:28 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.7 HTTP/1.1" from 192.168.1.178:49505 - 200 55B in 240.001µs
13:52:34 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54322 - 200 140B in 20.624802ms
13:52:34 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 9.208046ms
13:52:34 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:52:34 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.100:54322 - 200 616B in 927.831µs
13:52:34 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:52:35 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 1.004271722s
13:52:35 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:52:35 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54322 - 204 0B in 702.656µs
13:52:35 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:52:36 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 1.004545008s
13:52:36 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:52:37 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 1.004138819s
13:52:38 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:52:39 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 1.009426788s
13:52:39 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:52:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 1.003739272s
13:52:40 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:52:41 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54322 - 200 3B in 1.004919204s
13:52:49 [HAP_DBG]send event to 192.168.1.178:49505:
EVENT/1.0 200 OK
Content-Length: 53
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":false}]}
13:52:49 [ EX-Switch / Switch ] acc switch update on: bool - false
13:53:01 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49243 - 200 140B in 24.10494ms
13:53:01 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 12.60908ms
13:53:01 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":false}]}]}]}
13:53:01 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.165:49243 - 200 617B in 895.503µs
13:53:01 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:53:02 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 1.003770701s
13:53:02 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:53:03 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 1.004338995s
13:53:03 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:53:04 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 1.004997391s
13:53:04 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:53:05 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 1.004219409s
13:53:05 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:53:06 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 1.003822089s
13:53:06 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:53:07 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.165:49243 - 200 3B in 1.00435103s
13:53:19 [HAP_DBG]send event to 192.168.1.178:49505:
EVENT/1.0 200 OK
Content-Length: 52
Content-Type: application/hap+json

{"characteristics":[{"aid":1,"iid":9,"value":true}]}
13:53:19 [ EX-Switch / Switch ] acc switch update on: bool - true
13:53:29 [HAP_DBG]add pairing F930B23C-F461-48EE-8B45-C19A8F6BA8E3
13:53:30 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004011799s
13:53:30 [HAP_DBG]add pairing DAD2834C-86A0-4AB1-B4B7-984C20624940
13:53:31 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.003778728s
13:53:31 [HAP_DBG]{"characteristics":[{"aid":1,"iid":7,"value":"1.2.3"}]}
13:53:31 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.7 HTTP/1.1" from 192.168.1.178:49505 - 200 55B in 242.662µs
13:53:31 [HAP_DBG]add pairing D20933DE-4024-420B-B669-1241BC7F9471
13:53:32 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005071522s
13:53:33 [HAP_DBG]add pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:53:33 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54323 - 200 140B in 20.763558ms
13:53:33 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54323 - 200 3B in 10.578137ms
13:53:33 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:53:33 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.100:54323 - 200 616B in 1.068356ms
13:53:33 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":false}]}
13:53:33 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54323 - 204 0B in 987.52µs
13:53:34 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.005147635s
13:53:34 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":false}]}
13:53:34 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.178:49505 - 204 0B in 327.351µs
13:53:34 [HAP_DBG]add pairing 981AC59E-9F6F-4FD3-B52C-E617710496CB
13:53:35 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.003825046s
13:53:35 [HAP_DBG]add pairing 1609E8E0-8806-4957-97F6-58B7A2ABAB1F
13:53:36 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.178:49505 - 200 3B in 1.004645945s
13:53:49 [ EX-Switch / Switch ] acc switch update on: bool - false
13:54:19 [ EX-Switch / Switch ] acc switch update on: bool - true
13:54:31 [HAP_DBG]{"characteristics":[{"aid":1,"iid":7,"value":"1.2.3"}]}
13:54:31 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.7 HTTP/1.1" from 192.168.1.178:49505 - 200 55B in 332.348µs
13:54:34 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:54:34 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.178:49505 - 204 0B in 366.15µs
13:54:35 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"value":true}]}
13:54:35 [HAP_DBG]"GET http://Switch._hap._tcp.local/characteristics?id=1.9 HTTP/1.1" from 192.168.1.178:49505 - 200 52B in 234.951µs
13:54:35 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54329 - 200 140B in 20.638585ms
13:54:35 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54329 - 200 3B in 10.552315ms
13:54:35 [HAP_DBG]{"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"format":"string","value":"alpr777"},{"iid":4,"type":"21","perms":["pr"],"format":"string","value":"HAP-SW"},{"iid":5,"type":"23","perms":["pr"],"format":"string","value":"Switch"},{"iid":6,"type":"30","perms":["pr"],"format":"string","value":"EX-Switch"},{"iid":7,"type":"52","perms":["pr"],"format":"string","value":"1.2.3"}]},{"iid":8,"type":"49","characteristics":[{"iid":9,"type":"25","perms":["pr","pw","ev"],"format":"bool","value":true}]}]}]}
13:54:35 [HAP_DBG]"GET http://Switch._hap._tcp.local/accessories HTTP/1.1" from 192.168.1.100:54329 - 200 616B in 1.256161ms
13:54:35 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:54:35 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54329 - 204 0B in 375.89µs
13:54:35 [HAP_DBG]{"characteristics":[{"aid":1,"iid":9,"ev":true}]}
13:54:35 [HAP_DBG]"PUT http://Switch._hap._tcp.local/characteristics HTTP/1.1" from 192.168.1.100:54329 - 204 0B in 383.338µs
13:54:40 [HAP_DBG]delete pairing D20933DE-4024-420B-B669-1241BC7F9471
13:54:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54332 - 200 140B in 20.536704ms
13:54:40 [HAP_INFO]request from 192.168.1.100:54332 not authorized
13:54:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54332 - 400 17B in 893.917µs
13:54:40 [HAP_INFO]request from 192.168.1.100:54332 not authorized
13:54:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54332 - 400 17B in 424.171µs
13:54:40 [HAP_INFO]request from 192.168.1.100:54332 not authorized
13:54:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54332 - 400 17B in 143.647µs
13:54:40 [HAP_INFO]request from 192.168.1.100:54332 not authorized
13:54:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54332 - 400 17B in 164.95µs
13:54:40 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.100:54332 - 200 3B in 9.260736ms
13:54:40 [HAP_DBG]delete pairing 5D79EC85-F36D-464F-A46B-0407B6B1EADE
13:54:41 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54329 - 200 3B in 1.005979679s
13:54:41 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54332 - 200 3B in 1.006042603s
13:54:41 [HAP_DBG]delete pairing 66E0AB4A-8109-41BD-ABA9-DFB40FB38134
13:54:41 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50721 - 200 140B in 20.549577ms
13:54:41 [HAP_INFO]not paired with 66E0AB4A-8109-41BD-ABA9-DFB40FB38134 yet
13:54:41 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.149:50721 - 200 6B in 499.223µs
13:54:42 [HAP_DBG]Closing connection to 192.168.1.178:49505
13:54:42 [HAP_DBG]Closing connection to 192.168.1.100:54332
13:54:42 [HAP_DBG]"POST http://Switch._hap._tcp.local/pairings HTTP/1.1" from 192.168.1.100:54332 - 200 3B in 1.007157167s
13:54:42 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.178:49508 - 200 140B in 21.850683ms
13:54:43 [HAP_INFO]not paired with 66E0AB4A-8109-41BD-ABA9-DFB40FB38134 yet
13:54:43 [HAP_DBG]"POST http://Switch._hap._tcp.local/pair-verify HTTP/1.1" from 192.168.1.178:49508 - 200 6B in 520.974µs
13:54:49 [ EX-Switch / Switch ] acc switch update on: bool - false

This should be fixed by now with f850f19