# \[BETA\] App für Android

**URL:** <https://community.gladysassistant.com/t/beta-app-android/1791>\
**Category:** Actualités\
**Tags:** beta\
**Created:** [21. Oktober 2017 um 13:02 UTC](https://community.gladysassistant.com/t/beta-app-android/1791 "2017-10-21T13:02:15Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [22. Oktober 2017 um 09:47 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/53 "2017-10-22T09:47:52Z")

</div>

Kann Fehler 6 von den 4 Sekunden für die Antwort kommen?  
Was ist die Grenze mit einem Timeout?

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 09:52 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/54 "2017-10-22T09:52:18Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 09:52 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/55 "2017-10-22T09:52:53Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [22. Oktober 2017 um 09:54 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/56 "2017-10-22T09:54:49Z")

</div>

ich finde einen Weg, meinen Bildschirm aufzunehmen, und dann mach ich dir das!

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 09:55 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/57 "2017-10-22T09:55:36Z")

</div>

@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!

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 09:58 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/58 "2017-10-22T09:58:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 10:05 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/59 "2017-10-22T10:05:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 10:20 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/60 "2017-10-22T10:20:23Z")

</div>

> [@LepetitGeek](#):
>
> Kannst du mir dein JSON zeigen, das von Gladys zurückgegeben wird?

Wo finde ich das JSON? Nichts in den Logs außer «&nbsp;Access with token to user&nbsp;»

Mein Telefon ist ein Sony Xperia XZ

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 10:26 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/61 "2017-10-22T10:26:02Z")

</div>

Mit Postman

> [@\[BETA\] App für Android](https://community.gladysassistant.com/t/beta-app-android/1791/11?u=lepetitgeek):
>
> Bizarre cette erreur, je me demande si elle est du a la requête de l’appli… Tu peux tester la requête avec Postman voir ce qu’elle te renvoi ? (en GET) IPGladys:8080/devicetype/room?token=tonToken Tu a cette erreur sur une vue en particulier ou sur toute les vue ? @Retlaw tu a le problème aussi ?

Ich habe in dieser Nachricht beschrieben, wie man es macht ^^

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 10:35 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/62 "2017-10-22T10:35:25Z")

</div>

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
            }
        ]
    }
]

```

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [22. Oktober 2017 um 10:46 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/63 "2017-10-22T10:46:32Z")

</div>

Ähnliche Idee, aber könnte das nicht an den Akzenten liegen?

---

<div class="post-metadata">

**Author:** ![Jean-Philippe](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/5fc32e/32.png) [@Jean-Philippe](https://community.gladysassistant.com/u/Jean-Philippe)\
**Post date:** [22. Oktober 2017 um 10:59 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/64 "2017-10-22T10:59:11Z")

</div>

Gute Arbeit!

Ich habe es installiert, jetzt muss ich alles testen!

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [22. Oktober 2017 um 11:06 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/65 "2017-10-22T11:06:56Z")

</div>

hier ist das Video:  
[https://photos.app.goo.gl/qcBxGNf3R1s5Q2N33](https://photos.app.goo.gl/qcBxGNf3R1s5Q2N33)

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 11:57 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/66 "2017-10-22T11:57:03Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 12:24 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/67 "2017-10-22T12:24:53Z")

</div>

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
            }
        ]
    }
]

```

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 12:27 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/68 "2017-10-22T12:27:46Z")

</div>

Warum hast du dein JSON entfernt? Ich habe es gerade angesehen 😂 😂

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 12:41 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/69 "2017-10-22T12:41:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [22. Oktober 2017 um 12:44 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/70 "2017-10-22T12:44:55Z")

</div>

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 ^^

---

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [22. Oktober 2017 um 12:52 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/71 "2017-10-22T12:52:49Z")

</div>

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
            }
        ]
    }
]

```

---

<div class="post-metadata">

**Author:** ![p6ril](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/c4cdca/32.png) [@p6ril](https://community.gladysassistant.com/u/p6ril)\
**Post date:** [22. Oktober 2017 um 12:58 UTC](https://community.gladysassistant.com/t/beta-app-android/1791/73 "2017-10-22T12:58:46Z")

</div>

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) 😉

[Vorherige Seite](https://community.gladysassistant.com/t/beta-app-android/1791.md?page=2)

[Nächste Seite](https://community.gladysassistant.com/t/beta-app-android/1791.md?page=4)
