Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix M2 Gateway missing images #1928

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The MQTT integration exposes all events as documented by Event types.

The default event topic is:
```cpp
application/APPLICATION\_ID/device/DEV\_EUI/event/EVENT
application/APPLICATION_ID/device/DEV_EUI/event/EVENT
```

Check [Event Types](https://www.chirpstack.io/docs/chirpstack/integrations/events.html) for more details.
Expand Down Expand Up @@ -181,7 +181,7 @@ You can find the Application id on your application tab:
* To receive uplink messages from all devices under a certain gateway:

```cpp
gateway/<GATEWAY\_EUI>/device/+/event/up
gateway/<GATEWAY_EUI>/device/+/event/up
```

* To receive all messages from all devices under the application:
Expand Down Expand Up @@ -251,7 +251,8 @@ The HTTP integration exposes all events as documented by [Event Type](https://ww

**Example**:

(main.py)
<details>
<summary>main.py</summary>

```cpp
from http.server import HTTPServer, BaseHTTPRequestHandler
Expand Down Expand Up @@ -321,6 +322,7 @@ httpd = HTTPServer(('', 8090), Handler)
httpd.serve\_forever()
```

</details>

### Downlink

Expand All @@ -331,7 +333,7 @@ It’s recommended to mark the downlink as retained, Then the command will not b
:::


The default Topic is:`application/APPLICATION\_ID/device/DEV\_EUI/command/down`
The default Topic is:`application/APPLICATION_ID/device/DEV_EUI/command/down`

`command`: Please check the downlink command in **Device User Manual** for more details.

Expand All @@ -352,6 +354,7 @@ The default Topic is:`application/APPLICATION\_ID/device/DEV\_EUI/command/down
**Topic**:

`application/dbf6\*\*\*\*6c92/device/2CF7F1C2\*\*\*/command/down`

**Json:**

```cpp
Expand All @@ -368,7 +371,7 @@ The default Topic is:`application/APPLICATION\_ID/device/DEV\_EUI/command/down
}
```

1) Set the upload interval of the SenseCAP S210x LoRaWAN Sensors to 1min :
2) Set the upload interval of the SenseCAP S210x LoRaWAN Sensors to 1min :

**Topic**:

Expand All @@ -384,9 +387,8 @@ The default Topic is:`application/APPLICATION\_ID/device/DEV\_EUI/command/down

"fPort":2,

"data":"AIkAESIBAJBQ
"data":"AIkAESIBAJBQ"

"
}
```

Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,18 @@ Navigate to **LoRa** > **LoRa Network**
2. **Server**: Select LNS or CUPS
Check the previous step for more details about the servers.

3. **URL:**:
CUPS uses the URI: https://server-address:443

LNS uses the URI: wss://server-address:8887
3. **URL:**
CUPS uses the URI: https://server-address:443, LNS uses the URI: wss://server-address:8887

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/M2_Multi-Platform/url.png" alt="pir" width={600} height="auto" /></p>


4. **Authentication Mode:** TLS server authentication and Client token
The Things Stack supports TLS server authentication and client token. This requires a *.trust file and a *.key file. .
The Things Stack supports TLS server authentication and client token. This requires a *.trust* file and a *.key* file. .

5. **trust:** This is the [CA certificate](https://en.wikipedia.org/wiki/Certificate_authority) which secures your domain.
A .pem file containing common certificates is available in the [Root Certificates Reference](https://www.thethingsindustries.com/docs/reference/root-certificates/).
Copy the data content of the certificate file (the certificate can be opened in text form).
Download the **minimal certificate list**, then copy the data content of the certificate file (the certificate can be opened in text form).



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ keywords:
- SenseCAP Sensor_Probe&Accessories
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
last_update:
date: 2/14/2023
author: Matthew
date: 11/26/2023
author: Leo
---

# Connect to Helium Network
Expand Down Expand Up @@ -40,13 +40,13 @@ Set the corresponding frequency band based on the frequency band of the gateway.

(1) Click the “Setting” and select the platform is “**Helium**”.

![wecom-temp-114185-2959d45aab4ab735f22b5fbf68a22c91](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/008.jpeg) ![wecom-temp-88582-e758abc6d2f73925e20290cddfebc421](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/009.jpeg)
![wecom-temp-114185-2959d45aab4ab735f22b5fbf68a22c91](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/008.png) ![wecom-temp-88582-e758abc6d2f73925e20290cddfebc421](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/009.png)

(2) Select the Frequency Plan, if the gateway is US915, set the sensor to US915.

(3) Click the “Send” button, send the setting to the sensor for it to take effect.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/010.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0010.png)

(4) Click the “Home” button, the App will disconnect the Bluetooth connection.

Expand All @@ -60,37 +60,37 @@ Then, the sensor will reboot.
## Add New Device
(1) Click “Devices” –> “Add New Device”

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/011.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0011.png)

(2) Enter the Device EUI, App EUI, App Key: please refer to SenseCAP mate APP for details.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/012.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0012.png)

(3) Save device.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/013.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0013.png)

(4)Add a new label, then add the label to a device.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/014.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0014.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/015.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0015.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/016.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0016.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/017.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0017.png)




## Check the data on Helium
(1) Enter device details page and find the REAL TIME PACKETS.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/018.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0018.png)

(2) Power on the Sensor, it will display raw data.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/019.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0019.png)



Expand All @@ -99,75 +99,75 @@ Then, the sensor will reboot.
### Create a Datacake Account
(1) Create a new account, website: <https://datacake.co/>

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/020.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0020.png)

