Wio Link

From Objectif Client Inc
Jump to navigation Jump to search

General

Web site:[https://www.seeedstudio.com/]

App: [Wio]

Server: [https://us.wio.seeed.io/login]

API: [http://seeed-studio.github.io/Wio_Link/]

Advance User Guide: [https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide]

Command Line

installation

pip install wio-link

Wio commande line

  • wio
Commands:
  call    Request api, return json.
  config  Change setting of device.
  delete  Delete a device.
  list    Displays a list of your devices.
  login   Login with your Wio account.
  setup   Add a new device with USB connect.
  state   Login state.
  udp     Sends a UDP command to the wio device.

API

Create User

curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/create

Login

curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/login

Retreive password (send by Email

curl -d email=[new email here] https://us.wio.seeed.io/v1/user/retrievepassword

Change password

curl -d password=[new password here] https://us.wio.seeed.io/v1/user/changepassword?access_token=9L0_ofzPHnan91UQbtcCS4KzCI8BGQk6-OgMOtmnI3q

Repair Bricked Wio Link

  1. Download files:
    1. Firmware: [user1.bin] [user2.bin]
    2. Bootloader binary and other binaries: https://github.com/SeeedDocument/Wio_Link/blob/master/resource/esp8266sdk1.4.1.zip?raw=true
  2. Unzip files, put all the .bin files in one folder
  3. Install esptool.py. Open your terminal application and execute command - pip install esptool (https://github.com/themadinventor/esptool)
  4. Install the driver for CP2102. Download the driver from here.
  5. Open your terminal application and enter the directory of step 2, and execute the following command. Please Windows users note that the serial port number of Windows isn't "/dev/tty.SLAB_USBtoUART", it should be "COMx" whose full name looks like "Silicon Labs CP210x USB to UART Bridge" in Device Manager.
 esptool.py -p /dev/tty.SLAB_USBtoUART -b 230400 write_flash --flash_size 32m-c1 0x0000 bootloader.bin 0x1000 user1.bin 0x101000 user2.bin 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin