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
0 commit comments