Does anyone know what the commands / options are in the URL webhook string to a shelly i4 device?
I want to reuse the Shelly Scenes I have created in the Shelly app with a button in the Home Assistant dashboard (lovelace)
In the Shelly app I have connected my Shelly Scenes to a Shelly i4 device reacting to their Short (S), Double short (SS) and Long press (L) events on a fysical wall switch (pulse button).
Now I want to trigger these events on the i4 remotely “as if the wall button on the i4 was pressed”
Shelly has the option of webhooks and DDD (direct device to device communication) when I press a button on my Home Assistant Lovelace interface. An URL should be configured into the lovelace-button
So I want to directly communicate (DDD / WEBHOOKS) to the Shelly i4 from a Home Assistant lovelace button card by means of a DDD URL (webhook) to fire the events Short, Double shorts and Long press. But I do not know how to build the correct URL-string.
I know how to Webhook to a it for a relay device and for a dimmer device, but not for the i4. Can anyone give me a sample URL string? Or a list of keywords with its possible attributes.
The Shelly’s extended API documentation does not give me clarity how to use DDD / Webhook to an i4 device.
For example the URL:
http://192.168.0.40/relay/0?turn=on&timer=10
Will switch output ON for 10 sec.
But
http://192.168.0.50/channel/0?event=SS
will not evoke / simulate a “double short press” on the first button of my i4
(S, SS and L are the correct codes for the events of button presses)
I have found Shelly’s extended API documentation, but I can’t make any chocolate of that for webhooks /DDD.
Or is there a different/better way to reuse the scenes I created in Shelly. I don’t want to maintain scenes in Shelly and in HASS. Everything in Shelly is tied to devices and the its shelly cloud, so I have to go via/through the i4 device, isn’t it?