diff --git a/mean-app/server/routes/thingapi.js b/mean-app/server/routes/thingapi.js index 7a50a58..6b23e3d 100644 --- a/mean-app/server/routes/thingapi.js +++ b/mean-app/server/routes/thingapi.js @@ -21,7 +21,7 @@ var parseTelegram = function(data, callback){ //TOE1 - regx = /1-0:1\.8\.1\((\d{6}\.\d{3})\*kWh\)/g; + regx = /1-0:1\.8\.1\((\d{6}\.\d{3})\*kWh\)/; found = str.match(regx); console.log("\n\nPARSING\n");