ty
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user