syssi / esphome-yeelight-ceiling-light

ESPHome custom firmware for some Yeelight Ceiling Lights
Apache License 2.0
150 stars 22 forks source link

webserver component not valid on Yeelight Meteorite with new ESP-IDF framework? #28

Closed PsychoRS closed 3 years ago

PsychoRS commented 3 years ago

Hi,

I'm trying to compile ESPHome firmware for my Meteorite. I'm unable to do it using ESP-IDF framework if I keep the webserver: component.

Is it normal? Does the new ESP-IDF platform support webserver component?

Thanks

syssi commented 3 years ago

If a component isn't supported by ESP-IDF you should see a critical error telling the platform "arduino" is supported only.

PsychoRS commented 3 years ago

Yes, that's the error I got, just asking if it is normal behaviour.

syssi commented 3 years ago

Yes it is. You could use the arduino platform if you want to avoid ESP-IDF:

https://github.com/syssi/esphome-yeelight-ceiling-light/commit/db03752d2354cd0a5aa51fbc723b2520a3e677b0

syssi commented 3 years ago

Do you agree to close the issue?

PsychoRS commented 3 years ago

Thanks, sorry.

But... the lamp is 100% operative using the older arduino platform instead of the new ESP-IDF?

syssi commented 3 years ago

I've asked more or less the same question here: https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/62