Hi,
binding is self contained. No additional libraries has to be added (such as the Stadlberger API).
Can you please describe your workflow how to reproduce this error or just provide the log entry.
Reconfiguration of a bridge currently provides some errors. Have to check why. However, if you generate a fresh item with the proper credentials connection for installer should work.
Other logins than installer are currently not supported.
Hi, thanks for the info concerning the first part.
I installed it according to your guide and received the first error. I then deleted it completely and reinstalled it again from scratch, again exactly according to your guide and received the following log:
==> /var/log/openhab2/openhab.log <==
2018-02-18 20:24:10.869 [ERROR] [home.handler.FreeAtHomeBridgeHandler] - Can not connect to IP gateway
2018-02-18 20:24:10.876 [ERROR] [home.handler.FreeAtHomeBridgeHandler] - javax.xml.bind.JAXBException: class rocks.xmpp.extensions.httpbind.model.Body nor any of its super class is known to this context.
I used the “installer” account.
Edit: One thing that could be a problem is, when it was installed, the electrician created an admin account, and there was no “installer” account. Don’t know if he deleted it, or if it was never there, but that might be the cause. I recreated it, gave it installed credentials and then used it to log in and tried my main account as well. Both don’t work.
I tried to log in multiple times and once received the following error, otherwise, I am getting the before mentioned error.
New error:
2018-02-18 20:32:01.383 [ERROR] [home.handler.FreeAtHomeBridgeHandler] - Can not login with: installer
2018-02-18 20:32:01.389 [ERROR] [home.handler.FreeAtHomeBridgeHandler] - SCRAM-SHA-1 authentication failed with condition <not-authorized/> (The response provided by the client doesn't match the one we calculated.)
Thanks for this additional hint. Looks as if we get a step ahead. Only for the installer, the WebFrontend login name and the xmpp login name (jid) is the same. If you create the login manually, please go ahead like this:
Perfect, that worked, thank you very much for talking me through this!
I actually found out, that the account I normally use, “admin” has the jid “installer”. Looks like the electrician changed that when he set everything up. That might have been the reason, why the authentification failed.
Edit: By the way, I also have thermostats, underfloor-heating units, lights, switches, motion sensors and a Touch Panel installed. I am not sure, how to implement them correctly, but if you need anything from them in order to implement, I can give you anything you need and test it as well.
Hey, thanks for the update, I installed it and just wanted to mention that all logins now work for me.
Short question concerning logging, is that the switch under the show more section, or did you implement another one?
I am about to implement the binary switch. However, the deviceID for a “Switch Group” is still missing. If you have connected several switched to one within SysAP webUI, the getAll.xml should show the related entry.
Example for shutter group, the deviceID = “4001” and the corresponding xml excerpt looks like:
If you’d prefer to, I could send you the whole section, since I have some other devices as well. Please just shoot me a short message what would be easier for you and I’ll send it to you.
Thanks for your help!
Edit: @ruebox I uploaded the device part to github, maybe have a look at it when you have some time. Thanks!
@Lucurus: Great. Thanks a lot for providing the xml. I will check it this weekend
I plan to provide binary switches (nearly finished) and thermostat. Would be great if you could test it then.
Our house has a fairly large Free@Home installation and I wanted to see if there (now) was any other alternatives to the somewhat flimsy app that Busch Jaeger provides.
So I ended up there, this looks really promising!
I will take a look at Rueboxs’ binding; but I have not used OpenHAB at all so it might take me awhile.
However, I just wanted to say that if you need be to test anything, or would like a snapshot of my getall.xml config, let me know…
I currently have 52 devices, these include:
Switches
Dimmers
Motion sensors
Heater controls w/temp sensors
Heater actuators
Switch actuators
Blinds actuaros
Welcome door entry system
And then there’s the Hue integration.
I just cloned Ruboxs’ repo and attempting a mvn build…
I can try that, but I just built by using mvn install and grabbed the jar file from my local maven repository; stuffed it into /usr/share/openhab2/addons
2018-03-18 13:07:58.121 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'freeathome:bridge:c6d3e14d': rocks.xmpp.core.session.Module: Provider rocks.xmpp.core.session.context.CoreContext not a subtype
java.util.ServiceConfigurationError: rocks.xmpp.core.session.Module: Provider rocks.xmpp.core.session.context.CoreContext not a subtype
at java.util.ServiceLoader.fail(ServiceLoader.java:239) ~[?:?]
at java.util.ServiceLoader.access$300(ServiceLoader.java:185) ~[?:?]
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376) ~[?:?]
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[?:?]
at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[?:?]
at rocks.xmpp.core.session.XmppSessionConfiguration.<init>(XmppSessionConfiguration.java:132) ~[?:?]
at rocks.xmpp.core.session.XmppSessionConfiguration.<init>(XmppSessionConfiguration.java:64) ~[?:?]
at rocks.xmpp.core.session.XmppSessionConfiguration$Builder.build(XmppSessionConfiguration.java:415) ~[?:?]
at org.openhab.binding.freeathome.handler.FreeAtHomeBridgeHandler.connectGateway(FreeAtHomeBridgeHandler.java:258) ~[?:?]
at org.openhab.binding.freeathome.handler.FreeAtHomeBridgeHandler.initialize(FreeAtHomeBridgeHandler.java:122) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [109:org.eclipse.smarthome.core:0.10.0.b1]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
at java.lang.Thread.run(Thread.java:745) [?:?]