This commit is contained in:
Bluepr1nt
2017-03-29 13:55:31 +02:00
parent 632a0730a8
commit a648887c44
+2 -1
View File
@@ -31,7 +31,8 @@ var parseTelegram = function(data, callback){
//TOE1
regx = /1-0:1\.8\.1\((\d{5,6}\.\d{3})\*kWh\)/g
found = str.match(regx);
//found = str.match(regx);
found = regx.exec(data);
console.log("found:");
console.log(found[0]);