A simple but smart lighting for rectengular bottles like Jägermeister Manifest. The version for round bottles can be found here
It features an easy to use webinterface that runs on an ESP8266 that was forked from jasoncoon.
The website allows for easy access to the different patterns, brightness and power control.
Hardware
The links above are affiliate Links
It has many cool and modular features, which can be configured or disable individually:
- 40+ preconfigured animations
- Sound reactive to a windows audio output using the IoT-Audio-Visualization-Center
- Alexa integration
- MQTT/HomeAssistant support
- mDNS to be easily located in the network
- Serial ambilight to be used behind a TV
- WebUI with light and dark theme
- OTA integration to be updated wireless
Software
The software and detailed setup instructions can be found on GitHub:
For beginners there is a setup tutorial too, please mind that the versions mentioned in the video are no longer correct.
Troubleshooting
"Not found :/" error
The webserver showing "not found :/" indicates that no sketch data is located on the device. This could be the case if the user hasn't uploaded the sketch data using the "ESP8266-Sketch-Data-Uploader". Or the sketch data upload process has failed, therefor try uploading it again. But make sure you have the correct flash-size selected in the tools menu. For a Wemos D1 mini this has to be set to 4096kb, 1MB SPIFFS, 1MB OTA.
Issues while compiling
- Compiling throws errors
- Update all libraries to the newest versions (esp8266, FastLED, PubSubClient, ArduinoOTA)
- Sketch Data Upload does not work
- Download the newest version of the ESP8266-FS plugin for the Arduino IDE
- The Arduino IDE doesn't show the other files and says that files weren't found
- The Arduino IDE requires that the filename of the .ino file has the same name as the folder it is in, if the names do not match, then the .ino file will be moved into a new folder, to fix it move the file up to the other files and make sure the folder name is the same as the one of the file
- Secrets.h file not found
- Create the Secrets.h file according to the instructions
Issues while uploading
- The Arduino doesn't boot when the LEDs are attached
- The LEDs might be wired in the wrong direction, the arrow must point away from the esp8266
- The Sketch-Data-Upload says "esptool.exe not found"
- Download the newest version of the ESP8266-FS plugin for the Arduino IDE
Issues with the Webinterface
- The website just shows "not found :/"
- Upload the sketch data again using the "ESP8266-Sketch-Data-Uploader" from the tools menu
- Verify your settings in the tools menu
- Check if the upload process completes without any errors
- The website doesn't load
- Check if you have entered the correct IP-Address
- Make sure you are in the same network as the device
- Try opening the serial monitor of the Arduino IDE and reset your board. The terminal should output something and indicate what is going on
Issues with the LEDs
FAQ
- Can I connect to the esp8266 from outside of my local network?
- Yes, you can do this by creating a port forwarding rule on your router
- Can I use the NodeMCU for this project?
- Yes the software should work with every esp8266 based board. Make sure the correct pin is defined correctly
- Can I use an esp32?
- The software doesn't support esp32, but jasoncoon wrote a esp32 edition but it just has basic functionality
- Can I use other LED-Strip types for this project?
- Yes, any FastLED compatible LED-Strip can be used
- To use different LED-Strips change the
LED_TYPE
in the main config area - A list of all compatible LED-Strips can be found here.
- What power supply should I choose?
- 100x 5V WS2812 LEDs draw around 3A
- What LED-Strip should I choose?
- I would recommend a WS2812B LED-Strip with 60LEDs/m