snipercaine / holiday-led-files Goto Github PK
View Code? Open in Web Editor NEWHome Assistant config.yaml and Arduino sketch for Addressable LEDs
Home Assistant config.yaml and Arduino sketch for Addressable LEDs
When i try to compile i get this error.
'class ArduinoOTAClass' has no member named 'getCommand'
To Do List Item -
Add an Upload firmware webpage to the sketch as an alternative to OTA
I am experiencing an issue with some of the "Input Select" items in HA. Specifically when I select certain input effect I am getting the led strip to flash red for 15-20 sec then go out and not run the effect. On others the effect is working great. For example when I select "Candy Cane" it work fine but when I select "Christmas" I get the solid red flash and then goes out and in fact the lights "Office Test Led" switch off in HA.
Below is a list of the effects that are experiencing this issue:
All the other ones appear to be working fine.
I have a WEMOS setup on D4 and running 5v WS2812B LEDS..
Thanks for the awesome work, Doc! One issue that gave me some trouble:
For the file "BruhZzs_LEDs_Pub.ino" on a NodeMCU v2, there seems to be a potential pin definition issue at line #34 (#define DATA_PIN). My data pin is, in fact, connected at D5, but the fail/default behavior described in the comments wouldn't work for me... checked and double checked everything... credentials = good, mqtt = good. Scratch head. Grunt. The NodeMCU just didn't seem to be passing the commands to the strip.
The solution (for me, at least) was to
1.) Insert a line of code at line 15: "#define FASTLED_ESP8266_RAW_PIN_ORDER" then
2.) Change the pin referenced at line #34 (now line #35 after the insert) to "14"
Voila! Whiz. Bang! Everything fired up just right.
To Do List Item -
Add WiFi Manager (AP Mode) to the sketch and remove the hard code access point code. Add MQTT settings as well as the ability to turn off MQTT for a non-HA implementation.
I have no idea why, but I get random WDT resets. It can be right when I turn on the D1, or 30 minutes or 3 hours later but it always happens. Then it disconnects from Home Assistant, and turns off the lights. I had a WiFi Extender 6 feet from the D1, so connection signal isn't an issue, and nothing else has been changed. I just don't get it.
There is a spacing error with input number, line 278. It is off by 2 spaces, deleting these 2 spaces fixes the issue.
Upload the sketch, but when I power the lights, just white color appears, can't control anything
As FastLED library support four wire led strips could it be possible to add support for strips that use clock pin beside data pin (as in APA102 strips). Option was available back in Bruh automation script.
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.