WirelessPalaControl icon indicating copy to clipboard operation
WirelessPalaControl copied to clipboard

Any chance update code for ESP32 ?

Open Flobul opened this issue 2 years ago • 2 comments

Hi.

Sorry to bother, but is there any chance you update this repo for another hardware plateform? (espressif32 instead of espressif8266) Or maybe a way to use the lib with another system (tasmota, espeasy...)

Flobul avatar Jan 15 '23 10:01 Flobul

Hi,

mm, regading other systems, it is difficult to respect right timing and listen on UDP + TCP + Web like official box.

For ESP32, I tried a few years ago to port it but Ticker class was missing. It seems to exists now and this option seems possible. ESP32 Mini are still larger than D1Mini and cost a little more so the right question is Why? Do you see a particular improvement?

Domochip avatar Jan 15 '23 11:01 Domochip

Thanks for your answer.

I tried too, but classes seems not to be exactly the same for esp8266 and esp32. Some code to adapt.

When I send all requests in a row (GET+ALLS, GET+CHRD, GET+CNTR...) and even on a single cmd (CMD+OFF, CMD+ON...), sometimes I got the error "cURL error : Connection timed out after 6001 milliseconds".

  • Better wifi stability/range.
  • Better CPU management.
  • Possibility to move to ESP32 ethernet (WT32-ETH01) ?

Look like this guy port it to ESP32 with his own pala lib : https://github.com/loiz/Poele

Flobul avatar Jan 15 '23 12:01 Flobul

Hello,

code has been adapted to ESP32 on test-esp32 branch

Domochip avatar Sep 04 '24 18:09 Domochip

And tested successfully on my side

Domochip avatar Sep 04 '24 19:09 Domochip