2021-08-03 17:47:32,621 DEBUG Using selector: SelectSelector c:\Users\swcra\source\repos\gehome-master\examples\websocket_example.py:74: DeprecationWarning: The object should be created within an async function session = aiohttp.ClientSession() 2021-08-03 17:47:32,637 DEBUG Getting OAuth2 token 2021-08-03 17:47:32,693 DEBUG Client changed state: GeClientState.INITIALIZING to GeClientState.AUTHORIZING_OAUTH 2021-08-03 17:47:34,155 DEBUG Getting WS credentials 2021-08-03 17:47:34,155 DEBUG Client changed state: GeClientState.AUTHORIZING_OAUTH to GeClientState.AUTHORIZING_CLIENT 2021-08-03 17:47:34,398 INFO Starting GE Appliances client 2021-08-03 17:47:34,537 DEBUG Client changed state: GeClientState.AUTHORIZING_CLIENT to GeClientState.CONNECTING 2021-08-03 17:47:34,635 DEBUG client - state = CONNECTING 2021-08-03 17:47:34,786 DEBUG client - event = connection_made() 2021-08-03 17:47:34,802 DEBUG client > GET /?access_token=ue1cprg5mocvcz132ysubtvvnwhkgpvu HTTP/1.1 2021-08-03 17:47:34,802 DEBUG client > Headers([('Host', 'ws-us-east-1.brillion.geappliances.com'), ('Upgrade', 'websocket'), ('Connection', 'Upgrade'), ('Sec-WebSocket-Key', 'IOPrIpnK2InKZ5wR8vVqcA=='), ('Sec-WebSocket-Version', '13'), ('Sec-WebSocket-Extensions', 'permessage-deflate; client_max_window_bits'), ('User-Agent', 'Python/3.7 websockets/9.1')]) 2021-08-03 17:47:35,155 DEBUG client - event = data_received(<212 bytes>) 2021-08-03 17:47:35,155 DEBUG client < HTTP/1.1 101 Switching Protocols 2021-08-03 17:47:35,155 DEBUG client < Headers([('Date', 'Tue, 03 Aug 2021 22:47:35 GMT'), ('Connection', 'upgrade'), ('upgrade', 'websocket'), ('sec-websocket-accept', 'F6fsYffc6krRlEwjWl3o7FVY2Cg='), ('sec-websocket-extensions', 'permessage-deflate')]) 2021-08-03 17:47:35,165 DEBUG client - state = OPEN 2021-08-03 17:47:35,167 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#subscribe", "action": "subscribe", "resources": ["/appliance/*/erd/*"]}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,169 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance", "id": "List-appliances"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,173 DEBUG Client changed state: GeClientState.CONNECTING to GeClientState.CONNECTED 2021-08-03 17:47:35,261 DEBUG client - event = data_received(<49 bytes>) 2021-08-03 17:47:35,262 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#subscribe","success":true}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,419 DEBUG client - event = data_received(<272 bytes>) 2021-08-03 17:47:35,419 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"List-appliances","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance"},"success":true,"code":200,"body":{"kind":"appliance#applianceList","userId":"9p7asg11qvoogi1","items":[{"applianceId":"D828C96A078B","type":"Air Conditioner","brand":"Unknown","jid":"d828c96a078b_9p7asg11qvoogi1","nickname":"Garage Air ","online":"ONLINE","onlineTime":"2021-08-01T05:00:47.000Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,447 DEBUG D828C96A078B marked available 2021-08-03 17:47:35,451 DEBUG Adding appliance D828C96A078B 2021-08-03 17:47:35,454 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:47:35,456 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,465 DEBUG Requesting features for client D828C96A078B 2021-08-03 17:47:35,466 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/feature", "id": "Request-features"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,468 DEBUG Registering update callback for GeAppliance(D828C96A078B) (Unknown Type) 2021-08-03 17:47:35,636 DEBUG client - event = data_received(<247 bytes>) 2021-08-03 17:47:35,636 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"51","time":"2021-08-03T21:51:05.453Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,652 DEBUG Setting ErdCode.MODEL_NUMBER to AHTK12AA 2021-08-03 17:47:35,652 DEBUG Setting ErdCode.SERIAL_NUMBER to 2021-08-03 17:47:35,652 DEBUG Setting ErdCode.TEMPERATURE_UNIT to ErdMeasurementUnits.IMPERIAL 2021-08-03 17:47:35,652 DEBUG Setting ErdCode.APPLIANCE_TYPE to ErdApplianceType.AIR_CONDITIONER 2021-08-03 17:47:35,652 DEBUG Setting ErdCode.UNIT_TYPE to ErdUnitType.UNKNOWN 2021-08-03 17:47:35,652 DEBUG Setting ErdCode.UNKNOWN_0099 to b'\x00' 2021-08-03 17:47:35,667 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION to 0.0.11.39 2021-08-03 17:47:35,667 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-08-03 17:47:35,667 DEBUG Setting ErdCode.ACM_UPDATING to False 2021-08-03 17:47:35,667 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION to 0.0.0.0 2021-08-03 17:47:35,667 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-08-03 17:47:35,675 DEBUG Setting ErdCode.APPLIANCE_UPDATING to False 2021-08-03 17:47:35,676 DEBUG Setting ErdCode.AC_TARGET_TEMPERATURE to 70 2021-08-03 17:47:35,677 DEBUG Setting ErdCode.AC_FAN_SETTING to ErdAcFanSetting.AUTO 2021-08-03 17:47:35,678 DEBUG Setting ErdCode.AC_OPERATION_MODE to ErdAcOperationMode.ENERGY_SAVER 2021-08-03 17:47:35,679 DEBUG Setting ErdCode.AC_AMBIENT_TEMPERATURE to 81 2021-08-03 17:47:35,680 DEBUG Setting ErdCode.AC_FILTER_STATUS to ErdAcFilterStatus.OK 2021-08-03 17:47:35,681 DEBUG Setting ErdCode.AC_POWER_STATUS to ErdOnOff.OFF 2021-08-03 17:47:35,682 DEBUG Setting ErdCode.AC_UNKNOWN7A12 to b'\x00\x01K\xff' 2021-08-03 17:47:35,683 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_POWER to 0.0 2021-08-03 17:47:35,684 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_STATE to ErdWacDemandResponseState.NOT_IN_DEMAND_RESPONSE 2021-08-03 17:47:35,685 DEBUG Got initial appliance type for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:47:35,686 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.MODEL_NUMBER, ErdCode.SERIAL_NUMBER, ErdCode.TEMPERATURE_UNIT, ErdCode.APPLIANCE_TYPE, ErdCode.UNIT_TYPE, ErdCode.UNKNOWN_0099, ErdCode.WIFI_MODULE_SW_VERSION, ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE, ErdCode.ACM_UPDATING, ErdCode.APPLIANCE_SW_VERSION, ErdCode.APPLIANCE_SW_VERSION_AVAILABLE, ErdCode.APPLIANCE_UPDATING, ErdCode.AC_TARGET_TEMPERATURE, ErdCode.AC_FAN_SETTING, ErdCode.AC_OPERATION_MODE, ErdCode.AC_AMBIENT_TEMPERATURE, ErdCode.AC_FILTER_STATUS, ErdCode.AC_POWER_STATUS, ErdCode.AC_UNKNOWN7A12, ErdCode.WAC_DEMAND_RESPONSE_POWER, ErdCode.WAC_DEMAND_RESPONSE_STATE 2021-08-03 17:47:35,689 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER)2021-08-03 17:47:35,710 DEBUG client - event = data_received(<42 bytes>) 2021-08-03 17:47:35,711 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"Request-features","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/feature"},"success":true,"code":200,"body":{"kind":"appliance#applianceFeature","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","features":[]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:35,722 DEBUG Received features [] for D828C96A078B 2021-08-03 17:47:36,045 DEBUG client - event = data_received(<17 bytes>) 2021-08-03 17:47:36,045 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#connect","success":true}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:37,340 DEBUG client - event = data_received(<49 bytes>) 2021-08-03 17:47:37,340 DEBUG client < Frame(fin=True, opcode=, data=b'{"resource":"/appliance/*/erd/*","kind":"websocket#subscription","success":true,"change":"ADDED"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:55,182 DEBUG client > Frame(fin=True, opcode=, data=b'\x8b\xbf\xcf\xcc', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:55,256 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:47:55,257 DEBUG client < Frame(fin=True, opcode=, data=b'\x8b\xbf\xcf\xcc', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:47:55,258 DEBUG client - received solicited pong: 8bbfcfcc 2021-08-03 17:48:05,183 DEBUG Sending keepalive ping 2021-08-03 17:48:05,183 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:05,268 DEBUG client - event = data_received(<28 bytes>) 2021-08-03 17:48:05,269 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:15,267 DEBUG client > Frame(fin=True, opcode=, data=b'[\x0f\xb7\xea', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:15,334 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:48:15,336 DEBUG client < Frame(fin=True, opcode=, data=b'[\x0f\xb7\xea', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:15,338 DEBUG client - received solicited pong: 5b0fb7ea 2021-08-03 17:48:35,187 DEBUG Sending keepalive ping 2021-08-03 17:48:35,188 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:35,283 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:48:35,284 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:35,360 DEBUG client > Frame(fin=True, opcode=, data=b'\xc5^M\t', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:35,444 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:48:35,444 DEBUG client < Frame(fin=True, opcode=, data=b'\xc5^M\t', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:35,444 DEBUG client - received solicited pong: c55e4d09 2021-08-03 17:48:35,474 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:48:35,476 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:48:35,477 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:35,941 DEBUG client - event = data_received(<27 bytes>) 2021-08-03 17:48:35,941 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"51","time":"2021-08-03T21:51:05.453Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:55,466 DEBUG client > Frame(fin=True, opcode=, data=b'\x11\xbaC\xd0', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:55,615 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:48:55,618 DEBUG client < Frame(fin=True, opcode=, data=b'\x11\xbaC\xd0', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:48:55,621 DEBUG client - received solicited pong: 11ba43d0 2021-08-03 17:49:05,206 DEBUG Sending keepalive ping 2021-08-03 17:49:05,207 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:05,294 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 17:49:05,296 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:08,708 DEBUG client - event = data_received(<60 bytes>) 2021-08-03 17:49:08,710 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7A02","time":"2021-08-03T22:49:06.307Z","value":"50"},"resource":"/appliance/D828C96A078B/erd/0x7A02","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:08,717 DEBUG Setting ErdCode.AC_AMBIENT_TEMPERATURE to 80 2021-08-03 17:49:08,720 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_AMBIENT_TEMPERATURE 2021-08-03 17:49:15,634 DEBUG client > Frame(fin=True, opcode=, data=b'\xf6f\x8e\xd4', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:15,714 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:49:15,716 DEBUG client < Frame(fin=True, opcode=, data=b'\xf6f\x8e\xd4', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:15,720 DEBUG client - received solicited pong: f6668ed4 2021-08-03 17:49:35,213 DEBUG Sending keepalive ping 2021-08-03 17:49:35,215 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:35,316 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 17:49:35,316 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:35,480 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:49:35,480 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:49:35,480 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:35,741 DEBUG client > Frame(fin=True, opcode=, data=b'4\x05\xed4', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:35,818 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:49:35,833 DEBUG client < Frame(fin=True, opcode=, data=b'4\x05\xed4', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:35,833 DEBUG client - received solicited pong: 3405ed34 2021-08-03 17:49:35,911 DEBUG client - event = data_received(<34 bytes>) 2021-08-03 17:49:35,913 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"50","time":"2021-08-03T22:49:06.307Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:55,851 DEBUG client > Frame(fin=True, opcode=, data=b'\x83\xe3Ab', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:55,921 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:49:55,922 DEBUG client < Frame(fin=True, opcode=, data=b'\x83\xe3Ab', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:49:55,924 DEBUG client - received solicited pong: 83e34162 2021-08-03 17:50:05,231 DEBUG Sending keepalive ping 2021-08-03 17:50:05,236 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:05,580 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 17:50:05,580 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:07,274 DEBUG client - event = data_received(<22 bytes>) 2021-08-03 17:50:07,274 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7A02","time":"2021-08-03T22:50:06.706Z","value":"51"},"resource":"/appliance/D828C96A078B/erd/0x7A02","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:07,274 DEBUG Setting ErdCode.AC_AMBIENT_TEMPERATURE to 81 2021-08-03 17:50:07,274 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_AMBIENT_TEMPERATURE 2021-08-03 17:50:15,936 DEBUG client > Frame(fin=True, opcode=, data=b'C5\x18~', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:16,032 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:50:16,033 DEBUG client < Frame(fin=True, opcode=, data=b'C5\x18~', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:16,034 DEBUG client - received solicited pong: 4335187e 2021-08-03 17:50:35,243 DEBUG Sending keepalive ping 2021-08-03 17:50:35,243 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:35,350 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 17:50:35,351 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:35,486 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:50:35,486 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:50:35,486 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:35,674 DEBUG client - event = data_received(<34 bytes>) 2021-08-03 17:50:35,690 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"51","time":"2021-08-03T22:50:06.706Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:36,042 DEBUG client > Frame(fin=True, opcode=, data=b'F\xf1)\x16', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:36,109 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:50:36,109 DEBUG client < Frame(fin=True, opcode=, data=b'F\xf1)\x16', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:36,109 DEBUG client - received solicited pong: 46f12916 2021-08-03 17:50:56,118 DEBUG client > Frame(fin=True, opcode=, data=b'\x13MW6', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:56,193 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:50:56,196 DEBUG client < Frame(fin=True, opcode=, data=b'\x13MW6', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:50:56,197 DEBUG client - received solicited pong: 134d5736 2021-08-03 17:51:05,252 DEBUG Sending keepalive ping 2021-08-03 17:51:05,252 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:05,361 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 17:51:05,363 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:16,208 DEBUG client > Frame(fin=True, opcode=, data=b'g\xdb\xac\xe1', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:16,290 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:51:16,291 DEBUG client < Frame(fin=True, opcode=, data=b'g\xdb\xac\xe1', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:16,292 DEBUG client - received solicited pong: 67dbace1 2021-08-03 17:51:35,272 DEBUG Sending keepalive ping 2021-08-03 17:51:35,272 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:35,359 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:51:35,360 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:35,493 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:51:35,495 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:51:35,499 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:35,721 DEBUG client - event = data_received(<26 bytes>) 2021-08-03 17:51:35,737 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"51","time":"2021-08-03T22:50:06.706Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:36,284 DEBUG client > Frame(fin=True, opcode=, data=b'\x17\xff\t\xf7', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:36,349 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:51:36,349 DEBUG client < Frame(fin=True, opcode=, data=b'\x17\xff\t\xf7', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:36,349 DEBUG client - received solicited pong: 17ff09f7 2021-08-03 17:51:56,353 DEBUG client > Frame(fin=True, opcode=, data=b'B\x06\xa1L', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:56,440 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:51:56,441 DEBUG client < Frame(fin=True, opcode=, data=b'B\x06\xa1L', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:51:56,443 DEBUG client - received solicited pong: 4206a14c 2021-08-03 17:52:05,279 DEBUG Sending keepalive ping 2021-08-03 17:52:05,279 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:05,365 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 17:52:05,365 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:16,462 DEBUG client > Frame(fin=True, opcode=, data=b'\xa9DF\xf5', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:16,549 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:52:16,551 DEBUG client < Frame(fin=True, opcode=, data=b'\xa9DF\xf5', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:16,553 DEBUG client - received solicited pong: a94446f5 2021-08-03 17:52:35,295 DEBUG Sending keepalive ping 2021-08-03 17:52:35,295 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:35,417 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:52:35,420 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:35,517 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:52:35,518 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:52:35,518 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:35,681 DEBUG client - event = data_received(<26 bytes>) 2021-08-03 17:52:35,697 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"51","time":"2021-08-03T22:50:06.706Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:36,566 DEBUG client > Frame(fin=True, opcode=, data=b'\x9fn\xe8\xfe', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:36,623 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:52:36,623 DEBUG client < Frame(fin=True, opcode=, data=b'\x9fn\xe8\xfe', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:36,623 DEBUG client - received solicited pong: 9f6ee8fe 2021-08-03 17:52:56,633 DEBUG client > Frame(fin=True, opcode=, data=b'\x02\x0e\xf9\xa1', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:56,707 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 17:52:56,708 DEBUG client < Frame(fin=True, opcode=, data=b'\x02\x0e\xf9\xa1', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:52:56,709 DEBUG client - received solicited pong: 020ef9a1 (.venv) PS C:\Users\swcra\source\repos\gehome-master> c:; cd 'c:\Users\swcra\source\repos\gehome-master'; & 'c:\Users\swcra\source\repos\gehome-master\.venv\Scripts\python.exe' 'c:\Users\swcra\.vscode\extensions\ms-python.python-2021.7.1060902895\pythonFiles\lib\python\debugpy\launcher' '54472' '--' 'c:\Users\swcra\source\repos\gehome-master\examples\websocket_example.py' c:; cd 'c:\Users\swcra\source\repos\gehome-master'; & 'c:\Users\swcra\source\repos\gehome-master\.venv\Scripts\python.exe' 'c:\Users\swcra\.vscode\extensions\ms-python.python-2021.7.1060902895\pythonFiles\lib\python\debugpy\launcher' '50778' '--' 'c:\Users\swcra\source\repos\gehome-master\examples\websocket_example.py' Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 193, in _run_module_as_main File "c:\Users\swcra\.vscode\extensions\ms-python.python-2021.7.1060902895\pythonFiles\lib\python\debugpy\launcher\__main__.py", line 97, in .0_x64__qbz5n2kfra8p0\lib\runpy.py", line 85, in main() File "c:\Users\swcra\.vscode\extensions\ms-python.python-2021.7.1060902895\pythonFiles\lib\python\debugpy\launcher\__main__.py", line 53, in main onFiles\lib\python\debugpy\launcher\__main__.py", launcher.connect(host, port) File "c:\Users\swcra\.vscode\extensions\ms-python.python-2021.7.1060902895\pythonFiles\lib\python\debugpy\launcher/../..\debugpy\launcher\__init__.py", line 34,onFiles\lib\python\debugpy\launcher\__main__.py", in connect sock.connect((host, port)) ConnectionRefusedError: [WinError 10061] No connection could be made because the onFiles\lib\python\debugpy\launcher/../..\debugpy target machine actively refused it 2021-08-03 17:53:15,167 DEBUG Using selector: SelectSelector c:\Users\swcra\source\repos\gehome-master\examples\websocket_example.py:74: Depretarget machine actively refused itcationWarning: The object should be created within an async function session = aiohttp.ClientSession() cationWarning: The object should be created withi 2021-08-03 17:53:15,204 DEBUG Getting OAuth2 token 2021-08-03 17:53:15,284 DEBUG Client changed state: GeClientState.INITIALIZING to GeClientState.AUTHORIZING_OAUTH 2021-08-03 17:53:16,404 DEBUG Getting WS credentials to GeClientState.AUTHORIZING_OAUTH 2021-08-03 17:53:16,407 DEBUG Client changed state: GeClientState.AUTHORIZING_OAUTH to GeClientState.AUTHORIZING_CLIENT OAUTH to GeClientState.AUTHORIZING_CLIENT 2021-08-03 17:53:19,372 INFO Starting GE Appliances client 2021-08-03 17:53:19,490 DEBUG Client changed state: GeClientState.AUTHORIZING_CLIENT to GeClientState.CONNECTING 2021-08-03 17:53:19,577 DEBUG client - state = CONNECTING 2021-08-03 17:53:19,718 DEBUG client - event = connection_made() 2021-08-03 17:53:19,721 DEBUG client > GET /?access_token=ue1cp9m55agsdhc8agpjooxk8qsq3hyz HTTP/1.1 2021-08-03 17:53:19,722 DEBUG client > Headers([('Host', 'ws-us-east-1.brillion.geappliances.com'), ('Upgrade', 'websocket'), ('Connection', 'Upgrade'), ('Sec-WebSocket-Key', 'u9xW41zdbHoOMcDfIVHuWw=='), ('Sec-WebSocket-Version', '13'), ('Sec-WebSocket-Extensions', 'permessage-deflate; client_max_window_bits'), ('User-Agent', 'Python/3.7 websockets/9.1')]) 2021-08-03 17:53:19,954 DEBUG client - event = data_received(<212 bytes>) 2021-08-03 17:53:19,956 DEBUG client < HTTP/1.1 101 Switching Protocols 2021-08-03 17:53:19,957 DEBUG client < Headers([('Date', 'Tue, 03 Aug 2021 22:53:20 GMT'), ('Connection', 'upgrade'), ('upgrade', 'websocket'), ('sec-websocket-accept', 'WZ13E62n5kyI4K1qmTZpLxtidxY='), ('sec-websocket-extensions', 'permessage-deflate')]) 2021-08-03 17:53:19,960 DEBUG client - state = OPEN 2021-08-03 17:53:19,962 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#subscribe", "action": "subscribe", "resources": ["/appliance/*/erd/*"]}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:19,967 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance", "id": "List-appliances"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:19,971 DEBUG Client changed state: GeClientState.CONNECTING to GeClientState.CONNECTED 2021-08-03 17:53:20,083 DEBUG client - event = data_received(<49 bytes>) 2021-08-03 17:53:20,084 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#subscribe","success":true}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:20,225 DEBUG client - event = data_received(<272 bytes>) 2021-08-03 17:53:20,226 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"List-appliances","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance"},"success":true,"code":200,"body":{"kind":"appliance#applianceList","userId":"9p7asg11qvoogi1","items":[{"applianceId":"D828C96A078B","type":"Air Conditioner","brand":"Unknown","jid":"d828c96a078b_9p7asg11qvoogi1","nickname":"Garage Air ","online":"ONLINE","onlineTime":"2021-08-01T05:00:47.000Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:20,239 DEBUG D828C96A078B marked available 2021-08-03 17:53:20,240 DEBUG Adding appliance D828C96A078B 2021-08-03 17:53:20,240 DEBUG Requesting update for client D828C96A078B 2021-08-03 17:53:20,241 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:20,243 DEBUG Requesting features for client D828C96A078B 2021-08-03 17:53:20,244 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/feature", "id": "Request-features"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:20,248 DEBUG Registering update callback for GeAppliance(D828C96A078B) (Unknown Type) 2021-08-03 17:53:20,381 DEBUG client - event = data_received(<16 bytes>) 2021-08-03 17:53:20,381 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#connect","success":true}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:20,398 DEBUG client - event = data_received(<248 bytes>) 2021-08-03 17:53:20,399 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"51","time":"2021-08-03T22:50:06.706Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 17:53:20,407 DEBUG Setting ErdCode.MODEL_NUMBER to AHTK12AA 2021-08-03 17:53:20,408 DEBUG Setting ErdCode.SERIAL_NUMBER to 2021-08-03 17:53:20,409 DEBUG Setting ErdCode.TEMPERATURE_UNIT to ErdMeasurementUnits.IMPERIAL 2021-08-03 17:53:20,410 DEBUG Setting ErdCode.APPLIANCE_TYPE to ErdApplianceType.AIR_CONDITIONER 2021-08-03 17:53:20,412 DEBUG Setting ErdCode.UNIT_TYPE to ErdUnitType.UNKNOWN2021-08-03 17:53:20,413 DEBUG Setting ErdCode.UNKNOWN_0099 to b'\x00' 2021-08-03 17:53:20,415 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION to 0.0.11.39 2021-08-03 17:53:20,416 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-08-03 17:53:20,418 DEBUG Setting ErdCode.ACM_UPDATING to False 2021-08-03 17:53:20,419 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION to 0.0.0.0 2021-08-03 17:53:20,421 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-08-03 17:53:20,422 DEBUG Setting ErdCode.APPLIANCE_UPDATING to False 2021-08-03 17:53:20,423 DEBUG Setting ErdCode.AC_TARGET_TEMPERATURE to 70 2021-08-03 17:53:20,424 DEBUG Setting ErdCode.AC_FAN_SETTING to ErdAcFanSetting.AUTO 2021-08-03 17:53:20,425 DEBUG Setting ErdCode.AC_OPERATION_MODE to ErdAcOperationMode.ENERGY_SAVER 2021-08-03 17:53:20,427 DEBUG Setting ErdCode.AC_AMBIENT_TEMPERATURE to 81 2021-08-03 17:53:20,428 DEBUG Setting ErdCode.AC_FILTER_STATUS to ErdAcFilterStatus.OK 2021-08-03 17:53:20,429 DEBUG Setting ErdCode.AC_POWER_STATUS to ErdOnOff.OFF 2021-08-03 17:53:20,430 DEBUG Setting ErdCode.AC_UNKNOWN7A12 to b'\x00\x01K\xff' 2021-08-03 17:53:20,431 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_POWER to 0.02021-08-03 17:53:20,432 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_STATE to ErdWacDemandResponseState.NOT_IN_DEMAND_RESPONSE 2021-08-03 17:53:20,434 DEBUG Got initial appliance type for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 17:53:20,436 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.MODEL_NUMB (.venv) PS C:\Users\swcra\source\repos\gehome-master> c:; cd 'c:\Users\swcra\source\repos\gehome-master'; & 'c:\Users\swcra\source\repos\gehome-master\.venv\Scripts\python.exe' 'c:\Users\swcra\.vscode\extensions\ms-python.python-2021.7.1060902895\pythonFiles\lib\python\debugpy\launcher' '51958' '--' 'c:\Users\swcra\source\repos\gehome-master\examples\websocket_example.py' 2021-08-03 18:08:45,770 DEBUG Using selector: SelectSelector c:\Users\swcra\source\repos\gehome-master\examples\websocket_example.py:74: DeprecationWarning: The object should be created within an async function session = aiohttp.ClientSession() 2021-08-03 18:08:45,778 DEBUG Getting OAuth2 token 2021-08-03 18:08:45,822 DEBUG Client changed state: GeClientState.INITIALIZING to GeClientState.AUTHORIZING_OAUTH 2021-08-03 18:08:47,134 DEBUG Getting WS credentials 2021-08-03 18:08:47,139 DEBUG Client changed state: GeClientState.AUTHORIZING_OAUTH to GeClientState.AUTHORIZING_CLIENT 2021-08-03 18:08:47,455 INFO Starting GE Appliances client 2021-08-03 18:08:47,552 DEBUG Client changed state: GeClientState.AUTHORIZING_CLIENT to GeClientState.CONNECTING 2021-08-03 18:08:47,669 DEBUG client - state = CONNECTING 2021-08-03 18:08:47,820 DEBUG client - event = connection_made() 2021-08-03 18:08:47,825 DEBUG client > GET /?access_token=ue1cpr0ftwheve5u7iv4b153c77coxcn HTTP/1.1 2021-08-03 18:08:47,829 DEBUG client > Headers([('Host', 'ws-us-east-1.brillion.geappliances.com'), ('Upgrade', 'websocket'), ('Connection', 'Upgrade'), ('Sec-WebSocket-Key', 'z4GKoNv6dbMiTK9Q0pszgQ=='), ('Sec-WebSocket-Version', '13'), ('Sec-WebSocket-Extensions', 'permessage-deflate; client_max_window_bits'), ('User-Agent', 'Python/3.7 websockets/9.1')]) 2021-08-03 18:08:48,006 DEBUG client - event = data_received(<212 bytes>) 2021-08-03 18:08:48,009 DEBUG client < HTTP/1.1 101 Switching Protocols 2021-08-03 18:08:48,010 DEBUG client < Headers([('Date', 'Tue, 03 Aug 2021 23:08:48 GMT'), ('Connection', 'upgrade'), ('upgrade', 'websocket'), ('sec-websocket-accept', '6sB67iZjNup2lmgycg2EcQELPiQ='), ('sec-websocket-extensions', 'permessage-deflate')]) 2021-08-03 18:08:48,016 DEBUG client - state = OPEN 2021-08-03 18:08:48,020 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#subscribe", "action": "subscribe", "resources": ["/appliance/*/erd/*"]}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,026 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance", "id": "List-appliances"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,032 DEBUG Client changed state: GeClientState.CONNECTING to GeClientState.CONNECTED 2021-08-03 18:08:48,162 DEBUG client - event = data_received(<49 bytes>) 2021-08-03 18:08:48,163 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#subscribe","success":true}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,260 DEBUG client - event = data_received(<272 bytes>) 2021-08-03 18:08:48,262 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"List-appliances","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance"},"success":true,"code":200,"body":{"kind":"appliance#applianceList","userId":"9p7asg11qvoogi1","items":[{"applianceId":"D828C96A078B","type":"Air Conditioner","brand":"Unknown","jid":"d828c96a078b_9p7asg11qvoogi1","nickname":"Garage Air ","online":"ONLINE","onlineTime":"2021-08-01T05:00:47.000Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,271 DEBUG D828C96A078B marked available 2021-08-03 18:08:48,272 DEBUG Adding appliance D828C96A078B 2021-08-03 18:08:48,273 DEBUG Requesting update for client D828C96A078B 2021-08-03 18:08:48,274 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,276 DEBUG Requesting features for client D828C96A078B 2021-08-03 18:08:48,277 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/feature", "id": "Request-features"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,280 DEBUG Registering update callback for GeAppliance(D828C96A078B) (Unknown Type) 2021-08-03 18:08:48,440 DEBUG client - event = data_received(<248 bytes>) 2021-08-03 18:08:48,442 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0046","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"50","time":"2021-08-03T23:08:06.823Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T02:48:19.561Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,454 DEBUG Setting ErdCode.MODEL_NUMBER to AHTK12AA 2021-08-03 18:08:48,455 DEBUG Setting ErdCode.SERIAL_NUMBER to 2021-08-03 18:08:48,456 DEBUG Setting ErdCode.TEMPERATURE_UNIT to ErdMeasurementUnits.IMPERIAL 2021-08-03 18:08:48,457 DEBUG Setting ErdCode.APPLIANCE_TYPE to ErdApplianceType.AIR_CONDITIONER 2021-08-03 18:08:48,458 DEBUG Setting ErdCode.UNIT_TYPE to ErdUnitType.UNKNOWN 2021-08-03 18:08:48,460 DEBUG Setting ErdCode.UNKNOWN_0099 to b'\x00' 2021-08-03 18:08:48,462 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION to 0.0.11.39 2021-08-03 18:08:48,463 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-08-03 18:08:48,465 DEBUG Setting ErdCode.ACM_UPDATING to False 2021-08-03 18:08:48,466 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION to 0.0.0.0 2021-08-03 18:08:48,467 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-08-03 18:08:48,469 DEBUG Setting ErdCode.APPLIANCE_UPDATING to False 2021-08-03 18:08:48,470 DEBUG Setting ErdCode.AC_TARGET_TEMPERATURE to 70 2021-08-03 18:08:48,471 DEBUG Setting ErdCode.AC_FAN_SETTING to ErdAcFanSetting.AUTO 2021-08-03 18:08:48,472 DEBUG Setting ErdCode.AC_OPERATION_MODE to ErdAcOperationMode.ENERGY_SAVER 2021-08-03 18:08:48,473 DEBUG Setting ErdCode.AC_AMBIENT_TEMPERATURE to 80 2021-08-03 18:08:48,475 DEBUG Setting ErdCode.AC_FILTER_STATUS to ErdAcFilterStatus.OK 2021-08-03 18:08:48,476 DEBUG Setting ErdCode.AC_POWER_STATUS to ErdOnOff.OFF 2021-08-03 18:08:48,477 DEBUG Setting ErdCode.AC_UNKNOWN7A12 to b'\x00\x01K\xff' 2021-08-03 18:08:48,478 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_POWER to 0.0 2021-08-03 18:08:48,479 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_STATE to ErdWacDemandResponseState.NOT_IN_DEMAND_RESPONSE 2021-08-03 18:08:48,480 DEBUG Got initial appliance type for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 18:08:48,482 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.MODEL_NUMBER, ErdCode.SERIAL_NUMBER, ErdCode.TEMPERATURE_UNIT, ErdCode.APPLIANCE_TYPE, ErdCode.UNIT_TYPE, ErdCode.UNKNOWN_0099, ErdCode.WIFI_MODULE_SW_VERSION, ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE, ErdCode.ACM_UPDATING, ErdCode.APPLIANCE_SW_VERSION, ErdCode.APPLIANCE_SW_VERSION_AVAILABLE, ErdCode.APPLIANCE_UPDATING, ErdCode.AC_TARGET_TEMPERATURE, ErdCode.AC_FAN_SETTING, ErdCode.AC_OPERATION_MODE, ErdCode.AC_AMBIENT_TEMPERATURE, ErdCode.AC_FILTER_STATUS, ErdCode.AC_POWER_STATUS, ErdCode.AC_UNKNOWN7A12, ErdCode.WAC_DEMAND_RESPONSE_POWER, ErdCode.WAC_DEMAND_RESPONSE_STATE 2021-08-03 18:08:48,484 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 18:08:48,572 DEBUG client - event = data_received(<17 bytes>) 2021-08-03 18:08:48,573 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#connect","success":true}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,608 DEBUG client - event = data_received(<42 bytes>) 2021-08-03 18:08:48,609 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"Request-features","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/feature"},"success":true,"code":200,"body":{"kind":"appliance#applianceFeature","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","features":[]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:08:48,612 DEBUG Received features [] for D828C96A078B 2021-08-03 18:08:48,691 DEBUG client - event = data_received(<49 bytes>) 2021-08-03 18:08:48,692 DEBUG client < Frame(fin=True, opcode=, data=b'{"resource":"/appliance/*/erd/*","kind":"websocket#subscription","success":true,"change":"ADDED"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:08,044 DEBUG client > Frame(fin=True, opcode=, data=b'S\x05R\xbe', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:08,121 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 18:09:08,129 DEBUG client < Frame(fin=True, opcode=, data=b'S\x05R\xbe', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:08,132 DEBUG client - received solicited pong: 530552be 2021-08-03 18:09:14,406 DEBUG client - event = data_received(<56 bytes>) 2021-08-03 18:09:14,408 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7A0F","time":"2021-08-03T23:09:13.297Z","value":"01"},"resource":"/appliance/D828C96A078B/erd/0x7A0F","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:14,413 DEBUG Setting ErdCode.AC_POWER_STATUS to ErdOnOff.ON 2021-08-03 18:09:14,413 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_POWER_STATUS 2021-08-03 18:09:18,038 DEBUG Sending keepalive ping 2021-08-03 18:09:18,038 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:18,110 DEBUG client - event = data_received(<28 bytes>) 2021-08-03 18:09:18,111 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:28,142 DEBUG client > Frame(fin=True, opcode=, data=b'\x82\x18\xcb\xb5', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:28,224 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 18:09:28,225 DEBUG client < Frame(fin=True, opcode=, data=b'\x82\x18\xcb\xb5', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:28,226 DEBUG client - received solicited pong: 8218cbb5 2021-08-03 18:09:34,732 DEBUG client - event = data_received(<30 bytes>) 2021-08-03 18:09:34,748 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7003","time":"2021-08-03T23:09:34.022Z","value":"0045"},"resource":"/appliance/D828C96A078B/erd/0x7003","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:34,748 DEBUG Setting ErdCode.AC_TARGET_TEMPERATURE to 69 2021-08-03 18:09:34,748 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_TARGET_TEMPERATURE 2021-08-03 18:09:48,042 DEBUG Sending keepalive ping 2021-08-03 18:09:48,042 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:48,131 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 18:09:48,133 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:48,234 DEBUG client > Frame(fin=True, opcode=, data=b"x'\xb2\xc3", rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:48,297 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 18:09:48,298 DEBUG Requesting update for client D828C96A078B 2021-08-03 18:09:48,299 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:48,307 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 18:09:48,308 DEBUG client < Frame(fin=True, opcode=, data=b"x'\xb2\xc3", rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:48,309 DEBUG client - received solicited pong: 7827b2c3 2021-08-03 18:09:48,483 DEBUG client - event = data_received(<38 bytes>) 2021-08-03 18:09:48,483 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0045","time":"2021-08-03T23:09:34.022Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"02","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A02","value":"50","time":"2021-08-03T23:08:06.823Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"01","time":"2021-08-03T23:09:13.297Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"0000000000000000000000","time":"2021-08-03T02:48:44.035Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:56,910 DEBUG client - event = data_received(<25 bytes>) 2021-08-03 18:09:56,910 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7A01","time":"2021-08-03T23:09:55.612Z","value":"00"},"resource":"/appliance/D828C96A078B/erd/0x7A01","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:09:56,910 DEBUG Setting ErdCode.AC_OPERATION_MODE to ErdAcOperationMode.COOL 2021-08-03 18:09:56,925 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_OPERATION_MODE 2021-08-03 18:10:07,681 DEBUG client - event = data_received(<34 bytes>) 2021-08-03 18:10:07,683 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0xD005","time":"2021-08-03T23:10:06.780Z","value":"041A000000000000000000"},"resource":"/appliance/D828C96A078B/erd/0xD005","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:07,688 DEBUG Setting ErdCode.WAC_DEMAND_RESPONSE_POWER to 1.05 2021-08-03 18:10:07,691 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.WAC_DEMAND_RESPONSE_POWER 2021-08-03 18:10:08,030 DEBUG client - event = data_received(<20 bytes>) 2021-08-03 18:10:08,033 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7A02","time":"2021-08-03T23:10:06.780Z","value":"53"},"resource":"/appliance/D828C96A078B/erd/0x7A02","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:08,038 DEBUG Setting ErdCode.AC_AMBIENT_TEMPERATURE to 83 2021-08-03 18:10:08,041 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_AMBIENT_TEMPERATURE 2021-08-03 18:10:08,324 DEBUG client > Frame(fin=True, opcode=, data=b'\xed\xab\x96\xf3', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:08,399 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 18:10:08,400 DEBUG client < Frame(fin=True, opcode=, data=b'\xed\xab\x96\xf3', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:08,402 DEBUG client - received solicited pong: edab96f3 2021-08-03 18:10:18,051 DEBUG Sending keepalive ping 2021-08-03 18:10:18,052 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:18,170 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 18:10:18,172 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:28,406 DEBUG client > Frame(fin=True, opcode=, data=b'\x9c\xbdl_', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:28,489 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 18:10:28,491 DEBUG client < Frame(fin=True, opcode=, data=b'\x9c\xbdl_', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:28,492 DEBUG client - received solicited pong: 9cbd6c5f 2021-08-03 18:10:31,046 DEBUG client - event = data_received(<20 bytes>) 2021-08-03 18:10:31,046 DEBUG client < Frame(fin=True, opcode=, data=b'{"item":{"applianceId":"D828C96A078B","erd":"0x7A0F","time":"2021-08-03T23:10:29.712Z","value":"00"},"resource":"/appliance/D828C96A078B/erd/0x7A0F","kind":"publish#erd","userId":"9p7asg11qvoogi1"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:31,061 DEBUG Setting ErdCode.AC_POWER_STATUS to ErdOnOff.OFF 2021-08-03 18:10:31,061 DEBUG Appliance state change detected in GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER). Updated keys: ErdCode.AC_POWER_STATUS 2021-08-03 18:10:48,048 DEBUG Sending keepalive ping 2021-08-03 18:10:48,048 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:48,140 DEBUG client - event = data_received(<7 bytes>) 2021-08-03 18:10:48,141 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:48,300 DEBUG Requesting update for GeAppliance(D828C96A078B) (ErdApplianceType.AIR_CONDITIONER) 2021-08-03 18:10:48,300 DEBUG Requesting update for client D828C96A078B 2021-08-03 18:10:48,300 DEBUG client > Frame(fin=True, opcode=, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance/D828C96A078B/erd", "id": "D828C96A078B-allErd"}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:48,489 DEBUG client > Frame(fin=True, opcode=, data=b'\xc9\xd8\x013', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:48,508 DEBUG client - event = data_received(<55 bytes>) 2021-08-03 18:10:48,510 DEBUG client < Frame(fin=True, opcode=, data=b'{"kind":"websocket#api","id":"D828C96A078B-allErd","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance/D828C96A078B/erd"},"success":true,"code":200,"body":{"kind":"appliance#erdList","userId":"9p7asg11qvoogi1","applianceId":"D828C96A078B","items":[{"erd":"0x0001","value":"084148544B313241410000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0002","value":"0000000000000000000000000000000000000000000000000000000000000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0007","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0008","value":"0A","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0035","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0099","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0100","value":"00000B27","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0101","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0102","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0103","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0104","value":"00000000","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x0105","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7003","value":"0045","time":"2021-08-03T23:09:34.022Z"},{"erd":"0x7A00","value":"01","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A01","value":"00","time":"2021-08-03T23:09:55.612Z"},{"erd":"0x7A02","value":"53","time":"2021-08-03T23:10:06.780Z"},{"erd":"0x7A04","value":"00","time":"2021-08-01T05:02:48.202Z"},{"erd":"0x7A0F","value":"00","time":"2021-08-03T23:10:29.712Z"},{"erd":"0x7A12","value":"00014BFF","time":"2021-08-03T04:01:45.042Z"},{"erd":"0xD005","value":"041A000000000000000000","time":"2021-08-03T23:10:06.780Z"},{"erd":"0xD006","value":"00","time":"2021-08-01T05:02:48.202Z"}]}}', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:48,560 DEBUG client - event = data_received(<6 bytes>) 2021-08-03 18:10:48,561 DEBUG client < Frame(fin=True, opcode=, data=b'\xc9\xd8\x013', rsv1=False, rsv2=False, rsv3=False) 2021-08-03 18:10:48,562 DEBUG client - received solicited pong: c9d80133