Wio Link: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==General== Web site:http://wiki.seeed.cc/Wio_Link/ https://www.seeedstudio.com/ App: https://play.google.com/store/apps/details?id=cc.seeed.iot.ap Wio Server: ht...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
App: [[https://play.google.com/store/apps/details?id=cc.seeed.iot.ap Wio]] | App: [[https://play.google.com/store/apps/details?id=cc.seeed.iot.ap Wio]] | ||
Server: [[https://us.wio.seeed.io https://us.wio.seeed.io]] | Server: [[https://us.wio.seeed.io/login https://us.wio.seeed.io/login]] | ||
API: [[http://seeed-studio.github.io/Wio_Link/ http://seeed-studio.github.io/Wio_Link/]] | |||
Advance User Guide: [[https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide]] | |||
===Command Line=== | |||
installation <pre>pip install wio-link</pre> | |||
==Wio commande line== | |||
* wio | |||
<pre> | |||
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. | |||
</pre> | |||
===API=== | |||
Create User | |||
<pre> | |||
curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/create | |||
</pre> | |||
Login | |||
<pre> | |||
curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/login | |||
</pre> | |||
Retreive password (send by Email | |||
<pre> | |||
curl -d email=[new email here] https://us.wio.seeed.io/v1/user/retrievepassword | |||
</pre> | |||
Change password | |||
<pre> | |||
curl -d password=[new password here] https://us.wio.seeed.io/v1/user/changepassword?access_token=9L0_ofzPHnan91UQbtcCS4KzCI8BGQk6-OgMOtmnI3q | |||
</pre> | |||
== Repair Bricked Wio Link == | |||
# Download files: | |||
## Firmware: [[https://github.com/Seeed-Studio/Wio_Link/raw/master/users_build/local_user_00000000000000000000/user1.bin user1.bin]] [[https://github.com/Seeed-Studio/Wio_Link/raw/master/users_build/local_user_00000000000000000000/user2.bin user2.bin]] | |||
## Bootloader binary and other binaries: https://github.com/SeeedDocument/Wio_Link/blob/master/resource/esp8266sdk1.4.1.zip?raw=true | |||
# Unzip files, put all the .bin files in one folder | |||
# Install esptool.py. Open your terminal application and execute command - pip install esptool (https://github.com/themadinventor/esptool) | |||
# Install the driver for CP2102. Download the driver from here. | |||
# 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. | |||
<pre> 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</pre> |
Latest revision as of 03:05, 15 August 2021
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
- Download files:
- Firmware: [user1.bin] [user2.bin]
- Bootloader binary and other binaries: https://github.com/SeeedDocument/Wio_Link/blob/master/resource/esp8266sdk1.4.1.zip?raw=true
- Unzip files, put all the .bin files in one folder
- Install esptool.py. Open your terminal application and execute command - pip install esptool (https://github.com/themadinventor/esptool)
- Install the driver for CP2102. Download the driver from here.
- 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