/NodeMCU-LedStripController-v2

NodeMCU sketch to control led strip

Primary LanguageC++GNU General Public License v3.0GPL-3.0

NodeMCU-LedStripController-v2

NodeMCU sketch to control led strip

Using

  • To connect the device to the network visit: tzapu/WiFIManager

  • API

    Description Method Endpoint Body elements
    To start the action described in the body POST /rgb "red", "green" and "blue"
    To receive the status of the colors GET /rgb/status -
    To receive the type of device GET /get_type -
  • Examples

    • Request body for "/rgb":

          {
            "red": 120,
            "green": 250,
            "blue": 40
          }
    • Response body for "/rgb":

          {
            "msg": "SOME_MESSAGE"
          }
    • Response body for "/rgb/status":

          {
            "red": 120,
            "green": 250,
            "blue": 40
          }
    • Response body for "/get_type":

          {
            "type": "led_strip_controller"
          }

Development

  • Button to reset wifi