Control multiple A60 bulbs with Shelly Button1

VPN/Proxy erkannt

Es scheint, dass Sie einen VPN- oder Proxy-Dienst verwenden. Bitte beachten Sie, dass die Nutzung eines solchen Dienstes die Funktionalität dieser Webseite einschränken kann.

  • Hello,

    I am struggling to control 12 Shelly A60 Bulbs (Dim and un-dim) at once with a Shelly Button 1 and Cloud API. Local http commands are limited so I had a look at the Cloud API but even grouping seems not to work.
    Checked IFTTT but multiple devices can only be added to a WebHook workload for shutters and relays but not for bulbs.

    Can anyone recommend a way to have a button dimming those lights to 30% and with a double click back to 100%???

    For a single A60 seems easy but what for multiple or a group of A60's????

    Code
    curl -X POST https://shelly-999-eu.shelly.cloud/device/light/control -d "channel=0&turn=on&brightness=30&id=123456789&auth_key=726253298123sdhcnbND29324e23499234992349234"
  • Have you tried the Bulk control api ?

    Code
    curl -X POST https://<server_uri>/device/light/bulk_control -d 'devices=[{"id":<device_id>,"channel":<id>},...]&auth_key=<auth_key>'
  • Have you tried the Bulk control api ?

    Code
    curl -X POST https://<server_uri>/device/light/bulk_control -d 'devices=[{"id":<device_id>,"channel":<id>},...]&auth_key=<auth_key>'

    Doesn't work for bulbs as mentioned already in my initial post!

  • That's a bit strange. The documentation at https://shelly-api-docs.shelly.cloud/cloud-control-…l-device-groups claims it should work for lights:

    Thanks for providing the link however I can't get it working as also the example from the link for bulk operations is only for relays... I have tried various ways but without success..

    Zitat

    curl -X POST https://shelly-XX-eu.shelly.cloud/device/light/bulk_control -d 'devices=[{"id"=123456789,"channel"=0},{"id"=987654321,"channel"=0}]&turn=on&brightness=30&auth_key=jZhdWlk64FB3DE3

  • Dieses Thema enthält 2 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.