-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scanning Fibaro devices or scenes not working with 5.0.0 #809
Comments
Bug with scenes: It is this scene: At Character 39045 is the 'e' of "events:": I hope this helps |
Problem is with CentralSceneActivated-Scenes. |
SceneTriggerd.java is missing trigger "weather" |
ANd the bug at modules is somewhere here: or
If I unselect these two modules everything is working fine. |
After a device soft configuration this worked. |
@AlfAlex how did you do ? |
@rems02 What exactly do you mean? It worked perfectly for me after doing some changes. |
@AlfAlex ok, thanks, |
You can start habridge right from console or have a look an nohup.out or habridge.log in your habridge directory. |
Hi I'm facing another problem with Fibaro. Any advice? Thanks! |
The drop down box in the text above must have a value. |
@klccjeremy The build items is a bug referenced in #801. This will be fixed in the next release. |
There is an actual decoding error in scenes within the code. This will be fixed in the next release. |
I get these exceptions:
2017-11-26 12:52:11,260 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: send upnp discovery template 3 with response address: 192.168.177.16:9000 to address: /192.168.177.48:39832 2017-11-26 12:52:21,149 [qtp9344866-49] INFO com.bwssystems.HABridge.plugins.fibaro.FibaroInfo - Found: 26 rooms 2017-11-26 12:52:21,452 [qtp9344866-43] ERROR spark.http.matching.GeneralError - com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 39045 path $[67].triggers.events[0] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) at com.google.gson.Gson.fromJson(Gson.java:879) at com.google.gson.Gson.fromJson(Gson.java:844) at com.google.gson.Gson.fromJson(Gson.java:793) at com.google.gson.Gson.fromJson(Gson.java:765) at com.bwssystems.HABridge.plugins.fibaro.FibaroInfo.getScenes(FibaroInfo.java:150) at com.bwssystems.HABridge.plugins.fibaro.FibaroHome.getScenes(FibaroHome.java:60) at com.bwssystems.HABridge.plugins.fibaro.FibaroHome.getItems(FibaroHome.java:82) at com.bwssystems.HABridge.devicemanagmeent.DeviceResource.lambda$11(DeviceResource.java:244) at spark.ResponseTransformerRouteImpl$1.handle(ResponseTransformerRouteImpl.java:47) at spark.http.matching.Routes.execute(Routes.java:61) at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:130) at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 39045 path $[67].triggers.events[0] at com.google.gson.stream.JsonReader.nextString(JsonReader.java:831) at com.google.gson.internal.bind.TypeAdapters$16.read(TypeAdapters.java:422) at com.google.gson.internal.bind.TypeAdapters$16.read(TypeAdapters.java:410) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216) ... 28 common frames omitted 2017-11-26 12:52:21,825 [qtp9344866-48] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: request of description.xml from: 192.168.177.37:9000 filled in with address: 192.168.177.16:9000 2017-11-26 12:52:21,944 [qtp9344866-45] INFO spark.http.matching.MatcherFilter - The requested route [/(null)] has not been mapped in Spark for Accept: [null] 2017-11-26 12:52:22,629 [qtp9344866-49] ERROR spark.http.matching.GeneralError - java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1842) at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.lang.Double.parseDouble(Double.java:538) at com.google.gson.stream.JsonReader.nextDouble(JsonReader.java:918) at com.google.gson.Gson$3.read(Gson.java:277) at com.google.gson.Gson$3.read(Gson.java:271) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) at com.google.gson.Gson.fromJson(Gson.java:879) at com.google.gson.Gson.fromJson(Gson.java:844) at com.google.gson.Gson.fromJson(Gson.java:793) at com.google.gson.Gson.fromJson(Gson.java:765) at com.bwssystems.HABridge.plugins.fibaro.FibaroInfo.getDevices(FibaroInfo.java:111) at com.bwssystems.HABridge.plugins.fibaro.FibaroHome.getDevices(FibaroHome.java:46) at com.bwssystems.HABridge.plugins.fibaro.FibaroHome.getItems(FibaroHome.java:80) at com.bwssystems.HABridge.devicemanagmeent.DeviceResource.lambda$10(DeviceResource.java:238) at spark.ResponseTransformerRouteImpl$1.handle(ResponseTransformerRouteImpl.java:47) at spark.http.matching.Routes.execute(Routes.java:61) at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:130) at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128) at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591) at java.lang.Thread.run(Thread.java:745) 2017-11-26 12:52:44,843 [qtp9344866-46] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: request of description.xml from: 192.168.177.37:9000 filled in with address: 192.168.177.16:9000 2017-11-26 12:52:44,957 [qtp9344866-43] INFO spark.http.matching.MatcherFilter - The requested route [/(null)] has not been mapped in Spark for Accept: [null]
And at the web frontend I get this message:
Get Fibaro Devices Error: undefined with status: Server Error - 500
I have entered the proper IP and login data.
For me it looks like scanning works but the JSON parser has a small bug.
The text was updated successfully, but these errors were encountered: