Thanks for your response. Luckily can handle bash reasonably.
I researched this:
/usr/bin/remote3_it--> calles routines in weavedlibrary.
It calls : makeConnection Protocol=$1(set to ssh), $2-->PORT(set to 22), $3-->$alias set to ("macaddress+random")
makeConnection then calls-->
registerDevice which prompts user for "alias" (easy to use name)
getSecret--> curl( regdevice url with deviceaddress=$uid, devicealias=$alias & hardwareid=$serialid)
Hence, the 'alias' should be passed somehow to remte3_it & to makeConnection so that in non-interactive mode it will use that without prompting for user. So I would be able to pass the "Box5" etc to it and then it will register device under that name.
Am I making sense.