Difference between revisions of "OWN OpenWebNet Language Reference"

From piMyHome Project
Jump to navigation Jump to search
Line 41: Line 41:
 
|}
 
|}
  
== Standard Message ==
+
== The WHO Table ==
  
In the table above, we learned a Standard Message consists of <code>''' *WHO*WHAT*WHERE## ''' </code>.
+
{| class="wikitable"
* <tt>'''WHO'''</tt> identifies the service, such as scenario, light or automation
+
! style="text-align:left;"| WHO
* <tt>'''WHAT'''</tt> is the action to be performed, such as light ON/OFF or dimmer, shutter up/down etc.
+
! style="text-align:left;"| Service
* <tt>'''WHERE'''</tt> identifies the object, which can be an area, group, an environment, or just a single light or shutter etc. A <tt>'''WHERE'''</tt> field can also come with optional parameters, separated by a hash ('''#'''), e.g. <tt>'''*WHERE#PAR1#PAR2#...#PARn'''</tt>
+
|-
 +
|0
 +
|[[WHO=0 - Scenarios|Scenarios]]
 +
|-
 +
|1
 +
|[[WHO=1 - Lighting|Lighting]]
 +
|-
 +
|2
 +
|[[WHO=2 - Automation|Automation]]
 +
|-
 +
|3
 +
|[[WHO=3 - Load Control|Load Control]]
 +
|-
 +
|4
 +
|[[WHO=4 - Heating|Heating]]
 +
|-
 +
|5
 +
|[[WHO=5 - Burglar Alarm|Burglar Alarm]]
 +
|-
 +
|6
 +
|[[WHO=6 - Door Entry System|Door Entry System]]
 +
|-
 +
|7
 +
|[[WHO=7 - Multimedia|Multimedia]]
 +
|-
 +
|9
 +
|[[WHO=9 - Auxiliary|Auxiliary]]
 +
|-
 +
|13
 +
|[[WHO=13 - Device Communication|Device Communication]]
 +
|-
 +
|14
 +
|[[WHO=14 - Light+shutters actuators lock|Light+shutters actuators lock]]
 +
|-
 +
|15
 +
|[[WHO=15 - CEN MH200N|CEN MH200N]]
 +
|-
 +
|16
 +
|[[WHO=16 - Sound System|Sound System]]
 +
|-
 +
|17
 +
|[[WHO=17 - Scenario Programming|Scenario Programming]]
 +
|-
 +
|18
 +
|[[WHO=18 - Energy Management|Energy Management]]
 +
|-
 +
|24
 +
|[[WHO=24 - Lighting Management|Lighting Management]]
 +
|-
 +
|25
 +
|[[WHO=25 - CEN F454|CEN F454]]
 +
|-
 +
|1000
 +
|[[WHO=1000 - Diagnostic|Diagnostic]]
 +
|-
 +
|1001
 +
|[[WHO=1001 - Automation Diagnostic|Automation Diagnostic]]
 +
|-
 +
|1004
 +
|[[WHO=1004 - Heating Diagnostic|Heating Diagnostic]]
 +
|-
 +
|1013
 +
|[[WHO=1013 - Device Diagnostic|Device Diagnostic]]
 +
|-
 +
|}

Revision as of 18:58, 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.

Basic Syntax Rules

A Bticino gateway receives and sends OPEN messages:

  • A message is a simple string, containing the characters asterisk (*), hash (#) and numbers from 0 to 9.
  • each message begins with an asterisk (*) and ends with a double hash (##).
  • within the message, fields are separated by an asterisk (*).

Example: *field1*field2*field3*...fieldN##

The following table shows the allowed syntax:

Message Type Message Note
ACK *#*1## Message accepted/understood
NACK *#*0## Message not accepted/understood
Standard *WHO*WHAT*WHERE## Standard message
Status Request *#WHO*WHERE## Request a state (e.g. if a light is ON or OFF)
Dimension Request *#WHO*WHERE*DIMENSION## Request the dimension
Dimension Write *#WHO*WHERE*#DIMENSION*VAL1*VAL2*...*VALn## Write a dimension

The WHO Table

WHO Service
0 Scenarios
1 Lighting
2 Automation
3 Load Control
4 Heating
5 Burglar Alarm
6 Door Entry System
7 Multimedia
9 Auxiliary
13 Device Communication
14 Light+shutters actuators lock
15 CEN MH200N
16 Sound System
17 Scenario Programming
18 Energy Management
24 Lighting Management
25 CEN F454
1000 Diagnostic
1001 Automation Diagnostic
1004 Heating Diagnostic
1013 Device Diagnostic