diff --git a/content/pybytes/gettingstarted.md b/content/pybytes/gettingstarted.md index 42f1613..17c0d49 100644 --- a/content/pybytes/gettingstarted.md +++ b/content/pybytes/gettingstarted.md @@ -21,20 +21,60 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account 1. Select your device (WiPy, LoPy, SiPy, etc.). ![](/gitbook/assets/pybytes/add-device/select-device-type.png) -1. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi. This will show a subwindow where you enter your WiFi credentials. This is only needed to connect your device with a WiFi network to access pybytes. +1. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, we will choose WiFi. This will show a subwindow where you enter your WiFi credentials. This will only be used to connect your device with a WiFi network to access pybytes. ![](/gitbook/assets/pybytes/add-device/network-step.png) 1. Enter a unique name for your device and hit save! ![](/gitbook/assets/pybytes/add-device/customize-step.png) -1. At the end of the *Add Device* wizard, Pybytes will show that your device profile was successfully created. +1. At the end, Pybytes will show that your device profile was successfully created. ## Step 3: Provision your device -After creation, you will land on the provisioning page. This is where we 'inform' the device about the Pybytes connection and how to set it up. The first time you set up the device for use with Pybytes, you will need to provision it using the Firmware Updater Tool. This is a good moment to become familiar with the tool. +After creation, you will land on the provisioning page. This is where we 'inform' the device about the Pybytes connection and how to set it up. The first time you set up the device for use with Pybytes, you will need to provision it using the Firmware Updater Tool. This is a good moment to become familiar with the tool [here](/updatefirmware/device/). + +1. Open the tool, select your board and select the bottom two checkboxes on this page + +![](/gitbook/assets/pybytes/add-device/pybytes-provisioning.png) + +1. This will ask for a `Pybytes activation token`. Generate a token from pybytes and paste it in the Firmware Updater tool. This will instantly generate a success message in Pybytes. + +1. Continue with the firmware update to the device. + +## Step 4: Your first signal + +1. Reset your Pycom device using the reset button. This will reboot the device and activate the Pybytes connection automatically. The output will look similar to this: + ``` + >>> ets Jun 8 2016 00:22:57 + + rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) + configsip: 0, SPIWP:0xee + clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 + mode:DIO, clock div:1 + load:0x3fff8020,len:8 + load:0x3fff8028,len:2140 + ho 0 tail 12 room 4 + load:0x4009fa00,len:19760 + entry 0x400a05bc + WMAC: {redacted} + Firmware: {latest version} + Pybytes: {latest version} + Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms + Error connecting using WIFI: Connection to AP Timeout! + ERROR! Could not connect to Pybytes! + Pybytes configuration read from /flash/pybytes_config.json + + ``` + + + + + +## Final remarks +If you wish to disable Pybytes, yo ucan use `pycom.pybytes_on_boot(False)` will permanently ## Step 1: Go to the registration page 1. Go to [https://pybytes.pycom.io](https://pybytes.pycom.io/?utm_source=docs&utm_medium=web&utm_campaign=pybytes-getting-started). diff --git a/static/gitbook/assets/pybytes/add-device/pybytes-provisioning.png b/static/gitbook/assets/pybytes/add-device/pybytes-provisioning.png new file mode 100644 index 0000000..cd7d836 Binary files /dev/null and b/static/gitbook/assets/pybytes/add-device/pybytes-provisioning.png differ