Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 1 | { |
2 | "event": "addDevice", | ||||
3 | "payload": { | ||||
4 | "id": "of:000000000000000a", | ||||
5 | "type": "switch", | ||||
6 | "online": true, | ||||
7 | "master": "local", | ||||
8 | "labels": [ | ||||
9 | "", | ||||
10 | "NWOR", | ||||
11 | "of:000000000000000a" | ||||
12 | ], | ||||
13 | "props": { | ||||
14 | "latitude": "29.951475", | ||||
15 | "name": "NWOR", | ||||
16 | "longitude": "-90.078434" | ||||
17 | }, | ||||
18 | "location": { | ||||
19 | "type": "latlng", | ||||
20 | "lat": 29.951475, | ||||
21 | "lng": -90.078434 | ||||
22 | } | ||||
23 | } | ||||
24 | } |