URL actions : PUT/POST and on/off vs long/short press

  • Using "actions" in the regular firmware, is it possible to make any more complex http requests? I'd like send a "put" request and add a body to the request. I'm trying to interface with the local API of my Bond ceiling fan control, which requires both. I don't have (and don't really want to have) a dedicated smart home "hub" or MQTT server; I just want to make direct local requests. Getting the cloud out another service like IFTTT involved makes the connection much too slow to be of any use.

    Also is it possible to "hold" the on/off action waiting for a possible short press action? I have a simple toggle switch connected to the switch input and all using it in a detached state. I want to set it up such that if turn the switch on and leave or off and leave it, it toggles the state of a smart bulb in a lamp. But if I switch it on and off quickly, it instead toggles the light on my ceiling fan without also triggering the smart bulb. As I currently have it I can trigger the fan light but not without the other bulb going on and off a couple of times.

  • A lot of my motivation is to make using the smart home devices as pleseant as possible for my mother when she visits. She hates multi-button remotes and glass touch panels and is even less fond of apps and voice assistants. My search for a smart switch in the familiar US "toggle" style was what brought me to Shelly in the first place.