Hi @effem
welcome to the arduino forum.
I have looked up the GitHub-Repo of the original project.
And I looked into the used code.
Then I watched that part of the video that explains how the ESP8266 is connected to the coffee-machine in the orirignal project:
He is using a special concept that required reverse-engineering the serial communication used fo the display.
This is so specialiesed that you can't use the original code. Only that part of the code that does the MQTT-stuff might be adaptable but I guess it will be less work to write the MQTT-code from scratch than adapting the original MQTT-code.
So I did a duckduckgo for the usermanual. For the machine with the name
"Krups XN1108 Essenza"
I did not cross-check if this is exactly your machine. You should provide the exact usermanual of exact that machine you want to buy.
This XN1108 Essenza manual says: two buttons with lights.
And as your machine is much much simpler that the expresso-autmat in the original project in your machine there will be no main-controller communicating via a serial interface with a display.
That is the reason why you can't use the original code.
As a general statemanet: The microcontroller-world is not superstandardised like USB-devices.
You have to take care of more details than just "does the plug fit into the socket?"
An automatiion of this Krups XN1108 Essenza will be doable, but it requires analysing new
- how are the buttons connected to the KRUPS-machine-controller
- how are the LEDs connected to the KRUPS-machine-controller
Realising this means to add soldered wires to the machine inside. Which is a modification where you instantly loose the warranty of the machine.
A work around this would be to create a "finger-automat" which is purely mechanical connected to the original buttons so this mechanic would press the original buttons mechanically using RC-servos
If you have fun doing it in such a way you can do it.
If I understood right you haven't bought any espresso-machine yet. But the machine shall be in the 100-Euro range. Well machines in that priceclass I guess (= not sure knowing) will not have any kind of inbuild internet/smarthome-connectevity.
So my suggestion is to buy a already used cheap Nespresso-machine for 50€ for this and do the modification to become smart with a used machine.
If your main thing is to start home-automation in general I would choose something different that is easier to do.
best regards Stefan