Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with latest source #3

Open
HpNoTiQ56 opened this issue May 3, 2024 · 4 comments
Open

Sync with latest source #3

HpNoTiQ56 opened this issue May 3, 2024 · 4 comments

Comments

@HpNoTiQ56
Copy link

Hi,
I just bought new esp32 mini to get bluetooth proxy and I'm discovering a lot of loop error which I didn't have with d1 mini pro. Did you update your version to enable new enhance framesize and use 3D auto and other stuff? If not, do you plan it?

Thank you,

@hberntsen
Copy link
Owner

hberntsen commented May 3, 2024 via email

@HpNoTiQ56
Copy link
Author

Thank you for your answer : I'm using a wemos d1 mini and can't flash it with your code. First, i tried with your code but was not flashing (normal since another board layout is waited), then i tried to modify board by wemos_d1_mini and esp32dev with no success at compiling with latest esphome.

@MrC0nst
Copy link

MrC0nst commented May 27, 2024

Thank you for your answer : I'm using a wemos d1 mini and can't flash it with your code. First, i tried with your code but was not flashing (normal since another board layout is waited), then i tried to modify board by wemos_d1_mini and esp32dev with no success at compiling with latest esphome.

I have compiled this code for esp32 dev board with esphome 2024.5.3

#define CLAMP(x, lower, upper) (MIN(upper, MAX(x, lower)))

You need to add

#define max(a,b)            (((a) > (b)) ? (a) : (b))
#define min(a,b)            (((a) < (b)) ? (a) : (b))
#define CLAMP(x, lower, upper) (min(upper, max(x, lower)))

and comment this lines


ESP_LOGW(TAG, "Unsupported custom fan mode: %s", fan_mode);

And fix #4

@hberntsen
Copy link
Owner

hberntsen commented Nov 24, 2024

@HpNoTiQ56 I see I did not respond, sorry. Do you still need help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants