--port DEVICE_ADDRESS

Hi,
Where can I find the --port DEVICE_ADDRESS, for an account, please?

I have different accounts and in the past, I got it from a link in mDash that has been removed and then used the mos tool with the port as mDash doesn’t work sometimes.

Oh, I worked it out.

It is mos --port wss://YOUR_API_KEY@dash.mongoose-os.com/api/v2/devices/YOUR_DEVICE_ID/rpc ota /Users/who/.mos/apps-latest/Broil_King/build/fw.zip

The YOUR_API_KEY can be found in the “Account” tab in the “API Keys” section on mDash.

1 Like