WiFi Connection REST API

These articles are for Marty the Robot version 1

If you've received your Marty after 2020 it's likely you have a version 2!

WiFi Connection

See Marty Setup, Calibration and Troubleshooting Guide for WiFi setup walkthrough & troubleshooting.


The endpoints available in “hotspot mode” are as follows:

  • A GET of /scan returns a JSON-encoded list of the available networks
  • A GET of wifisave?s=Network&p=Password&name=Name saves the network config (Network, Password) and the new name (Name) on the ESP.

Managed, Unmanaged, and Websocket connections are all available when operating in hotspot mode. JS-based and UDP-based service discovery are not available.

Task Runner