You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _includes/docs/api.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Server-side API is available as REST API:
30
30
Software development kits:
31
31
32
32
*[**Python Client SDK**](/docs/{{docsPrefix}}reference/python-client-sdk) - Software development kit for client-side integration of your Python projects.
33
-
*[**MicroPython Client SDK**](/docs/reference/micropython-client-sdk) - Software development kit for client-side integration of your MicroPython projects.
34
-
*[**CircuitPython Client SDK**](/docs/reference/circuitpython-client-sdk) - Software development kit for client-side integration of your CircuitPython projects.
33
+
*[**MicroPython Client SDK**](/docs/{{docsPrefix}}reference/micropython-client-sdk) - Software development kit for client-side integration of your MicroPython projects.
34
+
*[**CircuitPython Client SDK**](/docs/{{docsPrefix}}reference/circuitpython-client-sdk) - Software development kit for client-side integration of your CircuitPython projects.
@@ -149,27 +150,30 @@ The following example connects to the ThingsBoard local instance and waits for R
149
150
When RPC request is received, the client will send the response to ThingsBoard with data from machine with client for device with the name **Test Device A1**.
150
151
151
152
```python
152
-
from psutil importcpu_percent, virtual_memory
153
-
from time import sleep
153
+
importtime
154
+
154
155
from tb_device_mqtt import TBDeviceMqttClient
155
156
157
+
try:
158
+
import psutil
159
+
exceptImportError:
160
+
print("Please install psutil using 'pip install psutil' command")
161
+
exit(1)
156
162
157
163
# dependently of request method we send different data back
Copy file name to clipboardExpand all lines: _includes/docs/samples/analytics/n8n-node.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,11 +76,11 @@ Before you begin, ensure you have the following:
76
76
{% if docsPrefix == "paas/eu/" %}
77
77
-**EU ThingsBoard Cloud**: Fully managed cloud service available at [eu.thingsboard.cloud](https://eu.thingsboard.cloud/signup){: target="_blank"}
78
78
{% endif %}
79
-
-**Authentication credentials**: Valid username and password with appropriate permissions on the ThingsBoard instance
79
+
-**Authentication credentials**: API key or username and password (deprecated) with appropriate permissions on the ThingsBoard instance. See [API Keys](/docs/{{docsPrefix}}user-guide/security/api-keys/){: target="_blank"} for details on generating API keys.
80
80
-**n8n instance**:
81
81
-**Local n8n installation**: Self-hosted n8n on your infrastructure, or
82
82
-**Docker-based n8n deployment**: n8n running in Docker containers
83
-
-**Cloud n8n**: The ThingsBoard node requires official verification to be listed in the n8n Cloud catalog.
83
+
-**Cloud n8n**: The ThingsBoard node is verified and available on [n8n Cloud](https://n8n.io/){: target="_blank"} — no manual installation required.
Connect n8n to your ThingsBoard instance. There are two authentication options:
140
+
141
+
#### Option A: API Key
140
142
141
143
1. Click **+** (top-left) → **Credentials**
142
-
2. Search for **ThingsBoard API** → **Continue**
143
-
3. Fill in your ThingsBoard details:
144
+
2. Search for **ThingsBoard API Key** → **Continue**
145
+
3. Fill in the required fields:
144
146
-**Base URL**: Your instance URL (e.g., {% if docsPrefix == "paas/eu/" %}`https://eu.thingsboard.cloud`{% else %}`https://thingsboard.cloud`{% endif %})
147
+
-**Connect using**: API Key
148
+
-**API Key**: Generated from your ThingsBoard instance. See [API Keys](/docs/{{docsPrefix}}user-guide/security/api-keys/){: target="_blank"} for details.
149
+
4. Click **Save**
150
+
151
+
#### Option B: Username/Password (Deprecated)
152
+
153
+
1. Click **+** (top-left) → **Credentials**
154
+
2. Search for **ThingsBoard Username/Password** → **Continue**
155
+
3. Fill in the required fields:
156
+
-**Base URL**: Your instance URL (e.g., {% if docsPrefix == "paas/eu/" %}`https://eu.thingsboard.cloud`{% else %}`https://thingsboard.cloud`{% endif %})
157
+
-**Connect using**: Username/Password
145
158
-**Username**: Your email
146
159
-**Password**: Your password
147
160
4. Click **Save**
148
161
149
-
These credentials work across all ThingsBoard nodes in your workflows.
150
-
162
+
The credentials are encrypted and stored securely by n8n. You can reuse the same credentials across multiple ThingsBoard nodes in different workflows.
151
163
152
164
{% assign n8nGuiInstallation = '
153
165
===
@@ -158,10 +170,10 @@ These credentials work across all ThingsBoard nodes in your workflows.
158
170
title: Search and select **ThingsBoard API** to connect to and click **Continue**.
title: Fill in the required fields:<br>- **Base URL** — your ThingsBoard instance URL (without a trailing slash)<br>- **Username** — your ThingsBoard account username<br>- **Password** — your ThingsBoard account password.<br>Click **Save** to store the credentials.
173
+
title: Fill in the **Base URL** — your ThingsBoard instance URL (without a trailing slash), and the **API Key** — generated from your ThingsBoard instance. Click **Save** to store the credentials.
title: The credentials are encrypted and stored securely by n8n. You can reuse the same credentials across multiple ThingsBoard nodes in different workflows.
176
+
title: The credentials are saved and the connection is tested successfully. You can reuse the same credentials across multiple ThingsBoard nodes in different workflows.
0 commit comments