Open stylpen opened 9 years ago
well, there was a problem with negative consuption (smart meter aggregation) in the hour where time is adjusted backwards (on 26.10.14)
timePassedSinceLastUpdate = Decimal((now -self.SmartMeterHour.timestamp).total_seconds())
does not seem to work in this case and produce rather large negative value
well, there was a problem with negative consuption (smart meter aggregation) in the hour where time is adjusted backwards (on 26.10.14)
does not seem to work in this case and produce rather large negative value