Skip to content

Possible to modify Device Group MeshID? #3713

Answered by Ylianst
PathfinderNetworks asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry to be late to answer this, try adding this in the domain section of the config.json:

"orphanAgentUser": "admin"

There "admin" is the userid of a account in the domain. Once set, any device that connects with a meshid that is unknown will automatically have a device group created under the specified account and the devices will join it. The new device group will be named after the meshid, so you will have to rename it to sometime more friendly and assign the right owner to the device group.

This option has been used in the past for server recovery. You can even launch a server with a completely new database and all the devices will reconnect.

Hope that helps,
Ylian

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Ylianst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants