This page last changed on Apr 12, 2011 by gdrapp.

I've been working on an OpenRemote protocol for the DSC security system IT-100 automation interface. Currently it can arm and disarm the system and also implements the StatusCommand interface to report the system's current status to a sensor widget. I'm still working on additional functionality but I wanted to gauge interest before I put too much more time into it. I'd be happy to donate the code to the project if anybody is interested. Just let me know...

Of course we are interested

Shoot me an email at juha openremote org and let's get your work integrated

Posted by admin at Apr 12, 2011 19:39

Saw your first commit, a very nice start!

Posted by juha at Apr 22, 2011 00:28

Thanks!

Posted by gdrapp at Apr 22, 2011 01:45

Juha,

I've put together an XML definition file for UIDesigner for my DSC interface. Do I need to branch UIDesigner to commit the XML or can I just email/post it somewhere?

Thanks.

Posted by gdrapp at Apr 25, 2011 02:45

You can post it here – use {code:xml} . . . {code} for pretty printing.

Posted by juha at Apr 25, 2011 07:46

Thanks!

<?xml version="1.0" encoding="UTF-8"?>
<openremote xmlns="http://www.openremote.org" 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.openremote.org protocol.xsd">

  <protocol displayName="DSC IT-100" tagName="dscit100">

    <attr name="address" label="IT-100 Address">
      <validations>
        <allowBlank>false</allowBlank>
      </validations>
    </attr>

    <attr name="command" label="Command Name">
      <validations>
        <allowBlank>false</allowBlank>
      </validations>
    </attr>

    <attr name="target" label="Command Target (Zone/Partition)">
      <validations>
        <allowBlank>false</allowBlank>
    	<maxLength>3</maxLength>
        <regex message="Only numbers allowed">[0-9]{1,3}</regex>      
      </validations>
    </attr>

    <attr name="code" label="Security Code">
      <validations>
        <allowBlank>true</allowBlank>
      </validations>
    </attr>

  </protocol>
</openremote>
Posted by gdrapp at Apr 26, 2011 01:42

I've deployed the config to http://designer.openremote.org

Can you please give it a try to make sure everything's ok?

Posted by juha at Apr 26, 2011 15:29

It appears to be working although I seem to be hitting an unrelated bug.

Last week I added several commands (for each of my security zones) using the 'Submit and Continue' button when adding them. Since my protocol definition was not in the designer, I just added them as TCPIP commands and my plan was just to just hack the XML to work for my DSC protocol.

When I save and export the XML and open it locally, several of the commands are not showing up in the exported XML. Now when I add new commands, they are not showing up in the XML either. I'm guessing something went wrong on the backend when I was adding all of the commands last week.

I don't know if it's worth taking a look at the database to see if something went wrong. If not, if you could just reset my Designer account so I can start over from scratch, that would be great.

Thanks.

Posted by gdrapp at Apr 26, 2011 15:48

Also, some of the labels appear to be a little long. Not a big deal, but I've shortened them so they look a little better in the Designer.

<?xml version="1.0" encoding="UTF-8"?>
<openremote xmlns="http://www.openremote.org" 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.openremote.org protocol.xsd">

  <protocol displayName="DSC IT-100" tagName="dscit100">

    <attr name="address" label="IT-100 Address">
      <validations>
        <allowBlank>false</allowBlank>
      </validations>
    </attr>

    <attr name="command" label="Command">
      <validations>
        <allowBlank>false</allowBlank>
      </validations>
    </attr>

    <attr name="target" label="Target">
      <validations>
        <allowBlank>false</allowBlank>
    	<maxLength>3</maxLength>
        <regex message="Only numbers allowed">[0-9]{1,3}</regex>      
      </validations>
    </attr>

    <attr name="code" label="Security Code">
      <validations>
        <allowBlank>true</allowBlank>
      </validations>
    </attr>

  </protocol>
</openremote>
Posted by gdrapp at Apr 26, 2011 15:51

Reset.

However IIRC this deployed version still has a 'issue' where if the commands are not bound to an actual panel UI widget, it just discards them as useless.

Posted by juha at Apr 26, 2011 16:52

Done.

Posted by juha at Apr 26, 2011 17:08

Juha / Greg

Do you have any examples for this protocol input in the designer?

Like what are acceptable values for the fields?
IT100 Address ???
Command (This is kind of obvious)
Target ???
Security Code (This is kind of obvious)

Posted by ericnhitterdal at Nov 08, 2012 15:27
Document generated by Confluence on Jun 05, 2016 09:30