diff --git a/mean-app/server/routes/thingapi.js b/mean-app/server/routes/thingapi.js index 15847db..bfb372e 100644 --- a/mean-app/server/routes/thingapi.js +++ b/mean-app/server/routes/thingapi.js @@ -25,6 +25,8 @@ var parseTelegram = function(data, callback){ found = regx.exec((str)); if(found) device = found[1]; + console.log(device); + console.log("\n"); //TOE1 regx = /1-0:1\.8\.1\((\d{5,6}\.\d{3})\*kWh\)/g;