WHO=13 - Device Communication

From piMyHome Project
Jump to navigation Jump to search

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 Get Date: *#13**1##
Set Date: *#13**#1*WW*DD*MM*YYYY##
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 Time Zone 2-digit timezone
WW Weekday
DD*MM*YYYY Day*Month*Year

Device Table

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