Access Keys:
Skip to content (Access Key - 0)
 

DSC security system protocol

Greg Rapp

On Apr 12, 2011 03:21

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...

 
Labels: , ,
Participants: Administrator , Greg Rapp , Juha Lindfors
  1. Apr 12, 2011

    Administrator says:

    Of course we are interested Shoot me an email at juha openremote org and let's...

    Of course we are interested

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

  2. Apr 22, 2011

    Juha Lindfors says:

    Saw your first commit, a very nice start!

    Saw your first commit, a very nice start!

    1. Apr 22, 2011

      Greg Rapp says:

      Thanks!

      Thanks!

    2. Apr 25, 2011

      Greg Rapp says:

      Juha, I've put together an XML definition file for UIDesigner for my DSC interf...

      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.

      1. Apr 25, 2011

        Juha Lindfors says:

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

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

        1. Apr 26, 2011

          Greg Rapp says:

          Thanks! <?xml version="1.0" encoding="UTF-8"?> <openremote xmlns="...

          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>
          
          1. Apr 26, 2011

            Juha Lindfors says:

            I've deployed the config to http://designer.openremote.org Can you please give ...

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

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

            1. Apr 26, 2011

              Greg Rapp says:

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

              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.

              1. Apr 26, 2011

                Juha Lindfors says:

                Reset. However IIRC this deployed version still has a 'issue' where if the comm...

                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.

            2. Apr 26, 2011

              Greg Rapp says:

              Also, some of the labels appear to be a little long. Not a big deal, but I've s...

              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>
              
              1. Apr 26, 2011

                Juha Lindfors says:

                Done.

                Done.

Adaptavist Theme Builder Powered by Atlassian Confluence
Free theme builder license