Does anyone have a DSC alarm working with OpenRemote?
I installed openremote, created a simple custom sensor and panel.. but when OpenRemote tries to load the controlled it blows up.
The reason appears to be that id doesn't actually have a dscit100 module loaded or available to be loaded..
Is there a dscit100 module that has to be loaded manually?..
ERROR 2012-05-19 22:43:09,763 : Creating sensor failed. Error : No device protocol builders registered with protocol type 'dscit100'.
XML Element : <sensor xmlns="http: id="8" name="zone_status" type="custom">
<include type="command" ref="7" />
<state name="open" value="" />
<state name="restored" value="" />
<state name="fault" value="" />
</sensor>
Comments (10)
May 20, 2012
Quintin Paulson says:
Well, there is little to no documentation on this.. but I have been making some ...Well, there is little to no documentation on this.. but I have been making some headway.. Thought I'd better post it so that others can figure this out as well..
I managed to download the dscit100 protocol plugin from here:
svn checkout "https://openremote.svn.sourceforge.net/svnroot/openremote/workspace/gdrapp/Controller_2_0_0_Alphas_DSCIT100/"Once I had src, I found a number of interesting things, one important tidbit is the default port its trying to connect on is port 5000..
Ideally, it seems its best to get your serial->IP bridge listening on that port.
You can build the jar files with:
Once you have the jars you can copy them into your openremote 2.0 install
You then have to update the OpenRemote-Controller-2.0.0/webapps/controller/WEB-INF/classes/applicationContext.xml
and in the section where you see
add the following:
<entry key = "dscit100" value-ref = "dscit100CommandBuilder"/>and then in the "COMMAND BUILDERS" section further down, add:
<!-- DSC IT-100 Command Builder --> <bean id = "dscit100CommandBuilder" class = "org.openremote.controller.protocol.dscit100.DSCIT100CommandBuilder" />This will allow you to initialize the module..
Once I have completed all this, I was able to load the controller.xml and follow the info here: http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+DSC+Alarm+Systems
Hope this helps others.
May 20, 2012
Quintin Paulson says:
its all loading successful.. No errors anywhere, but when i try to get the ZONE_...its all loading successful.. No errors anywhere, but when i try to get the ZONE_STATUS i keep getting back either a "FAULT" or the app crashes on my phone ( android )..
May 20, 2012
Quintin Paulson says:
Has anyone managed to get this working?? I am quite sure its connecting to the ...Has anyone managed to get this working?? I am quite sure its connecting to the device and communicating correctly.. Its still not working though.. I can see traffic on the serial device, the Alarm is pushing date/time probes every minute, but openremote is still reporting error/faults..
There are no exceptions or errors in the logs at all.. Anyone have any ideas.. ?
Thank you.
May 21, 2012
Quintin Paulson says:
Updated the socat command below.. Its able to arm/disarm now.. but the STATE com...Updated the socat command below.. Its able to arm/disarm now.. but the STATE commands are still not working.
May 21, 2012
Quintin Paulson says:
Its getting data from the socket.. Just seems like its not what its expecting as...Its getting data from the socket.. Just seems like its not what its expecting as it kees saying its getting an invalid checksum...
Here are the logs, just encase someone has any ideas..
May 21, 2012
Marcus Redeker says:
I am not familiar with this protocol but you can find the code where the checksu...I am not familiar with this protocol but you can find the code where the checksum is checked here: http://openremote.svn.sourceforge.net/viewvc/openremote/workspace/gdrapp/Controller_2_0_0_Alphas_DSCIT100/src/org/openremote/controller/protocol/dscit100/Packet.java?revision=6230&view=markup
Could it be a serial baud rate problem?
This document: http://www.google.com/url?sa=t&rct=j&q=dscit100%20baud%20rate&source=web&cd=1&ved=0CFEQFjAA&url=http%3A%2F%2Fcms.dsc.com%2Fdownload.php%3Ft%3D1%26id%3D11225&ei=R_K5T4TSMpHJswar-53vBw&usg=AFQjCNH75XhIfrN3SetOGXGTrXHPTU6yDA&cad=rja
suggests different baud rates for different cable.
May 21, 2012
Quintin Paulson says:
Thanks for the info Marcus.. I looked at the src already.. I expect that its cor...Thanks for the info Marcus.. I looked at the src already.. I expect that its correct..
I will play now with the different baud rates, though its supposed to be 9600 by default and I have been setting it to 9600, which should be the most stable..
Nov 11, 2012
Eric Nelson says:
Actually, in the steps above, you need to copy the folder and .class files from ...Actually, in the steps above, you need to copy the folder and .class files from
/Controller_2_0_0_Alphas_DSCIT100/build/classes/org/openremote/controller/protocol/dscit100
into
OpenRemote-Controller-2.0.0/webapps/controller/WEB-INF/classes/org/openremote/controller/protocol/
May 21, 2012
Quintin Paulson says:
FYI also, if you have your serial device plugged into the same box running openr...FYI also, if you have your serial device plugged into the same box running openremote, like i do..
you can run socat to allow openremote to connect to the serialdevice over TCP/IP.
Like this:
You can test the serial connection by sending commands directly to it with
type in "00191" and hit enter.. You should get back a dump of information..
Happy hacking.
Nov 07, 2012
Eric Nelson says:
Hey Quintin, I have a raspberry pi and have my dsc-it100 connected to it via a U...Hey Quintin, I have a raspberry pi and have my dsc-it100 connected to it via a USB to serial interface cable. I'm able to communicate with the it-100 over that. Will the socat commands above allow me to still use OpenRemote with my current configuration?
I've tried the commands above, but I get an E unknown device/address "READLINE". I was able to replace READLINE with STDIO and was able to input from the command line to test the dsc-it100 interface.
Any tips?