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'''''. 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.  
+
A Bticino gateway receives and sends so called '''''OPEN messages''''', a string containing the characters asterisk (<code>'''*'''</code>) and hash (<code>'''#'''</code>) as well as numbers from (<code>'''0 to 9'''</code>).
The following example switches on light #53: <pre>*1*1*53##</pre>
+
 
 +
, 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.  
 +
The following example
 +
 
 +
switches on light #53: <pre>*1*1*53##</pre>

Revision as of 16:52, 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 OPEN messages, a string containing the characters asterisk (*) and hash (#) as well as numbers from (0 to 9).

, 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##