Difference between revisions of "OWN OpenWebNet Language Reference"

From piMyHome Project
Jump to navigation Jump to search
Line 1: Line 1:
 
The [http://en.wikipedia.org/wiki/OpenWebNet OpenWebNet protocol] was defined in 2000 by [http://en.wikipedia.org/wiki/Bticino Bticino] to specify the communication with a Bticino domotic gateway, connected via LAN, RS-232 (serial) or USB.
 
The [http://en.wikipedia.org/wiki/OpenWebNet OpenWebNet protocol] was defined in 2000 by [http://en.wikipedia.org/wiki/Bticino Bticino] to specify the communication with a Bticino domotic gateway, connected via LAN, RS-232 (serial) or USB.
  
A Bticino gateway receives and sends so called '''''messages''''' (some people name them also ''frames'' or ''commands''), a string with some fields, seperated by '*' and '#', closed by two '##' The syntax is quite simple. The following example switches on light #53:
+
A Bticino gateway receives and sends so called '''''messages'''''. A ''message'' is a string, containing fields separated by an asterisk (<code>'''*'''</code>) and closed by e double hash (<code>'''##'''</code>). A field can contain numbers and a single hash (<code>'''#'''</code>). You see, the OWN syntax is quite simple.  
<pre>*1*1*53##</pre>
+
The following example switches on light #53: <pre>*1*1*53##</pre>

Revision as of 14:02, 15 November 2014

The OpenWebNet protocol was defined in 2000 by Bticino to specify the communication with a Bticino domotic gateway, connected via LAN, RS-232 (serial) or USB.

A Bticino gateway receives and sends so called messages. A message is a string, containing fields separated by an asterisk (*) and closed by e double hash (##). A field can contain numbers and a single hash (#). You see, the OWN syntax is quite simple.

The following example switches on light #53:

*1*1*53##