Skip to content
Merged
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
14 changes: 12 additions & 2 deletions content/pybytes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ With Pybytes you have control over your device's data stream and more:

In a nutshell, Pybytes is an environment designed to optimise your IoT applications when using Pycom boards.

{{<youtube p14NOueBzL4>}}

## What does Pybytes offer you?

* Data Visualisation: The Pybytes dashboard is customisable, allowing you to freely set up key performance indicators and time series data from all your sensors.
Expand All @@ -26,9 +28,9 @@ In a nutshell, Pybytes is an environment designed to optimise your IoT applicati
* Firmware updates over the air: Upgrade or downgrade firmware versions with our exclusive firmware update.
* Track your assets position: Google Maps API means you can track your device's geolocation.

> Note: If the [Pybytes website](https://pybytes.pycom.io/) seems to be down for you, do not worry!
> Note: If the [Pybytes website](https://pybytes.pycom.io/) seems to be down for you, do not worry!
> * In Chrome, open developer settings using F12, click on the `Application` tab and `Service workers` next to the gear icon. Then, open the menu `service workers from other origins` and click `unregister`. That should solve the problem!

## Let's get started!


Expand All @@ -37,3 +39,11 @@ In a nutshell, Pybytes is an environment designed to optimise your IoT applicati
* [Visualise data from your device](/pybytes/dashboard/)
* [LoRa Servers](/pybytes/lora/)
* [Integrations with external services](/pybytes/integrations/)

## Pybytes unboxing

{{<youtube iGV11MhjuZ0>}}

## Pybytes device management platform

{{<youtube 0H77_yUF8iM>}}
20 changes: 20 additions & 0 deletions content/pybytes/mlintegration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,23 @@ The Machine Learning integration is here to help you to create smart machine lea
* [Machine Learning Model Creation](/pybytes/mlintegration/modelcreation)

* [Machine Learning Features](/pybytes/mlintegration/features)

## Model creation

{{<youtube FAOPVWzaEcU>}}

## Data acquisition

{{<youtube yf5B1NARQRo>}}

## Processing data

{{<youtube 20JxZKt4aJU>}}

## Training neural network

{{<youtube KeOzpsahrb8>}}

## Testing and deployment on board

{{<youtube BflPsHO67sU>}}
2 changes: 2 additions & 0 deletions content/pybytes/networks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ Pybytes supports four network types, which you can configure for each device or
[**Sigfox**](/pybytes/networks/sigfox)

[**LoRa**](/pybytes/networks/lora)

{{<youtube YfQW9rAc42U>}}
29 changes: 17 additions & 12 deletions content/pybytes/pymakr-online/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ aliases:
- pymakr-online/introduction
---

On this page, we discuss the functionality of Pymakr Online.
On this page, we discuss the functionality of Pymakr Online.

## What is Pymakr Online?

Expand All @@ -17,14 +17,20 @@ Pymakr Online is an online IDE for your MicroPython projects. We brought our Pym
* Import from multiple sources (blank/device/project/Github repository), export to a zip file/device/project
* Device activity indicator: track what's going between Pymakr Online and your device.

{{<youtube qydlJKRDzFs>}}

## Pymakr Git Demo

{{<youtube -yIdZmY6N3g>}}

## Let's get started!

There are two ways in which you can use Pymakr online.
There are two ways in which you can use Pymakr online.
1. Go to [your device](https://pybytes.pycom.io/devices) and select the `Pymakr Online` tab. This method allows you to make quick changes to the Python code on your device and upload it. This is the method we use below.

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

Expand All @@ -36,10 +42,10 @@ There are two ways in which you can use Pymakr online.


* On the left we see the files. Depending on where you started, the online environment will first load with the files you last used. If the device is online, it will automatically try to `Refresh Hierarcy` and synchronise the content. You can click the `Refresh Hierarcy` icon next to your device name to manually update the online filestructure. The online editor will automatically try to connect.
* In the top right, the connection status is displayed. Every so often, you will see a ping being sent out to the device to check if it is still connected. If you started pymakr from a project, you will also see the `Save/Export` button here as well.
* And finally, on the bottom, the REPL is displayed, this works exactly the same as the REPL you are used to in VSCode or Atom. Everything you type in there will be duplicated to the REPL over USB.
* In the top right, the connection status is displayed. Every so often, you will see a ping being sent out to the device to check if it is still connected. If you started pymakr from a project, you will also see the `Save/Export` button here as well.
* And finally, on the bottom, the REPL is displayed, this works exactly the same as the REPL you are used to in VSCode or Atom. Everything you type in there will be duplicated to the REPL over USB.

2. Open the `main.py` file, or, when not available, create one by right clicking on the device name to `Create File`. Here, we can write our own python code in the main editor. You can use the example we added below to try it out.
2. Open the `main.py` file, or, when not available, create one by right clicking on the device name to `Create File`. Here, we can write our own python code in the main editor. You can use the example we added below to try it out.

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

Expand All @@ -61,15 +67,15 @@ There are two ways in which you can use Pymakr online.

>Note that if you make a syntax error, the device will come back online but not throw any error in the REPL.

## Creating a Project
## Creating a Project

1. Now that you know how to use the Pymakr Online environment, we can create a project (if you have not already). If you just followed the example above, go to the [Pymakr](https://pybytes.pycom.io/pymakr#) tab and click on `Import from Existing Device`.
1. Now that you know how to use the Pymakr Online environment, we can create a project (if you have not already). If you just followed the example above, go to the [Pymakr](https://pybytes.pycom.io/pymakr#) tab and click on `Import from Existing Device`.

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

2. Select your device and either `Retrieve from Cloud` or `Request from device`, depending on where the latest version of your code is. This will load the hierarchy and bring up the Pymakr Online interface.
2. Select your device and either `Retrieve from Cloud` or `Request from device`, depending on where the latest version of your code is. This will load the hierarchy and bring up the Pymakr Online interface.

3. Make your changes and then click the `Save/Export` button, this offers three options. This time, we use `Include in Release`. It will ask us to create a new project, or add to an already existing project.
3. Make your changes and then click the `Save/Export` button, this offers three options. This time, we use `Include in Release`. It will ask us to create a new project, or add to an already existing project.

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

Expand All @@ -78,11 +84,10 @@ There are two ways in which you can use Pymakr online.

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

5. Here, it asks for the networks we want to use. For now, lets select WiFi.
5. Here, it asks for the networks we want to use. For now, lets select WiFi.

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

6. In the next screen, it asks for the WiFi network you want to use, select the one that is most convenient for you.

7. Now that we have successfully create a project. Using projects, you can add unlimited devices and keep them all up-to-date Over The Air (OTA) with new Pybytes configuration files, Python code or update the firmware.

2 changes: 2 additions & 0 deletions content/pybytes/pymeshIntegration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This documentation is a quick introduction to the new Pymesh integration feature

The Pymesh integration is here to help Pymesh firmware deployment and to monitor Pymesh node's health.

{{< youtube 4dgxvkZbF_4>}}

## Let's get started!

* [Pymesh Provisioning](/pybytes/pymeshintegration/provisioning)
Expand Down
2 changes: 2 additions & 0 deletions content/pybytes/releases/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ aliases:
### What is the release?
Each **Pybytes** project contains list of devices. You can update the devices **code**, **network configurations** and/or **firmware version** using a **release** version.

{{<youtube JSNTZDHKm5M>}}

### What is included in the release?
Each **Release** can contains one or more of the following:

Expand Down
8 changes: 8 additions & 0 deletions content/pymesh/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ aliases:
---
![](/gitbook/assets/pymesh/pymesh_roles.png)

## Pymesh on Pybytes

{{< youtube 4dgxvkZbF_4>}}

## Pymesh presentation at TTN Conference

{{< youtube Ab_WFE93BQI>}}

## What is Pymesh?

Pymesh is the LoRa full-mesh network technology.
Expand Down