Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); update screenshots for Pybytes Documentation by mathiaskurz · Pull Request #493 · pycom/pycom-documentation · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added.hugo_build.lock
Empty file.
9 changes: 3 additions & 6 deletions content/pybytes/connect/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,21 +14,18 @@ Go to the *Devices* page in Pybytes:

![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

1. Select your device (WiPy, LoPy, SiPy, etc.).
2. 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.
3. Select your network options. This will be how your device connects to both Pybytes and the internet. For now, choose WiFi.

![](/gitbook/assets/pybytes/add-device/network-step.png)

1. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.
4. Enter a unique name for your device and enter the WiFi credentials (SSID and password). You can save this WiFi, so that it will be remembered for later use when adding further devices.

![](/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.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## Next step
[Provision your device via USB](quick)
35 changes: 14 additions & 21 deletions content/pybytes/dashboard.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,40 +27,33 @@ In this section, we will explain how to create widgets for data visualisation an
time.sleep(10)
```

2. Press *Upload* button to upload the code into your device.
2. Press the *Upload* button to upload the code into your device.
Once the code has run, you should be able to see the signal in the `Signals` tab of your device

>Note that if you have a Pytrack or Pysense expansion board, you could also sent sensor data instead!
![](/gitbook/assets/pybytes/dashboard/signal-test.png)

>Note that if you have a Pytrack or Pysense expansion board, you could also send sensor data instead!

## Step 2: Add a signal from your device

1. Go to the [Pybytes device](https://pybytes.pycom.io/devices) page select your device.
## Step 2: Add a widget for the signal

2. Then go to `Signals` tab and click on *define new signal*
1. Go to the device dashboard and click `Add Widget`

![](/gitbook/assets/pybytes/add-device/define-signal.png)
![](/gitbook/assets/pybytes/dashboard/add-widget.png)

## Step 3: Add a widget for the signal
2. Choose a data representation widget, for example `Line chart`

1. Click on the *signal card* of the selected device.
![](/gitbook/assets/pybytes/dashboard/choose-linechart.png)

![](/gitbook/assets/pybytes/add-device/send-signal.png)
3. Select the `Pin` and `Chart type` and click `Add Widget`

2. Click on the *Create a new display* button.
![](/gitbook/assets/pybytes/dashboard/widget-settings.png)

![](/gitbook/assets/pybytes/dashboard/create-new-display.png)
4. A new widget has been added to your Dashboard

3. Select the type of visualisation (e.g. bar chart or line graph).
![](/gitbook/assets/pybytes/dashboard/widget-result.png)

4. You can adjust the parameters of your widget at `Settings`. After, click on the button `Create`.

![](/gitbook/assets/pybytes/dashboard/confirm-graph-creation.png)

Your widget was created. Now, add your widget to your device's dashboard. Click on the button `Edit` on your widget, and mark the checkbox `Display on Dashboard` at `Settings`. Finally, click on the button `Save`.

Click on the `Dashboard` tab. Your widget was successfully added there!

![](/gitbook/assets/pybytes/dashboard/sinwave-dashboard-widget.png)
>Click on the `Edit` button on your widget to change the settings

## Done!

Expand Down
21 changes: 10 additions & 11 deletions content/pybytes/gettingstarted.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,19 +20,19 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account
![](/gitbook/assets/pybytes/add-device/add-device-btn.png)

2. Select your device (WiPy, LoPy, SiPy, etc.).

![](/gitbook/assets/pybytes/add-device/select-device-type.png)

3. 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)

4. Enter a unique name for your device and hit save!
4. Choose a unique name for your device and hit `Next` !

![](/gitbook/assets/pybytes/add-device/customize-step.png)

5. At the end, Pybytes will show that your device profile was successfully created.

![](/gitbook/assets/pybytes/add-device/final-step.png)

## 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 [here](/updatefirmware/device/).
Expand DownExpand Up@@ -74,19 +74,18 @@ After creation, you will land on the provisioning page. This is where we 'inform

2. Click on `Online Firmware updater` at Provisioning tab on the device page.

![](/gitbook/assets/fwupdater-1.png)

3. Click `Next`.
![](/gitbook/assets/fwupdater-1.png)

![](/gitbook/assets/fwupdater-2.png)
3. Click on `Start provisionning`

4. Select correct port to which your device is connected. Choose region and
country. Select Firmware type and version.
4. Select the port to which your device is connected. Select your region and
country. Select the Firmware type and version.

![](/gitbook/assets/fwupdater-3.png)
![](/gitbook/assets/fwupdater-3.png)

5. Continue with the firmware update to the device.
5. Click next to start provisionning the device.

![](/gitbook/assets/pybytes/add-device/fw-updater/fwupdater-finish.png)

## Step 4: Your first signal

Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/integrations/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,4 +12,4 @@ Pybytes offers a way to interact with external IoT platform or custom services,
* [Google Cloud IoT](google): a complete set of tools to connect, process, store, and analyse data, both at the edge and in the cloud
* [Web Hooks](webhooks): this allows for user-defined HTTP callbacks to a defined remote destination. All elements of the requests (headers, query string parameters, etc) are customisable

![](/gitbook/assets/pybytes/integrations/select-new-integration.png))
![](/gitbook/assets/pybytes/integrations/select-new-integration.png)
8 changes: 1 addition & 7 deletions content/pybytes/pymakr-online/_index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,13 +30,7 @@ There are two ways in which you can use Pymakr online.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-device.png)

2. Start a new project on the [Pymakr](https://pybytes.pycom.io/pymakr) tab in Pybytes. There are several different types you can choose from, including a link to your Github repository! Later, we can link the project to a release.

![](/gitbook/assets/pybytes/pymakr-online/opening-pymakr-project.png)

## Using Pymakr Online

1. When you open Pymakr Online, you will see the following
2. When you open Pymakr Online, you will see the following

![](/gitbook/assets/pybytes/pymakr-online/initial.png)

Expand Down
8 changes: 4 additions & 4 deletions content/pybytes/releases/deploy.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@ In this section, we will explain how to deploy a release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. *Select* target release by clicking *the three dots point* and Click on *Deploy*.

![](/gitbook/assets/pybytes/releases/create-release-step-11.png)

2. You will get a list of all the devices within the application.
![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
* Select target devices
![](/gitbook/assets/pybytes/releases/create-release-step-13.png)
2. Select the target devices and click `Deploy`

![](/gitbook/assets/pybytes/releases/create-release-step-12.png)
8 changes: 8 additions & 0 deletions content/pybytes/releases/new.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,19 +11,24 @@ In this section, we will explain how to create a new release.
In Pybytes, go to *Applications* -> *My applications* -> *select target application* -> *Releases* Page:

1. Click on *Create Release*.

![](/gitbook/assets/pybytes/releases/create-release-step-1.png)

2. A list of pre-configured application configurations will be shown.

![](/gitbook/assets/pybytes/releases/create-release-step-2.png)

3. Select the target firmware, or omit this step.

![](/gitbook/assets/pybytes/releases/create-release-step-3.png)

4. If you want to include code changes in this release you can:
* Check _Upload the code_ **checkbox**.
* Browse your target code (should be a **zip** file)
* The **zip** file size is limited to **4MB**

![](/gitbook/assets/pybytes/releases/create-release-step-7.png)

* Download and extend example release zip archive **[my-release.zip](/gitbook/assets/pybytes/releases/my-release.zip)**
* Or create a zip file with the following structure:
```
Expand All@@ -38,10 +43,13 @@ In Pybytes, go to *Applications* -> *My applications* -> *select target applicat
```

5. *Write* a description for this release.

![](/gitbook/assets/pybytes/releases/create-release-step-8.png)

6. *Review* release details then *Click* Finish.

![](/gitbook/assets/pybytes/releases/create-release-step-9.png)

7. You can see a list of created releases under the **Releases** tab.

![](/gitbook/assets/pybytes/releases/create-release-step-10.png)
Binary file modifiedstatic/gitbook/assets/fwupdater-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/fwupdater-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/add-device-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/customize-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/network-step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/add-device/send-signal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedstatic/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/deploy.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/ml_page.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_config.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_created.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/model_definition.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/processing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/select_device.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/testing_results.png
Binary file modifiedstatic/gitbook/assets/pybytes/ml/training.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/initial.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/open-file.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymakr-online/upload.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/device_signal.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/project_ui.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_license.png
Binary file modifiedstatic/gitbook/assets/pybytes/pymesh/pymesh_summary.png
2 changes: 1 addition & 1 deletion themes/doc-theme/static/css/doc-theme.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -389,7 +389,7 @@ html {
scroll-padding-top: 70px; /* height of sticky header */
}

img[src*="/gitbook/assets/pybytes/lora/screenshots"], img[src*="/gitbook/assets/pybytes/pymesh"]{
img[src*="/gitbook/assets/pybytes/lora/screenshots"]{
margin-top: 20px;
margin-left: 15px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
Expand Down