seime
(Arne S)
March 2, 2022, 8:44pm
1
This binding allows you to control air conditioners connected to Panasonic Comfort Cloud.
Changelog
12.11.2024
Adapted to new security measures from Panasonic. PS make sure you don’t poll to often
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
4 Likes
Unfortunately Installation failed
seime
(Arne S)
April 8, 2022, 6:27am
4
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?
seime
(Arne S)
May 26, 2022, 1:18pm
7
rockit4
(D)
July 13, 2022, 7:40pm
8
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?
seime
(Arne S)
July 13, 2022, 8:18pm
9
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
rockit4
(D)
July 13, 2022, 8:28pm
10
Aha, then I’ll relax and wait.
Thanks for your efforts
seime
(Arne S)
July 14, 2022, 8:06pm
11
New version available @rockit4
1 Like
rockit4
(D)
July 14, 2022, 8:30pm
12
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.
seime
(Arne S)
July 15, 2022, 6:58am
13
I have installed it by adding the jar to the addons folder - tried that? And removal of the old version first?
Regards
xlyz
(Xlyz)
July 15, 2022, 6:07pm
14
Hi. Same problem than rockit4 here.
removed old installation (through web interface /settings/addons)
installed the new installation (again through the web interface)
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.
rockit4
(D)
July 15, 2022, 6:14pm
15
Could it be related to this?
No strong opinion
I think @J-N-K identified the root cause and provided a solution - don’t name any non-distribution feature “openhab-something”, those are reserved for the distribution.
I added a note in the marketplace post template:
you can package your add-on as a JAR or KAR file. In the former case, provide a direct link to the binary ending in .jar. In the latter case, provide a direct link to a binary ending in .kar, and add the kar tag (mandatory). Don’t name any Kar…
xlyz
(Xlyz)
July 15, 2022, 6:19pm
16
Also manual installation does not work.
removed old installation
downloaded the jar from the link in the first message and put it in /usr/share/openhab/addons/
installed the new version
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]
xlyz
(Xlyz)
July 16, 2022, 4:44pm
17
don’t think so
I tried to change the feature name as per J-N-K suggestion, but nothing changed.
Tim_B
(Tim B)
July 17, 2022, 1:06pm
18
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]
seime
(Arne S)
July 19, 2022, 11:49am
20
I probably won’t be able to look at it until next week or so unfortunately.
Regards