create_minutely_data.js
@@ -50,12 +50,7 @@ time: moment(moment(start, 'YYYY-MM-DD HH:mm:00').valueOf() + 8*60*60*1000).toDate() }; } devices[mac][key] = val; if(devices[mac]["ext"] == null) { devices[mac]["ext"] = {}; } devices[mac]["ext"][key] = [data.min_val, data.max_val] devices[mac][key] = [val, data.min_val, data.max_val]; }); var device_data = [];