Cloud reporting 'connected' incorrectly

Hi there. I have four Photons running and when my IOS app issues

https://api.spark.io/v1/devices?access_token=9bd0faed2cd79c6ab5b7a11bbb17d8xxxxxxxxxx

I get back

 (
        {
        connected = 1;
        id = 28003a0009473433373xxxxx;
        "last_app" = "<null>";
        "last_heard" = "2015-08-27T02:26:35.575Z";
        "last_ip_address" = "70.20.38.236";
        name = "WiFire_BI";
        "product_id" = 6;
    },
        {
        connected = 1;
        id = 25003a000c473432333xxxxx;
        "last_app" = "<null>";
        "last_heard" = "2015-08-26T23:45:00.143Z";
        "last_ip_address" = "70.20.38.236";
        name = "WiFire-CH";
        "product_id" = 6;
    },
        {
        connected = 1;
        id = 3e00350006473432323xxxxx;
        "last_app" = "<null>";
        "last_heard" = "2015-08-27T02:22:26.261Z";
        "last_ip_address" = "70.20.38.236";
        name = "WiFire_BS";
        "product_id" = 6;
    },
        {
        connected = 0;
        id = 4200240005473433373xxxxx;
        "last_app" = "<null>";
        "last_heard" = "2015-08-27T02:14:57.136Z";
        "last_ip_address" = "70.20.38.236";
        name = "WiFire-CI";
        "product_id" = 6;
    }
}

(Dozens more devices follow)

The last Photon is listed as not connected (connected = 0). However that Photon is breathing and is fully functional. I know this is a problem with the cloud because when I go into Particle Dev to select WiFire-CI to flash, it does not ‘ripple’ to the top of the device list as the other three do. And it does not ‘breathe’ in the device list. But I can flash it and interrogate variables from my IOS app, etc.

Can someone working on the Particle Cloud look into this and let me know what’s going on?

Ping @Steph Who is in charge of Cloud Software?

@steelydev I’ve pinged @corey and someone will get back to you shortly!

(Side note: at first I thought you were saying “Steph, who is in charge of Cloud Software” instead of asking me and I was very flattered even though that would have been very incorrect :stuck_out_tongue: )

2 Likes

@steelydev

Can you send me the device ID of that device that isn’t “connected” in a personal message? I’ll check to see what’s going on with your device in our cloud.

-Corey

thanks @Steph for pinging me!

1 Like

@corey Any progress on this?

Been doing some more testing and have found that the Particle CLI does correctly report whether a device is connected or not. Hope this helps get to the bottom of this problem.

following up now in PM