On flashing the Image to the board every time , in aikaan dash board same device is created multiple times as shown in the image below.
Any way to avoid this ?
On flashing the Image to the board every time , in aikaan dash board same device is created multiple times as shown in the image below.
Any way to avoid this ?
Hi,
Yes, you can avoid it by saving and restoring the device agent ID. This file is located at $AGENT_INSTALL_DIR/etc/aiagent_config.json . In most systems AGENT_INSTALL_DIR is /opt/aikaan.
cp /opt/aikaan/etc/aiagent_config.json /mnt/disk/safe.json
Backup safe.json into another device
After flashing the device, before connecting to Internet copy the file back
cp /mnt/disk/safe.json /opt/aikaan/etc/aiagent_config.json
You will not see the device twice.
Thanks
C