hencou / esphome_components

Collection of own ESPhome components
25 stars 15 forks source link

esp32 compatible? #8

Closed jetflux closed 2 years ago

jetflux commented 2 years ago

Hi, excuse me for asking here, but can I use this with esp32? or is it only esp8266.

hencou commented 2 years ago

Hi Jetflux,

I've never tried this at myself, but I expect that this will work. Do you experience a specific error?

shbatm commented 2 years ago

Yes, it is working for me on a ESP32 D1 Mini board.

hencou commented 2 years ago

Great! I will close the ticket then.

jetflux commented 2 years ago

Hi!, i tried compile it and it works. but get small error: .platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c: In function 'spiTransferBytesNL':

.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint8_t * last_out8 = &result[c_longs-1];

.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint8_t * last_data8 = &last_data; ^

maybe nothing to worry about? , I will try to upload and wire it to a esp32 this weekend.

hencou commented 2 years ago

Most of times you can ignore these kind of warnings. Its a warning coming from the SPI ESP32 library it seems.

poudenes commented 1 year ago

Hi All,

I use a AZ Delivery D1 R32 board. Whole config above can now loaded because of bigger ram. When i switch a bulb from my (old) Wemos D1 with original Milight Image I see in log the commands. But when I try to turn on or off a bulb with this board nothing happen.

What can this be?