Giter Site home page Giter Site logo

illuminator's Introduction

Photo

Use a WS2812 LED Strip to build an RGB light with support for animations.

Settings

Currently the MQTT server IP and Wifi credentials are hard-coded in default_config.h.

Topics

The default topics are

Illuminator/maintenance/1234567/online      → true

Illuminator/maintenance/1234567/uptime      → {
        "val": 83000243,
        "millis": 83000243,
        "rollover": 0
    }

Illuminator/maintenance/1234567/temperature → 26.00

Illuminator/maintenance/1234567/info → {
        "board_id": "Illuminator_1234567",
        "build_hash": "7c7eb13b668fae2f371a07928d9e0facd366c9bf",
        "build_tag": "master",
        "build_timestamp": 1584719403,
        "ip_address": "10.1.1.108"
    }

Illuminator/status/1234567/fastled → {
        "val": 0,
        "hue": 0.043137,
        "sat": 1,
        "animation": "sinelon"
    }

Illuminator/status/1234567/temperature/dallas → {
        "abcdef1234567890": 23.25,
    }

Value (Brightness), Hue, Saturation is 0..1 Animation can be "none", "sinelon", "confetti", "colorwheel".

Flash

Install using PlatformIO CLI.
Clone this repository, cd into it.
If you're not using a Wemos D1 Mini, edit platformio.ini first.

Run:

platformio run

In case you have multiple USB-Serial adapters, or your adapter offers multiple ports:

platformio device list
platformio run --upload-port /dev/cu.usbserial-00202102A 

For WiFi OTA upload:

platformio device list --mdns
platformio run -t upload --upload-port <Illuminator_1234567.local or IP address>

Development

Ideas:

Credits

This project follows Oliver "owagner" Wagner's architectural proposal for an mqtt-smarthome.

illuminator's People

Contributors

dersimn avatar

Watchers

James Cloos avatar  avatar

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.