thankthemaker / sharespresso

IoT version of the famous coffeemaker payment system from Oliver Krohn and the german c't magazine.
MIT License
9 stars 2 forks source link

Bonusprogram for cleaning #22

Open derguy opened 5 years ago

derguy commented 5 years ago

When a user cleans the coffee-machine he/she will get some coffee for free.

thankthemaker commented 5 years ago

Hi Guy, isn't this a feature request for the ionic app?

derguy commented 5 years ago

Yes. I moved the issues from the ionic app to sharespresso to get a better overview of the open issues. Most of them affect both, sharespresso and the ionic app.

Is it possible to get an information if the coffeemachine is in cleaning-mode? If so then it would be nice when the "cleaner" could identify himself to the system while cleaning and the bonus/credit would be automatically applied.

thankthemaker commented 5 years ago

Ok, you've got a point there. Yes, I think there are some register we could read to get the state of the coffeemaker. Register RE:0004 looks promising to me but I wasn't able to "determine" all the states yet. What I observed is that the register changes it's value when changing the state (grinding, brewing, heating). We'll have to do further investigations, e.g. for the states if maintenance ist necessary or in progress.