Open Csejka opened 3 months ago
Enable debug logging and l need the entry that looks like:
[custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group ...
i found it
2024-06-29 18:07:25.669 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Starting Session 2024-06-29 18:07:26.077 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"uiFlg":false,"groupCount":1,"groupList":[{"groupId":348643,"groupName":"My House","pairingList":[],"deviceList":[]}]}
What type of devices is it, because that api call doesn't return any...
Panasonic CS-TZ25WKEW
Panasonic CS-TZ35WKEW
And the credentials you entered in HA have access to them?
for sure i have this two air cons in my CC account and can access them over the app
i had my air cons working with your plugin the last 2 years --> it suddenly stopped after updates on your component and HA side
The problem is most likely on the Panasonic side... try renaming your group in the app, restart HA and look for the groupName
device group request.
i tried this My House but no success
So you renamed the group in the app to something else, but the log entry still said 'My House'?
i made a new group - restartet home assistant Name of the Group is Home and when i want to login to the integrations it gives me that again
2024-06-29 20:38:22.126 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"uiFlg":false,"groupCount":1,"groupList":[{"groupId":348643,"groupName":"My House","pairingList":[],"deviceList":[]}]}
Have you set-up a separate account that does not have access to your devices? Try confirming that you are using the same login for HA and the app and seeing the same in the app with the same login.
Hi all,
Don't know if this is related or whether I should pile in on another thread, but after the fix over a week ago, the integration went down again this morning. I have since updated to v1.0.56 and tried removing and adding the integration from scratch, however I consistently get the following message through HA...
Any assistance would be appreciated.
@Master-Atreides not related. there are other issues for that.
Ok. Thanks. I'll try and find the right thread.
Kindly, Shannon
Sent on the go with Vodafone Sent from Outlook for Androidhttps://aka.ms/AAb9ysg
From: Thomas @.> Sent: Monday, July 1, 2024 9:54:08 PM To: sockless-coding/panasonic_cc @.> Cc: Master-Atreides @.>; Mention @.> Subject: Re: [sockless-coding/panasonic_cc] Home Assistant Tells me No Devices (Issue #234)
@Master-Atreideshttps://github.com/Master-Atreides not related. there are other issues for that.
— Reply to this email directly, view it on GitHubhttps://github.com/sockless-coding/panasonic_cc/issues/234#issuecomment-2200006124, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6ZJMR4HAFDVLP4QNVCK24LZKFC6RAVCNFSM6AAAAABKDHO36OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGAYDMMJSGQ. You are receiving this because you were mentioned.Message ID: @.***>
Hi, after update from 1.0.56 to 1.0.58. i have the same problem. rename the groupname in the app and a reboot changes nothing
Deleting and reconnecting doesn't change anything
yeah - i still have the problem
here a log with "Error in get_device"
2024-07-02 15:20:46.311 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Starting Session 2024-07-02 15:20:46.314 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Loaded settings from '/root/.panasonic-settings' 2024-07-02 15:20:46.317 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Access token is valid 2024-07-02 15:20:47.124 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"uiFlg":false,"groupCount":1,"groupList":[{"groupId":1122045,"groupName":"Zuhause","pairingList":[],"deviceList":[{"deviceGuid":"CS-Z35ZKEW+E064818781","deviceType":"3","deviceName":"Wohnzimmer ","permission":3,"temperatureUnit":0,"summerHouse":0,"nanoeStandAlone":true,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":2,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":0,"airSwingLR":2,"airSwingUD":2,"ecoFunctionData":0,"ecoMode":0,"ecoNavi":0,"nanoe":2,"iAuto":0,"airDirection":0,"lastSettingMode":0},"deviceModuleNumber":"CS-Z35ZKEW","deviceHashGuid":"5071d4ca2b6cfd9792c3b62c46f96cc50bda1ab3035862cba23dd8095b5431cb","modelVersion":2,"coordinableFlg":true,"pairedFlg":false}]}]} 2024-07-02 15:20:47.124 INFO (MainThread) [custom_components.panasonic_cc] Got 1 devices 2024-07-02 15:20:47.642 ERROR (MainThread) [custom_components.panasonic_cc.pcomfortcloud.helpers] Error in get_device Expected status code '200' but received '500' Response body: {"code":5005,"message":"Adapter Communication error"} 2024-07-02 15:20:47.643 WARNING (MainThread) [custom_components.panasonic_cc.panasonic] Error updating device 5071d4ca2b6cfd9792c3b62c46f96cc50bda1ab3035862cba23dd8095b5431cb Traceback (most recent call last): File "/config/custom_components/panasonic_cc/panasonic.py", line 86, in do_update data = await self._api.get_device(self.id)
and here after the change from the groupname:
custom_components.panasonic_cc.pcomfortcloud.exceptions.ResponseError: (get_device: Expected status code 200, received: 500: {"code":5005,"message":"Adapter Communication error"} 2024-07-02 15:22:37.126 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Starting Session 2024-07-02 15:22:37.132 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Loaded settings from '/root/.panasonic-settings' 2024-07-02 15:22:37.135 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Access token is valid 2024-07-02 15:22:37.487 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"uiFlg":false,"groupCount":1,"groupList":[{"groupId":1122045,"groupName":"Zuhause","pairingList":[],"deviceList":[{"deviceGuid":"CS-Z35ZKEW+E064818781","deviceType":"3","deviceName":"Wohnzimmer ","permission":3,"temperatureUnit":0,"summerHouse":0,"nanoeStandAlone":true,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":2,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":0,"airSwingLR":2,"airSwingUD":2,"ecoFunctionData":0,"ecoMode":0,"ecoNavi":0,"nanoe":2,"iAuto":0,"airDirection":0,"lastSettingMode":0},"deviceModuleNumber":"CS-Z35ZKEW","deviceHashGuid":"5071d4ca2b6cfd9792c3b62c46f96cc50bda1ab3035862cba23dd8095b5431cb","modelVersion":2,"coordinableFlg":true,"pairedFlg":false}]}]} 2024-07-02 15:22:37.487 INFO (MainThread) [custom_components.panasonic_cc] Got 1 devices 2024-07-02 15:22:38.467 ERROR (MainThread) [custom_components.panasonic_cc.pcomfortcloud.helpers] Error in get_device Expected status code '200' but received '500' Response body: {"code":5005,"message":"Adapter Communication error"} 2024-07-02 15:22:38.467 WARNING (MainThread) [custom_components.panasonic_cc.panasonic] Error updating device 5071d4ca2b6cfd9792c3b62c46f96cc50bda1ab3035862cba23dd8095b5431cb Traceback (most recent call last): File "/config/custom_components/panasonic_cc/panasonic.py", line 86, in do_update data = await self._api.get_device(self.id)
@asatron1 is your HVAC still working in the panasonic app? "Adapter Communication error"
seems to indicate a hardware error...
@heldchen yes, everything works with the APP. Shortly before the update everything worked fine. The problem occurred immediately after the update
I think @sockless-coding will have to add some debug logging to get_device
so that we can see the request made - I suspect there's a regression in the device handling since the zone implementation (I did not yet update my installation from 1.0.48 as it still works fine for me).
@heldchen After your question, I got the idea to unplug the air conditioner from the energy. After that, everything worked again.
@Csejka Is that also the solution for you?
@Csejka create a new Panasonic user and grant it access to your HVAC, then try using that user in HA. Panasonic isn't returning any information for your user.
hi there
i reseted the air cons and then connected both to the main user and then to the second user - now it works
best beni
Hi, after update from 1.0.56 to 1.0.58. i have the same problem. rename the groupname in the app and a reboot changes nothing
Deleting and reconnecting doesn't change anything
I have the same issue
Same here, none of the advices above makes the least difference. Comfort Cloud have never been a marvel of reliability, but now it’s simply just silly - it does not work.
@Segran if it has been working before, please enable debug logging and reload the integration and give me the logs, and I'll take a look. Though the Panasonic servers have had their fair share of issues lately...
Sure, have debugging enabled - but where the heck is the log-file? Have 2MFA and a working account with Panasonic Cloud, their app works just fine.
I guess Panansonic - just as Audi Connect and Husqvarna - don’t approve of HA accessing their API...
18 sep. 2024 kl. 21:04 skrev Jimmy Everling @.***>:
@Segran https://github.com/Segran if it has been working before, please enable debug logging and reload the integration and give me the logs, and I'll take a look. Though the Panasonic servers have had their fair share of issues lately...
— Reply to this email directly, view it on GitHub https://github.com/sockless-coding/panasonic_cc/issues/234#issuecomment-2359206647, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK4YWISMM4F43F6FGD6ETTZXHFE5AVCNFSM6AAAAABKDHO36OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGIYDMNRUG4. You are receiving this because you were mentioned.
@Segran under System / Logs there's a Load Full Logs button it will show you the whole log.
Easiest is you reload the integration and then head over to the logs, the last entries few entries containing custom_components.panasonic_cc
is the only thing I need.
OK, here is the relevant line: Felet härrör från en anpassad integration.
Logger: custom_components.panasonic_cc.pcomfortcloud.helpers Källa: custom_components/panasonic_cc/pcomfortcloud/helpers.py:27 integration: Panasonic Comfort Cloud (dokumentation, ärenden) Inträffade först: 19 september 2024 01:09:00 (1 händelser) Senast loggade: 19 september 2024 01:09:00
Error in get_device Expected status code '200' but received '500' Response body: {"code":5005,"message":"Adapter Communication error”}
I don’t understand why it Adapter Communication Error, the WiFi adapter is working just fine with the Panasonic Cloud app.
’Best Regards, Göram A
19 sep. 2024 kl. 10:04 skrev Jimmy Everling @.***>:
@Segran https://github.com/Segran under System / Logs there's a Load Full Logs button it will show you the whole log. Easiest is you reload the integration and then head over to the logs, the last entries few entries containing custom_components.panasonic_cc is the only thing I need.
— Reply to this email directly, view it on GitHub https://github.com/sockless-coding/panasonic_cc/issues/234#issuecomment-2360273242, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK4YWJK3DXGPHJ7WLEA2CDZXKAR7AVCNFSM6AAAAABKDHO36OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRQGI3TGMRUGI. You are receiving this because you were mentioned.
I think the App hides the 5005 error and presents cached data until it gets a correct response. Though that error you included was listed once and was triggered at 01:09... that also indicates that there is at least one Panasonic device registered in HA.
Yes, the device is registered but it doesn’t give any entities. That’s my problem…..Skickat från min iPad20 sep. 2024 kl. 19:57 skrev Jimmy Everling @.***>: I think the App hides the 5005 error and presents cached data until it gets a correct response. Though that error you included was listed once and was triggered at 01:09... that also indicates that there is at least one Panasonic device registered in HA.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@Segran Ok, then I need the debug logs: On the integration page: Navigate to System Logs: Click Load full logs and scroll down And look for something similar to this:
2024-09-20 20:19:49.199 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Starting Session
2024-09-20 20:19:49.202 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Loaded settings from '/root/.panasonic-settings'
2024-09-20 20:19:49.203 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Access token is valid
2024-09-20 20:19:49.548 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"uiFlg":false,"groupCount":1,"groupList":[{"groupId":26389,"groupName":"My House","pairingList":[],"deviceList":[{"deviceGuid":"[REDACTED]","deviceType":"3","deviceName":"Living Room","permission":2,"temperatureUnit":0,"summerHouse":2,"nanoeStandAlone":true,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":1,"airSwingLR":5,"airSwingUD":3,"ecoFunctionData":0,"ecoMode":0,"ecoNavi":0,"nanoe":1,"iAuto":0,"airDirection":0,"lastSettingMode":0},"deviceModuleNumber":"CS-HZ25UKE","deviceHashGuid":"[REDACTED]","modelVersion":1,"coordinableFlg":false}]}]}
2024-09-20 20:19:49.548 INFO (MainThread) [custom_components.panasonic_cc] Got 1 devices
2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/deviceStatus/[REDACTED]13394, response: {"timestamp":1726856391464,"permission":2,"summerHouse":2,"iAutoX":false,"nanoe":true,"nanoeStandAlone":true,"autoMode":true,"heatMode":true,"fanMode":true,"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":{"ecoFunctionData":0,"insideCleaning":0,"fireplace":0,"lastSettingMode":0,"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":1,"airSwingLR":5,"airSwingUD":3,"ecoMode":0,"ecoNavi":0,"nanoe":1,"iAuto":0,"airDirection":0,"insideTemperature":24,"outTemperature":13,"airQuality":0},"deviceNanoe":1}
2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicdevice] Loading device parameters, has data: True
2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Living Room Device features
Nanoe: True
Eco Navi: False
AI Eco: False
2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Finished fetching Panasonic Device Coordinator data in 2.057 seconds (success: True)
Bilagan tillgänglig fram till 20 okt. 2024 Klicka för att hämta https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FAcLgrj1ZfD6IacZMcYJm4sBL21zOAZA50lzoX9E4GteOcbEH-7vQZZ-Z%2F%24%7Bf%7D%3Fo%3DAmEwgKL4RTdI45GTsIS8wO-wPXkniAqaqsD9Ypf-jTlE%26v%3D1%26x%3D3%26a%3DCAogcIgxV97zwzDEfGqtjmC5MLgBj-v23sjeDOdxUKvxHV4SdhDO8KaKoTIYzoCi3qoyIgEAKgkC6AMA_xAIPhhSBEvbXM5aBNBln5lqJey5K-PTr0pge8ej51QPxDzKmOBq-vg2NJvowHy6f1BkUwlXQGRyJX6u_4ov3oQQiQmsaNv4PDcmpNroyltv0cKRL4bb8JCZ_-DKggE%26e%3D1729458896%26fl%3D%26r%3D80A7CF95-27EA-48A0-89EB-01EBD60895C2-1%26k%3D%24%7Buk%7D%26ckc%3Dcom.apple.largeattachment%26ckz%3DF04192C7-B4C7-4F0D-BFE0-375218F96287%26p%3D161%26s%3DnjF1OMkL0GIUWKMUa3GLRONeTWM&uk=i2M0cy9_gQG1kDNGun9YCA&f=home-assistant_2024-09-20T21-08-10.677Z.log&sz=42005848home-assistant_2024-09-20T21-08-10.677Z.log 42 MB
20 sep. 2024 kl. 20:26 skrev Jimmy Everling @.***>:
@Segran https://github.com/Segran Ok, then I need the debug logs: On the integration page: image.png (view on web) https://github.com/user-attachments/assets/5b56883f-2e36-4184-9fe4-b09864d60014 Navigate to System Logs: image.png (view on web) https://github.com/user-attachments/assets/923fc334-9730-48c2-bc14-b266d4f7cb48 Click Load full logs and scroll down And look for something similar to this:
2024-09-20 20:19:49.199 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Starting Session 2024-09-20 20:19:49.202 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsettings] Loaded settings from '/root/.panasonic-settings' 2024-09-20 20:19:49.203 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] Access token is valid 2024-09-20 20:19:49.548 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/device/group, response: {"uiFlg":false,"groupCount":1,"groupList":[{"groupId":26389,"groupName":"My House","pairingList":[],"deviceList":[{"deviceGuid":"[REDACTED]","deviceType":"3","deviceName":"Living Room","permission":2,"temperatureUnit":0,"summerHouse":2,"nanoeStandAlone":true,"autoMode":true,"modeAvlList":{"autoMode":1},"parameters":{"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":1,"airSwingLR":5,"airSwingUD":3,"ecoFunctionData":0,"ecoMode":0,"ecoNavi":0,"nanoe":1,"iAuto":0,"airDirection":0,"lastSettingMode":0},"deviceModuleNumber":"CS-HZ25UKE","deviceHashGuid":"[REDACTED]","modelVersion":1,"coordinableFlg":false}]}]} 2024-09-20 20:19:49.548 INFO (MainThread) [custom_components.panasonic_cc] Got 1 devices 2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/deviceStatus/[REDACTED]13394, response: {"timestamp":1726856391464,"permission":2,"summerHouse":2,"iAutoX":false,"nanoe":true,"nanoeStandAlone":true,"autoMode":true,"heatMode":true,"fanMode":true,"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":{"ecoFunctionData":0,"insideCleaning":0,"fireplace":0,"lastSettingMode":0,"operate":0,"operationMode":3,"temperatureSet":21,"fanSpeed":0,"fanAutoMode":1,"airSwingLR":5,"airSwingUD":3,"ecoMode":0,"ecoNavi":0,"nanoe":1,"iAuto":0,"airDirection":0,"insideTemperature":24,"outTemperature":13,"airQuality":0},"deviceNanoe":1} 2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicdevice] Loading device parameters, has data: True 2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Living Room Device features Nanoe: True Eco Navi: False AI Eco: False 2024-09-20 20:19:51.605 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Finished fetching Panasonic Device Coordinator data in 2.057 seconds (success: True) — Reply to this email directly, view it on GitHub https://github.com/sockless-coding/panasonic_cc/issues/234#issuecomment-2364292396, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK4YWOEPR5WEHHNILOZFATZXRSFDAVCNFSM6AAAAABKDHO36OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRUGI4TEMZZGY. You are receiving this because you were mentioned.
@Segran What heat pump do you have? The API reports device type 1 (My CS-HZ25UKE reports as type 3) and the deviceHashGuid is not included, so they might have changed how that should be computed.
@Segran give 2024.9.0 a try
I hase a CZ-CS35TKE and CS-TACG1 Wifi adapter. 2024.9.0 made a heck of a difference! I now have a bunch of entities that I have never seen before!
Thanks!
21 sep. 2024 kl. 10:46 skrev Jimmy Everling @.***>:
@Segran https://github.com/Segran give 2024.9.0 a try
— Reply to this email directly, view it on GitHub https://github.com/sockless-coding/panasonic_cc/issues/234#issuecomment-2365064978, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK4YWOZ4W7RIZ2N24RL43TZXUW7ZAVCNFSM6AAAAABKDHO36OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGA3DIOJXHA. You are receiving this because you were mentioned.
For some obscure reason I'm listed as "owner" of this sw. maybe you can correct that as well?
@Segran what do you mean listed as "owner"?
I got an automated (?) mail from GitHub after I issued a question that asked me ”to have a look at the issue since you are the code owner”.Skickat från min iPad24 sep. 2024 kl. 07:19 skrev Jimmy Everling @.***>: @Segran what do you mean listed as "owner"?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Might have been because I referenced this issue in another one...
Hi there,
after Updating my Home Assistant and all Plugins to the newest Version and also Adding 2FA to my Panasonic Comfort Cloud i cant get the plugin back working again.
When i try to login to my Account within the Plugin it tells me No Devices Found - In the Comfort Cloud App i have my 2 Air Conditions inside.
Can anybody help me ?
Best Beni