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

Multiple controllers on the network with the same DNS name #15

Open
fixitfoxy opened this issue May 30, 2022 · 1 comment
Open

Multiple controllers on the network with the same DNS name #15

fixitfoxy opened this issue May 30, 2022 · 1 comment

Comments

@fixitfoxy
Copy link

Hey,
if multiple controllers are on the network with the same DNS name. Is it possible to set the DNS name according to the name of the desk or name + MAC? NetBIOS-Name max 15 chars?
The same DNS-Name messes up the controller requests in the network and causes collisions.

@krzmaz
Copy link
Owner

krzmaz commented May 30, 2022

Hey,
it's not hard to do at all, it would just require adding a call to WiFi.macAddress() and some formatting around here: https://github.com/krzmaz/LinakDeskEsp32Controller/blob/main/src/main.cpp#L252-L255

I'm just not sure if it's the best approach. Having multiple desks with the same name in the same network sounds like not the best idea in general. It will also mess up the Alexa integration as it uses the desk name as well.

Why not just change the name to Standing desk 1 and Standing desk 2?

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

2 participants