This commit is contained in:
Bluepr1nt
2017-03-29 13:40:51 +02:00
parent cc2070d913
commit 8fe46a27a8
+1
View File
@@ -33,6 +33,7 @@ var parseTelegram = function(data, callback){
regx = /1-0:1\.8\.1\((\d{5,6}\.\d{3})\*kWh\)/g
found = str.match(regx);
console.log("found:");
console.log(found);
if(found)
toe1 = found[0];