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, |
Simon Hunt | 45c9fe5 | 2015-02-02 19:06:29 -0800 | [diff] [blame] | 7 | "master": "myInstA", |
Thomas Vachuska | 0f6baee | 2014-11-11 15:02:32 -0800 | [diff] [blame] | 8 | "location": { |
Simon Hunt | fd7106c | 2016-02-09 15:05:26 -0800 | [diff] [blame] | 9 | "type": "lnglat", |
Paul Greyson | 6cb8ca0 | 2014-11-12 18:09:02 -0800 | [diff] [blame] | 10 | "lat": 37.7833, |
| 11 | "lng": -122.4167 |
Thomas Vachuska | 0f6baee | 2014-11-11 15:02:32 -0800 | [diff] [blame] | 12 | }, |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 13 | "labels": [ |
Simon Hunt | 434cf14 | 2014-11-24 11:10:28 -0800 | [diff] [blame] | 14 | "", |
Simon Hunt | 7cd48f3 | 2014-11-09 23:42:50 -0800 | [diff] [blame] | 15 | "sw-8", |
Simon Hunt | 434cf14 | 2014-11-24 11:10:28 -0800 | [diff] [blame] | 16 | "0000ffffffff0008" |
| 17 | ], |
| 18 | "metaUi": { |
| 19 | "x": 520, |
| 20 | "y": 350 |
| 21 | } |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 22 | } |
| 23 | } |