You may create your own firmaware using ESPHome and FastLED or NeoPixelBus library or download ready to use firmware.
For more information about FastLED library:
Download firmware yawl-controller-fastled.bin or yawl-controller-neopixelbus.bin from this repository for 3-wire LED strip (NeoPixels, one data wire). If you want to use 4-wire LED strip (DotStars, two wire, one data and one clock) please read below.
NeoPixels, one data wire:
Download YAML configuration file yawl-controller-neopixelbus.yaml or yawl-controller-fastled.yaml from this repository and compile using ESPHome.
DotStars, two wire, one data and one clock
Please change light options in yawl-controller-fastled.yaml
light:
- platform: fastled_spi
id: light_1
rgb_order: GRB
chipset: APA102
data_pin: GPIO2
clock_pin: GPIO1
Unfortunately NeoPixelBus does not support GPIO2 and GPIO1 for 4-wire LED strip. On ESP8266 NeoPixelBus supports only GPIO13 for data_pin and only GPIO14 for clock_pin.
Please read Getting Started with ESPHome and Getting Started with ESPHome and Home Assistant
If you want to flash firmware from command line you may skip this section and go to “Flash using command line”
1) Edit file env.cmd from yawl-controller/firmware/ESPHome/ directory.
PYTHON_PATH
to Python installed on your system.ESPHOME_VENV
to path to virtual environment where ESPHome will be installed.ESPHOME_REPO
to url for ESPHome repository. Default: https://github.com/esphome/esphomeESPHOME_BRANCH
to branch name or tag in ESPHome repository. Default: release
2) Run install_esphome.cmd. The latest version of ESPHome will be installed.
3) Run compile_fastled.cmd or compile_neopixelbus.cmd. The firmware will be compiled and copied to yawl-controller/firmware/ESPHome/ directory. yawl-controller-fastled.bin or yawl-controller-neopixelbus.bin will be updated.YAWL Controller | USB to Serial Adapter |
---|---|
3.3v | 3.3v |
Ground | Ground |
IO0 | Ground |
TX | RX |
RX | TX |
The controller will be flashed now, you can follow the progress in the console window. When finished writing the firmware, switch off controller.
1) Edit file env.cmd from yawl-controller/firmware/ESPHome/ directory.
PYTHON_PATH
to Python installed on your system.ESPHOME_VENV
to path to virtual environment where ESPHome will be installed.ESPHOME_REPO
to url for ESPHome repository. Default: https://github.com/esphome/esphomeESPHOME_BRANCH
to branch name or tag in ESPHome repository. Default: release
2) Run install_esphome.cmd. The latest version of ESPHome will be installed.Once done, you can then go ahead and run the following command flash_fastled.cmd or flash_neopixelbus.cmd which will instruct ESPHome to flash YAWL controller firmware. This will take a minute or two to complete, at which point you will then be asked how you want to upload. Select the option for serial and it should begin to upload.
Assuming everything was successful, you can now disconnect everything from the USB adaptor.
When you are using ready-to-use firmware, at the first start, the controller will create its own network “yawl-controller-XXXXXX”.
When you are connecting to the fallback network, the web interface should open automatically (see also login to network notifications). If it doesn’t open, you may also navigate to http://192.168.4.1/ manually in your browser.
In this web interface, you may manually override the WiFi settings.
Additionally, you may upload a new firmware file.