}
private void sendPoints(UsageDataFrame df, Command c) {
// find command sender (in order to reply)
// create response, filling data from List
ProtocolRead ev = new ProtocolRead(this, "harvester", c.getProperty("QueryAddress"));
//EventTemplate ev = new EventTemplate(c);
ObjectMapper om = new ObjectMapper();
//om.setVisibility(JsonMethod.FIELD, Visibility.ANY);
ByteArrayOutputStream os = new ByteArrayOutputStream();
try {
om.writeValue(os, df);
ev.addProperty("behaviorValue", os.toString());
Freedomotic.sendEvent(ev);
} catch (Exception ex) {
LOG.severe(ex.getLocalizedMessage());
}