Can only find shared device when looking for all devices

  • Hi! I have a couple of shared devices I would like to access through the cloud api. I can get all of them by the following request:

    curl -X POST %shelly_url%/device/all_status -d "show_info=true&auth_key=%shelly_key%"

    I get a response where I can see the shared device and get it's ID:

    {"isok":true,"data":{"devices_status":{"3494346cfe1c": ... }

    Where 3494346cfe1c is the device I would like to access, but when I run:

    curl -X POST %shelly_url%/device/status -d "id=3494546bfe1c&auth_key=%shelly_key%"

    I get the following response:

    {"isok":false,"errors":{"device_not_found":"Your device has not been connected to the cloud!"}}

    Do I need to specify a parameter for shared devices to be accessed?

  • I know this is old, but I believe there is no way to do this. I've had the same trouble, your solution by requesting the status of all devices is the answer.

    I believe it is a shelly server software issue: on one hand it is not possible to bulk control shared cloud devices, but get status of all shared at once works. On the other hand you can control single devices directly (e.g. turn it on or off) but not request the status of only one.