esphome_components icon indicating copy to clipboard operation
esphome_components copied to clipboard

Adafruit I2C Quad Rotary Encoder Breakout with NeoPixel / Seesaw Neopixel LED issue with 4 LED

Open lboue opened this issue 2 months ago • 1 comments

Hello,

I am facing an issue with seesaw componant and my Adafruit I2C Quad Rotary Encoder Breakout with NeoPixel - STEMMA QT / Qwiic, Product ID: 5752. Encoders count in the wrong direction.

adafruit_products_dbl

The LED on the first encoder works correctly, but the other 3 LEDs cannot be controlled.

I am using the seesaw branch of this repo.

Tutorial : Adafruit I2C Quad Rotary Encoder Breakout tutorial

ESPHome config

external_components:
  - source:
      type: git
      url: https://github.com/ssieb/custom_components
      ref: seesaw
    components: [ seesaw ]

light:
  - platform: seesaw
    id: pixel0
    pin: 18
    name: "Seesaw neopixel"
    #num_leds: 4

  - platform: seesaw
    id: pixel0
    pin: 18
    name: "Seesaw neopixel"
    #num_leds: 4

The num_leds parameter is not working:

Failed config

light.seesaw: [source /config/esphome/adafruit-matrixportal-s3.yaml:138]
  platform: seesaw
  id: pixel0
  pin: 18
  name: Seesaw neopixel
  
  [num_leds] is an invalid option for [light.seesaw]. Please check the indentation.
  num_leds: 4

Can you help to make it work?

lboue avatar Apr 16 '24 05:04 lboue