dullage / esp-led-mqtt Goto Github PK
View Code? Open in Web Editor NEWESP8266 firmware to control WS2812 LEDs over MQTT. Works well with Home Assistant.
License: MIT License
ESP8266 firmware to control WS2812 LEDs over MQTT. Works well with Home Assistant.
License: MIT License
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
If I toggle the light off and on again using Home Assistant and using the simple light config provided, the state defaults to a RGB value of [255,147,41]. Is this normal behaviour for it to not save the last used RGB values?
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
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.