Panasonic Comfort Cloud binding

This binding allows you to control air conditioners connected to Panasonic Comfort Cloud.

Changelog

07.07.2024

  • IMPORTANT: Now fetches appVersion from AppBrain. If you have configured appVersion config property on the account thing, remove this property to allow the binding to find the value itself.

04.07.2024

  • Adapted to new Panasonic auth scheme

Resources

beer_me

4 Likes

Unfortunately Installation failed

Details?

Could you try again? Should work according to another person.

Hi, I just startet over again and now it works perfect.
My system:
Multi-split with
CS-Z20XKEW (2x)
CS-Z25XKEW
CS-Z35XKEW
Best regards and thanks for your effort
Jens

I have two air container CS-Z25XKEW, how can i get the serial numbers?

Hi, you can find them by the following methods: openhab2-addons/bundles/org.openhab.binding.panasoniccomfortcloud at panasonic_comfort_cloud · seime/openhab2-addons · GitHub

Regards Arne

Hi @seime

Great that you have taken the time to make a binding for the comfort cloud.
I got my heat pump installed today and the app is up and running on my phone, but the binding in OH3 says:

**CONFIGURATION_ERROR**

Error fetching data: Invalid credentials

The username is the e-mail and the password doesnt have any strange characters, only letters and numbers.
Any ideas?

Hi, something changed in the API today (ref Update session.py by Th0masDB · Pull Request #63 · lostfields/python-panasonic-comfort-cloud · GitHub), but since Artifactory is down I am unable to compile a fix just yet.

Regards

1 Like

Aha, then I’ll relax and wait.
Thanks for your efforts :slight_smile:

New version available @rockit4

1 Like

hmmm I get this when installing from the UI marketplace:

2022-07-14 22:29:30.291 [WARN ] [rketplace.MarketplaceBundleInstaller] - The marketplace bundle was successfully installed but doesn't start: Could not resolve module: org.openhab.binding.panasoniccomfortcloud [295]
  Unresolved requirement: Import-Package: android.net; resolution:="optional"
  Unresolved requirement: Import-Package: android.net.http; resolution:="optional"
  Unresolved requirement: Import-Package: android.security; resolution:="optional"
  Unresolved requirement: Import-Package: android.util; resolution:="optional"
  Unresolved requirement: Import-Package: com.android.org.conscrypt; resolution:="optional"
  Unresolved requirement: Import-Package: dalvik.system; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.harmony.xnet.provider.jsse; resolution:="optional"
  Unresolved requirement: Import-Package: sun.security.ssl; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.client; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.client.methods; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.conn; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.entity; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.message; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.params; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.protocol; resolution:="optional"
  Unresolved requirement: Import-Package: okio

I’m running OH3.2. I’ll update to 3.3 and restart.
EDIT: Same problem as above.

I have installed it by adding the jar to the addons folder - tried that? And removal of the old version first?

Regards

Hi. Same problem than rockit4 here.

  1. removed old installation (through web interface /settings/addons)
  2. installed the new installation (again through the web interface)
  3. does not works. same warning in the logs posted by rockit4

I’ve also copied the jar from /var/lib/openhab/marketplace/bundles/ to /usr/share/openhab/addons but the result is the same.

Could it be related to this?

Also manual installation does not work.

  1. removed old installation
  2. downloaded the jar from the link in the first message and put it in /usr/share/openhab/addons/
  3. installed the new version
  4. does not works. the warning is slightly different

[WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.panasoniccomfortcloud-3.4.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.panasoniccomfortcloud [254]
  Unresolved requirement: Import-Package: android.net; resolution:="optional"
  Unresolved requirement: Import-Package: android.net.http; resolution:="optional"
  Unresolved requirement: Import-Package: android.security; resolution:="optional"
  Unresolved requirement: Import-Package: android.util; resolution:="optional"
  Unresolved requirement: Import-Package: com.android.org.conscrypt; resolution:="optional"
  Unresolved requirement: Import-Package: dalvik.system; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.harmony.xnet.provider.jsse; resolution:="optional"
  Unresolved requirement: Import-Package: sun.security.ssl; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.client; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.client.methods; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.conn; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.entity; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.message; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.params; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.http.protocol; resolution:="optional"
  Unresolved requirement: Import-Package: okio

	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.7.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.7.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.7.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.7.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.7.4]

don’t think so

I tried to change the feature name as per J-N-K suggestion, but nothing changed.

I was using the binding succesfully since a couple of weeks, but since July 13, it did not work anymore.

Looking in the Android Comfort Cloud, I see that there has been a failure on Panasonic’s end. It could be a coincidence, but I think those failures are related.

Hi @seime, I was using an earlier this great bindig for month now but a few days ago it stopped working. I downloaded the latest one (alpha 8), cleaned the openhab cache and installed it, but something is wrong. This is what I see in the openhab log. What do I do woring? Can you help me please? (I’m on openhab 3.3).

2022-07-18 22:01:53.287 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.panasoniccomfortcloud-3.4.0-SNAPSHOT.jar

org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.panasoniccomfortcloud [233]

  Unresolved requirement: Import-Package: android.net; resolution:="optional"

  Unresolved requirement: Import-Package: android.net.http; resolution:="optional"

  Unresolved requirement: Import-Package: android.security; resolution:="optional"

  Unresolved requirement: Import-Package: android.util; resolution:="optional"

  Unresolved requirement: Import-Package: com.android.org.conscrypt; resolution:="optional"

  Unresolved requirement: Import-Package: dalvik.system; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.harmony.xnet.provider.jsse; resolution:="optional"

  Unresolved requirement: Import-Package: sun.security.ssl; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.client; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.client.methods; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.conn; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.entity; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.message; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.params; resolution:="optional"

  Unresolved requirement: Import-Package: org.apache.http.protocol; resolution:="optional"

  Unresolved requirement: Import-Package: okio

	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.17.200.jar:?]

	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) ~[org.eclipse.osgi-3.17.200.jar:?]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.7.4]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.7.4]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.7.4]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.7.4]

	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.7.4]

I probably won’t be able to look at it until next week or so unfortunately.

Regards