Skip to content

Lelit Mara X V2 Serial Shot Timer Display and MQTT Client for ESP8266

Notifications You must be signed in to change notification settings

dougie996/M1N1MaraX_MQTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a quick and dirty implementation of a Display and MQTT Client for Lelit MaraX V2 Espresso Machines.

What it does:

  1. In idle mode: In the upper left corner is the Heater Status. While heating, a blinking cursor and Text "Heatup" is shown. In the upper center a WiFi Icon is shown, together with the WiFi Signal Strength, when connected to WiFi. In the upper right the Mara X Mode of operation is shown. A Coffeecup signals Coffee Priority Mode; a Steam Symbol Steam Priority Mode. Lower part left & right: reported Temperature of Heat Exchanger and Steam Boiler.

  2. In operation mode: As soon the coffee brewing sequence is started, der Steam Temperature display is replaced by a shot timer, counting seconds up and a filling up Coffeecup is shown on the left, together with the Heat Exchanger Temperature. After brewing sequence has ended, the Display returns to idle Mode.

  3. The following parameters are published via WiFi to a connected MQTT Server

    1. Mara Software Version and Mode of Operation
    2. Steam Temp
    3. Target Steam Temp
    4. Heat Exchange Temp
    5. Heating Boost Mode
    6. Heating Element on/off
    7. Pump on/off
    8. WiFiRxLevel
  1. Configuration can primarily be done via the secrets.h file. It contains Parameters like WiFi SSID and Password and MQTT Server Address & Port. You can also define the MQTT Update Interval in seconds. You need to match this based on your requirements.

Despite many other similar projects, this one is using the correct Mara X V2 wiring and coding! Please TAKE CARE, as most information in the Web regarding how to interface with Mara X Gicar Control Box is WRONG!

Please also visit https://www.m1n1.de/en/lelit-mara-x-v2-gicar-internals/ for details.

The Arduino Tx Line / Gicar Rx Line dones not need to be connected. There's no program code inside the Gicar, which would work with data recieved via the serial interface. The Memory of the Gicar Processor is quite full. 50% are already occupied by a huge Table with 921 Values for the Temp Sensor evaluation plus the STM8 Compiler Runtime.

You need to add your WLAN SSID and Password to the secrets.h file, for getting acces to your WLAN. The Machine will appear in your router as "MaraX". Add IP Address and port of your MQTT Broker and desired update interval in seconds.

Hardware used is an ESP8266 on a Wemos D1 clone and 128x64 Adafruit SSD1306 SPI OLED Display.

image

MaraX_MQTT_final

About

Lelit Mara X V2 Serial Shot Timer Display and MQTT Client for ESP8266

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published