diff --git a/index.js b/index.js index 29b1373..bab7387 100644 --- a/index.js +++ b/index.js @@ -66,7 +66,7 @@ P1Reader.prototype.parsePackage = function(rawData) { data.electricity.date = new Date(); var lines = rawData.split("\r\n"); // Not a full package (not enough lines) - if(lines.length < 19) { + if(lines.length < 18) { return null; }