MATTER and lighting-app example: I cannot see any LED changing its state

mike1369
Posts: 1
Joined: Wed Jan 18, 2023 2:47 pm

MATTER and lighting-app example: I cannot see any LED changing its state

Postby mike1369 » Wed Jan 18, 2023 3:02 pm

Hello,

I am trying to run the sample "lighting-app" from MATTER; it is under /examples/lighting-app/esp32 in the MATTER repository at https://github.com/project-chip/connectedhomeip.

Using a kit ESP-32 WROVER I succeedeed to commission the device from the Android application CHIPTOOL

Then, I can use the "LIGHT ON/OFF & LEVEL CLUSTER" button to turn ON, OFF, or TOGGLE, or set the brightness, and Android App (as well as IDF monitor logs) say that the operation is successfull.

BUT I just have no LED that turns ON or OFF doing that, which does not give a nice demo effect.

I used from menuconfig the following settings in the "Demo" part:
- Device Type: ESP32-WROVER-KIT_V4.1
- LED type: GPIO
- LED GPIO number: 5 (also tried 26)

I could check that the callback from MATTER is called, and that LEDWidget::DoSet() is called (from LEDWidget.cpp)
but cannot see any LED (or LCD screen) being lighted on or off

I came back to the basic example "blink" from ESP-IDF, and can see the LCD screen blinking. Seems so that this config GPIO + number 5 is OK ...

Any idea what I could be missing .

Thanks for your help and patience.

dangelo
Posts: 1
Joined: Sat Jun 17, 2023 2:08 am

Re: MATTER and lighting-app example: I cannot see any LED changing its state

Postby dangelo » Sat Jun 17, 2023 2:13 am

Did you ever figure out the problem? I am having the same issue. On my board, the built in addressable led is pin 27 and when I run the blink example it works. If I use the lighting-app example ( I tried both the CONFIG_LED_TYPE_GPIO and the CONFIG_LED_TYPE_RMT but both are not working)

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 133 guests