shelly-homekit icon indicating copy to clipboard operation
shelly-homekit copied to clipboard

rename device

Open lucaspinelli85 opened this issue 4 years ago • 17 comments

Is possible to rename the device to make more discoverable in the wireless client id in my airport? IMG_5314 image

lucaspinelli85 avatar Apr 11 '21 21:04 lucaspinelli85

i take it they are all brand new devices, that have not been setup yet ?

andyblac avatar Apr 11 '21 22:04 andyblac

if they have been setup and connected to your wifi, you can change the name in General settings https://github.com/mongoose-os-apps/shelly-homekit/wiki/General-Settings

andyblac avatar Apr 11 '21 22:04 andyblac

i already changed the name, but the one displayed is the id image image image

lucaspinelli85 avatar Apr 11 '21 22:04 lucaspinelli85

So the real question is: is it possible to rename the device id?

lucaspinelli85 avatar Apr 11 '21 22:04 lucaspinelli85

So the real question is: is it possible to rename the device id?

yes, device id is hardcoded to the device, the option above changes the hostname of the device.

andyblac avatar Apr 11 '21 22:04 andyblac

@rojer is there another dns option that needs tweaking to use hostname ?

andyblac avatar Apr 11 '21 22:04 andyblac

yes, device id is hardcoded to the device

That's not true, it is changeable via the config key device.id, but maybe that can have side effects. @andyblac what you mean is the chip id and the chip id is part of the device id.

@lucaspinelli85 there is somewhere a bug in the dns setup because of that routes are showing the device id and not the hostname.

~I can't find the issue, but if I remind it right there is one place in the dns setup where we use the device id and not the hostname.~

UPDATE: Is already mentioned here https://github.com/mongoose-os-apps/shelly-homekit/issues/65#issuecomment-754188124

timoschilling avatar Apr 11 '21 22:04 timoschilling

yes, device id is hardcoded to the device

That's not true, it is changeable via the config key device.id, but maybe that can have side effects. @andyblac what you mean is the chip id and the chip id is part of the device id.

@lucaspinelli85 there is somewhere a bug in the dns setup because of that routes are showing the device id and not the hostname.

I can't find the issue, but if I remind it right there is one place in the dns setup where we use the device id and not the hostname.

i meant not user changable ;)

andyblac avatar Apr 11 '21 22:04 andyblac

For example, the iPhone, the MacBook, and the HomePod are shown by his hostname! Only the shelly are shown by device id and not hostname in wireless client list and make difficult identify them

lucaspinelli85 avatar Apr 11 '21 22:04 lucaspinelli85

Changing the device id is the wrong way, mongoose need to fix the dhcp request. See last line of my previous comment.

@rojer can you fix that or give me a hint?

timoschilling avatar Apr 11 '21 22:04 timoschilling

so to see the host name instead of the device id in the wireless client list I have to wait for a fix on a next update? correct?

lucaspinelli85 avatar Apr 11 '21 22:04 lucaspinelli85

so to see the host name instead of the device id in the wireless client list I have to wait for a fix on a next update? correct?

correct, wait for a fix in mongoose.

andyblac avatar Apr 11 '21 22:04 andyblac

Ok i'll wait it!

lucaspinelli85 avatar Apr 12 '21 00:04 lucaspinelli85

Hi, my Linksys router is showing the hostnames in the device list. In the summerhouse I have D-link, it’s also showing the hostnames of the Shellys

zhoucky avatar Apr 17 '21 23:04 zhoucky

I keep seeing the device-id instead of the device-name

lucaspinelli85 avatar Jan 05 '22 09:01 lucaspinelli85

we use names that are guaranteed to be unique until name conflic resolution is implemented. see https://github.com/mongoose-os-apps/shelly-homekit/commit/acb57e02caef82438a2c82da5c67265a8c76fda0

rojer avatar Jan 05 '22 09:01 rojer

we use names that are guaranteed to be unique until name conflic resolution is implemented.

see https://github.com/mongoose-os-apps/shelly-homekit/commit/acb57e02caef82438a2c82da5c67265a8c76fda0

ok, it's not an urgent serious problem! Better to guarantee uniqueness!

lucaspinelli85 avatar Jan 05 '22 10:01 lucaspinelli85