Hallo manhartm,
kannst Du bitte direkt beim Neustart von shNG nochmal schauen ob Log-Einträge in der "warnings.log" sind.
kannst Du bitte direkt beim Neustart von shNG nochmal schauen ob Log-Einträge in der "warnings.log" sind.
2023-03-23 19:48:09 NOTICE lib.smarthome -------------------- Init SmartHomeNG v1.9.4.1-c35554ee.develop -------------------- 2023-03-23 19:48:09 NOTICE lib.smarthome Running in Python interpreter 'v3.9.2 final', from directory /usr/local/smarthome 2023-03-23 19:48:09 NOTICE lib.smarthome - operating system 'Debian GNU/Linux 11 (bullseye)' (pid=6641) 2023-03-23 19:48:09 NOTICE lib.smarthome - on 'Raspberry Pi (Rev. d03115)' 2023-03-23 19:48:11 NOTICE lib.smarthome - Nutze Feiertage für Land 'CH', Provinz 'ZH', 1 benutzerdefinierte(r) Feiertag(e) definiert 2023-03-23 19:48:13 NOTICE lib.userfunctions Imported userfunctions from 'mm' v0.1.0 - This Tools 2023-03-23 19:48:26 NOTICE lib.smarthome -------------------- SmartHomeNG initialization finished -------------------- 2023-03-23 19:49:26 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0) 2023-03-23 19:50:56 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0) 2023-03-23 19:52:26 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0) 2023-03-23 19:53:57 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0) 2023-03-23 19:55:27 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0) 2023-03-23 19:56:57 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0) 2023-03-23 19:58:27 WARNING plugins.mieleathome mieleathome - connection canceled - waiting 30sec - retry to get new Event-Connection - reason : Expecting value: line 1 column 1 (char 0)
import requests import json Url='https://api.mcs3.miele.com/v1' pwd = 'xxxxxxxx' user = 'xxxxxxxxxxxxxxxxxxxxxx' client_id = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' client_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' country = 'de-DE' myHeaders = { "accept" : "application/json" } payload = {"grant_type": "password", "password" :pwd, "username" : user, "client_id" : client_id, "client_secret":client_secret, "vg" :country } myResult = requests.post(Url[:-3]+'/thirdparty/token/',data=payload,headers=myHeaders) print (myResult.status_code) print (myResult.content.decode())
200 {"access_token":"DE_4326d8b2d7eec458a87a28xxxxxxxxx","refresh_token":"DE_5fdc23ad15205cd07d61xxxxxxxxxxxx","token_type":"Bearer","expires_in":2592000}
401 {"message":"username/password is invalid"}
200 {"access_token":"DE_de9286fbbxxxxxxxxxxxxxxxxxx","refresh_token":"DE_3cbff8995d6a32cxxxxxxxxxxxxxxxxxxxx","token_type":"Bearer","expires_in":2592000}
{ "fabNumber": "00010370....", "state": "In Betrieb", "type": "Geschirrspüler", "deviceName": "", "details": "https://api.mcs3.miele.com/v1/devices/00010370...." }
{ "00010370xxxx": { "ident": { "type": { "key_localized": "Gerätetyp", "value_raw": 7, "value_localized": "Geschirrspüler" }, "deviceName": "", "protocolVersion": 2, "deviceIdentLabel": { "fabNumber": "00010370xxxx", "fabIndex": "64", "techType": "G6865", "matNumber": "10345030", "swids": [ "3892", "20211", "20150" ] }, "xkmIdentLabel": { "techType": "EK039W", "releaseVersion": "02.72" } }, "state": { "ProgramID": { "value_raw": 28, "value_localized": "ECO", "key_localized": "Programmbezeichnung" }, "status": { "value_raw": 5, "value_localized": "In Betrieb", "key_localized": "Status" }, "programType": { "value_raw": 2, "value_localized": "Automatikprogramm", "key_localized": "Programmart" }, "programPhase": { "value_raw": 1799, "value_localized": "Trocknen", "key_localized": "Programmphase" }, "remainingTime": [ 1, 19 ], "startTime": [ 0, 0 ], "targetTemperature": [ { "value_raw": -32768, "value_localized": null, "unit": "Celsius" } ], "coreTargetTemperature": [], "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" } ], "coreTemperature": [], "signalInfo": false, "signalFailure": false, "signalDoor": false, "remoteEnable": { "fullRemoteControl": true, "smartGrid": false, "mobileStart": false }, "ambientLight": null, "light": null, "elapsedTime": [ 1, 57 ], "spinningSpeed": { "unit": "U\/min", "value_raw": null, "value_localized": null, "key_localized": "Schleuderdrehzahl" }, "dryingStep": { "value_raw": null, "value_localized": "", "key_localized": "Trockenstufe" }, "ventilationStep": { "value_raw": null, "value_localized": "", "key_localized": "Lüfterstufe" }, "plateStep": [], "ecoFeedback": null, "batteryLevel": null } } }
"state": { "ProgramID": { "value_raw": 28, "value_localized": "ECO", "key_localized": "Programmbezeichnung" }, "status": { "value_raw": 5, "value_localized": "In Betrieb", "key_localized": "Status" }, "programType": { "value_raw": 2, "value_localized": "Automatikprogramm", "key_localized": "Programmart" }, "programPhase": { "value_raw": 1799, "value_localized": "Trocknen", "key_localized": "Programmphase" },
{{ basic.symbol('', 'MieleDevices.Dryer.state.status.value_localized', ['nicht verbunden', 'Aus', 'Bereit', 'Programm gewählt', 'In Betrieb', 'Ende', 'Pause', 'Fehler!', 'Start verzögert'], ['message_attention.svg', 'scene_clothes_dryer.svg', 'scene_clothes_dryer.svg', 'scene_clothes_dryer.svg', 'scene_clothes_dryer.svg', 'scene_clothes_dryer.svg', 'scene_clothes_dryer.svg', 'message_attention.svg', 'scene_clothes_dryer.svg'], ['nicht verbunden', 'Aus', 'Bereit', 'Programm gewählt', 'In Betrieb', 'Ende', 'Pause', 'Fehler!', 'Start verzögert'], '', ['#f00', 'icon0', 'icon1', 'icon1', 'icon1', 'icon0', 'icon1', '#f00', 'icon1']) }}
{ "007106053497": { "ident": { "type": { "key_localized": "Gerätetyp", "value_raw": 19, "value_localized": "Kühlschrank" }, "deviceName": "", "protocolVersion": 1, "deviceIdentLabel": { "fabNumber": "007106053497", "fabIndex": "17", "techType": "K 37683 iDF", "matNumber": "09484990", "swids": [ "3309", "0" ] }, "xkmIdentLabel": { "techType": "", "releaseVersion": "" } }, "state": { "ProgramID": { "value_raw": 2466250752, "value_localized": "", "key_localized": "Programmbezeichnung" }, "status": { "value_raw": 5, "value_localized": "In Betrieb", "key_localized": "Status" }, "programType": { "value_raw": 0, "value_localized": "Programm", "key_localized": "Programmart" }, "programPhase": { "value_raw": 0, "value_localized": "", "key_localized": "Programmphase" }, "remainingTime": [ 0, 0 ], "startTime": [ 0, 0 ], "targetTemperature": [ { "value_raw": 600, "value_localized": 6, "unit": "Celsius" } ], "coreTargetTemperature": [], "temperature": [ { "value_raw": 600, "value_localized": 6, "unit": "Celsius" } ], "coreTemperature": [], "signalInfo": false, "signalFailure": false, "signalDoor": false, "remoteEnable": { "fullRemoteControl": true, "smartGrid": false, "mobileStart": false }, "ambientLight": null, "light": null, "elapsedTime": [], "spinningSpeed": { "unit": "U/min", "value_raw": null, "value_localized": null, "key_localized": "Schleuderdrehzahl" }, "dryingStep": { "value_raw": null, "value_localized": "", "key_localized": "Trockenstufe" }, "ventilationStep": { "value_raw": null, "value_localized": "", "key_localized": "Lüfterstufe" }, "plateStep": [], "ecoFeedback": null, "batteryLevel": null } }, "000127876311": { "ident": { "type": { "key_localized": "Gerätetyp", "value_raw": 31, "value_localized": "Combi-Dampfgarer" }, "deviceName": "", "protocolVersion": 2, "deviceIdentLabel": { "fabNumber": "000127876311", "fabIndex": "10", "techType": "DGC6800 CH", "matNumber": "09453120", "swids": [ "3401", "25003", "20146", "3384", "20251", "25086" ] }, "xkmIdentLabel": { "techType": "XKM3000Z", "releaseVersion": "01.02" } }, "state": { "ProgramID": { "value_raw": 0, "value_localized": "", "key_localized": "Programmbezeichnung" }, "status": { "value_raw": 2, "value_localized": "Bereit", "key_localized": "Status" }, "programType": { "value_raw": 0, "value_localized": "Programm", "key_localized": "Programmart" }, "programPhase": { "value_raw": 7936, "value_localized": "", "key_localized": "Programmphase" }, "remainingTime": [ 0, 0 ], "startTime": [ 0, 0 ], "targetTemperature": [ { "value_raw": -32768, "value_localized": null, "unit": "Celsius" }, { "value_raw": -32768, "value_localized": null, "unit": "Celsius" } ], "coreTargetTemperature": [], "temperature": [ { "value_raw": -32768, "value_localized": null, "unit": "Celsius" }, { "value_raw": -32768, "value_localized": null, "unit": "Celsius" } ], "coreTemperature": [], "signalInfo": false, "signalFailure": false, "signalDoor": false, "remoteEnable": { "fullRemoteControl": false, "smartGrid": false, "mobileStart": false }, "ambientLight": 2, "light": null, "elapsedTime": [ 0, 0 ], "spinningSpeed": { "unit": "U/min", "value_raw": null, "value_localized": null, "key_localized": "Schleuderdrehzahl" }, "dryingStep": { "value_raw": null, "value_localized": "", "key_localized": "Trockenstufe" }, "ventilationStep": { "value_raw": null, "value_localized": "", "key_localized": "Lüfterstufe" }, "plateStep": [], "ecoFeedback": null, "batteryLevel": null } } }
{ "007106053497": { "processAction": [ 6 ], "light": [], "ambientLight": [], "startTime": [], "ventilationStep": [], "programId": [], "targetTemperature": [ { "zone": 1, "min": 1, "max": 9 } ], "deviceName": true, "powerOn": false, "powerOff": false, "colors": [], "modes": [] }, "000127876311": { "processAction": [], "light": [], "ambientLight": [], "startTime": [], "ventilationStep": [], "programId": [], "targetTemperature": [], "deviceName": true, "powerOn": false, "powerOff": true, "colors": [], "modes": [] } }
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar