This commit is contained in:
Bluepr1nt
2017-03-29 12:27:34 +02:00
parent 0476e2e8c7
commit 182aa339f9
+1 -1
View File
@@ -21,7 +21,7 @@ var parseTelegram = function(data, callback){
//TOE1
regx = /1-0:1\.8\.1\((\d{6}\.\d{3})\*kWh\)/;
regx = '/1-0:1\.8\.1\((\d{6}\.\d{3})\*kWh\)/g';
found = str.match(regx);
console.log("\n\nPARSING\n");