vgijssel / setup

Workstation and server setup
MIT License
8 stars 0 forks source link

Setup leds on Moko mk115's devices #152

Open mvgijssel opened 1 year ago

mvgijssel commented 1 year ago

Currently the leds on the Moko mk115's are not working (correctly). They randomly seem to go on and off and they don't listen to inputs from home assistant.

According to the schematic the led model is WS2812C-2020:

Image

There is an ESPHome config for this https://esphome.io/components/light/neopixelbus.html, so let's try that!

mvgijssel commented 1 year ago

Seems both the FastLED and Neopixelbus are not supported on esp-idf :(, only on Arduino.

mvgijssel commented 1 year ago

When this is necessary a custom component like https://github.com/espressif/esp-idf/blob/master/examples/peripherals/rmt/led_strip/main/led_strip_example_main.c needs to be created.

mvgijssel commented 1 year ago

Or a port of the Neopixelbus like https://github.com/mriksman/NeoPixelBus-idf or FastLED port https://github.com/eshkrab/fastLED-idf / https://github.com/bbulkow/FastLED-idf.