Panasonic Comfort Cloud binding

A good starting point could be to provide some debug logs from the binding showing the network traffic before and after activating the sleep mode.

REST/API, Just for my information :
Dears,
I allow me to ask here, because I tried this binding, it’s a great job, I probably will use it, and I hope that somebody would help me to satisfy my curiosity about APIs in general.

How did you find the API “documentation” for Panasonic Web Service, did you made reverse engineering, spying / capturing protocol , or official documentation exists ?
Or more general, does web services (Panasonic or any others) have an “auto-documented” way to browse their APIs, with query/response expected structures ?

Thanks in advance if somebody can, in few words, explain me the way for finding how to use some “unknown” APIs, or, if this one was “reversed”, about how did you that.

Thanks, Regards,
Charly.

No docs exists, it is reverse engineering and testing done by several actors in the smarthome community.

Wow !
Feeling, skill, attendance and patience !
Great job !

Thank you.
Regards,
Charly.

Hey @seime,

Awesome job, I love this binding. I have just configured my CS-Z25TKEA, and it works flawlessly. Another model to be added to the list of supported devices.

Thank you for your efforts,
martonsz

1 Like

Hello ! - I just upgraded my OH4.0 to OH4.1 - but seem to have list this binding, and cannot find it in the marketplace ? Is there a recent .jar file to be added under add-on ?

Marketplace (currently - WIP) only supports a single version, so you just need to download it manually and put it in your addons folder.

OK - where do I find the most recent jar/build for download?

Sorry - found it:

https://github.com/seime/openhab-panasoniccomfortcloud/releases/tag/latest_oh4

I see that my Comfort Cloud app has been updated to 1.20, and (I assume in connection with that) I have been logged out. Now when I try to log back in, Panasonic seems to be forcing me to set up MFA on the account. Has anyone done that, and tried the binding? Does it still work afterwards?

The binding seems to be working for now, but I’m afraid it won’t, once I set up MFA.

Same problem here… since I was fored to set up MFA the binding doesn’t work anymore…

The errormessage is confusing:

COMMUNICATION_ERROR
Error fetching data: General error communicating with service: no.seime.openhab.binding.panasoniccomfortcloud.internal.CommunicationException: Error sending request to server. Server responded with 429 and payload {“code”:42901,“message”:“Too Many Requests”}

@JHC @martonsz My ACs started working again even after enabling 2 factor auth. Im sending 1.19.0 as the app version.

Does it work for you again or are you still stuck?

@seime
Hi Arne,

coincidentally, I tried it again earlier today and it currently works for me.
I’m sending 1.20.0

yfi: I use a downloaded 3.4.4 snapshot from Dez/23

Info:

For me 1.20.0 on 4.1.0 is working stable for a few days. Then the target devices are no longer available. A simple stop/restart in the OH GUI solves the problem instantaneous and my 2 AC become online again. Then the loop repeats for a few stable days and so on.
What ive noticed: i can also push some commands through the “offline” noted device. The states of device (master switch, mode etc.) remain unknown, but my ACs will follow the given command. Its like controlling it blindly.

Could you PM me debug level logs from around the time the ac goes offline?

I’ll try to provide them, but it might take some time

Hello community,

the bridge is currently not working. As an error I get:
Thing ‘panasoniccomfortcloud:account:7ef07de992’ changed from OFFLINE (COMMUNICATION_ERROR): Error fetching data: General error communicating with service: no.seime.openhab.binding.panasoniccomfortcloud.internal.CommunicationException: Error sending request to server. Server responded with 400 and payload {“code”:“4000”, “message”:“Missing required header parameter or bad request for header”}, will retry in 960 seconds to OFFLINE (COMMUNICATION_ERROR)

Was there a change? Or maintenance? Anyone else with the same problem?

Mobile app “Comfort Cloud” is working

Thanks!

I suspect they finally rolled out a new 2 factor auth - that isn’t supported (it wasn’t clear how to implement this last time I looked at it).

More info here; Authentication no longer functional · Issue #93 · lostfields/python-panasonic-comfort-cloud · GitHub

Thank you for the information.
I hope there will be a solution in the future. It’s a shame that things are made so difficult.

@seime There is a example python skript how the login is working now:

I tested with my credentials and I was able to get a token.

If there will also be an updated version for openHAB 3.4.x, I would be happy.
I am also available for beta testing.

2 Likes