--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
I would love to see a native binding for OH. I asked the nutech developers if they would write a binding, but they said they weren't strong in Java.I wrote a very basic script that captures the ser2sock output and dumps it into a switch through the REST API. I also created a couple scripts to arm/disarm the alarm through Telnet/bash through hard coded passwords. Nothing fancy like a control panel.If you would like to see the scripts, let me know and I can post them here. Admittedly, they are very elementary.
AlarmDecoder makes devices (such as ad2usb and ad2pi) that allow home automation systems to interface with Honeywell/Ademco security systems (in my case a vista 20p).--Is anybody working on a binding for that?I'm planning on writing one, but do not want to duplicate work.Bernd
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
--
--
Thanks,
Kevin
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
https://github.com/openhab/openhab/wiki/AlarmDecoder-Binding
In fact I have only tested with a TCP stream from an ad2pi + ser2sock since I don't own a ad2usb.
Let me know if you hit any bumps.
What write access did you have in mind? Keypad operations like arming/disarming only or also adding openhab contacts as zones into the ademco panel via virtual expander zones?
As far as features, I would love to see the ability to interact with the keypad as well as listing the zones out and being able to set their arm/bypass ability. I understand the security concern for remote access, though in the right hands and handled properly this can be augmented with other measures. I'd love a simple true false option in the comfit for writing.
Finished coding the first draft, need to clean up and test.
Basic idea: bind switch to key stroke and reproduce the alarm keypad in the openhab gui. Items file will look like this:
Switch alarmPanelButton0 "0" (gPanel) {alarmdecoder="SEND#0", autoupdate="false"}
Switch alarmPanelButton1 "1(OFF)" (gPanel) {alarmdecoder="SEND#1", autoupdate="false"}
Then need to use an entry in the sitemap as well to make the switch show up as a button.
Issue (aside from the keypad looking clunky due to lack of formatting capabilities): if openhab events are logged at INFO level, the item names will show up in clear text, i.e. one should NOT name the button corresponding to zero alarmPanelButton0, or else the security code can be figured out from the openhab event log.
mappings=[1="1",2="2"3="3"]2014-12-21 19:30:09 DEBUG o.o.b.a.i.AlarmDecoderActivator[:31]- AlarmDecoder binding has been started.
2014-12-21 19:30:09 TRACE o.o.b.a.i.AlarmDecoderGenericBindingProvider[:134]- processing item "alarmPanelStatusRaw" read from .items file with cfg string KPM:00#status
2014-12-21 19:30:09 TRACE o.o.b.a.i.AlarmDecoderGenericBindingProvider[:134]- processing item "alarmPanelStatusReady" read from .items file with cfg string KPM:00#status,bit=17
(repeats for each entry in alarm.items).
Touching alarm.items causes the items to be refreshed, but doesn't trigger the config to be loaded.
I've also set mainconfig:refresh=180 in openhab.cfg (before restarting), and touched that file a few minutes after starting, but there's no acknowledgement in the logs that anything happened. Also no response after adding a line consisting of just '#' to the end of openhab.cfg.