{ | |
"event": "addDevice", | |
"payload": { | |
"id": "of:0000000000000003", | |
"type": "switch", | |
"online": true, | |
"labels": [ | |
"of:0000000000000003", | |
"3", | |
"", | |
null | |
], | |
"props": { | |
"location": { | |
"type": "latlng", | |
"lat": 123.5, | |
"lng": 67.8 | |
}, | |
"anotherProp": "foobar" | |
} | |
} | |
} |