Hi there,
I just started a home project trying to pimp my HomeAutomation / SmartHome installation using StreamSheets running on a RasPi.
I hoped to be able to use a StreamMachine as a REST Server that will receive “calls” from a Shelly Plug S, Shelly 1 (or any other of the Shelly products) when the button is pressed.
The Shelly offers the possibility to call an URL once this happens. Like what is also called a “Webhook” in other environments.
Unfortunately documentation and information on the REST Server Provider and it’s usage is very limited (so far). So I tried some things that I figured might work, but simply did not manage to get any message/information into my inbox. (To avoid my issues resulting from the Shelly not working or being misconfigured I also tried sending/calling different requests/URLs using “Postman” ).
Has anyone a running example for me how to do that?
By the way:
I managed to get the REST to MQTT tutorial to run and adjust to and get current status information from my Shelly, but I would rather have a “push” approach here than a “pull”. I don’t want to flush my network with REST-calls to all my Shellies every second, just to see, whether potentially the status changed because the button was pressed.
Also the Shellys do offer the publication of MQTTs out of the box, but unfortunately the press of the button is not among the things being published (only the resulting relay status - on/off).
So the only way of receiving information about the button press itself is (currently) the “action” mentioned above.
Any help would be highly appreciated