Hi
I want to create my own lightstripe for christmas decoration.
I have an (ESP32-S3 board) which I want to use with ESPHome:
My lightstripe is based on WS2801 LED drivers. They use SPI-like 2 wire communication.
Initial setup was very easy, I just followed the guideline nad ESPHome was running on the eval board.
What didn’t really work out is to setup the stripe with neopixelbus. This is my yaml configuration:
esphome:
name: lvn-smh-tree
friendly_name: LVN-SMH-TREE
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
ota:
- platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
captive_portal:
light:
- platform: neopixelbus
type: RGB
variant: WS2801
data_pin: GPIO06
clock_pin: GPIO07
num_leds: 8
name: "Mario Star"
method:
type: SPI
speed: 1MHz
I removed the keys. All I did was to add the part with the light setup. As you can see, GPIO06 and GPIO07 are configured. Those are not the pins which are used. Instead GPIO11(data) and GPIO12(clk) are used. GPIO11 would make some sense to me as this pins default is MOSI. Default for GPIO12 is MISO.
It took a while to figure out why the pins I wanted are low all the time.
Does anyone has an idea why the wrong pins are used?
Thank you very much.