Comments (8)
A Question for ya... do you have any rooms defined on your Vera?
Thanks
from ha-bridge.
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.
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.
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.
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.
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.
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.
fixed in release v0.3.2
from ha-bridge.
Related Issues (20)
- 2023: HA-Bridge does not work anymore (no device detection possible) HOT 41
- Cannot Link HA Bridge to Harmony Hub HOT 6
- Backup recovery not working HOT 1
- HA Bridge any refresh planned ? HOT 4
- cant exec shell script HOT 4
- Alexa can no longer set bright/dim percentage HOT 2
- Philips HUE app finds ha-bridge as HUE Bridge, but asks for me to press "the button in the center" to connect... HOT 3
- Add / update bridges devices without SPA url ? HOT 1
- Home Assistant Z-Wave Fan Speed HOT 2
- Feature request
- Harmony find Bridge, but "no Lights paired with your Bridge"
- When saving a function, the target setting remains empty HOT 2
- HABridge loosing config
- problems with ${device.*} script variable constructs
- Cannot Execute Command/Script/Program (v5.4.1) Ubuntu & Docker Compose HOT 14
- Requested Route has not been mapped in Spark for Accept and Not Found 404 Errors HOT 1
- Device not found.
- Device Not Found
- All device connections offline HOT 3
- Trying to issue a http POST as a On item
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-bridge.