How use cURL command in Shelly script

Die Verwendung von Skripten liegt im eigenen Ermessen des Benutzers. Unterstützung für Skripte wird vom Autor des Skripts bereitgestellt.
  • I have Alliance-Apps OpenDTU and it support cURL command. I hope that I can control this product using Shelly script. How I can send cURL command usingShelly script?

    Command what I want use is:

    Code
    curl --user "user:pwd" http://192.168.x.x/api/limit/config --request POST --data "data={'serial':'1144xxxxxxxx', 'limit_type':1, 'limit_value':50}"

    I tried use code like below with my own setups, but it not work and I don't know what I must to do, Can somebody help me how to do that?

  • I am trying the same and want to sent the Limit to the opendtu und I have the same problem. Would you be so kind to share your script?

    BR

    Solaa

    Einmal editiert, zuletzt von Soolaa (27. Februar 2025 um 19:26)