panasonic_cc
panasonic_cc copied to clipboard
Home Assistant Tells me No Devices
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
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.
