mmastrac / longshot

API and CLI for ECAM-based Delonghi machines
92 stars 8 forks source link

Question: get statitics #8

Closed leprox43 closed 14 hours ago

leprox43 commented 3 weeks ago

Hi,

how can i get the machine statistics (as total coffee maked) ?

I was try to find myself, but i'm blocked.

Thanks

mmastrac commented 3 weeks ago

I'd recommend starting with the decompilation of the official APK -- it's been a while since I worked on this so I cannot remember how statistics are retrieved.

You'll probably want to hook up StatisticsRead like we have ParametersRead in https://github.com/mmastrac/longshot/blob/main/src/operations/parameter.rs.