This commit is contained in:
Bluepr1nt
2017-03-29 13:15:13 +02:00
parent cffab53c2f
commit 4e791937ad
+1 -1
View File
@@ -28,7 +28,7 @@ var parseTelegram = function(data, callback){
// }else { // }else {
// console.log("No!!!!") // console.log("No!!!!")
//} //}
regx = /1-0:1\.8\.1\((\d{6}\.\d{3})\*kWh\)/g regx = /1-0:1\.8\.1\((\d{5}\.\d{3})\*kWh\)/g
found = str.match(regx); found = str.match(regx);
console.log("\n\nPARSING\n"); console.log("\n\nPARSING\n");