Jump to content
🌟 NOTIFICATION/Benachrichtigung: Welcome to our New Store! - shelly.com 🌟 ×

Group or scene control by http api


LucaPa

Recommended Posts

Thank you for your fast replay, i'm testing the api and if i test the single device comand everything go fine otherwise when i try to lunch a group command shelly reply me "no_devices": "Please, specify which devices you want to control"...

i put below the accepted command and the refused:

Accepted - curl -X POST https://My_Server_Uri/device/relay/control -d "channel=0&turn=off&id=Shelly_id&auth_key=My_Key"

Refused - curl -X POST https://My_Server_Uri/device/relay/bulk_control -d 'devices=[{"id":My_First_id,"channel":0,"turn"=off}]&auth_key=My_Key'  (i've tried also with more then only one device in command)

 

Any suggest more?

 

Thank

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Erstelle neue...