(2) Click the “Edit Profile” à “API” à Get API token.
(2) Click the “Edit Profile” -> “API” -> Get API token.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/021.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0021.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/022.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0022.png)

### Add New Integration on Helium Console
(1) Click “Integrations” à”Add New Integration” à”Datacake”.
(1) Click “Integrations” -> ”Add New Integration” -> ”Datacake”.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/023.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0023.png)

(2) Enter Datacake Token (Refer to [the section](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/#_Create_a_Datacake)) and name your integration.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/024.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0024.png)
### Configure the Flows on Helium
(1) Click “Flows”.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/025.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0025.png)

(2) Drag the Label into a blank place.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/026.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0026.png)

(3) Drag the Integration in to a blank place.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/027.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0027.png)

(4) Connect the two blocks.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/028.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0028.png)

(5) Save Changes.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/029.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0029.png)
### Add the Sensor on Datacake
(1) Return Datacake Dashboard, and click “Device”à”Add Device”
(1) Return Datacake Dashboard, and click “Device” -> ”Add Device”

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/030.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0030.png)

(2) Search “Seeed”, You can select some sensors directly.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/031.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0031.png)

(3) Select the Sensor Template.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/032.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0032.png)

(4) Select “Helium”.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/033.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0033.png)

(5) Enter your Device EUI and Name.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/034.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0034.png)

(6) Select your Plan and add device.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/035.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0035.png)


### Check Data from Datacake
Click Debug button, it will display debug log.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/036.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0036.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/037.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0037.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/038.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/Helium_Network/0038.png)


Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ keywords:
- SenseCAP Sensor_Probe&Accessories
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
last_update:
date: 2/14/2023
author: Matthew
date: 11/25/2024
author: Leo
---

# Connect to The Things Network

## 1. The Things Network
## The Things Network
The Things Stack is an enterprise grade LoRaWAN network server, built on an open-source core. The Things Stack allows you to build and manage LoRaWAN networks on your own hardware or in the cloud.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/003.png)
Expand Down Expand Up @@ -41,13 +41,15 @@ Set the corresponding frequency band based on the frequency band of the gateway.

(1) Click the “Setting” and select the platform is “The Things Network”.

![wecom-temp-81208-6d8da19d41a879a504ad54c71bf4961c](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/008.jpeg)
![wecom-temp-73569-56429bfa7490c37c5ec3c5b2fc8ba435](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/009.jpeg)
![wecom-temp-81208-6d8da19d41a879a504ad54c71bf4961c](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/008.png)

(2) Select the Frequency Plan, if your gateway is US915, set the sensor to US915.

![wecom-temp-73569-56429bfa7490c37c5ec3c5b2fc8ba435](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/009.png)

(3) The device uses OTAA to join the LoRaWAN network by default. So, we can set the device EUI, App EUI and APP Key here.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/010.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0010.png)

|**Parameter**|**Type**|
| - | - |
Expand All @@ -64,7 +66,7 @@ Set the corresponding frequency band based on the frequency band of the gateway.

(5) Click the “Send” button, send the setting to the sensor for it to take effect.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/011.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0011.png)

(6) Click the “Home” button, the App will disconnect the Bluetooth connection.

Expand All @@ -84,26 +86,26 @@ Then, the sensor will reboot.
### Gateway Registration on TTN
Create a Gateway on the TTN console based on actual information.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/012.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0012.png)
### Create the Application
Create an application on your TTN console. Within applications, you can register and manage end devices and their network data. After setting up your device fleet, use one of our many integration options to pass relevant data to your external services.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/013.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0013.png)



## Add Sensor to TTN Console
(1) Select the Application you have created, and click the ‘Register end device’ to add end your device.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/014.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0014.png)

(2) Select the end device in the LoRaWAN Device Repository.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/015.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0015.png)

And then based on the brand, configure items like the ones below.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/016.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0016.png)

- End device brand: Select SenseCAP.
- Model: Select your sensor model. (If not, use manual add)
Expand All @@ -125,32 +127,34 @@ For Helium network, please refer to:

*https://docs.helium.com/lorawan-on-helium/frequency-plans*

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/017.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0017.png)

(3) Configure ‘Provisioning information’.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/018.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0018.png)

- JoinEUI: which means the **APP EUI**, you can get it from SenseCAP Mate App.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/019.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0019.png)

- Device EUI/ App Key: Get it from the configuration page via SenseCAP Mate App. Like the below picture.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/020.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0020.png)

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/021.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0021.png)


(4) Register end device.

After you finish the above items, Click the “Register end device” to save your modification.

**\*Note:** If joining the network successfully, LED will **flashes fast for 2s**.
:::tip note
If joining the network successfully, LED will **flashes fast for 2s**.
:::

## Check Data on TTN Console
On the Data page, data package is uploading. For the format of the payload, refer to the section of Payload Decoding.

![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/022.png)
![](https://files.seeedstudio.com/wiki/SenseCAPS210X/TTN_Network/0022.png)


Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Once all the connections are done for the Ultrasonic Level Sensor and the Data L
<div align="center"><img width={500} src="https://files.seeedstudio.com/products/101991101/image9.png"/></div>


### 4. Configure Settings for Data Logger and RS485 750cm Ultrasonic Level Sensor Communication
### 4. Configure Settings for Data Logger and RS485 Air Temperature, Humidity and Barometric Pressure Sensor Communication

- **Step 1:** Select **S2100 Data Logger** and Click **Setup** on the config page.

Expand Down