Did you remove the “standard” binding which comes with oh 4.1 add-ons via cli ? You can check this if you edit the thing and in advanced mode you have no klap protokoll to select - then the oh binding is ative and not this one.
The jar version I got from here (GitHub - wildcs/oh3_compiled-addons at tapocontrol)
does not work for me (openHAB 4.1.0).
I then went back to a version from September that I still had which works. The version is also larger 480kB while a the one from the link is has only 150kB.
hi all,
I have a P105 unit and until few months ago it was working in OH3.
Then suddenly stopped working. Reading this thread I understand that it was caused by a firmware upgrade. And that the solution will work only in OH4.
So now I have upgraded to OH4.1 in order to use again this binding, but it still doesn’t work.
And reading in the thread it seems that someone managed to have it working and someone hasn’t.
My unit (P105) has firmware version 1.2.1 build 230804 rel.190922
There are no other firmware upgrades.
The new version is still not merged in official OH4.1.
You have to install manually the jar from my compiled-addons git. It was discussed here more than once how to install.
I am using the new jar and changed to new klap protocol. For a minute or so everything works (ONLINE) and is reachable (L920 Strips) but then I get the error
encrypting failed (9500)
If I disable and enable it is working for a minute and then the same error appears.
The funny thing is that apparently the developer has already developed the new version, but it’s not included in the stable version.
I know I could install it manually from the .jar, but I will never again install manually a .jar. I did it in the past then I had to rebuild all my system from scratch due to unrecovable errors.
I highly recommend you to set up a backup that does a full copy of the sd card. In case of anything fails, you just copy the backup over your sd card and boom you’re back to your working version again.
I’m doing automatic backups once per week and it’s been useful more than once in the past : sd card failure, update gone wrong, …
Just be sure to test your backup with another sd card the first time to be sure it’s consistent
With that sort of backup, you’re never afraid of testing anything.
I downloaded the binding from the description and uploaded it to the /usr/share/openhab/addons/ folder. I deleted the official binding and configured the KLAP protocol for the devices with the latest firmware.
I use Linux (CentOS) and only have P115 plugs and a P300 power strip, so your issues may be device or Windows-related.
hello @Bigdesaster, i’m trying to update the binding using the jar from repository, but all of them are not working.
i’ve compared the jar i download some months ago (4.1.0) and the size is around 480kb, but if i download again the 4.1.0 from the repo, the size is around 200 kb. in fact if i put this into the addons folder, openhab replies with a package error. same for 4.2.0.
2024-02-01 14:25:10.972 [ERROR] [Events.Framework ] - FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.tapocontrol [27]
Unresolved requirement: Import-Package: com.google.gson; version="[2.10.0,3.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) ~[org.eclipse.osgi-3.18.0.jar:?]
i’m running OH on raspy and the version is: openHAB 4.0.0-SNAPSHOT - Build #3479.
could be this the problem?