Open msg00235 opened 3 months ago
除了前面3行顯示連線不到洗衣機外,好像沒看到其他錯誤,可以要再花一點時間查錯。 後面出現的warning 已在 #117 修正。
2024-08-23 15:39:41.138 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration panasonic_smart_app with title: 電話號碼 and entry_id: 01J44GYFBHXAP639R6PY77P20M, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
今天開著除錯日誌洗衣 一樣發生實體不更新 日誌內容:
2024-08-25 15:14:33.447 WARNING (MainThread) [custom_components.panasonic_smart_app.smartApp] 無法連線至"洗衣機-1",將於下輪更新時重試
2024-08-25 15:17:33.344 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-25 15:17:33.345 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1267 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-25 15:17:33.603 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1267 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240806111926","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB2589A6","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-1","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y32GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"E8C7CF89AD0A","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-2","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y24GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE2C73F1","ModelID":"CZ-T006","AreaID":"1","SeqNo":"1","Auth":"7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3","NickName":"洗衣機-1","(地點省略),"DeviceType":"3","ModelType":"HDH","Model":"NA-V160HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"GXW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"GXW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170824","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["送風模式",3],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["急速",1],["標準",2],["靜音",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]}]}
2024-08-25 15:17:35.346 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1268 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-25 15:17:35.698 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1268 API. Returned 200: {"Summary":44.29,"kwh":[1.2,0.96,1.19,2.05,0.9,2.4,0.7,0.37,3.3,1.4,2.4,2.9,1.8,1.3,2.8,2.29,1.2,3.7,1.3,1.0,1.96,0.7,1.67,3.4,1.4,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"42.20","percent":"95.28"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1","Total_kwh":"2.09","percent":"4.72"}],"GwList":[{"GwID":"2C9FFB2589A6","DeviceType":"4","NickName":"除濕機-1","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"19.90","kwh":[1.2,0.8,1.0,1.5,0.9,0.8,0.0,0.0,1.4,0.5,0.9,0.8,0.9,0.0,0.0,0.2,1.2,1.4,1.3,1.0,0.0,0.0,1.4,2.6,0.1,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"44.93","Attribute":{"Year":"0"}},{"GwID":"E8C7CF89AD0A","DeviceType":"4","NickName":"除濕機-2","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"22.30","kwh":[0.0,0.0,0.0,0.0,0.0,1.6,0.7,0.1,1.9,0.9,1.4,2.0,0.9,1.3,2.8,1.9,0.0,2.3,0.0,0.0,1.7,0.7,0.0,0.8,1.3,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"50.35","Attribute":{"Year":"0"}},{"GwID":"7061BE2C73F1","DeviceType":"3","NickName":"洗衣機-1","AreaID":"1","AreaName":"2樓","AreaNo":"1","SeqNo":"1","Total_kwh":"2.09","kwh":[0.0,0.16,0.19,0.55,0.0,0.0,0.0,0.27,0.0,0.0,0.1,0.1,0.0,0.0,0.0,0.19,0.0,0.0,0.0,0.0,0.26,0.0,0.27,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"4.72","Attribute":{"Type":"滾筒"}}]}
2024-08-25 15:17:37.348 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1269 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': '2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF', 'gwid': '2C9FFB2589A6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:17:37.867 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1269 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"1"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"1"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"73"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"0"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825151653"}
2024-08-25 15:17:39.349 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1270 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': 'E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF', 'gwid': 'E8C7CF89AD0A', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:17:39.876 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1270 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"65535"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"72"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"0"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"2"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825151654"}
2024-08-25 15:17:41.351 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1271 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': '7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3', 'gwid': '7061BE2C73F1', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-25 15:17:42.698 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1271 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x13","status":"48"},{"CommandType":"0x14","status":"0"},{"CommandType":"0x15","status":"0"},{"CommandType":"0x41","status":"65535"},{"CommandType":"0x50","status":"2"},{"CommandType":"0x54","status":"3"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x61","status":"65535"},{"CommandType":"0x64","status":"112"}]}],"updated_at":"20240825151731"}
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] Finished fetching Panasonic Smart Application data in 10.008 seconds (success: True)
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] is_on: True
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] _mode: 濕度設定
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 本月耗電量] state: 19.9
2024-08-25 15:17:43.353 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 環境溼度] state: 73
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 PM2.5] state: 65535.0
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 本月耗電量] state: 22.3
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 環境溼度] state: 72
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 PM2.5] state: 65535.0
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 本月耗電量] state: 2.09
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 定時關機] value: 0
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 定時關機] value: 0
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 水箱滿水] is_on: True
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 水箱滿水] is_on: True
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 nanoeX] is_on: True
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 操作提示音] is_on: False
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 nanoeX] is_on: False
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 操作提示音] is_on: False
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風量設定] current_option: 自動
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風向設定] current_option: 固定
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風量設定] current_option: 自動
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風向設定] current_option: 固定
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] is_on: True
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] target_humidity: 40
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] target_humidity: 40
2024-08-25 15:17:43.354 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] _mode: 自動除濕
2024-08-25 15:20:43.344 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-25 15:20:43.344 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1272 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-25 15:20:43.499 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1272 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240806111926","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB2589A6","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-1","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y32GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"E8C7CF89AD0A","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-2","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y24GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE2C73F1","ModelID":"CZ-T006","AreaID":"1","SeqNo":"1","Auth":"7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3","NickName":"洗衣機-1","(地點省略),"DeviceType":"3","ModelType":"HDH","Model":"NA-V160HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"GXW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"GXW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170824","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["送風模式",3],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["急速",1],["標準",2],["靜音",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]}]}
2024-08-25 15:20:45.345 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1273 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-25 15:20:45.449 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1273 API. Returned 200: {"Summary":44.29,"kwh":[1.2,0.96,1.19,2.05,0.9,2.4,0.7,0.37,3.3,1.4,2.4,2.9,1.8,1.3,2.8,2.29,1.2,3.7,1.3,1.0,1.96,0.7,1.67,3.4,1.4,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"42.20","percent":"95.28"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1","Total_kwh":"2.09","percent":"4.72"}],"GwList":[{"GwID":"2C9FFB2589A6","DeviceType":"4","NickName":"除濕機-1","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"19.90","kwh":[1.2,0.8,1.0,1.5,0.9,0.8,0.0,0.0,1.4,0.5,0.9,0.8,0.9,0.0,0.0,0.2,1.2,1.4,1.3,1.0,0.0,0.0,1.4,2.6,0.1,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"44.93","Attribute":{"Year":"0"}},{"GwID":"E8C7CF89AD0A","DeviceType":"4","NickName":"除濕機-2","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"22.30","kwh":[0.0,0.0,0.0,0.0,0.0,1.6,0.7,0.1,1.9,0.9,1.4,2.0,0.9,1.3,2.8,1.9,0.0,2.3,0.0,0.0,1.7,0.7,0.0,0.8,1.3,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"50.35","Attribute":{"Year":"0"}},{"GwID":"7061BE2C73F1","DeviceType":"3","NickName":"洗衣機-1","AreaID":"1","AreaName":"2樓","AreaNo":"1","SeqNo":"1","Total_kwh":"2.09","kwh":[0.0,0.16,0.19,0.55,0.0,0.0,0.0,0.27,0.0,0.0,0.1,0.1,0.0,0.0,0.0,0.19,0.0,0.0,0.0,0.0,0.26,0.0,0.27,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"4.72","Attribute":{"Type":"滾筒"}}]}
2024-08-25 15:20:47.347 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1274 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': '2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF', 'gwid': '2C9FFB2589A6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:20:47.814 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1274 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"1"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"1"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"73"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"0"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825152003"}
2024-08-25 15:20:49.349 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1275 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': 'E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF', 'gwid': 'E8C7CF89AD0A', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:20:49.827 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1275 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"65535"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"71"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"0"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"2"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825152004"}
2024-08-25 15:20:51.350 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1276 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': '7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3', 'gwid': '7061BE2C73F1', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1276 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x13","status":"44"},{"CommandType":"0x14","status":"0"},{"CommandType":"0x15","status":"0"},{"CommandType":"0x41","status":"65535"},{"CommandType":"0x50","status":"2"},{"CommandType":"0x54","status":"3"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x61","status":"65535"},{"CommandType":"0x64","status":"112"}]}],"updated_at":"20240825152043"}
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] Finished fetching Panasonic Smart Application data in 11.526 seconds (success: True)
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] is_on: True
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] _mode: 濕度設定
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 本月耗電量] state: 19.9
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 環境溼度] state: 73
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 PM2.5] state: 65535.0
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 本月耗電量] state: 22.3
2024-08-25 15:20:54.870 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 環境溼度] state: 71
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 PM2.5] state: 65535.0
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 本月耗電量] state: 2.09
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 定時關機] value: 0
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 定時關機] value: 0
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 水箱滿水] is_on: True
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 水箱滿水] is_on: True
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 nanoeX] is_on: True
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 操作提示音] is_on: False
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 nanoeX] is_on: False
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 操作提示音] is_on: False
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風量設定] current_option: 自動
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風向設定] current_option: 固定
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風量設定] current_option: 自動
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風向設定] current_option: 固定
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] is_on: True
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] target_humidity: 40
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] target_humidity: 40
2024-08-25 15:20:54.871 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] _mode: 自動除濕
(中段省略)
2024-08-25 15:52:26.344 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-25 15:52:26.344 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1322 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-25 15:52:26.508 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1322 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240806111926","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB2589A6","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-1","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y32GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"E8C7CF89AD0A","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-2","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y24GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE2C73F1","ModelID":"CZ-T006","AreaID":"1","SeqNo":"1","Auth":"7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3","NickName":"洗衣機-1","(地點省略),"DeviceType":"3","ModelType":"HDH","Model":"NA-V160HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"GXW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"GXW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170824","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["送風模式",3],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["急速",1],["標準",2],["靜音",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]}]}
2024-08-25 15:52:28.345 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1323 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-25 15:52:28.614 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1323 API. Returned 200: {"Summary":44.29,"kwh":[1.2,0.96,1.19,2.05,0.9,2.4,0.7,0.37,3.3,1.4,2.4,2.9,1.8,1.3,2.8,2.29,1.2,3.7,1.3,1.0,1.96,0.7,1.67,3.4,1.4,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"42.20","percent":"95.28"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1","Total_kwh":"2.09","percent":"4.72"}],"GwList":[{"GwID":"2C9FFB2589A6","DeviceType":"4","NickName":"除濕機-1","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"19.90","kwh":[1.2,0.8,1.0,1.5,0.9,0.8,0.0,0.0,1.4,0.5,0.9,0.8,0.9,0.0,0.0,0.2,1.2,1.4,1.3,1.0,0.0,0.0,1.4,2.6,0.1,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"44.93","Attribute":{"Year":"0"}},{"GwID":"E8C7CF89AD0A","DeviceType":"4","NickName":"除濕機-2","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"22.30","kwh":[0.0,0.0,0.0,0.0,0.0,1.6,0.7,0.1,1.9,0.9,1.4,2.0,0.9,1.3,2.8,1.9,0.0,2.3,0.0,0.0,1.7,0.7,0.0,0.8,1.3,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"50.35","Attribute":{"Year":"0"}},{"GwID":"7061BE2C73F1","DeviceType":"3","NickName":"洗衣機-1","AreaID":"1","AreaName":"2樓","AreaNo":"1","SeqNo":"1","Total_kwh":"2.09","kwh":[0.0,0.16,0.19,0.55,0.0,0.0,0.0,0.27,0.0,0.0,0.1,0.1,0.0,0.0,0.0,0.19,0.0,0.0,0.0,0.0,0.26,0.0,0.27,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"4.72","Attribute":{"Type":"滾筒"}}]}
2024-08-25 15:52:30.347 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1324 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': '2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF', 'gwid': '2C9FFB2589A6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:52:30.891 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1324 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"1"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"1"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"72"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"0"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825155146"}
2024-08-25 15:52:32.349 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1325 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': 'E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF', 'gwid': 'E8C7CF89AD0A', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:52:32.868 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1325 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"65535"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"71"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"0"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"2"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825155147"}
2024-08-25 15:52:34.350 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1326 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '4A79DD31-C4F9-4978-AD36-86B635D58079', 'auth': '7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3', 'gwid': '7061BE2C73F1', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-25 15:52:36.362 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1326 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x13","status":"16"},{"CommandType":"0x14","status":"0"},{"CommandType":"0x15","status":"1"},{"CommandType":"0x41","status":"65535"},{"CommandType":"0x50","status":"2"},{"CommandType":"0x54","status":"4"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x61","status":"65535"},{"CommandType":"0x64","status":"112"}]}],"updated_at":"20240825155224"}
2024-08-25 15:52:36.362 DEBUG (MainThread) [custom_components.panasonic_smart_app] Finished fetching Panasonic Smart Application data in 10.019 seconds (success: True)
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] is_on: True
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] _mode: 濕度設定
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 本月耗電量] state: 19.9
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 環境溼度] state: 72
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 PM2.5] state: 65535.0
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 本月耗電量] state: 22.3
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 環境溼度] state: 71
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 PM2.5] state: 65535.0
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 本月耗電量] state: 2.09
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 定時關機] value: 0
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 定時關機] value: 0
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 水箱滿水] is_on: True
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 水箱滿水] is_on: True
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 nanoeX] is_on: True
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 操作提示音] is_on: False
2024-08-25 15:52:36.363 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 nanoeX] is_on: False
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 操作提示音] is_on: False
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風量設定] current_option: 自動
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風向設定] current_option: 固定
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風量設定] current_option: 自動
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風向設定] current_option: 固定
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] is_on: True
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] target_humidity: 40
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] target_humidity: 40
2024-08-25 15:52:36.364 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 ] _mode: 自動除濕
2024-08-25 15:55:15.152 INFO (MainThread) [custom_components.panasonic_smart_app]
Loading your Panasonic devices. This may takes few minutes to complete.
2024-08-25 15:55:15.152 INFO (MainThread) [custom_components.panasonic_smart_app.smartApp] Attemping to login...
2024-08-25 15:55:15.152 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1 request to https://ems2.panasonic.com.tw/api/userlogin1 with headers {'user-agent': 'okhttp/4.9.1'} and data {'MemId': '(帳號省略)', 'PW': '7re4SttqtwuDTQ', 'AppToken': 'D8CBFF4C-2824-4342-B22D-189166FEF503'}, proxy:
2024-08-25 15:55:15.499 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1 API. Returned 200: {"CPToken":"3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E","ExpireTime":"20241123155515","TokenTimeOut":"20240825165515","RefreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3MGEyMDBmOC0zZTYxLTQ5YzQtYjdmNi1jNWM1ZjI3N2VmZWQiLCJuYmYiOjE3MjQ1NzI1MTUsImV4cCI6MTczMjM0ODUxNSwiaWF0IjoxNzI0NTcyNTE1fQ.2oW2MGYcChKS1geCQWKlkQM5XrVCHNILT_d7D87oevY","RefreshTokenTimeOut":"20241123155515","MVersion":"20240806111926"}
2024-08-25 15:55:17.153 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-25 15:55:17.153 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #2 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-25 15:55:17.248 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #2 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240806111926","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB2589A6","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-1","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y32GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"E8C7CF89AD0A","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-2","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y24GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE2C73F1","ModelID":"CZ-T006","AreaID":"1","SeqNo":"1","Auth":"7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3","NickName":"洗衣機-1","(地點省略),"DeviceType":"3","ModelType":"HDH","Model":"NA-V160HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"GXW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"GXW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170824","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["送風模式",3],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["急速",1],["標準",2],["靜音",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]}]}
2024-08-25 15:55:19.155 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #3 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-25 15:55:19.440 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #3 API. Returned 200: {"Summary":44.29,"kwh":[1.2,0.96,1.19,2.05,0.9,2.4,0.7,0.37,3.3,1.4,2.4,2.9,1.8,1.3,2.8,2.29,1.2,3.7,1.3,1.0,1.96,0.7,1.67,3.4,1.4,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"42.20","percent":"95.28"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1","Total_kwh":"2.09","percent":"4.72"}],"GwList":[{"GwID":"2C9FFB2589A6","DeviceType":"4","NickName":"除濕機-1","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"19.90","kwh":[1.2,0.8,1.0,1.5,0.9,0.8,0.0,0.0,1.4,0.5,0.9,0.8,0.9,0.0,0.0,0.2,1.2,1.4,1.3,1.0,0.0,0.0,1.4,2.6,0.1,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"44.93","Attribute":{"Year":"0"}},{"GwID":"E8C7CF89AD0A","DeviceType":"4","NickName":"除濕機-2","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"22.30","kwh":[0.0,0.0,0.0,0.0,0.0,1.6,0.7,0.1,1.9,0.9,1.4,2.0,0.9,1.3,2.8,1.9,0.0,2.3,0.0,0.0,1.7,0.7,0.0,0.8,1.3,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"50.35","Attribute":{"Year":"0"}},{"GwID":"7061BE2C73F1","DeviceType":"3","NickName":"洗衣機-1","AreaID":"1","AreaName":"2樓","AreaNo":"1","SeqNo":"1","Total_kwh":"2.09","kwh":[0.0,0.16,0.19,0.55,0.0,0.0,0.0,0.27,0.0,0.0,0.1,0.1,0.0,0.0,0.0,0.19,0.0,0.0,0.0,0.0,0.26,0.0,0.27,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"4.72","Attribute":{"Type":"滾筒"}}]}
2024-08-25 15:55:21.157 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #4 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'auth': '2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF', 'gwid': '2C9FFB2589A6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:55:21.783 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #4 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"1"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"1"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"73"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"0"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825155436"}
2024-08-25 15:55:23.160 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #5 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'auth': 'E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF', 'gwid': 'E8C7CF89AD0A', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:55:23.831 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #5 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"65535"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"71"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"0"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"2"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825155438"}
2024-08-25 15:55:25.162 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #6 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'auth': '7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3', 'gwid': '7061BE2C73F1', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-25 15:55:27.049 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #6 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x13","status":"15"},{"CommandType":"0x14","status":"0"},{"CommandType":"0x15","status":"0"},{"CommandType":"0x41","status":"65535"},{"CommandType":"0x50","status":"2"},{"CommandType":"0x54","status":"4"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x61","status":"65535"},{"CommandType":"0x64","status":"112"}]}],"updated_at":"20240825155515"}
2024-08-25 15:55:27.164 DEBUG (MainThread) [custom_components.panasonic_smart_app] Finished fetching Panasonic Smart Application data in 10.011 seconds (success: True)
2024-08-25 15:55:27.166 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-25 15:55:27.167 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] is_on: True
2024-08-25 15:55:27.167 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:55:27.167 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] target_humidity: 50
2024-08-25 15:55:27.167 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 ] _mode: 濕度設定
2024-08-25 15:55:27.168 DEBUG (MainThread) [custom_components.panasonic_smart_app] Device index #0 status: dict_keys(['0x18', '0x50', '0x53', '0x55', '0x00', '0x01', '0x02', '0x07', '0x09', '0x0D', '0x0A', '0x04', '0x0E'])
2024-08-25 15:55:27.168 DEBUG (MainThread) [custom_components.panasonic_smart_app] Device index #1 status: dict_keys(['0x18', '0x50', '0x53', '0x55', '0x00', '0x01', '0x02', '0x07', '0x09', '0x0D', '0x0A', '0x04', '0x0E'])
2024-08-25 15:55:27.168 DEBUG (MainThread) [custom_components.panasonic_smart_app] Device index #2 status: dict_keys(['0x13', '0x14', '0x15', '0x41', '0x50', '0x54', '0x55', '0x61', '0x64'])
2024-08-25 15:55:27.168 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 本月耗電量] state: 19.9
2024-08-25 15:55:27.168 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 環境溼度] state: 73
2024-08-25 15:55:27.169 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities humidifier.chu_shi_ji_1 are missing or not currently available
2024-08-25 15:55:27.171 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 PM2.5] state: 65535.0
2024-08-25 15:55:27.171 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 本月耗電量] state: 22.3
2024-08-25 15:55:27.171 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 環境溼度] state: 71
2024-08-25 15:55:27.171 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 PM2.5] state: 65535.0
2024-08-25 15:55:27.171 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 本月耗電量] state: 2.09
2024-08-25 15:55:27.172 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 剩餘洗衣時間] state: 15
2024-08-25 15:55:27.172 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 運轉狀態] state: 動作中
2024-08-25 15:55:27.172 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 目前模式] state: 洗清
2024-08-25 15:55:27.172 DEBUG (MainThread) [custom_components.panasonic_smart_app] [洗衣機-1 目前行程] state: 標準行程
2024-08-25 15:55:27.174 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 定時關機] value: 0
2024-08-25 15:55:27.174 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 定時關機] value: 0
2024-08-25 15:55:27.176 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 水箱滿水] is_on: True
2024-08-25 15:55:27.179 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 水箱滿水] is_on: True
2024-08-25 15:55:27.181 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 nanoeX] is_on: True
2024-08-25 15:55:27.181 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 操作提示音] is_on: False
2024-08-25 15:55:27.182 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 nanoeX] is_on: False
2024-08-25 15:55:27.182 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 操作提示音] is_on: False
2024-08-25 15:55:27.183 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風量設定] current_option: 自動
2024-08-25 15:55:27.183 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-1 風向設定] current_option: 固定
2024-08-25 15:55:27.183 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風量設定] current_option: 自動
2024-08-25 15:55:27.183 DEBUG (MainThread) [custom_components.panasonic_smart_app] [除濕機-2 風向設定] current_option: 固定
2024-08-25 15:55:27.185 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #7 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-25 15:55:27.271 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #7 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240806111926","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB2589A6","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-1","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y32GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"E8C7CF89AD0A","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF","NickName":"除濕機-2","(地點省略)","DeviceType":"4","ModelType":"GXW","Model":"F-Y24GX","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE2C73F1","ModelID":"CZ-T006","AreaID":"1","SeqNo":"1","Auth":"7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3","NickName":"洗衣機-1","(地點省略),"DeviceType":"3","ModelType":"HDH","Model":"NA-V160HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"GXW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"GXW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170824","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["送風模式",3],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["急速",1],["標準",2],["靜音",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]}]}
2024-08-25 15:55:29.186 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #8 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-25 15:55:29.319 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #8 API. Returned 200: {"Summary":44.29,"kwh":[1.2,0.96,1.19,2.05,0.9,2.4,0.7,0.37,3.3,1.4,2.4,2.9,1.8,1.3,2.8,2.29,1.2,3.7,1.3,1.0,1.96,0.7,1.67,3.4,1.4,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"42.20","percent":"95.28"},{"AreaID":"1","AreaName":"2樓","AreaNo":"1","AreaIcon":"1","Total_kwh":"2.09","percent":"4.72"}],"GwList":[{"GwID":"2C9FFB2589A6","DeviceType":"4","NickName":"除濕機-1","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"19.90","kwh":[1.2,0.8,1.0,1.5,0.9,0.8,0.0,0.0,1.4,0.5,0.9,0.8,0.9,0.0,0.0,0.2,1.2,1.4,1.3,1.0,0.0,0.0,1.4,2.6,0.1,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"44.93","Attribute":{"Year":"0"}},{"GwID":"E8C7CF89AD0A","DeviceType":"4","NickName":"除濕機-2","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"22.30","kwh":[0.0,0.0,0.0,0.0,0.0,1.6,0.7,0.1,1.9,0.9,1.4,2.0,0.9,1.3,2.8,1.9,0.0,2.3,0.0,0.0,1.7,0.7,0.0,0.8,1.3,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"50.35","Attribute":{"Year":"0"}},{"GwID":"7061BE2C73F1","DeviceType":"3","NickName":"洗衣機-1","AreaID":"1","AreaName":"2樓","AreaNo":"1","SeqNo":"1","Total_kwh":"2.09","kwh":[0.0,0.16,0.19,0.55,0.0,0.0,0.0,0.27,0.0,0.0,0.1,0.1,0.0,0.0,0.0,0.19,0.0,0.0,0.0,0.0,0.26,0.0,0.27,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"4.72","Attribute":{"Type":"滾筒"}}]}
2024-08-25 15:55:31.187 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #9 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'auth': '2C9FFB2589A6DE72933DFCB57088EB3F0CC43337C2FF', 'gwid': '2C9FFB2589A6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:55:32.876 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #9 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"1"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"1"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"73"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"0"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825155448"}
2024-08-25 15:55:33.190 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #10 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'auth': 'E8C7CF89AD0ADE72933DFCB57088EB3F0CC43337C2FF', 'gwid': 'E8C7CF89AD0A', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-25 15:55:34.878 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #10 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"65535"},{"CommandType":"0x53","status":"65535"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"1"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"71"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"0"},{"CommandType":"0x0A","status":"1"},{"CommandType":"0x04","status":"2"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240825155449"}
2024-08-25 15:55:35.192 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #11 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '3081BCF0-EE39-4DEE-9FE2-3A156DB63D4E', 'auth': '7061BE2C73F19E60E913DA5D78AAAB9E79706C1457B3', 'gwid': '7061BE2C73F1', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-25 15:55:37.166 WARNING (MainThread) [homeassistant.components.humidifier] Setup of humidifier platform panasonic_smart_app is taking over 10 seconds.
@msg00235 請問您 Panasonic Smart App 內,洗衣機的名稱是否有更改過(目前是否為洗衣機-1
) ?
沒更改過 目前仍然是洗衣機-1
洗衣機型號是NA-V160HDH WIFI是內建的 設計上關洗衣機會直接連WIFI都關掉 沒開洗衣機的時候實體不可用且會一直在日誌裡跳訊息 不過開機後都會正常運作所以都懶得理他 但最近某次更新後 他有時會直接裝死 開洗了實體還是不可用 打開原廠APP是有連上線的 圖片是今天在洗完前才發現他又裝死了 把整合重新載入後會正常運作
但偵錯日誌裡是這樣
補上版本