Code Monkey home page Code Monkey logo

rgbw-sunrise-animation-neopixel-'s Introduction

RGBW-Sunrise-Animation-Neopixel-

MQTT RGBW Sunrise animation with brightness and color control via MQTT'

This repository is to accompany my LED Sunrise Video:

IMAGE ALT TEXT HERE

Initial Setup

  1. Download the .ino file
  2. Ensure you have the correct libraries download and installed (links at top of the ino file)
  3. Update information in the user configuration section and upload to the NodeMCU
  4. Hook up your NodeMCU, to your RGBW LED strip (default pin is D1 which is GPIO-5)
  5. Send the number of seconds you'd like the sunrise to be spread over to the MQTT topic:
[USER_MQTT_CLIENT_NAME]/wakeAlarm

Parts (Amazon Links)

NodeMCU https://amzn.to/2MkBcka

RGBW WS2812B LED Strip http://bit.ly/2QaujCG

Power Supply https://amzn.to/2TAwrG2

Home Assistant YAML

light:
  - platform: mqtt
    name: "Bedroom Valance"
    command_topic: "SunriseMCU/command"
    payload_on: "mqttRGB"
    payload_off: "off"
    state_topic: "SunriseMCU/state"
    rgb_command_topic: "SunriseMCU/color"
    rgb_state_topic: "SunriseMCU/colorState"
    white_value_command_topic: "SunriseMCU/white"
    white_value_state_topic: "SunriseMCU/whiteState"
    white_value_scale: 255
    retain: true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.