Connecting to a data platform
How pairing works
Every Pro2 must be paired with an LwM2M server before it sends data. Pairing uses a method called LwM2M bootstrapping. When the unit starts, it contacts the Sensorbee bootstrap server. It identifies itself and receives the access details for its data server. After that, it communicates with the data server over an encrypted connection (DTLS).
You pair a unit one time, in a web browser, with the pairing QR code on the side label. There are two ways:
| Sensorbee Cloud | Your own LwM2M server | |
|---|---|---|
| Sensorbee Cloud account | Required | Not required |
| Data server | Hosted by Sensorbee | Yours or your partner's, for example ThingsBoard, AVSystem or another LwM2M 1.1 platform |
| Unit visible in the Sensorbee Cloud | Yes | No |
| Device management, alerts and reports | In the Sensorbee Cloud | In your own platform |
| Firmware updates | Managed by Sensorbee | Over USB-C or from your own platform |
| Procedure | Pairing with the Sensorbee Cloud | Pairing with your own LwM2M server |
You can pair a unit again later, for example to change from one way to the other.
Pairing with the Sensorbee Cloud
- Scan the pairing QR code on the side label with a phone or computer. The browser opens the setup page:
https://console.sensorbee.com/setup/followed by the pairing code of the unit. - If you are not signed in, choose Use Sensorbee LwM2M and sign in to your Sensorbee Cloud account. If you are already signed in, you do not see this step.
- Enter the installation ID and a name for the unit. The pairing ID and the endpoint name are filled in from the QR code.
- Check the server details. They are filled in for the Sensorbee server. Normally you do not need to change them.
- Check the summary and select Submit. Messages confirm that the unit is registered.
- Switch the unit on, if it is not on already. When the unit has registered, the LED shows steady purple, then green for one second, and then goes off. The unit now appears on the Devices page and starts to send data.
The same steps with screenshots: Pairing with the Sensorbee Cloud.
Pairing with your own LwM2M server
Use this way if you operate your own LwM2M server, or if your partner told you to. You do not need a Sensorbee Cloud account.
- Scan the pairing QR code on the side label. The browser opens the setup page.
- Choose Use External. The form opens with the fields filled in from the QR code.
- Check or change the server details: server URL, security mode and pre-shared key. A list offers ready settings for common platforms, including ThingsBoard and AVSystem. Choose Others to enter a URL yourself.
- Check the summary carefully. With a wrong server URL or security mode, the unit completes the bootstrap but cannot register with your server.
- Select Submit. The unit is now registered with the bootstrap server. The registration is kept for one hour, or until you switch the unit on.
- Switch the unit on within that hour. Check the LED sequence in Switching on for the first time.
You cannot manage a unit from the Sensorbee Cloud when it is paired with your own server. You are responsible for the security, availability and data storage of your own server. Keep the pre-shared keys secret. Calibration factors, alerts and reports are functions of your platform.
The same steps with screenshots: Pairing with your own LwM2M server.
Pairing without the QR code
If you cannot scan the QR code, use the pairing ID that is printed next to it on the side label:
- ·Sensorbee Cloud. Sign in at
https://console.sensorbee.com. Open the Devices page and select Pair at the top right. Enter the pairing ID. - ·Your own server. On the sign-in page at
https://console.sensorbee.com, select the Bootstrap link and enter the details by hand.
If the side label is damaged or cannot be read, you find a copy of the pairing label inside the enclosure.
Mobile network and SIM
The unit communicates over LTE-M, and over NB-IoT where it is available. Licensed mobile operators provide both services. The operator decides about coverage, roaming and access to the network. The unit does not.
| Market | Technology | LTE bands | Network access |
|---|---|---|---|
| United States, Canada | LTE-M | 2, 4, 12, 13 | Operators can require PTCRB certification and their own device approval before they activate a device. PTCRB certification of the Pro2 was in progress when this revision was issued. Ask Sensorbee or your supplier on which operators the unit can be activated. |
| Australia, New Zealand | LTE-M | 3, 5, 28 | Operators have their own requirements for new devices. Check with the operator or the SIM provider. |
| European Union, United Kingdom | LTE-M, NB-IoT | 8, 20 | Normally no operator certification is required. |
- ·The unit comes with a nano-SIM that works with many operators worldwide. Check that this SIM may roam on the operator and technology at your installation site.
- ·You can install your own nano-SIM instead. Use ESD protection when you handle the SIM. If the SIM needs an access point name (APN), set it in the modem menu.
- ·Equipment approval (CE, FCC, ISED, RCM) allows the unit to be sold and used in a market. It does not automatically give the unit access to the network of a specific operator.
- ·A unit that cannot register on a network stores its data for about seven days. After that, data is lost.
Reporting interval
The reporting interval sets how often the unit measures and sends its readings. The factory setting is 5 minutes. A shorter interval shows faster changes. A longer interval saves mobile data and battery power. This is important for solar-powered units in winter and far from the equator. You change the interval over USB-C in the polling interval menu.
The MCERTS certificate applies to the 5-minute setting only. See Measurement data.
