Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 1

Shelly - Local http api commands


AutoFrank

Question

Shelly relays: 1/1PM/2/2.5/4Pro

The command syntax to contorl them is:
http://[deviceIP]/relay/[channel]?[command]&[command]
if you use authorisation sintax is:
http://user:pass@[deviceIP]/relay/[channel]?[command]&[command]
[device IP] and [channel] - can be check from the APP in menu Settings -> Device Info.
Channels start from 0, that’s mean Shelly2.5 have channel 0 and channel 1 for Output1 and Output2.

Please login or register to see this image.

Device IP

Please login or register to see this code.

Examples:

Please login or register to see this link.

Will switch output ON.

Please login or register to see this link.

Will switch output ON for 10 sec.

Please login or register to see this link.

Will switch the output On if OFF or vice version.

Shelly rollers : 2/2.5

The command syntax to control them is:
http://[deviceIP]/roller/0?[command]&[command]

Please login or register to see this code.

Examples:

Please login or register to see this link.

Will open the roller

Please login or register to see this link.

Will opening 5 seconds.

Please login or register to see this link.

Will Open at 30%

Shelly Bulb/LED/RGBWW/RGBW2

Color mode:
The main command to contorl them is:
http://[deviceIP]/color/0?[command]&[command]

Please login or register to see this code.

Examples:

Please login or register to see this link.


Will switch device ON and set Red, Blue, Green and White colors.

Please login or register to see this link.

Will swithch device ON and set only White

Please login or register to see this link.

Will switch device ON.

Please login or register to see this link.

Change the intensity or RGB to 27%
White multi-channel mode:
The main command to contorl them is: http://[deviceIP]/white/[channel]?[command]&[command]
Channels start from 0, that’s mean ShellyRGBW2 have channel 0 to 3 for Output1 tp 4.

Please login or register to see this code.

Examples:

Please login or register to see this link.

Will set intesnsity 70%.

Please login or register to see this link.

Will switch device on and set intemsity to 70%
 
...................
taken from 

Please login or register to see this link.

 
 
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

×   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.

×
×
  • Create New...