EzoGateway icon indicating copy to clipboard operation
EzoGateway copied to clipboard

Get calibration date

Open 100prznt opened this issue 4 years ago • 4 comments

Könnte man in das ausgegebene Ergbniss des Fetch Befehls auch bei jedem Sensor das letzte Kalibrierungsdatum mit einfügen? Man könnte dann damit nämlich eine Art Kalibrierungsreminder in der weiteren Verarbeitung basteln, der einen nach X Tagen (Tage einstellbar im Setup) erinnert, die Sonden neu zu kalibrieren.

100prznt avatar Feb 10 '20 11:02 100prznt

Test feedback: Date is not available in latest version 0.4.28. Could be next to the calibration text: .....currently calibrated at 1 point. Last calibration: 02.09.2020

flapman avatar Sep 02 '20 19:09 flapman

API is extended by the related entry.

/api/cal/ph

/api/cal/orp

/api/cal/rtd

Sample:

{
  "StoredCalibPoints": 1,
  "LastCalibrationDate": "2020-09-04T10:37:11.4628514+02:00"
}

Commit: c4a0e21

100prznt avatar Sep 04 '20 09:09 100prznt

I tried but I get only { "StoredCalibPoints": 1 }

flapman avatar Sep 04 '20 18:09 flapman

Does not yet provide a new release that includes the changes from commit c4a0e21.

Of course you can compile the code yourself, then the change is of course available.

100prznt avatar Sep 04 '20 18:09 100prznt