/etc/connect/service/settings.json
/etc/connect/service/settings.json
and enter the next content to it:{"user_token":"<user_token>", "project_name":"<project_name>", "device_name":"", "device_group":"", "software_version":"", "device_token":""}
Make sure to change the <user_token>
to your account token. You can find it on Connect dashboard at the Settings
category (click on the "Show Account Token
" button). Also change the <project_name>
to the project you want this device to be registered to. You can find your projects on Connect dashboard at the Settings
category under the Project
tab.settings.json
file. Before the device registers to the platform, you can modify the file /etc/connect/service/settings.json
with the values of the keys device_name
and device_group
. Make sure the group you set exists on Connect dashboard.New device
to the group Production
. --print-token.
The command is:/etc/connect/service/ConnectAgent --print-token
settings.json
file on the device.