ppieczul / org.openhab.binding.loxone

Loxone binding for OpenHAB2
Eclipse Public License 1.0
8 stars 3 forks source link

loxone miniserver version 9.3 does not connect anymore #5

Open TheSpirit opened 6 years ago

TheSpirit commented 6 years ago

today i update the loxone miniserver to version 9.3. after that, the openhab binding does not connect anymore.

ppieczul commented 6 years ago

What OpenHAB version and binding version do you have?

AcDelicat commented 6 years ago

Same problem here as TheSpirit. I'm running openHAB 2.2.0 and binding version 2.2.0 (FYI)

ppieczul commented 6 years ago

The most likely reason is that hash based authentication was finally removed in 9.3 as Loxone promised to do in March. Token based authentication is the only authentication method. Unfortunately this method is not supported in the binding 2.2, but is implemented on 2.3 stream. Can you please install latest version of the binding from Jenkins or use latest unstable version from apt repo? For the stable version we will have to wait for release 2.3. Thanks Pawel.

TheSpirit commented 6 years ago

Can you tell me how to install unstable version from apt repo? Thanks

ppieczul commented 6 years ago

Here are instructions https://docs.openhab.org/installation/linux.html#package-repository-installation Under snapshot release. This will move whole openHAB to daily snapshot build and there will be no way of downgrading it without removal. So you may want to try it on a separate installation or a virtual machine to see how it works. Also regular apt update/upgrade will want to update daily, which may move you to a version that is unstable one day. You can prevent updating openHAB packages by using apt-mark hold on these.

Alternatively you may use latest binding build from here https://openhab.ci.cloudbees.com/job/openHAB2-Bundles/lastSuccessfulBuild/artifact/openhab2-addons/addons/binding/org.openhab.binding.loxone/target/ And copy it over to your 2.2 installation. But not sure if this will work, there may be incompatibilities in the framework that need also 2.3 base openHAB. Trying should not harm anything - you may delete the jar and return to your current version.

Let me know how it works.

Thanks Pawel

ppieczul commented 6 years ago

Hi did you succeed in upgrading?

TheSpirit commented 6 years ago

tried the latest version. but in openhub only version 2.2 is shown. how can i get this working? thanks

ppieczul commented 6 years ago

Please check that you pointed apt to the snapshot release repo, not stable one.

TheSpirit commented 6 years ago

i kopied the jar file of loxone binding over to my addons folder. this should be fine. under bindings in openhab i see loxone binding with version 2.2.0

ppieczul commented 6 years ago

You need to remove Loxone things, uninstall Loxone binding from paper ui, check this with karaf console (check this page wiki for how) and then copy the jar. Then you should see in karaf console a new version and it should be active. On Tue, 10 Apr 2018 at 20:34, Andreas notifications@github.com wrote:

i kopied the jar file of loxone binding over to my addons folder. this should be fine. under bindings in openhab i see loxone binding with version 2.2.0

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ppieczul/org.openhab.binding.loxone/issues/5#issuecomment-380203757, or mute the thread https://github.com/notifications/unsubscribe-auth/AJx5fl1dU6OEjl1ow9sgJQimvIfJbkhnks5tnPtNgaJpZM4S9dVa .

TheSpirit commented 6 years ago

did not work. karaf consoles shows: unbenannt but i can not see it in openhub. if i search under configuration->bindind i see the loxone one but with version number 2.2.0 unbenannt1 what can i do?

ppieczul commented 6 years ago

Addons page shows bindings availablenfor install, not installed and it is ok it shows 2.2 because this is available for install in the distribution. This page does not matter if you install by hand. Also the correct version is installed as console shows. The bad thing is this is not active. Try to see in the console if there is maybe another instance of the binding that is active, if yes uninstall it bundle:uninstall If there is no another instance please paste a fragment of the /var/log/openhab2/openhab2.log around the time when you copy the jar file and frameworks picks it up.

TheSpirit commented 6 years ago

2018-04-11 19:45:35.655 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-loxone': Error restarting bundles: Could not resolve module: org.openhab.binding.loxone [222] Another singleton bundle selected: osgi.identity; type="osgi.bundle"; version:Version="2.3.0.201804092039"; osgi.identity="org.openhab.binding.loxone"; singleton:="true"

ppieczul commented 6 years ago

Please paste a bit more log below

TheSpirit commented 6 years ago

yesterday, i installed the http binding for some testing purpose. after that i recognized that the loxone binding ist working. to proof this, i uninstalled the http binding again, and the loxone binding stopped working. after reinstalling the http binding, the loxone binding now works again. but i did not find out, if i use loxone binding 2.2 or 2.3 now. just for your info

AndreasHGIT commented 6 years ago

Hi Pawel, can you give a indication when 2.3 will be released? I am affected by this problem too but don‘t like to change to the 2.3 stream before it is released.

ppieczul commented 6 years ago

Hi @AndreasHGIT I have no idea. I encourage you to ask on community.openhab.org.