Code Monkey home page Code Monkey logo

Comments (8)

bwssytems avatar bwssytems commented on August 25, 2024

A Question for ya... do you have any rooms defined on your Vera?

Thanks

from ha-bridge.

aptalca avatar aptalca commented on August 25, 2024

I have 4 rooms defined.

Some devices are not associated with any rooms (like the pleg, xbmc state and day or night plugin devices)

from ha-bridge.

bwssytems avatar bwssytems commented on August 25, 2024

Alright, I have a hunch that is caused by the devices with no room associated and it fails.... will update the code. Thanks for this.

from ha-bridge.

bwssytems avatar bwssytems commented on August 25, 2024

try this jar, if you would like to be my guinea pig...

http://www.bwssystems.com/files/ha-bridge-0.3.2.jar

from ha-bridge.

aptalca avatar aptalca commented on August 25, 2024

Sure, I actually created a docker container for this: https://hub.docker.com/r/aptalca/home-automation-bridge/ and https://github.com/aptalca/docker-ha-bridge

As long as the jar file location and name follows the http://www.bwssystems.com/files/ha-bridge-X.X.X.jar format, I can easily build and test

from ha-bridge.

aptalca avatar aptalca commented on August 25, 2024

With 0.3.2, this is what I get:

[main] INFO com.bwssystems.HABridge.HABridge - Starting setup.... [main] INFO com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started.... [Thread-0] INFO spark.webserver.SparkServer - == Spark has ignited ... [Thread-0] INFO spark.webserver.SparkServer - >> Listening on 0.0.0.0:3080 2015-08-26 17:56:57.612:INFO:oejs.Server:Thread-0: jetty-9.0.z-SNAPSHOT 2015-08-26 17:56:57.660:INFO:oejs.ServerConnector:Thread-0: Started ServerConnector@67c08fab{HTTP/1.1}{0.0.0.0:3080} [main] INFO com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started.... [main] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Hue description service started.... [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener started.... [qtp548236896-19] ERROR spark.webserver.MatcherFilter - [qtp548236896-23] ERROR spark.webserver.MatcherFilter - java.lang.NullPointerException at com.bwssystems.vera.VeraInfo.denormalizeSdata(VeraInfo.java:61) at com.bwssystems.vera.VeraInfo.getSdata(VeraInfo.java:43) at com.bwssystems.HABridge.devicemanagmeent.DeviceResource.lambda$6(DeviceResource.java:123) at spark.ResponseTransformerRouteImpl$1.handle(ResponseTransformerRouteImpl.java:47) at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:159) at spark.webserver.JettyHandler.doHandle(JettyHandler.java:60) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:179) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:451) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:252) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:266) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:240) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:596) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:527) at java.lang.Thread.run(Thread.java:745) java.lang.NullPointerException at com.bwssystems.vera.VeraInfo.denormalizeSdata(VeraInfo.java:61) at com.bwssystems.vera.VeraInfo.getSdata(VeraInfo.java:43) at com.bwssystems.HABridge.devicemanagmeent.DeviceResource.lambda$5(DeviceResource.java:114) at spark.ResponseTransformerRouteImpl$1.handle(ResponseTransformerRouteImpl.java:47) at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:159) at spark.webserver.JettyHandler.doHandle(JettyHandler.java:60) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:179) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:451) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:252) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:266) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:240) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:596) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:527) at java.lang.Thread.run(Thread.java:745)

from ha-bridge.

bwssytems avatar bwssytems commented on August 25, 2024

Sorry about that. Quick change to see if it worked.... In the mean time, if you assign a room to the devices that don't have one, it should work.... I'll test the next one before I put it out...lol

from ha-bridge.

bwssytems avatar bwssytems commented on August 25, 2024

fixed in release v0.3.2

from ha-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.