Lolin D32 Pro (ESP32-WROVER) not connecting to mdash

Hi all

Im a newbie and having trouble with my first device using Mongoose, I would appreciate any diagnostics advise you can give.

I followed the quickstart tutorial here : https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md
and Im using a windows laptop and a Lolin D32 Pro dev board (set to ESP32 in MOS tool)

All the steps work successfully all the way to step 8 in the tutorial (adding the device to mdash).

Ctrl-i gives proves Im connected to WiFi as it gives me a “sta_ip” address and the “status” is “got ip”.

I created a device in mdash, device Id = device1 and I copied the token from the dashboard. I then used the command “mos mdash-setup device1 xxxxxx” where xxxx is the token. It reboots the D32 and it reconnects to WiFi , gets the time from google but fails to connect to mdash :frowning:

The only clue I can see in the output window of the mos tool is

mgos_rpc_channel_ws.:52 0x3ffb49a4 WS handshake resp 401

which I assume means an authentication error when calling a mdash webservice but no idea how to fix it.

Can anyone point me in the right direction.

Thanks in advance for any help.
Kevin

Use mos mdash-setup TOKEN or mos config-set dash.enable=true dash.token=TOKEN

Perfect thank you that worked :+1: , looks like the tutorial is incorrect then :frowning:

Thanks for the quick reply.

Kevin