Hinweis zur Nutzung von Skripten (für Nutzer)

Die Verwendung von Skripten erfolgt ausdrücklich auf eigene Gefahr. Weder Shelly noch die jeweiligen Autoren oder Entwickler der Skripte übernehmen irgendeine Form der Haftung für mögliche Schäden, Fehlfunktionen, Datenverluste oder anderweitige Beeinträchtigungen, die durch die Nutzung dieser Skripte entstehen könnten. Bitte stellen Sie vor dem Einsatz sicher, dass Sie den Quellcode verstehen und sich der möglichen Auswirkungen bewusst sind. Die Skripte werden ohne Gewähr bereitgestellt und unterliegen keiner regelmäßigen Wartung oder offiziellen Unterstützung.


Hinweis für Entwickler

Wenn Sie eigene Skripte bereitstellen, achten Sie bitte darauf, eine klare Beschreibung, eventuelle Einschränkungen und Sicherheitsaspekte zu dokumentieren. Beachten Sie zudem, dass Nutzer Ihre Skripte grundsätzlich auf eigenes Risiko verwenden. Eine Haftung für Schäden ist ausgeschlossen, sofern diese nicht vorsätzlich oder grob fahrlässig verursacht wurden oder gesetzlich anderweitig geregelt ist.

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.

  • Under Local Actions the Shelly documentation

    Since v1.7.0 Shelly devices support "local" action URLs.

    This allows devices to invoke actions not only on other devices,

    but on themselves as well. To execute a local action, the action

    URL should be set with a prefix http://localhost/.

    For example, to make relay 1 turn on when relay 0 is turned on:

    They give this example

    deviceIP/settings/relay/0?out_on_url=http://localhost/relay/1?turn=on

    I also read in one of the forums that you could combine Webhook's

    Unfortunately the above example does not work

  • If you are talking about creating webhooks on other devices through an rpc http channel, yeah you could do that, but its not working the way it should work, for example a gen 1 shely need a different syntax for a webhook than a gen 2, and there are different webhooks for different types of shely, as well as some harsh endpoint limitation. I tried to make an easy to use tool out of this, but there are just too many variables.

    So, thats why I created the simple webhook script as a workaround, for now, maybe i will give it a try a bit later but right now the simpel webhook script is good enough to solve this problem.

    --> deviceIP/settings/relay/0?out_on_url=http://localhost/relay/1?turn=on

    No idea what you heard, but this syntax would never work on a gen 2.

    First of all a Webhook is called action insde shellys, and thats just a link { endpoint } you connect to a special event { relay turned on } that you shelly will call when that event will happen.

    If you are only using gen >=2 you could try the remoteEvent function from my toolbox, that was my first try to create action, webhooks and endpoints automatically, but like i said its not working right, you should stick to the simple webhook script, and just create the Action your self, over the Shelly web ui on each remote Shelly.

    So to answer your question, I need some more specific information or just stick to the simpel webhook script.

    3 Mal editiert, zuletzt von _[Deleted]_ (29. Januar 2024 um 23:34)