I have written a script to retrieve data from Miele@home WiFi (the cloud-based service, without a gateway at home).
It is based on the beta-API from Miele. Personally, I run it from OpenHab through the “Execute” binding, and have it run every 30 seconds. I don’t really use any output from the script, but rather use the script to send MQTT messages. This was to make it more universal, so it could be useful even if you run other home automation systems. It could just as well be run through cron, if one prefers, but for now, it only works in Linux.
Since I only have a dishwasher from Miele, currently, only dishwasher has been implemented. Therefore, I have included a “-d” option, which means “dump data”. So, to add support for more device types, run the script with the parameter “-d” while your appliance is ON, and capture the output of the script. From there on, you (or I) could add your new device type into the final block of code in the script.
I would like to create a true OH binding based on this, but need to find time to learn how to write bindings, and how to code java first, which might take several months (that is to find time, not to learn)
If anyone is interested, you can check out the script here: https://github.com/oklona/Miele-MQTT