raomin / ESPAltherma

Monitor your Daikin Altherma / ROTEX heat pump with ESP32
MIT License
338 stars 113 forks source link

error: 'class WiFiClass' has no member named 'setSortMethod' #438

Open stosoorok opened 3 months ago

stosoorok commented 3 months ago

Platformio fails, when I try to build latest version.

I got two errors:

image

image

Any ideas?

raomin commented 3 months ago

Probably some framework breaking change. I'll have a look.

stosoorok commented 3 months ago

Thanks. BTW, where did you enable ESP wifi signal strength? I can't find it.

Rapanter01 commented 3 months ago

Hello, i have the same issue. Did you found a solution? Thanks

raomin commented 3 months ago

That's weird, I get a successful build with the latest framework (6.7.0).

Can you try to force it: platform = espressif32 @ 6.7.0

or try to revert to an older one: platform = espressif32 @ 6.4.0

Note: you can also remove the two lines, it should work just fine.

RE: Wifi signal, the wifi signal threshold was removed for, normally, getting always the best ssid. At one point, we should move to WiFiMulti.h.

stosoorok commented 3 months ago

Thnx @raomin I commented out these lines yesterday and I was able to compile it and upload. Scratch that wifi rssi. I was using your first version of ESPAltherma which has worked great. I see that many things have changed meanwhile.

I uploaded it via USB. I was not able to get it to upload via espota. What I am missing here?

edit: Is it possible to make ESPAltherma install as easy like this Mitsubishi AC controller with ESPHome? https://github.com/ginkage/MHI-AC-Ctrl-ESPHome