Closed timoline closed 7 years ago
The "0" values are correct cause an array is being returned. Arrays always start with a 0 index. However, I did spot an issue in the returned object due to your report. The structure being returned was not according to the readme docs any more. It was not returning the "count" and "log" elements. This is now fixed in version 1.4.1 Please have a look at it ;)
Ok I understand , no problem 1.4.1 is looking good :-)
found a small bug in longPowerFailureLog numberOfLongPowerFailures is 1 but later it shows 0
events/dsmr/electricity/numberOfPowerFailures : 2 events/dsmr/electricity/numberOfLongPowerFailures : 1 events/dsmr/electricity/longPowerFailureLog*/0/startOfFailure : 2014-11-23T03:55:39.000Z events/dsmr/electricity/longPowerFailureLog/0/endOfFailure : 2016-04-05T01:52:29.000Z events/dsmr/electricity/longPowerFailureLog/0/duration : 43109810 events/dsmr/electricity/longPowerFailureLog/0/unit : s