LinakDeskEsp32Controller
LinakDeskEsp32Controller copied to clipboard
Multiple controllers on the network with the same DNS name
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.
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
?