# Home assistant Delonghi integration [![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration) [![License](https://img.shields.io/github/license/Arbuzov/home_assistant_delonghi_primadonna?style=for-the-badge)](https://github.com/Arbuzov/home_assistant_delonghi_primadonna/blob/master/LICENSE) [![Latest Release](https://img.shields.io/github/v/release/Arbuzov/home_assistant_delonghi_primadonna?style=for-the-badge)](https://github.com/Arbuzov/home_assistant_delonghi_primadonna/releases) [![Latest Release](https://img.shields.io/badge/dynamic/json?style=for-the-badge&color=41BDF5&logo=home-assistant&label=integration%20usage&suffix=%20installs&cacheSeconds=15600&url=https://analytics.home-assistant.io/custom_integrations.json&query=$.delonghi_primadonna.total)](https://analytics.home-assistant.io/custom_integrations.json) [![Validate Workflow](https://img.shields.io/github/actions/workflow/status/Arbuzov/home_assistant_delonghi_primadonna/validate.yml?branch=master&style=flat)](https://github.com/Arbuzov/home_assistant_delonghi_primadonna/actions/workflows/validate.yml) [![GitHub Stars](https://img.shields.io/github/stars/Arbuzov/home_assistant_delonghi_primadonna?style=flat)](https://github.com/Arbuzov/home_assistant_delonghi_primadonna/stargazers) [![GitHub Last Commit](https://img.shields.io/github/last-commit/Arbuzov/home_assistant_delonghi_primadonna?style=flat)](https://github.com/Arbuzov/home_assistant_delonghi_primadonna/commits/master) [![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=Arbuzov&repository=home_assistant_delonghi_primadonna&category=integration) [![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=home_assistant_delonghi_primadonna) ![Company logo](https://brands.home-assistant.io/delonghi_primadonna/logo.png) ## Known issues * Delonghi device reports one status at a time: if you remove the water tank first and then remove the coffee grounds container, you get only one warning about the water. * Delonghi devices support only one connection. You cannot connect to the device using the native application while this integration is active. * Delonghi device may not handle client disconnections or unexpected connection loss. If the Home Assistant connection drops (for example, due to network issues or the host going offline), the coffee machine may still think it's connected. ## Component to integrate Delonghi coffee machine into the Home Assistant This component establishes persistent Bluetooth connection to send commands to cafe machine. If any parallel connection will be set the integration will not work. ### Events This integration triggers events in case of device state is changed. The event looks like following: ``` { 'data' : "b'd0 12 75 0f 01 05 00 00 00 07 00 00 00 00 00 00 00 9d 61'" 'type' : 'status' 'description' : 'DeviceOK' } ``` There is only two event type available status and process. The list of available events can be found [here](./custom_components/delonghi_primadonna/device.py#L69) ## Installation #### HACS [Add this repository into HACS as custom repository.](https://hacs.xyz/docs/faq/custom_repositories/) [Install using HACS.](https://hacs.xyz/docs/navigation/overview) #### Manual Copy all files from this repository in custom_components/delonghi_primadonna to your /custom_components/delonghi_primadonna/ directory. ## Configuration * Find the device MAC address using BLE scanner or smartphone * Open the integration page * Click add integration * Enter "Delonghi" * Select "Delonghi Primadonna" integration * Enter the name and the MAC address * To change these settings later open the integration options and update the values ![Charts](./images/v1.17.18_image_1.jpg) ![Charts](./images/v1.17.18_image_2.jpg) ![Charts](./images/v1.17.18_image_3.jpg) ## Compatible devices * De'Longhi ECAM 550.55 * De'Longhi Dinamica Plus Class ECAM 370.85.SB * De'Longhi Dinamica Plus Class ECAM 370.95 * De'Longhi Maestosa EPAM 960.75.GLM * De'Longhi ECAM 650.85.MS * De'Longhi ECAM 550.55.W * De'Longhi ECAM 650.55.MS EX:1 * De'Longhi ECAM 510.55M * Feel free to add your model...