Hallo zusammen,
ich habe eine Miele Waschmaschine mit Miele@Home - Dafür benutze ich die Miele 3rd party API - Nun würde ich gerne die Maschine per MQTT an SHNG anbinden.
Dies ist das MQTT der Miele
Jedoch bekomme ich garnichts hin ..
damit erhalte ich folgende ausgabe :
wie kann man dies nun sinnvoll in SHNG eibinden und Später dazu noch eine Logik für den sogeannten Smartstart erstellen wenn PV Überschuss vorhanden ist.
ich habe eine Miele Waschmaschine mit Miele@Home - Dafür benutze ich die Miele 3rd party API - Nun würde ich gerne die Maschine per MQTT an SHNG anbinden.
Dies ist das MQTT der Miele
Code:
[URL="https://github.com/oklona/Miele-MQTT/blob/master/miele-MQTT.php"]https://github.com/oklona/Miele-MQTT...miele-MQTT.php[/URL]
Code:
curl -X GET "https://api.mcs3.miele.com/v1/devices/?language=de" -H "accept: application/json; charset=utf-8" -H "Authorization: Bearer XXXXXXXXX"
Code:
{ "000149834615": { "ident": { "type": { "key_localized": "Gerätetyp", "value_raw": 1, "value_localized": "Waschmaschine" }, "deviceName": "", "deviceIdentLabel": { "fabNumber": "xxxxx", "fabIndex": "11", "techType": "WWI660", "matNumber": "xxxxxx", "swids": [ "4418", "20456", "25213" ] }, "xkmIdentLabel": { "techType": "EK037", "releaseVersion": "03.65" } }, "state": { "ProgramID": { "value_raw": 1, "value_localized": "Baumwolle", "key_localized": "Programmbezeichnung" }, "status": { "value_raw": 9, "value_localized": "Abbruch", "key_localized": "Status" }, "programType": { "value_raw": 1, "value_localized": "Eigenes Programm", "key_localized": "Programmart" }, "programPhase": { "value_raw": 256, "value_localized": "", "key_localized": "Programmphase" }, "remainingTime": [ 0, 0 ], "startTime": [ 0, 0 ], "targetTemperature": [ { "value_raw": 6000, "value_localized": 60, "unit": "Celsius" }, { "value_raw": -32768, "value_localized": null, "unit": "Celsius" }, { "value_raw": -32768, "value_localized": null, "unit": "Celsius" } ], "temperature": [ { "value_raw": -32768, "value_localized": null, "unit": "Celsius" }, { "value_raw": -32768, "value_localized": null, "unit": "Celsius" }, { "value_raw": -32768, "value_localized": null, "unit": "Celsius" } ], "signalInfo": false, "signalFailure": false, "signalDoor": false, "remoteEnable": { "fullRemoteControl": true, "smartGrid": true }, "light": 0, "elapsedTime": [ 0, 0 ], "spinningSpeed": { "unit": "U/min", "value_raw": 1600, "value_localized": "1600", "key_localized": "Schleuderdrehzahl" }, "dryingStep": { "value_raw": null, "value_localized": "", "key_localized": "Trockenstufe" }, "ventilationStep": { "value_raw": null, "value_localized": "", "key_localized": "Lüfterstufe" }, "plateStep": [] } } }[B]Response headers[/B]
Kommentar