sdamasoc / domoticz_panasonic_CZ-TACG1

A Python plugin for Domoticz to communicate with Panasonic Cloud Confort throught CZ-TACG1 WiFi adapter
MIT License
8 stars 1 forks source link

Airco Devices created but cannot control them #14

Open hvoorend opened 2 months ago

hvoorend commented 2 months ago

I do have a CS-TZ50KWEW, CS-TZ25KWEW and CS-TZ20KWEW (built in LAN module). I see connection being made and devices being created in Domoticz. Do not see any errors in the log. However it seems I cannot control my Airco’s. For instance if I operate the [power] device, I can see in the log that I’ve issued a switch on command, but the airco does not react and the switch changes to off after a few seconds. Should these units with build in LAN module work at all with the plugin? Below what I see in the log every few minutes. Thanks for your help.

2024-04-18 20:49:02.111 Airco: get_device_by_id={"timestamp":1713465265151,"permission":3,"summerHouse":0,"iAutoX":false,"nanoe":false,"nanoeStandAlone":false,"autoMode":true,"heatMode":true,"fanMode":false,"dryMode":true,"coolMode":true,"ecoNavi":false,"powerfulMode":true,"quietMode":true,"airSwingLR":true,"autoSwingUD":false,"ecoFunction":0,"temperatureUnit":0,"modeAvlList":{"autoMode":1},"nanoeList":{"visualizationShow":0},"clothesDrying":false,"insideCleaning":false,"fireplace":false,"pairedFlg":false,"parameters":{"operate":0,"operationMode":3,"temperatureSet":24,"fanSpeed":0,"fanAutoMode":1,"airSwingLR":2,"airSwingUD":0,"ecoMode":0,"ecoNavi":0,"nanoe":0,"lastSettingMode":0,"iAuto":0,"airDirection":1,"insideTemperature":20,"outTemperature":9,"airQuality":0,"ecoFunctionData":0,"insideCleaning":0,"fireplace":0}} 2024-04-18 20:49:03.075 Airco: get_historic_data for CS-TZ50WKEW+4758715630 = 6;177 2024-04-18 20:49:04.140 Airco: get_device_by_id={"timestamp":1713465308290,"permission":3,"summerHouse":0,"iAutoX":false,"nanoe":false,"nanoeStandAlone":false,"autoMode":true,"heatMode":true,"fanMode":false,"dryMode":true,"coolMode":true,"ecoNavi":false,"powerfulMode":true,"quietMode":true,"airSwingLR":true,"autoSwingUD":false,"ecoFunction":0,"temperatureUnit":0,"modeAvlList":{"autoMode":1},"nanoeList":{"visualizationShow":0},"clothesDrying":false,"insideCleaning":false,"fireplace":false,"pairedFlg":false,"parameters":{"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":3,"airSwingLR":2,"airSwingUD":0,"ecoMode":2,"ecoNavi":0,"nanoe":0,"lastSettingMode":0,"iAuto":0,"airDirection":1,"insideTemperature":19,"outTemperature":9,"airQuality":0,"ecoFunctionData":0,"insideCleaning":0,"fireplace":0}} 2024-04-18 20:49:05.079 Airco: get_historic_data for CS-TZ25WKEW+4757851198 = 5;175 2024-04-18 20:49:06.118 Airco: get_device_by_id={"timestamp":1713465248996,"permission":3,"summerHouse":0,"iAutoX":false,"nanoe":false,"nanoeStandAlone":false,"autoMode":true,"heatMode":true,"fanMode":false,"dryMode":true,"coolMode":true,"ecoNavi":false,"powerfulMode":true,"quietMode":true,"airSwingLR":true,"autoSwingUD":false,"ecoFunction":0,"temperatureUnit":0,"modeAvlList":{"autoMode":1},"nanoeList":{"visualizationShow":0},"clothesDrying":false,"insideCleaning":false,"fireplace":false,"pairedFlg":false,"parameters":{"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":2,"airSwingLR":2,"airSwingUD":2,"ecoMode":0,"ecoNavi":0,"nanoe":0,"lastSettingMode":0,"iAuto":0,"airDirection":1,"insideTemperature":19,"outTemperature":9,"airQuality":0,"ecoFunctionData":0,"insideCleaning":0,"fireplace":0}} 2024-04-18 20:49:07.214 Airco: get_historic_data for CS-TZ20WKEW+4756833879 = 4;175

sdamasoc commented 2 months ago

Hi, I’ve tested some of the Panasonic devices but cannot ensure it works with all of them. In one of the previous logs you should have a log with the deviceList which will contain the deviceType attribute. If you want to create an account for me I can test your devices.

hvoorend commented 2 months ago

Thanks Sergio for your quick response. I can have a look at it end of next week. Will let you know.

Groet / Regards, Henny

Op 18 apr 2024 om 21:06 heeft Sergio @.***> het volgende geschreven:



