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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ static/.DS_Store
static/gitbook/.DS_Store
static/gitbook/assets/.DS_Store
static/gitbook/assets/pybytes/.DS_Store
scripts/githubToken.json
29 changes: 11 additions & 18 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1187,38 +1187,31 @@ theme = "doc-theme"
weight = 20

[[menu.main]]
name = "Connect to Pybytes: Quick Add"
name = "Provisioning via USB"
url = "/pybytes/connect/quick/"
identifier = "pybytes@connect@quick"
parent = "pybytes@connect"
weight = 10

[[menu.main]]
name = "Connect to Pybytes: Flash Pybytes library manually"
url = "/pybytes/connect/flash/"
identifier = "pybytes@connect@flash"
parent = "pybytes@connect"
weight = 20

[[menu.main]]
name = "Add Sigfox device"
url = "/pybytes/connect/sigfox/"
identifier = "pybytes@connect@sigfox"
parent = "pybytes@connect"
name = "Sigfox"
url = "/pybytes/sigfox/"
identifier = "pybytes@sigfox"
parent = "pybytes"
weight = 30

[[menu.main]]
name = "DevKit contract"
url = "/pybytes/connect/sigfox/devkit/"
identifier = "pybytes@connect@sigfox@devkit"
parent = "pybytes@connect@sigfox"
url = "/pybytes/sigfox/devkit/"
identifier = "pybytes@sigfox@devkit"
parent = "pybytes@sigfox"
weight = 10

[[menu.main]]
name = "Custom contract"
url = "/pybytes/connect/sigfox/custom/"
identifier = "pybytes@connect@sigfox@custom"
parent = "pybytes@connect@sigfox"
url = "/pybytes/sigfox/custom/"
identifier = "pybytes@sigfox@custom"
parent = "pybytes@sigfox"
weight = 20

[[menu.main]]
Expand Down
2 changes: 1 addition & 1 deletion content/pybytes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ aliases:
- pybytes/introduction
---

[![pybytes](/gitbook/assets/pybytes/introduction/pybytes_logo.png)](https://pybytes.pycom.io/?utm_source=docs&utm_medium=web&utm_campaign=pybytes-introduction)
![pybytes](/gitbook/assets/pybytes/introduction/pybytes_logo.png)

## What is Pybytes?

Expand Down
9 changes: 2 additions & 7 deletions content/pybytes/connect/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,5 @@ Go to the *Devices* page in Pybytes:
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)

## Step 2: Configure your device

There are two options for connecting your device to Pybytes:

1. **Recommended:** [Connect your device quickly with the help of the Firmware Updater](quick)

1. [Connect your device by flashing Pybytes Library](flash) (only if you want to customize Pybytes library code).
## Next step
[Provision your device via USB](quick)
49 changes: 0 additions & 49 deletions content/pybytes/connect/flash.md

This file was deleted.

2 changes: 1 addition & 1 deletion content/pybytes/connect/quick.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Connect the device to Pybytes"
title: "Provisioning via USB"
aliases:
- pybytes/connect/quick.html
- pybytes/connect/quick.md
Expand Down
43 changes: 0 additions & 43 deletions content/pybytes/connect/sigfox/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions content/pybytes/integrations/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,26 @@ Once you have you account setup and are logged in Sigfox backend, you need to cr

Click on GROUP → <your\_company\_name> → API ACCESS → New

![](/gitbook/assets/apiaccess%20%281%29.png)
![](/gitbook/assets/pybytes/sigfox/apiaccess.png)

In the form chose arbitrary _name_, select `LIMITED_ADMIN` and Profile and click on Ok.

![](/gitbook/assets/apiaccessscope.png)
![](/gitbook/assets/pybytes/sigfox/apiaccessscope.png)

Copy _Login_ and _Password_ to the clipboard.

![](/gitbook/assets/apiaccesskeys.png)
![](/gitbook/assets/pybytes/sigfox/apiaccesskeys.png)

In Pybytes go to Settings → Sigfox API or [follow this link](https://pybytes.pycom.io/settings/sigfox-credentials) then paste in the form.

![](/gitbook/assets/pybytessigfoxcredentials.png)
![](/gitbook/assets/pybytes/sigfox/pybytessigfoxcredentials.png)

## Sigfox contract types

### Sigfox DevKit contracts

Read more how to use Sigfox with [devKit contract](devkit).

{{% refname "devkit.md" %}}

### Sigfox custom contracts

Read more how to use Sigfox with [Custom contract](devkit).

{{% refname "custom.md" %}}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Go to: Settings (in sidebar) → Sigfox API → Settings

and select Sigfox device type which is associated with Sigfox custom contract.

![](/gitbook/assets/selectdevicetypecustomcontract.png)
![](/gitbook/assets/pybytes/sigfox/selectdevicetypecustomcontract.png)

### Add your Sigfox device to Pybytes

Expand All @@ -30,12 +30,12 @@ and select Sigfox device type which is associated with Sigfox custom contract.
2. Paste your device token to firmware updater

{{% hint style="info" %}}
Detailed steps which are same for all devices are [**described here**](../../quick).
Detailed steps which are same for all devices are [**described here**](/pybytes/connect/quick).
{{% /hint %}}

After your device was flashed with Pybytes firmware in automatically start adding itself to Sigfox backend.

![](/gitbook/assets/sigfoxcustomcontractstatus%20%281%29.png)
<img src="/gitbook/assets/pybytes/sigfox/sigfoxcustomcontractstatus.png" alt="sigfox settings in Pybytes" width="45%">

## Troubleshooting

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ But every device you want to add to Pybytes you need register on Sigfox backend.

After you add your Sigfox credentials to Pybytes you can see DevKit contract type is selected as default (on page Settings → Sigfox API).

![](/gitbook/assets/pybytesdevkit%20%281%29.png)
<img src="/gitbook/assets/pybytes/sigfox/pybytesdevkit.png" alt="sigfox settings in Pybytes" width="55%">

## Add your device to Pybytes

Expand All @@ -22,7 +22,7 @@ After you add your Sigfox credentials to Pybytes you can see DevKit contract typ
2. Paste your device token to firmware updater

{{% hint style="info" %}}
Detailed steps which are same for all devices are [**described here**](../../quick).
Detailed steps which are same for all devices are [**described here**](/pybytes/connect/quick).
{{% /hint %}}

## Check sigfox status
Expand All @@ -33,7 +33,7 @@ Now you should see sigfox status component.

Click on _Check Sigfox status_ button

![](/gitbook/assets/devkitcheck.png)
![](/gitbook/assets/pybytes/sigfox/devkitcheck.png)

You should see two green lights.

Expand Down
1 change: 1 addition & 0 deletions scripts/githubToken.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "githubToken": "paste_your_github_access_token_here" }
Loading