Skip to main content

A partial implementation of the Miele Professional IP Profile API

Project description

washpy

washpy offers a partial implementation of the Miele Professional IP Profile API.

The project focusses on implementing the parts of the API for washing machines from Miele Professional.

Getting started

Hardware setup

I have tested this library on Miele Professional PWM 507 machines, with the Miele XKM 3200-WL-PLT KOM module.

  • slide the KOM module into the slot of your machine
  • connect the RJ45 jack of the module to your network
    • at the time of writing (2024), the modules need a network with DHCP, they do not support static IP addresses

Set up your KOM module

You have to somehow find out the IP addresses of your machines. For that, I can recommend arp-scan to discover all hosts in your IPv4 network.

Now, give your machine a visit with your web browser, and if your browser asks you about the SSL certificate being untrustworthy, tell the browser to trust the certificate:

https://{your.device.ip.address}/Devices/

From there, you can get your machines' fabrication number. This is important for all further calls to the API

Activate the admin user

On the KOM module, there exists the Admin default user, with the default password "" (the empty string).

I had to activate the admin user by changing its password:

from washpy import postNewPassword

postNewPassword("https://192.168.1.251/Devices/000116343328", "Admin", "", "verySecurePassword!")

Add new Account

TODO

Is there documentation of the IP Profile API?

Yes, you have to request access to it from Miele Professional.

known issues

do not upgrade requests, as it will upgrade to urllib3 version 2.x

problem: you will get handshake errors:

SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] ssl/tls alert handshake failure (_ssl.c:1006)'))

also see this Github Issue.

License

LGPL-3.0-only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

washpy-0.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

washpy-0.1.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file washpy-0.1.0.tar.gz.

File metadata

  • Download URL: washpy-0.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.8.5-arch1-1

File hashes

Hashes for washpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dfd0f7a156ed3945711dc08b968c2d8e6afe7134193300b9a34c2b60a808a74d
MD5 709cbab0e9b555432a8c893c1a234aff
BLAKE2b-256 7a88b7453f6e1244ab89dcfc261e3839bbd56642e35289aa18aaab60f5252701

See more details on using hashes here.

File details

Details for the file washpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: washpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.8.5-arch1-1

File hashes

Hashes for washpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cfdb2fe395bbd409d386835f15327568bd7f5399939925e169c4a07ab059be9
MD5 92533ce6fba112da9cbd5989101360c6
BLAKE2b-256 c48c187b9d4f394a97e2afa7aeb492375488f8e9751e85245cf6613928fcde39

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page