Giter Site home page Giter Site logo

org.openhab.binding.nx584's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dilepa ivmarkov

org.openhab.binding.nx584's Issues

Can't get it to work

I'm having issues trying to get this binding to function. If you setup the binding from the paperUI, it'll add the thing as nx584:nx584 which won't resolve to anything. If I manually add the things and items, I don't get any update events from my panel. Am I missing something?

openhab.log:

2017-04-28 04:00:32.303 [INFO ] [b.binding.nx584.handler.NX584Handler] - starting nx584 interface at port /dev/ttyUSB0 with baudrate 9600 and 22 zones 2017-04-28 04:00:32.342 [INFO ] [b.binding.nx584.internal.panel.NX584] - receiver started 2017-04-28 04:00:32.343 [ERROR] [b.binding.nx584.internal.panel.NX584] - receiver terminated unexpectedly java.lang.NullPointerException at gnu.io.NRSerialPort.getInputStream(NRSerialPort.java:102)[209:com.neuronrobotics.nrjavaserial:3.12.0.OH] at org.openhab.binding.nx584.internal.panel.NX584$Receiver.run(NX584.java:206)[223:org.openhab.binding.nx584:2.0.0.201611192203] at java.lang.Thread.run(Thread.java:745)[:1.8.0_121] 2017-04-28 04:00:32.359 [INFO ] [b.binding.nx584.internal.panel.NX584] - transmitter started 2017-04-28 04:00:32.360 [ERROR] [b.binding.nx584.internal.panel.NX584] - cannot connect to security panel java.lang.NullPointerException at gnu.io.NRSerialPort.getInputStream(NRSerialPort.java:102)[209:com.neuronrobotics.nrjavaserial:3.12.0.OH] at org.openhab.binding.nx584.internal.panel.NX584.connect(NX584.java:44)[223:org.openhab.binding.nx584:2.0.0.201611192203] at org.openhab.binding.nx584.handler.NX584Handler.initialize(NX584Handler.java:123)[223:org.openhab.binding.nx584:2.0.0.201611192203] at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:708)[106:org.eclipse.smarthome.core.thing:0.9.0.201703201701] at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:1)[106:org.eclipse.smarthome.core.thing:0.9.0.201703201701] at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:181)[99:org.eclipse.smarthome.core:0.9.0.201703201701] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121] at java.lang.Thread.run(Thread.java:745)[:1.8.0_121] 2017-04-28 04:00:32.362 [ERROR] [b.binding.nx584.internal.panel.NX584] - transmitter terminated unexpectedly

I should also mention, I can screen /dev/ttyUSB0 and see heartbeats on the screen.

What Input do expect?

Hi I have a securitas branded alarmpanel "SD896" Its the same as Aritech CS-575, the panel have a RS232 output that communicates with the "Home automation protocol (CS-586)"

When i connect with a serial cable in ascci mode i get a repeating message of "002D00030315360000322D7CE35C", it is possible to set ASCCI or BINARY mode.

Maby my panel do use a different protocol than the nx584 panel, i could not find documentation for the protocol, where did you find it?

it seams the connection is established but I do not get the Items updated.
email: [email protected]

logfile:)
https://paste.ubuntu.com/p/yFhZp4cX99/

Alarmpanel rs232 manual
https://paste.ubuntu.com/p/c52pX6CMx5/

Access codes?

Not sure how the binding is interacting with the panel, but do you need the download code or installer code configured somewhere? Or does the binding use the default codes to access the panel and arm/disarm/etc?

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.