Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 1 | { |
| 2 | "event": "addDevice", |
| 3 | "payload": { |
| 4 | "id": "of:0000ffffffff0008", |
| 5 | "type": "switch", |
| 6 | "online": false, |
Thomas Vachuska | 0f6baee | 2014-11-11 15:02:32 -0800 | [diff] [blame] | 7 | "location": { |
| 8 | "type": "latlng", |
Paul Greyson | 6cb8ca0 | 2014-11-12 18:09:02 -0800 | [diff] [blame] | 9 | "lat": 37.7833, |
| 10 | "lng": -122.4167 |
Thomas Vachuska | 0f6baee | 2014-11-11 15:02:32 -0800 | [diff] [blame] | 11 | }, |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 12 | "labels": [ |
Simon Hunt | 434cf14 | 2014-11-24 11:10:28 -0800 | [diff] [blame] | 13 | "", |
Simon Hunt | 7cd48f3 | 2014-11-09 23:42:50 -0800 | [diff] [blame] | 14 | "sw-8", |
Simon Hunt | 434cf14 | 2014-11-24 11:10:28 -0800 | [diff] [blame] | 15 | "0000ffffffff0008" |
| 16 | ], |
| 17 | "metaUi": { |
| 18 | "x": 520, |
| 19 | "y": 350 |
| 20 | } |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 21 | } |
| 22 | } |