Difference between revisions of "WHO=13 - Device Communication"

From piMyHome Project
Jump to navigation Jump to search
Line 12: Line 12:
 
! style="text-align:left;"| ATTRIBUTE
 
! style="text-align:left;"| ATTRIBUTE
 
! style="text-align:left;"| Description
 
! style="text-align:left;"| Description
! style="text-align:left;"| ReadOnly/ReadWrite
+
! style="text-align:left;"| R/W
! style="text-align:left;"| Example
+
! style="text-align:left;"| Syntax
! style="text-align:left;"| Explanation
+
|- style="vertical-align:top;"
|-
 
 
|0
 
|0
 
|Time
 
|Time
 
|R/W  
 
|R/W  
|Get Time: *#13**0##<br>Set Time:*#13**#0*HH*MM*SS*TTT##
+
|Get Time: *#13**0##<br>Set Time: *#13**#0*HH*MM*SS*PTT##
 
|-
 
|-
 
|1
 
|1
Line 60: Line 59:
 
|Distribution Version
 
|Distribution Version
 
|R
 
|R
 +
|}
 +
 +
{| class="wikitable"
 +
! style="text-align:left;"| VALUE
 +
! style="text-align:left;"| Description
 +
! style="text-align:left;"| Info
 +
|-
 +
|HH*MM*SS
 +
|Hour*Minute*Seconds
 +
|each a 2-digit value
 +
|-
 +
|P
 +
|Timezone prefix
 +
| -=1, +=0<br>TT = 2-digit timezone
 
|}
 
|}
  

Revision as of 23:27, 21 November 2014

WHO 13 let's you communicate with your gateway or scenario manager.

We start with an Example

To find out what type of gateway and/or scenario manager you have, just send the message *#13**15## to your device, for example:

echo "*#13**15##" | netcat 192.168.60.201 20000

This gives you a similar answer like this:

*#*1##*#13**15*12##*#*1##

My device is shown as 12, looking up in the Device Table below, the device must be a F453AV

ATTRIBUTE Table

ATTRIBUTE Description R/W Syntax
0 Time R/W Get Time: *#13**0##
Set Time: *#13**#0*HH*MM*SS*PTT##
1 Date R/W
10 IP address R
11 Net mask R
12 MAC address R
15 Device Type R
16 Firmware version R
19 Uptime R
22 Date and Time R/W
23 Kernel Version R
24 Distribution Version R
VALUE Description Info
HH*MM*SS Hour*Minute*Seconds each a 2-digit value
P Timezone prefix -=1, +=0
TT = 2-digit timezone

Known Devices

OWN-ID Device
2 MHServer
4 MH200
6 F452
7 F452V
11 MHServer2
12 F453AV
13 H4684
16 F453
27 L4686SDK
44 MH200N
51 F454