Coder Social home page Coder Social logo

dullage / esp-led-mqtt Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 14.0 50 KB

ESP8266 firmware to control WS2812 LEDs over MQTT. Works well with Home Assistant.

License: MIT License

C++ 98.12% C 1.88%
esp8266 homeassistant leds ledstrip mqtt neopixels strip

esp-led-mqtt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp-led-mqtt's Issues

JSON5 & 6

i get an error when building
DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

ive tried a very basic attempt to change the word buffer to document, but it throws up further errors. As im not a coding expert, im not sure what else to do with the code.

Can't turn LEDs back on after turning them off?

Hello,
I am not sure if I use if wrong, or if there's a bug...
What I am doing is I am sending the mqtt message {0:0} and it properly powers off my LEDs.
Now I want to power them back on again and send f.e. {0:1,2:[20,0,255]} but nothing happens. I have to restart my NodeMCU and then it works again.
Am I doing it wrong? Or is this supposed to work?

Thank you very much and cheers,
Georg

Home assistant configuration example using mqtt_json

Hello there, nice work and project.
I am trying to implement your code on my installation with a ws2818b led strip.
However I am having trouble with topic names. The topic names are not consistent on your arduino .ino file and the example home assistant configuration.
Notably I can't find where to define the recovery topic in home assistant.
Could you please clarify this issue, or give an updated home assistant configuration example with the correct topic names?
Thank you in advance

Issue when compiling for MCU board

Just tried to compile this code for my Nodemcu esp8266MOD 12F board and got the following error:

<..mydirectory..>Arduino\libraries\Adafruit_NeoPixel\esp8266.c:20:11: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'

IRAM_ATTR void espShow(

       ^

exit status 1

Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Any idea for this non-expert?

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.