blob: cc8f459c9f52927c4f93341adc9b7670ebaa9045 [file] [log] [blame]
Simon Hunt902c9922014-11-11 11:59:31 -08001{
2 "event": "addDevice",
3 "payload": {
4 "id": "of:0000000000000003",
5 "type": "switch",
6 "online": true,
7 "labels": [
8 "of:0000000000000003",
9 "3",
10 "",
11 null
12 ],
13 "props": {
14 "location": {
15 "type": "latlng",
16 "lat": 123.5,
17 "lng": 67.8
18 },
19 "anotherProp": "foobar"
20 },
21 "metaUi": {
22 "xpc": 57.3,
23 "ypc": 24.86,
24 "and": "other properties the UI wishes to remember..."
25 }
26 }
27}