This is an old revision of the document!
Table of Contents
Getting Started
Configuring AvaDroid
In your terminal cd ~/avadroid/<name>/bot/config, where <name> is the folder named after your AvaDroid. Edit config.json .. nano config.json
Find the section that looks like:
"Corrade": {
"Address": "corrade",
"Port": 1883,
"NPort": 54377,
"Group": "group",
"Password": "password",
"Topic": "topic"
},
Change “Address”: “corrade” to “Address”: “<IP Number of the Host Docker is on>”
Example: "Address": "192.168.1.10" Note the quotation marks as this is a string variable.
Change “Port”: 1883 to “Port”: <Port Number mapped in compose.yml>
Example: "Port": 17001 the MQTT Port. Note NO quotation marks as this is an Integer variable.
Change “NPort”: 54377 to “NPort”: <Port Number mapped in compose.yml>
Example: "NPort": 19001 the Nucleus Port. Note NO quotation marks as this is an Integer variable.
Change “Group”: “group” to “Group”: “<The group you create in Avatar configuration>”
Example: You created the group The_Mob and invited your AvaDroid Avatar to it so, the change will be "Group": "The_Mob" Note the quotation marks as this is a string variable.
Change “Password”: “password” to “Password”: “<Password you set in Corrade Setup?”
Example: "Password": "MyP@ssW0rd1" if you allocated MyP@ssW0rd1 as your your super secret password. Note the quotation marks as this is a string variable.