Hi, I’ve tested some of the Panasonic devices but cannot ensure it works with all of them. In one of the previous logs you should have a log with the deviceList which will contain the deviceType attribute. If you want to create an account for me I can test your devices.

— Reply to this email directly, view it on GitHubhttps://github.com/sdamasoc/domoticz_panasonic_CZ-TACG1/issues/14#issuecomment-2064983542, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQXSVFAAB6GKXYDIK2OLB3DY6AKUHAVCNFSM6AAAAABGN3AVJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRUHE4DGNJUGI. You are receiving this because you authored the thread.Message ID: @.***>

hvoorend commented 2 months ago

As can be seen from below log, the deviceType is 3:

2024-04-25 12:11:08.009 Airco: Worker thread started. 2024-04-25 12:11:08.009 Status: Airco: Started. 2024-04-25 12:11:08.008 Status: Airco: Entering work loop. 2024-04-25 12:11:10.865 Airco: Getting latest Comfort Cloud version from the App Store... 2024-04-25 12:11:10.820 Status: Airco: Initialized version 2.0.0, author 'sdamasoc' 2024-04-25 12:11:13.247 Airco: get_app_version=1.20.1 2024-04-25 12:11:15.681 Airco: get_token={"uToken":"2689629002ec11ef85b4e90fa4ad0a12","country":"NL","extUsrId":"3ffvT3qzqqIqOvq0w9YKNdzislNieJYO","clientId":"2695979002ec11ef85b4e90fa4ad0a12","language":0} 2024-04-25 12:11:16.504 Airco: Could not authenticate to Aquarea Smart Panasonic: {"errorCode":4194305,"message":[{"errorMessage":"Logged out due to system error. Please login again after a while.","errorCode":"1000-0999","additionalErrorCode":null}],"accessToken":{}} 2024-04-25 12:11:18.032 Airco: get_devices={"uiFlg":false,"groupCount":1,"groupList":[{"groupId":946872,"groupName":"My House","pairingList":[],"deviceList":[{"deviceGuid":"CS-TZ50WKEW+4758715630","deviceType":"3","deviceName":"Woonkamer","permission":3,"temperatureUnit":0,"summerHouse":0,"nanoeStandAlone":false,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":3,"temperatureSet":23,"fanSpeed":0,"fanAutoMode":1,"airSwingLR":2,"airSwingUD":0,"ecoFunctionData":0,"ecoMode":0,"ecoNavi":0,"nanoe":0,"iAuto":0,"airDirection":1,"lastSettingMode":0},"deviceModuleNumber":"CS-TZ50WKEW","deviceHashGuid":"93699d21d4a3dc01fff93058a58143ad114a77a3db4394defe7e20352b133ff6","modelVersion":1,"coordinableFlg":false},{"deviceGuid":"CS-TZ25WKEW+4757851198","deviceType":"3","deviceName":"Slaapkamer","permission":3,"temperatureUnit":0,"summerHouse":0,"nanoeStandAlone":false,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":3,"airSwingLR":2,"airSwingUD":0,"ecoFunctionData":0,"ecoMode":2,"ecoNavi":0,"nanoe":0,"iAuto":0,"airDirection":1,"lastSettingMode":0},"deviceModuleNumber":"CS-TZ25WKEW","deviceHashGuid":"080851fe470fbfed3406783e8b5563539e0faef1280c8951c203e2ae9c169ffe","modelVersion":1,"coordinableFlg":false},{"deviceGuid":"CS-TZ20WKEW+4756833879","deviceType":"3","deviceName":"Werkkamer","permission":3,"temperatureUnit":0,"summerHouse":0,"nanoeStandAlone":false,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":2,"airSwingLR":2,"airSwingUD":2,"ecoFunctionData":0,"ecoMode":0,"ecoNavi":0,"nanoe":0,"iAuto":0,"airDirection":1,"lastSettingMode":0},"deviceModuleNumber":"CS-TZ20WKEW","deviceHashGuid":"982db88b601214b5f512c711d5462e758fe1958be16e625c0d0465a69cf3b432","modelVersion":1,"coordinableFlg":false}]}]} 2024-04-25 12:11:18.034 Airco: ##################################################################################

sdamasoc commented 1 month ago

Hi Hvoorend, Sorry for the late response. devicetype 3 is Accsmart but it’s strange because I see Aquarea login errors which should not be present for devicetype 3. I would need a full debug log to investigate or better an account to access your devices…

hvoorend commented 1 month ago

No worries Sergio. Thanks for responding. Nothing personal but in general from security point of view I don’t like to give access to my network and devices. I’m sure you will understand. However if you can point out exactly which log(s) you need, I’m very happy to provide them of course.

sdamasoc commented 1 month ago

Yes I understand but it’s not with your Panasonic account that I will access your network.

In this case I cannot help a lot, here are some things that you can try: