Beiträge von DMorgan-Jones

    Using a single short push on the Shelly Button1 (SB1) I wanted to trigger 3 Shelly 1 relays, which in turn switches on a number lights within a room. However, as it quite clearly states on the SB1 webpage "Мore than 2 actions can affect the normal operation of the device and significantly increase consumption depending on the network infrastructure and the controlled devices.". Not only does it increase battery power consumption, it also takes quite a bit of time to trigger the relays and, from my experience, is not always, particularly reliable.

    So the following is a work around that allows you to trigger multiple relays quickly and reliably. I use Domoticz as my home automation software, but the same principle may be useful for use in other home automation packages.

    You will need to set up your Domoticz package to work with Shelly devices which is outlined here. Once you can see your Shelly Button1 under the "Switches" tab of the website. Go to Setup->More Options->Events. Add a new event and add the following dzVents code:

    Good luck :-)

    Key for the Shelly Button1 Indicator LED Colours: (from Shelly - Technical support)

    • Blue: static.: the device is acting as an Access point.
    • Blue: blinking fast: the device is trying to move from AP to client mode.
    • Blue: continuous blinking: the device is connected to cloud or MQTT.
    • Blue: After use of the reset button: the device blinks in blue until the 5th second when it then starts to blink faster.
    • Note: The blue light is only seen when it is attached to a powered USB.
    • White (also looks like light blue): Blinking continuously. This takes place after the button has been pushed (once, twice or three times).
    • White: Blinking: .Follows the release of the button. This continues until there is feedback that the command has been received from the cloud, MQTT or action URL.
    • White: Single blink followed by no light: If there is no feedback from the three above mentioned sources, the LED blinks white and then the device goes into sleep mode.
    • Green: blink: command has been received.
    • Red: static: the command has not been completed

    Thought these references would be of use:

    • Direct Device to Device communication (DDD) . This is a particularly helpful reference as it covers the http:// calls to the various devices from the Action page of the Shelly Button1 webpage. There is also similar information posted here on this website
    • Shelly Family API Overview. Useful from a developers perspective, not so sure about how helpful it is when dealing with direct calls to other shelly devices from the Shelly Button1?