Open Murianwind opened 1 year ago
Have the same, and it seems like controlling the leds from HA does not work either.
Nevermind. Light startet working again after another flash+reboot. But the compiler warnings are still there, obviously.
esp32:
board: m5stack-atom
framework:
type: arduino
I just start having this same issue while compiling for m5stack-atom after I upgraded the ESPHOME to version v2022.12.1 Home Assistant 2022.12.6 Supervisor 2022.11.2 Operating System 9.4 Frontend 20221213.0 - latest
I can confirm the same warnings appearing in my logs. No config change except updated libraries.
I get the same warnings after just performing an update to the device.
INFO Reading configuration /config/esphome/desk-gadget.yaml...
INFO Detected timezone 'Europe/London'
INFO Generating C++ source...
INFO Compiling app...
Processing desk-gadget (board: esp-wrover-kit; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
| |-- AsyncTCP-esphome @ 1.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- Wire @ 2.0.0
|-- FastLED @ 3.3.2
Compiling /data/desk-gadget/.pioenvs/desk-gadget/src/main.cpp.o
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:95,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/include/esp_intr.h:8:2: warning: #warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead [-Wcpp]
#warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead
^~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h: In member function 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::startOnChannel(int)':
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:399:52: warning: 'esp_err_t rmt_set_pin(rmt_channel_t, rmt_mode_t, gpio_num_t)' is deprecated: use rmt_set_gpio instead [-Wdeprecated-declarations]
rmt_set_pin(mRMT_channel, RMT_MODE_TX, mPin);
^
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:97,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:930:11: note: declared here
esp_err_t rmt_set_pin(rmt_channel_t channel, rmt_mode_t mode, gpio_num_t gpio_num)
^~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h: In instantiation of 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::startOnChannel(int) [with int DATA_PIN = 32; int T1 = 77; int T2 = 77; int T3 = 154; EOrder RGB_ORDER = (EOrder)66; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]':
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:381:26: required from 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::startNext(int) [with int DATA_PIN = 32; int T1 = 77; int T2 = 77; int T3 = 154; EOrder RGB_ORDER = (EOrder)66; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:312:26: required from 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showPixels(PixelController<RGB_ORDER>&) [with int DATA_PIN = 32; int T1 = 77; int T2 = 77; int T3 = 154; EOrder RGB_ORDER = (EOrder)66; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:283:18: required from here
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:399:20: warning: 'esp_err_t rmt_set_pin(rmt_channel_t, rmt_mode_t, gpio_num_t)' is deprecated: use rmt_set_gpio instead [-Wdeprecated-declarations]
rmt_set_pin(mRMT_channel, RMT_MODE_TX, mPin);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:97,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:930:11: note: declared here
esp_err_t rmt_set_pin(rmt_channel_t channel, rmt_mode_t mode, gpio_num_t gpio_num)
^~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:399:20: warning: 'esp_err_t rmt_set_pin(rmt_channel_t, rmt_mode_t, gpio_num_t)' is deprecated: use rmt_set_gpio instead [-Wdeprecated-declarations]
rmt_set_pin(mRMT_channel, RMT_MODE_TX, mPin);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:97,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:930:11: note: declared here
esp_err_t rmt_set_pin(rmt_channel_t channel, rmt_mode_t mode, gpio_num_t gpio_num)
^~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:399:20: warning: 'esp_err_t rmt_set_pin(rmt_channel_t, rmt_mode_t, gpio_num_t)' is deprecated: use rmt_set_gpio instead [-Wdeprecated-declarations]
rmt_set_pin(mRMT_channel, RMT_MODE_TX, mPin);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:97,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:930:11: note: declared here
esp_err_t rmt_set_pin(rmt_channel_t channel, rmt_mode_t mode, gpio_num_t gpio_num)
^~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:399:20: warning: 'esp_err_t rmt_set_pin(rmt_channel_t, rmt_mode_t, gpio_num_t)' is deprecated: use rmt_set_gpio instead [-Wdeprecated-declarations]
rmt_set_pin(mRMT_channel, RMT_MODE_TX, mPin);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/clockless_rmt_esp32.h:97,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms/esp/32/fastled_esp32.h:8,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/platforms.h:36,
from /data/desk-gadget/.piolibdeps/desk-gadget/FastLED/FastLED.h:52,
from src/esphome/components/fastled_base/fastled_light.h:16,
from src/esphome.h:33,
from src/main.cpp:3:
/data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:930:11: note: declared here
esp_err_t rmt_set_pin(rmt_channel_t channel, rmt_mode_t mode, gpio_num_t gpio_num)
This is not a problem with esphome, it's a problem in a library that we don't control. It will probably go away with a newer version of fastled, but until then, there's nothing we can do.
There is possible a fix for esphome because espHome is using an older version of FastLed (v3.3.2) while the latest version of FastLed is v3.5.0.
Sadly it works a bit different then the v3.3.2
duplicate of #3906
Would it be possible to allow the user to switch to the new version of FastLED using an argument or specifying "fastled35" since they are not compatible?
I snuck into this today as well. I pulled whatever version of esphome I had from a few months ago to do a restore and pushed out new firmware to my esp device. It compiled FastLED without issue. I think it was 2022.10.2. I tend to click upgrade and go. I'll now spend more time playing with a DEV version to check before upgrading my prod instance.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still an issue I believe
Still having this issue today myself.
Confirmed, still an issue. current stable home assistant add-on and esphome as of 6/22/2023.
Considering home assistant is promoting using the atom on the front page of the website in the current release notes tutorial as a push-to-talk button, it might be worth fixing this. that's how i discovered the issue. (doesn't seem to cause a functional problem, but makes it very hard for newbies following the tutorial to diagnose problems)
oh! unless there's a better way to do this??? not FastLED??? Again, if the whole point of esphome is to allow people to connect devices without writing firmware, this is a very confusing... I had an easier time using the arduino tools and the mqtt library to connect the atom than understanding what I'm supposed to type into esphome to do the same thing???? I know that's my own shortcoming, but again, if the whole point of esphome is to make it easy, then writing Arduino code shouldn't be the easier option. this appears to be mostly a documentation issue.
Still having the problem today.
Use the RMT addressable LED component instead. It doesn't rely on third-party libraries.
Thank you a lot for your advice.I will try it as soon as possible.Best wishesBruno CDLe 23 oct. 2023 à 22:09, Samuel Sieb @.***> a écrit : Use the RMT addressable LED component instead. It doesn't rely on third-party libraries.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
So far this is working well for me! Just switched my 4 LED strip project:
From:
- platform: fastled_clockless
rgb_order: GRB
chipset: WS2812B
pin: GPIO17
num_leds: 25
name: '${devicename} Light 3'
id: '${devicename}_light_3'
restore_mode: RESTORE_DEFAULT_OFF
To:
- platform: esp32_rmt_led_strip
rgb_order: GRB
rmt_channel: 2
chipset: WS2812
pin: GPIO17
num_leds: 25
name: '${devicename} Light 3'
id: '${devicename}_light_3'
restore_mode: RESTORE_DEFAULT_OFF
So far this is working well for me! Just switched my 4 LED strip project:
From:
- platform: fastled_clockless rgb_order: GRB chipset: WS2812B pin: GPIO17 num_leds: 25 name: '${devicename} Light 3' id: '${devicename}_light_3' restore_mode: RESTORE_DEFAULT_OFF
To:
- platform: esp32_rmt_led_strip rgb_order: GRB rmt_channel: 2 chipset: WS2812 pin: GPIO17 num_leds: 25 name: '${devicename} Light 3' id: '${devicename}_light_3' restore_mode: RESTORE_DEFAULT_OFF
This isn't a viable solution for ws2812B (not supported by rmt_led_strip)
Hello Sorry if my comment is irrelevant, or wrong in any way, I am quite new here.
I still have these warning in 2024. This warning problem is not present with the current version of FastLed (3.6.0), when I build a project independently of ESPHome / fastled component.
As I can see, the version of FastLED used by the fastled component was reversed to 3.3.2 due to a bug in version 3.3.3 (issue 1375). However, in my independent project, I didn't see any problem with version 3.6.0 running on an ESP-WROOM-32 board. So maybe it is time to upgrade the component ? However I can test only with my specific hardware, I cannot check in the same environment as those who got the issue 1375. Thank you.
The problem
When compiling, a warning message related to FastLED is displayed.
Compilation does not fail, but I do not want a warning message to be output.
Which version of ESPHome has the issue?
2022.12.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
Home Assistant 2022.12.6
What platform are you using?
ESP32
Board
No response
Component causing the issue
FastLED
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response