Advertisement
-Teme-

Shelly DDD commands

Oct 20th, 2022 (edited)
1,020
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. ################################################
  2. // Gen1 WebHook commands
  3.  
  4. http://[shelly_ip]/relay/0?turn=on # 0 remark of channel 0-3
  5. http://[shelly_ip]/relay/0?turn=off # 0 remark of channel 0-3
  6. http://[shelly_ip]/relay/0?turn=toggle # 0 remark of channel 0-3
  7.  
  8. http://[shelly_ip]/relay/0?turn=on&timer=sec # 0 remark of channel 0-3 and sec as time in seconds
  9. http://[shelly_ip]/relay/0?turn=off&timer=sec
  10.  
  11. // Dimmer2 & bulb have light instead of relay and brightness is configurable
  12. http://[shelly_ip]/light/0?turn=on
  13. http://[shelly_ip]/light/0?turn=off
  14. http://[shelly_ip]/light/0?brightness=x # x mark startup brightness
  15. http://[shelly_ip]/light/0?dim=up&step=10 # steps to increase brightness
  16. http://[shelly_ip]/light/0?dim=down&step=10
  17.  
  18. // bulbs have light temperature option
  19. http://[shelly_ip]/light/0?white=100
  20.  
  21. General commands
  22. http://[shelly_ip]/reboot
  23. http://[shelly_ip]/status
  24. http://[shelly_ip]/ota?update=1 # start update
  25.  
  26. ################################################
  27. // Gen2 WebHook commands
  28.  
  29. http://[shelly_ip]/rpc/Switch.Set?id=0&on=true # 0 remark of channel 0-3
  30. http://[shelly_ip]/rpc/Switch.Set?id=0&on=false
  31. http://[shelly_ip]/rpc/Switch.toggle?id=0
  32.  
  33. General commands:
  34. http://[shelly_ip]/rpc/Shelly.Reboot
  35. http://[shelly_ip]/rpc/Shelly.GetStatus
  36. http://[shelly_ip]/rpc/Sys.GetConfig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement