[BETA] App Android

Could my error 6 be due to the 4-second delay in getting the response?
What is the limit with a timeout?

Hello @pyb,

I have the same configuration as you but I can’t connect. I get a return code 1.

My configuration:

  • IP Address: empty
  • Port: empty
  • DNS Address: url_de_mon_site:port (without https:// in front)
  • HTTPS enabled
  • Port: empty

Did you do anything else?

@LepetitGeek, thank you so much for this app which will be super useful :slight_smile:

I set the timeout to 30s so the error doesn’t come from that ^^
Have you double-checked your connection details?
Could you make a video like @aiaalm’s from the moment you enter your settings until the error appears?

I found a way to record my screen and I’ll do that for you!

@PhilippeMA Error code 1 means you’re on Wi-Fi and your settings aren’t correct… which is normal since you left them blank!

Ah… Indeed. It started to load but unfortunately the app crashes in the end :cry:

Edit: In local access with local IP and in remote access with DNS. Same behavior, the app crashes after spinning for a few seconds. Then, impossible to restart it, it crashes directly. I cleared the cache to restart it while waiting to find a solution.

Android 7.1.1

It randomly happens that an exception is raised (it happened to me twice).
Can you give me your config in case it happens again?

Edit What smartphone? Let me take the time to go home and put away my groceries and I’ll give it a try :laughing:
Can you give me your JSON returned by Gladys?

Where do I find the JSON? Nothing in the logs except « Access with token to user »

My phone is a Sony Xperia XZ

With Postman

I described how to do it in this message ^^

Voici le JSON retourné par Gladys :slight_smile:

[
    {
        "name": "Couloir",
        "house": 1,
        "permission": null,
        "id": 2,
        "createdAt": "2017-02-04T23:45:40.000Z",
        "updatedAt": "2017-02-04T23:45:40.000Z",
        "deviceTypes": [
            {
                "name": "Détecteur de mouvements",
                "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": "Détecteur de mouvements",
                "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": "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": "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": "Chambre",
        "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": "Lampe de chevet",
                "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": "Lampe de chevet",
                "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": "Lampe de chevet",
                "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": "Lampe de chevet",
                "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": "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
            }
        ]
    }
]

connected idea but wouldn’t that come from the accents?

Great job!

I installed it, I need to test all this!

here is the video:
https://photos.app.goo.gl/qcBxGNf3R1s5Q2N33

Hey @PhilippeMA after inspecting your JSON, the only thing that caught my attention is this

  {
        "name": "Bedroom",
        "id": 201,
        "type": "multilevel",
        "category": null,
        "tag": null,
        "unit": null,
        "min": -9999,
        "max": 9999,
        "display": 1,
        "sensor": 1,
        "identifier": "CONFIDENTIAL",
        "device": 151,
        "service": "bluetooth",
        "lastChanged": "2017-10-22T10:32:30.000Z",
        "lastValue": -61,
        "lastValueId": 81663
    }

I get that your device is set to -9999 and 9999, OK, but how did you manage to get the last value to -61? Personally, I recreated your device at my place and Gladys doesn’t let me pass a value below 0…
And I think the problem comes from that!
That said, another error appeared and I fixed it, so that’s already one less thing to worry about ^^
To be sure the error comes from that, can you tell me if the Timeline sync and the Alarms sync are working?

@WolfVic I don’t see anything abnormal on your end :thinking: I need to find a way to retrieve your logs…

Je viens de faire le nettoyage de mes devices. Celui auquel tu fais référence est une google home avec lequel Gladys n’interagit pas… Je lui avais affecté une pièce car j’ai gladys-bluetooth qui l’identifie et ça me permettait de faire le tri entre mes devices et ceux de mes nombreux voisins :stuck_out_tongue:

J’avais aussi affecté des pièces à des devices qui ne font que transmettre des infos mais avec lesquels on ne peut pas interragir (ex. arduino, capteur 433Mhz).

Malgré tout cela, l’application continue de planter. Les seuls devices qui restent :

  • Lampes HUE
  • Prises commandées W215
  • Sonos

Je tente de désactiver device par device pour voir lequel pose problème. Je te tiens au courant.

Edit : le JSON mis à jour

[
    {
        "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": "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:814707",
                "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:842552",
                "device": 148,
                "service": "w215",
                "lastChanged": "2017-10-08T13:43:43.000Z",
                "lastValue": 1,
                "lastValueId": 50259
            }
        ]
    },
    {
        "name": "Chambre",
        "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": "Lampe de chevet",
                "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": "Lampe de chevet",
                "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": "Lampe de chevet",
                "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": "Lampe de chevet",
                "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
            }
        ]
    }
]

Oh, why did you remove your JSON? I was just looking at it :joy: :joy:

Draw.

My connected devices and the Sonos are well recognized by the app. I was able to add my HUE bedside lamp, but it crashed as soon as I added the library’s spot 2 (HUE again).

Can you give me the current JSON (the one that doesn’t crash the app) so I can compare? I think I have a lead ^^

The JSON that passes:

[
    {
        "name": "Bedroom",
        "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": "Bedside Lamp",
                "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": "Bedside Lamp",
                "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": "Bedside Lamp",
                "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": "Bedside Lamp",
                "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": "Living Room",
        "house": 1,
        "permission": null,
        "id": 1,
        "createdAt": "2017-02-04T23:45:35.000Z",
        "updatedAt": "2017-02-04T23:45:35.000Z",
        "deviceTypes": [
            {
                "name": "Computer and various",
                "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
            }
        ]
    }
]

Well done, great job, app installed without any issues, but I have an error code 5 and nothing in the Gladys logs. As a result, it still doesn’t work (I have a Huawei Nexus 6P on Android 8 Oreo). I’ll take a closer look as soon as I can.

By the way, I think there’s a mistake in « No data! », since there isn’t any, I think « data » should be singular and not plural (but my French lessons are a long time ago now) :wink: