ESP smart сoffee machine Philips 5400 Series

Is the relay specifically if you want control over on/off? What is the use-case for using the optocoupler instead?

Optocoupler is probably a good option. Why am I writing probably? Because I do not know how the optocoupler will behave if connected to a pin without pulses when power is supplied. As I later found out, the esp does not have all pins free (without pulses when current is applied). When I connected the optocoupler to the esp, I didn’t think about it and when I plugged the coffee machine into the socket, the coffee machine turned on every time. This does not happen with the relay. The relay can be connected to any pin on the ESP and the coffee machine will not turn on when plugged into the socket. When I remembered about it, by this time I had everything assembled on the relay and had no desire to check. But, in the case of an optocoupler, you can turn on the coffee machine from the button on the control panel and remotely, but it does not work with the relay, only switching on with esp.

1 Like

Can I make this work with the 3200 series somehow?

The 4000/5000 series coffee machine project is not suitable for the 3200 series coffee machine, since they have different protocols. The 3200 coffee machine has no LCD screen and buttons, so you need to look at projects for 1000-3000 series coffee machines. The links are in the header

1 Like

Hey @DivanX10 and peeps, thanks for this thread, awesome work here!

I was reading through everything and got excited until I realized your last point about the relay disabling the physical power button. For me I’d prefer to only automate the coffee making on some days :slight_smile: so hopefully someone is willing to test the optocoupler idea some more or figure out a new way to turn the machine on.

Unfortunately, I can’t test other connection schemes to simulate pressing a button and I no longer want to, since I don’t want to sit for a while without coffee and tinker with the coffee machine again. I’m used to turning it on through the voice assistant or automatically after waking up. I was once offered a scheme for connecting to an optocoupler that would simulate pressing a button and at the same time maintain the functionality of the physical button. But I haven’t tried it and can’t guarantee it will work. When soldering, I ruined the 4.7 kOhm SMD resistor and installed what was there - SMD 10 kOhm. If you solder a resistor of a higher value, for example, as I soldered 10 kOhm, then the sensitivity of the button will disappear, but it works with the relay. It is not advisable to set it below 4.7 kOhm, since a resistor is needed here to eliminate interference and it was not for nothing that the manufacturer set it to 4.7 kOhm. If you want, try it and if the physical button works for you and you can turn it on remotely, it will be great. There may be other connection schemes for remote activation. I will be glad if you succeed and share your working scheme

Below are the diagrams that were offered to me after I had already implemented and published my working scheme for remote switching on, but without losing the ability to turn on the coffee machine through a physical button

image

Note! R330Ohm - a 330 Ohm resistor can be used 270-510 Ohm

1 Like

Good day. I have a problem with my Philips coffee machine. Triac bt312 is faulty and smd resistor R109 is also faulty. Unfortunately, the value is not readable. Does anyone have a photo of the triac where it would be possible to read the value. Thank you Jara.

Hello everyone and congratulations on this beautiful project! :smiley:
As far as you know… would it also work on a machine from the new 5500 series?
Thanks

I did not find the 5500 series coffee machine, show the coffee machine with screenshots and a link to it

This is the link from the Philips website:

It is the latest model of the EP series.
I would like to know if it works with the same codes as the 5400 series.
But I haven’t found much information about it.

In appearance, the models between the 5400 and 5500 series are identical, but there is no guarantee that the protocol will be the same. The manufacturer can make changes to the protocol, for example, order the firmware from another developer. Philips doesn’t write the code themselves, they order it. Then, you should understand that by buying this coffee machine after modification, you lose the warranty, and given the cost of this coffee machine at € 699.99, maybe you should look at others who already have integration with Home Assistant, and do not need to modify the 5500 series coffee machine. If you still really want a 5500 series coffee machine and want to modify it, then you do it at your own risk and should understand that it may not take off, and then you will have to decrypt the protocol yourself, and maybe earn if the protocol is the same.

Alternative integrations for coffee machines. No modification of the coffee machine is required for their operation, and therefore you will not lose the warranty

  1. Home assistant Delonghi integration
  2. Jura Coffee Machines for Home Assistant

I decided to update ESPHome and ran into a problem. The coffee machine started to work erratically, and as a result, I rolled back to the old version of ESPHome 2023.5.0 and rebuilt the firmware, and also specified.

esp32:
  board: esp32dev
  framework:
    type: arduino
    version: 2.0.9
  1. You can download the required version of the ESPHome addon at this link
  • Download the addon ESPHome 2023.5.0 (17.05.2023) here
  • Download the addon ESPHome 2023.6.0 (22.06.2023) here
  1. Unzip the archive to any location so that it can be copied to Home Assistant

  2. Copy the esphome folder from the archive to the addons network folder. If the Home Assistant network folders don’t work, then install the Samba share addon. The Samba share addon is available by default in the addon store, but if the Samba share addon is not available for some reason, then enable advanced mode, and then you will see the Samba share addon in the addon store, and if this addon is still not available, then you can install the Samba share addon using this link

In the archive home-assistant-addon-xx.xx.xxxx we are interested in the folder esphome

Copy the esphome folder to the network folder addons


  1. Restart Home Assistant

  2. Go to the addon store and look for the local version of the ESPHome addon. We are looking at the version, it should be version 2023.5.0 or 2023.6.0, depending on which archive we downloaded

  3. If the local version of the ESPHome addon is also version 2023.5.0 or 2023.6.0, then set

1 Like

Hello

Yesterday I tried to implement this to my coffee maschine, but sadly I think I bricked my coffee maschine. It dose not turn on smithing I do.
Did someone else had the same situation, how did you solve the problem,

Alternatively, return to how it was before you connected the coffee machine to the ESP and to the relay. Check whether the coffee machine is turned on via the touch-sensitive power button. This is the first step to figuring out if you’ve damaged your coffee machine or if it’s just a connection error and that’s why the coffee machine won’t turn on.

1 Like

The maschine is back to the original state but dose not turn on.
Nothing works.

When soldering, did you damage the resistor R110, to which you solder the wire for the relay? The touch button may not transmit current to the processor if the track or resistor itself is damaged in the area where you soldered the relay wire. I myself tore off the R110 resistor and could barely restore the track, and now the coffee machine turns on only with the relay, but it doesn’t work with the touch button. You can try to take a wire, strip the ends on both sides, hold one end of the wire to a resistor, and hold your finger on the other end of the wire to send a signal, and the coffee machine can turn on.
image

Hello

Thank you for your help, in the mean time I managed to get in contact with a repair guy, and he told me that it is common to “fry” the mainboard so my option to repair it is to buy a new control and a power board.
Thank you for your help!

How is this possible? How long have you had a coffee machine? How old is she?

Hi!
I would like to keep ESPHome updated because I also use other ESP32 devices.

The question is:
wouldn’t it be enough to set in the code:

esp32:
  board: esp32dev
  framework:
    type: arduino
    version: 2.0.9

so that the firmware is compiled based on Arduino version 2.0.9?
In this case it would be possible to update ESPHome to all subsequent versions…
Did I miss something?

Thanks

  1. Why do you need to update the ESP32 firmware regularly? What does it do?
  2. Updating the ESPHome addon does not mean that you need to update the firmware to ESP32. Updating the firmware to ESP32 is done if changes are made in the code for the device itself, where you have embedded ESP32.
  3. I am not a programmer or radio engineer. I was lucky to find someone who wrote me the code, and I shared it. If someone can adapt the code for new versions of ESPHome, then I’m all FOR it.