Difference between revisions of "OWN OpenWebNet Language Reference"

From piMyHome Project
Jump to navigation Jump to search
Line 41: Line 41:
 
|}
 
|}
  
== The WHO Table ==
+
== The Tables of WHO WHAT WHERE ==
  
{| class="wikitable"
+
{| class="wikitable" style="float:left; "
 
! style="text-align:left;"| WHO
 
! style="text-align:left;"| WHO
 
! style="text-align:left;"| Service
 
! style="text-align:left;"| Service
Line 110: Line 110:
 
|[[WHO=1013 - Device Diagnostic|Device Diagnostic]]
 
|[[WHO=1013 - Device Diagnostic|Device Diagnostic]]
 
|-
 
|-
 +
|}
 +
{| class="wikitable" style="float:left; margin-left: 10px;width:200px;"
 +
! style="text-align:left;"| WHAT
 +
! style="text-align:left;"| Adress
 +
|-
 +
|
 +
|The WHAT table depends on the WHO service. Please click on the appropriate service in WHO table.
 +
|}
 +
{| class="wikitable" style="float:left; margin-left: 10px;"
 +
! style="text-align:left;"| WHERE
 +
! style="text-align:left;"| Location
 +
|-
 +
|0
 +
|General
 +
|-
 +
|1..9
 +
|Zone 1 to 9
 +
|-
 +
|11..99
 +
|Light point 11 to 99
 +
|-
 +
|#1..#9
 +
|Group 1 to 9
 
|}
 
|}

Revision as of 20:10, 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 a dimension
Dimension Write *#WHO*WHERE*#DIMENSION*VAL1*VAL2*...*VALn## Write a dimension

The Tables of WHO WHAT WHERE

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
WHAT Adress
The WHAT table depends on the WHO service. Please click on the appropriate service in WHO table.
WHERE Location
0 General
1..9 Zone 1 to 9
11..99 Light point 11 to 99
#1..#9 Group 1 to 9