Skip to content

Commit

Permalink
Revert multiplication back
Browse files Browse the repository at this point in the history
The larger numbers are making the missing meter data issue more pronounced, going to try leaving the DB data as-is and update data via the front-end
  • Loading branch information
s-egge committed Sep 24, 2024
1 parent e44fd5c commit 7d65344
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/dependencies/nodejs/models/meter.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,6 @@ class Meter {
pointMap[points[key]] = data[parseInt(key)]
}

// Special case for a Learning Innovation Center meter, the scale is off by a factor of 10
if (this.id === 105) {
pointMap.accumulated_real *= 10;
}

let time = data[0].toString().substring(1, 17) + ':00'
const timeseconds = new Date(time).getTime() / 1000 - new Date().getTimezoneOffset() * 60
try {
Expand Down

0 comments on commit 7d65344

Please sign in to comment.