Kann Fehler 6 von den 4 Sekunden für die Antwort kommen?
Was ist die Grenze mit einem Timeout?
Hallo @pyb,
Ich habe die gleiche Konfiguration wie du, aber ich kann mich nicht verbinden. Ich erhalte den Fehlercode 1.
Meine Konfiguration:
- IP-Adresse: leer
- Port: leer
- DNS-Adresse: url_deiner_website:port (ohne https:// davor)
- HTTPS aktiviert
- Port: leer
Hast du noch etwas anderes gemacht?
@LepetitGeek, vielen Dank für diese Anwendung, die super nützlich sein wird ![]()
Ich habe das Timeout auf 30s eingestellt, also kommt der Fehler nicht daher ^^
Hast du deine Verbindungsdaten nochmal überprüft?
Könntest du mir ein Video wie @aiaalm machen, von dem Moment an, in dem du deine Parameter eingibst, bis zu dem Moment, in dem der Fehler auftritt?
ich finde einen Weg, meinen Bildschirm aufzunehmen, und dann mach ich dir das!
@PhilippeMA Der Fehlercode 1 bedeutet, dass du über WLAN verbunden bist und deine Einstellungen nicht korrekt sind… was normal ist, da du sie leer gelassen hast!
Ah… En effet. Das Laden hat begonnen, aber leider stürzt die App am Ende ab ![]()
Edit: Bei lokalem Zugriff mit lokaler IP und bei Remotezugriff mit dem DNS. Gleiches Verhalten, die App stürzt ab, nachdem sie einige Sekunden „gemahlen“ hat. Danach ist es unmöglich, sie neu zu starten, sie stürzt direkt ab. Ich habe den Cache geleert, um sie neu zu starten, bis eine Lösung gefunden ist.
Android 7.1.1
Es kommt zufällig vor, dass eine Ausnahme ausgelöst wird (das ist mir schon zweimal passiert).
Kannst du mir deine Konfiguration geben, falls es wieder passiert?
Edit Welches Smartphone? Lass mir Zeit, nach Hause zu kommen und meine Einkäufe wegzuräumen, dann mache ich einen Versuch ![]()
Kannst du mir dein JSON geben, das von Gladys zurückgesendet wird?
Wo finde ich das JSON? Nichts in den Logs außer « Access with token to user »
Mein Telefon ist ein Sony Xperia XZ
Mit Postman
Ich habe in dieser Nachricht beschrieben, wie man es macht ^^
Hier ist das von Gladys zurückgelieferte JSON ![]()
[
{
"name": "Flur",
"house": 1,
"permission": null,
"id": 2,
"createdAt": "2017-02-04T23:45:40.000Z",
"updatedAt": "2017-02-04T23:45:40.000Z",
"deviceTypes": [
{
"name": "Bewegungssensor",
"id": 134,
"type": "motion",
"category": null,
"tag": null,
"unit": null,
"min": 1,
"max": 1,
"display": 1,
"sensor": 1,
"identifier": "-30194",
"device": 97,
"service": "radioFrequency",
"lastChanged": "2017-10-22T10:22:16.000Z",
"lastValue": 1,
"lastValueId": 81644
},
{
"name": "Bewegungssensor",
"id": 135,
"type": "motion",
"category": null,
"tag": null,
"unit": null,
"min": 1,
"max": 1,
"display": 1,
"sensor": 1,
"identifier": "-30208",
"device": 98,
"service": "radioFrequency",
"lastChanged": "2017-10-22T08:24:20.000Z",
"lastValue": 1,
"lastValueId": 81393
},
{
"name": "Sensor",
"id": 145,
"type": "motion",
"category": null,
"tag": null,
"unit": null,
"min": 1,
"max": 1,
"display": 1,
"sensor": 1,
"identifier": "-30198",
"device": 108,
"service": "radioFrequency",
"lastChanged": "2017-05-17T09:56:11.000Z",
"lastValue": 1,
"lastValueId": 9957
},
{
"name": "Sensor",
"id": 153,
"type": "motion",
"category": null,
"tag": null,
"unit": null,
"min": 1,
"max": 1,
"display": 1,
"sensor": 1,
"identifier": "-30196",
"device": 116,
"service": "radioFrequency",
"lastChanged": "2017-05-28T16:18:44.000Z",
"lastValue": 1,
"lastValueId": 10751
}
]
},
{
"name": "Wohnzimmer",
"house": 1,
"permission": null,
"id": 1,
"createdAt": "2017-02-04T23:45:35.000Z",
"updatedAt": "2017-02-04T23:45:35.000Z",
"deviceTypes": [
{
"name": "Bande",
"id": 174,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Bande",
"id": 175,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Bande",
"id": 176,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Bande",
"id": 177,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76134
},
{
"name": "Spot Bibliothek 2",
"id": 178,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Spot Bibliothek 2",
"id": 179,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Spot Bibliothek 2",
"id": 180,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Lampe",
"id": 181,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76133
},
{
"name": "Spot Bibliothek 2",
"id": 182,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76136
},
{
"name": "Lampe",
"id": 183,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": "2017-09-18T21:24:17.000Z",
"lastValue": 255,
"lastValueId": 23253
},
{
"name": "Lampe",
"id": 184,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Lampe",
"id": 185,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "spot bibliotheque 1",
"id": 186,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76135
},
{
"name": "spot bibliotheque 1",
"id": 187,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "spot bibliotheque 1",
"id": 188,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "spot bibliotheque 1",
"id": 189,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Ordinateur et divers",
"id": 195,
"type": "binary",
"category": "outlet",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.55:CONFIDENTIEL",
"device": 145,
"service": "w215",
"lastChanged": "2017-10-08T13:43:43.000Z",
"lastValue": 1,
"lastValueId": 50260
},
{
"name": "Multimédia",
"id": 198,
"type": "binary",
"category": "outlet",
"tag": null,
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.120:CONFIDENTIEL",
"device": 148,
"service": "w215",
"lastChanged": "2017-10-08T13:43:43.000Z",
"lastValue": 1,
"lastValueId": 50259
},
{
"name": "Salon",
"id": 223,
"type": "multilevel",
"category": null,
"tag": null,
"unit": null,
"min": -9999,
"max": 9999,
"display": 1,
"sensor": 1,
"identifier": "CONFIDENTIEL",
"device": 173,
"service": "bluetooth",
"lastChanged": "2017-10-22T10:32:30.000Z",
"lastValue": -76,
"lastValueId": 81664
}
]
},
{
"name": "Schlafzimmer",
"house": 1,
"permission": null,
"id": 3,
"createdAt": "2017-02-04T23:45:46.000Z",
"updatedAt": "2017-02-04T23:45:46.000Z",
"deviceTypes": [
{
"name": "Sonos ZPS12",
"id": 117,
"type": "music",
"category": "music",
"tag": null,
"unit": null,
"min": 0,
"max": 0,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.136:1400",
"device": 92,
"service": "sonos",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Nachtlicht",
"id": 190,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76137
},
{
"name": "Nachtlicht",
"id": 191,
"type": "brightness",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": "2017-09-20T22:34:16.000Z",
"lastValue": 128,
"lastValueId": 23614
},
{
"name": "Nachtlicht",
"id": 192,
"type": "hue",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Nachtlicht",
"id": 193,
"type": "saturation",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Schlafzimmer",
"id": 201,
"type": "multilevel",
"category": null,
"tag": null,
"unit": null,
"min": -9999,
"max": 9999,
"display": 1,
"sensor": 1,
"identifier": "CONFIDENTIEL",
"device": 151,
"service": "bluetooth",
"lastChanged": "2017-10-22T10:32:30.000Z",
"lastValue": -61,
"lastValueId": 81663
}
]
}
]
Ähnliche Idee, aber könnte das nicht an den Akzenten liegen?
Gute Arbeit!
Ich habe es installiert, jetzt muss ich alles testen!
hier ist das Video:
https://photos.app.goo.gl/qcBxGNf3R1s5Q2N33
Bon @PhilippeMA nachdem ich dein JSON geprüft habe, ist mir nur das aufgefallen
{
"name": "Chambre",
"id": 201,
"type": "multilevel",
"category": null,
"tag": null,
"unit": null,
"min": -9999,
"max": 9999,
"display": 1,
"sensor": 1,
"identifier": "CONFIDENTIEL",
"device": 151,
"service": "bluetooth",
"lastChanged": "2017-10-22T10:32:30.000Z",
"lastValue": -61,
"lastValueId": 81663
}
Dass dein Gerät auf -9999 und 9999 festgelegt ist, ist okay, aber wie hast du es geschafft, dass der letzte Wert -61 ist? Bei mir lässt Gladys mich keinen Wert unter 0 setzen…
Und ich denke, dass das Problem daher kommt!
Aber es ist auch ein anderer Fehler aufgetreten, den ich korrigiert habe, also ist das schon mal etwas weniger ^^
Um sicherzugehen, dass das Problem daher kommt, kannst du mir sagen, ob die Synchronisation der Timeline und die der Alarme funktionieren?
@WolfVic ich sehe nichts Ungewöhnliches bei dir
Ich müsste einen Weg finden, deine Logs zu erhalten…
Ich habe gerade die Reinigung meiner Geräte durchgeführt. Dasjenige, auf das du dich beziehst, ist eine Google Home, mit der Gladys nicht interagiert… Ich hatte ihm einen Raum zugewiesen, weil ich gladys-bluetooth habe, das es identifiziert, und das ermöglichte mir, zwischen meinen Geräten und denen meiner zahlreichen Nachbarn zu unterscheiden ![]()
Ich hatte auch Räumen Geräte zugewiesen, die nur Informationen übertragen, mit denen man aber nicht interagieren kann (z. B. Arduino, 433MHz-Sensor).
Trotzdem stürzt die Anwendung weiterhin ab. Die einzigen Geräte, die übrig bleiben:
- HUE-Lampen
- W215-gesteuerte Steckdosen
- Sonos
Ich versuche, Gerät für Gerät zu deaktivieren, um zu sehen, welches das Problem verursacht. Ich halte dich auf dem Laufenden.
Edit: das aktualisierte JSON
[
{
"name": "Salon",
"house": 1,
"permission": null,
"id": 1,
"createdAt": "2017-02-04T23:45:35.000Z",
"updatedAt": "2017-02-04T23:45:35.000Z",
"deviceTypes": [
{
"name": "bande",
"id": 174,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "bande",
"id": 175,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "bande",
"id": 176,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "bande",
"id": 177,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "1",
"device": 136,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76134
},
{
"name": "Spot bibliotheque 2",
"id": 178,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Spot bibliotheque 2",
"id": 179,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Spot bibliotheque 2",
"id": 180,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Lampe",
"id": 181,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76133
},
{
"name": "Spot bibliotheque 2",
"id": 182,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "4",
"device": 139,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76136
},
{
"name": "Lampe",
"id": 183,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": "2017-09-18T21:24:17.000Z",
"lastValue": 255,
"lastValueId": 23253
},
{
"name": "Lampe",
"id": 184,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Lampe",
"id": 185,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "2",
"device": 137,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "spot bibliotheque 1",
"id": 186,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76135
},
{
"name": "Bibliotheks-Spot 1",
"id": 187,
"type": "brightness",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Bibliotheks-Spot 1",
"id": 188,
"type": "hue",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Bibliotheks-Spot 1",
"id": 189,
"type": "saturation",
"category": "light",
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "3",
"device": 138,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Computer und Sonstiges",
"id": 195,
"type": "binary",
"category": "outlet",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.55:814707",
"device": 145,
"service": "w215",
"lastChanged": "2017-10-08T13:43:43.000Z",
"lastValue": 1,
"lastValueId": 50260
},
{
"name": "Multimedia",
"id": 198,
"type": "binary",
"category": "outlet",
"tag": null,
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.120:842552",
"device": 148,
"service": "w215",
"lastChanged": "2017-10-08T13:43:43.000Z",
"lastValue": 1,
"lastValueId": 50259
}
]
},
{
"name": "Schlafzimmer",
"house": 1,
"permission": null,
"id": 3,
"createdAt": "2017-02-04T23:45:46.000Z",
"updatedAt": "2017-02-04T23:45:46.000Z",
"deviceTypes": [
{
"name": "Sonos ZPS12",
"id": 117,
"type": "music",
"category": "music",
"tag": null,
"unit": null,
"min": 0,
"max": 0,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.136:1400",
"device": 92,
"service": "sonos",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Nachttischlampe",
"id": 190,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76137
},
{
"name": "Nachttischlampe",
"id": 191,
"type": "brightness",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": "2017-09-20T22:34:16.000Z",
"lastValue": 128,
"lastValueId": 23614
},
{
"name": "Nachttischlampe",
"id": 192,
"type": "hue",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Nachttischlampe",
"id": 193,
"type": "saturation",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
}
]
}
]
Warum hast du dein JSON entfernt? Ich habe es gerade angesehen
![]()
Unentschieden.
Meine Smart-Plugs und die Sonos werden von der App gut erkannt. Ich konnte meine Nachttischlampe HUE hinzufügen, aber es ist abgestürzt, sobald ich den zweiten Spot der Bibliothek (HUE) hinzugefügt habe.
Kannst du mir den aktuellen JSON (der die App nicht zum Absturz bringt) nochmal geben?
Damit ich einen Vergleich machen kann?
Ich habe da eine Spur ^^
Das JSON, das durchgeht:
[
{
"name": "Zimmer",
"house": 1,
"permission": null,
"id": 3,
"createdAt": "2017-02-04T23:45:46.000Z",
"updatedAt": "2017-02-04T23:45:46.000Z",
"deviceTypes": [
{
"name": "Sonos ZPS12",
"id": 117,
"type": "music",
"category": "music",
"tag": null,
"unit": null,
"min": 0,
"max": 0,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.136:1400",
"device": 92,
"service": "sonos",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Nachtlicht",
"id": 190,
"type": "binary",
"category": "light",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": "2017-10-20T17:12:59.000Z",
"lastValue": 1,
"lastValueId": 76137
},
{
"name": "Nachtlicht",
"id": 191,
"type": "brightness",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 1,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": "2017-09-20T22:34:16.000Z",
"lastValue": 128,
"lastValueId": 23614
},
{
"name": "Nachtlicht",
"id": 192,
"type": "hue",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 65535,
"display": 0,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
},
{
"name": "Nachtlicht",
"id": 193,
"type": "saturation",
"category": null,
"tag": null,
"unit": null,
"min": 0,
"max": 255,
"display": 0,
"sensor": 0,
"identifier": "5",
"device": 140,
"service": "hue",
"lastChanged": null,
"lastValue": null,
"lastValueId": null
}
]
},
{
"name": "Wohnzimmer",
"house": 1,
"permission": null,
"id": 1,
"createdAt": "2017-02-04T23:45:35.000Z",
"updatedAt": "2017-02-04T23:45:35.000Z",
"deviceTypes": [
{
"name": "Computer und diverse Geräte",
"id": 195,
"type": "binary",
"category": "outlet",
"tag": "",
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.55:814707",
"device": 145,
"service": "w215",
"lastChanged": "2017-10-08T13:43:43.000Z",
"lastValue": 1,
"lastValueId": 50260
},
{
"name": "Multimedia",
"id": 198,
"type": "binary",
"category": "outlet",
"tag": null,
"unit": null,
"min": 0,
"max": 1,
"display": 1,
"sensor": 0,
"identifier": "192.168.2.120:842552",
"device": 148,
"service": "w215",
"lastChanged": "2017-10-08T13:43:43.000Z",
"lastValue": 1,
"lastValueId": 50259
}
]
}
]
Bravo, gute Arbeit, App ohne Probleme installiert, aber ich habe einen Fehlercode 5 und nichts in den Gladys-Logs. Deshalb funktioniert es noch nicht (ich habe ein Huawei Nexus 6P mit Android 8 Oreo). Ich werde das so schnell wie möglich genauer anschauen.
Übrigens: Mir scheint, dass es einen Fehler bei „Keine Daten!“ gibt, da es ja keine gibt, sollte „Daten“ meiner Meinung nach im Singular stehen und nicht im Plural (aber mein Französischunterricht liegt schon lange zurück) ![]()