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

WIFIUdp.h for the esp-idf platform #2878

Open
bkbartk opened this issue Sep 10, 2024 · 4 comments
Open

WIFIUdp.h for the esp-idf platform #2878

bkbartk opened this issue Sep 10, 2024 · 4 comments

Comments

@bkbartk
Copy link

bkbartk commented Sep 10, 2024

Describe the problem you have/What new integration you would like
I would like to have WIFIUdp.h support for the ESP-IDF framework

Please describe your use case for this integration and alternatives you've tried:
I use a component for synchronizing my light switches
https://github.com/Cossid/TasmotaDeviceGroupsForESPHome
this component syncs via UDP and therefor requires WIFIUdp.h
untill now setteling for arduino worked, but now I want to add a bluetooth proxy and ble tracker to one of the switches.
I tried this, but I immediately found the device to become laggy.

Additional context
almost all sync tools use this component,

@randybb
Copy link

randybb commented Sep 10, 2024

So somebody has to make this external component compatible with esp-idf? Should not be this addressed to its creator? :D

Anyway, maybe this will work for you - https://next.esphome.io/components/udp / esphome/esphome#6865 will be available in 2024.9

@bkbartk
Copy link
Author

bkbartk commented Sep 10, 2024

that change looks promising,
if I read it correctly it's interval based, I would be better to have it on a state change of a switch. and the configuration is a little harder,

But I will try it out when v2024.9 is available.

Making this component compatible would also work, But in the past I came across more UDP components using this library, all incompatible with ESP-IDF.
adding this library would fix all, however I don't know how much work this would be, so maybe I'm not realistic here.

@nagyrobi
Copy link
Member

Not only interval based: https://deploy-preview-3918--esphome.netlify.app/components/udp.html
Updates on state change instantly.

@bkbartk
Copy link
Author

bkbartk commented Sep 10, 2024

I see I missed this lineWhen any of the configured sensors changes state, the component will broadcast that sensor’s state,
So I think this could work for me, I will try this one after the next release

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