Simon Hunt | bb282f5 | 2014-11-10 11:08:19 -0800 | [diff] [blame] | 1 | { |
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 | ], | ||||
Simon Hunt | 902c992 | 2014-11-11 11:59:31 -0800 | [diff] [blame^] | 13 | "props": { |
14 | "location": { | ||||
15 | "type": "latlng", | ||||
16 | "lat": 123.5, | ||||
17 | "lng": 67.8 | ||||
18 | }, | ||||
19 | "anotherProp": "foobar" | ||||
20 | } | ||||
Simon Hunt | bb282f5 | 2014-11-10 11:08:19 -0800 | [diff] [blame] | 21 | } |
22 | } |