Hello all,
I'd previously added a conversation in the user forum:
http://www.openremote.org/pages/viewpage.action?pageId=19434062&focusedCommentId=19434288#comment-19434288
I've now nearly finished my additions to the Controller. I can keep these controller changes local to my server here, I've no problem submitting them after a fuller test. However in order to give the system to my friend it would be great if he could use the designer and save me manually editing configuration files for him, and his every change.
I know in the lead up to the Christmas period this is not the best time to ask this, sorry about that. Is there any way that something could be added to the online Designer? I've called my protocol elexol but that naming convention might not meet approval here. it's confused by the fact that the company offers both Ethernet and USB modules. I'm working on the USB version.
At present the commands are "on" and "off" for a port "A", "B" or "C" and a pin number between 1 and 8 inclusive. I hope that this might be added to the Designer and that it would not impact other users of the Designer at all. I'm not sure of it's structure having added most to the Controller code and not looked at the Designer at all. If this is unacceptable please let me know what I can do or the procedure I should follow for some inclusion?
look forward to hearing from you.
<?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="Elexol USB" tagName="elexol">
<attr name="command-name" label="Command Name">
<validations>
<allowBlank>false</allowBlank>
<regex message="Command must be ON or OFF">(ON|OFF)</regex>
</validations>
</attr>
<attr name="Port" label="Port for the Command">
<validations>
<allowBlank>false</allowBlank>
<maxLength>1</maxLength>
<regex message="Only A, B or C Allowed">[ABC]</regex>
</validations>
</attr>
<attr name="pin" label="Pin for the Command">
<validations>
<allowBlank>false</allowBlank>
<maxLength>1</maxLength>
<regex message="Only numbers allowed">[1-8]</regex>
</validations>
</attr>
</protocol>
</openremote>
Comments (6)
Dec 24
Juha Lindfors says:
Thanks for this contribution. Please do send me an email at juha@openremote.org ...Thanks for this contribution. Please do send me an email at juha@openremote.org to finish some details (contributor agreement) to add both your controller and designer protocols to the open source repository.
Dec 24
Arigead says:
You're more then welcome to the contribution, it's only very minor, especially c...You're more then welcome to the contribution, it's only very minor, especially compared to the work already implemented. I'll get it working in my mates house and fire off some pictures of the system. Who knows it might give people some ideas.
I'll fire you an email to work out the agreement stuff
Merry Christmas to one and all
Dec 27
Juha Lindfors says:
Thanks, sent you an email separately on the steps to complete the contributor ag...Thanks, sent you an email separately on the steps to complete the contributor agreement.
– Juha
Jan 14
Arigead says:
Thanks a million I'm up and running and putting my things in order for addition....Thanks a million I'm up and running and putting my things in order for addition. I have a few questions I'm afraid here.
Firstly the web page:
http://www.openremote.org/display/docs/Developer+How+To+-+Adding+Your+Own+Protocol+to+OpenRemote+Boss+2.0+Designer
shows how to add the xml for a new protocol but fails to mention where that file is in the source code.
the second question concerns whether it is possible to build and run the Designer locally to test it? At present an attempted build is looking for the Google Web Toolkit in /home/juha or similar.
Jan 14
Eric Bariaux says:
1. Goes under protocols/protocols in the designer source code 2. Check readme.t...1. Goes under protocols/protocols in the designer source code
2. Check readme.txt at top level of designer sources. For this specific question on GWT, it's defined in build.properties
Jan 18
John Whitmore says:
Deadly thanks for that. Sorry I've not been able to get back to this for a few d...Deadly thanks for that. Sorry I've not been able to get back to this for a few days. Got distracted but hopefully I can have additions in fairly quickly.