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

Device rename by using local csv file #141

Open
Smarthome-Creator opened this issue Jun 19, 2024 · 1 comment
Open

Device rename by using local csv file #141

Smarthome-Creator opened this issue Jun 19, 2024 · 1 comment

Comments

@Smarthome-Creator
Copy link

I know it is a feature request and not an issue but i hope u can help me.

Renaming the device according to its serial number is not really practical. It's easier to find a device by a unique hostname. And that's my idea, can you write a script that makes it possible to load a CSV file on the Mac that contains the serial number with associated hostname and if the serial number finds a match in the CSV file sets the corresponding hostname?

The logical buildup:

(CSV file)
Serial number: Hostname:
XXXXXXXXXXXXX = MBXXXX (MB for MacBook)
XXXXXXXXXXXXX = MMXXXX (MM for Mac mini)
and so on.

The script finds the matching serial number and gives the Mac the correct host name.

@theneiljohnson
Copy link
Contributor

theneiljohnson commented Jun 19, 2024 via email

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