Panasonic Comfort Cloud binding

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

@rockit4 @zsbagyura @Tim_B @xlyz I think I’ve fixed the dependency error - could any of you give it a spin?

Arne

1 Like

It works. Thanks, great work!

Indeed it works, thank you!

It works also here. thanks.

btw you can add CS-Z42VKEW and CS-Z25VKEW to the tested device list, if you trust a random forum user :slight_smile:

My CS-HZ35XKE also works great even if I just wanted to log the power consumption which doesn’t seems to be avalible through the binding at the time.
Really hope to see it in the future :slight_smile:

It is a bit lower on my prio list, and I probably won’t try to tackle it until Enable binding to store historic states by altaroca · Pull Request #3000 · openhab/openhab-core · GitHub has been merged - and then some InfluxDB support as well [influxdb] Partial ModifiablePersistenceService support by seime · Pull Request #12935 · openhab/openhab-addons · GitHub (waiting for the previous one).

So feel free to add a reaction (not comment) to Enable binding to store historic states by altaroca · Pull Request #3000 · openhab/openhab-core · GitHub :slight_smile:

altaroca got a :heart: on the pull request :surfing_man:
Keep up the good work :slight_smile:

It works, thank you for your efforts!

Hello,
thank you for the binding.

The binding have found this device CS-MZ16VKE, but I have not checked all features.
What I have found until now is, that the nanoeX operation mode is not available.

In the thing description description nanoeX (FAN) is missing.
image

When I activate the nanoeX feature in the app.

The operationmode shows “FAN” but.

When I change in the sitemap to nanoeX (FAN) the operation mode will not be transmitted to the app, all the other modes works.

I guess the nanoeX (FAN) operation mode is not implemented in the binding?