Giter Club home page Giter Club logo

miele's Introduction

Miele hacs_badge Validate with hassfest Maintenance Miele_downloads Miele_downloads

Miele Integration for Home Assistant

The capabilities are based on Miele API version 1.0.5. The official capability overview is here https://www.miele.com/developer/assets/API_V1.x.x_capabilities_by_device.pdf . Note that this matrix is not entirely correct. Some devices lack support and some devices support features that are not marked.

All supported appliances will show a status sensor, some appliances will show more sensors, however only freezers, refridgerators, dishwashers and washer/dryers will have a more complete support. Changes on the appliances will be pushed to HA and displayed immediately. As a backup the status is read from the cloud every 60 seconds.

Read more on design philosophy etc in the Wiki

Installation

Make sure you have the credentials available for your account with Miele cloud. You have to register on https://www.miele.com/developer/ If you have an existing integration with the name "miele" you are recommended to remove it before attemping to install this one.

Preferred download method

  • Use HACS, add this repo as a custom repository and install Miele integration.
  • Restart Home Assistant

Manual download method

  • Copy all files from custom_components/miele in this repo to your config custom_components/miele
  • Restart Home Assistant

Setup

Request a client_id and client_secret from the manufacturer and enter following lines to configuration.yaml

miele:
  client_id: your_client_id
  client_secret: your_client_secret

Goto Integrations->Add and select Miele

Follow instructions to authenticate with Miele cloud server. Allow full access for Home Assistant client.

Wiki - Documentation

Documentation (at least some...) can be found in the wiki

Development

There are many ways to setup a development environment. Following procedure works fine in the hands of the maintainer developing with VS Code on WSL2/Windows.

  • Make sure you have python3.9 installed on your WSL.
  • Create a fork on github
$ git clone https://github.com/{your_user}/miele
$ cd miele
$ make install_dev

Home Assistant has defined a code style. Run make lint before pushing your changes to align with the peferred style.

There are many ways to test the integration, two examples are:

  • copy all files in custom_comonents/miele to custom_components/miele in your HA configuration directory
  • mount custom_components/miele into a HA development container

Debugging and filing issues

If you find bugs or other issues please download diagnostic information from the Miele integration card or from the device page and attach the file to your issue report. One recurring issue is the translation of Program name and phases. This is due to sparse, if any, documentation from Miele. One way to assist with the fact collection is to install a blueprint automation that will log states from the selected sensor with some additional information to the Home Assistant log. Create one automation for each sensor you want to monitor

The blueprint can be found here https://gist.github.com/astrandb/5ec47d6979b590639d23144142ae3100

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Disclaimer

The package and its author are not affiliated with Miele. Use at your own risk.

License

The package is released under the MIT license.

miele's People

Contributors

astrandb avatar hcrohland avatar mundschenk-at avatar wrt54g avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.