MQTT - Shelly2LED

  • MQTT - Shelly2LED

    Shelly2LED allows the simple on and off commands and status, as well as setting the brightness using a json payload.

    Shelly2LED has 2 channels 0 and 1.



    To control the bulb with a simple on-off switch functionality, use:

    shellies/shelly2led<

    deviceid>/color/0/command

    shellies/shelly2led<

    deviceid>/color/1/command

    accepts on and off payloads.



    Device report its current on-off state:

    shellies/shelly2led<deviceid>/color/0

    shellies/shelly2led<deviceid>/color/1



    For controlling other paramters of the LED channels publish to :

    shellies/shelly2led<deviceid>/color/0/set

    shellies/shelly2led<deviceid>/color/1/set


    Device expects a JSON payload on this topic, with the following sample contents:

    {

    brightness:<value>,

    turn:"on"|"off",

    }



    An identical JSON payload will be published by Shelly2LED on :

    shellies/shelly2led<deviceid>/color/0/status

    shellies/shelly2led<deviceid>/color/1/status





    Source: Shelly support group (English Version).pdf

Share