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

What's the best way to name devices ? #72

Closed
donnib opened this issue Aug 1, 2017 · 6 comments
Closed

What's the best way to name devices ? #72

donnib opened this issue Aug 1, 2017 · 6 comments

Comments

@donnib
Copy link

donnib commented Aug 1, 2017

Hi,
I tried to rename the node but nothing happened so i guess the item doesn't like that. Is there another way i can set a name on a device so when i use the REST api i have that name ?

@manup
Copy link
Member

manup commented Aug 1, 2017

The easiest method is to use the Web App to rename lights. Renaming sensors will be supported soon but is available via REST API now.

@donnib
Copy link
Author

donnib commented Aug 1, 2017

I did rename thru Web App but it's not reflected in the REST API, maybe after reboot ? I did however succeed with renaming thru REST API and that worked so i guess as a start that's good.

@ebaauw
Copy link
Collaborator

ebaauw commented Aug 1, 2017

I don't think the web app has any storage of its own, so any change you make there is using the REST API.

The deCONZ GUI uses it's own names. Sometimes it allows setting the name of a node through the Node Info panel works, sometimes it doesn't. Sometimes it takes over the name from the REST API, sometimes it doesn't. It stores the names in a json file, .local/share/dresden-elektronik/deCONZ/session.default, along with the coordinates of the nodes on the screen. Sometimes shutting down deCONZ and editing the file works, sometimes it doesn't... I still see some of my Hue motion sensors named after the ZHATemperature resource which I cannot seem to change.

@manup
Copy link
Member

manup commented Aug 1, 2017

I did rename thru Web App but it's not reflected in the REST API

Please press enter after setting the light name, otherwise it won't be applied (This is fixed in the new version).

@KennethLavrsen
Copy link

@manup it is 2021 - what it the new version you are talking about where the renaming in the Deconz app is fixed? I have never seen it work ever.

@manup
Copy link
Member

manup commented Apr 20, 2021

The fix was related to the web app (the old one) not deCONZ. I think it's time to remove the input field in deCONZ since it wouldn't allow renaming separate resources. Originially the field had the purpose to change the User Descriptor of devices (a 16 char array) but this isn't supported by almost all devices nowadays.

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

4 participants