Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

Commit 42fa432

Browse files
committed
Release Script
1 parent d1feced commit 42fa432

24 files changed

Lines changed: 161 additions & 161 deletions

_includes/templates/iot-gateway/get-set-connector-rpc/mqtt.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ get requestTopicExpression=data/get_light_level;responseTopicExpression=data/res
2424
Also, let's take a look at the data received from the MQTT topic **"data/response"**:
2525

2626
{:refdef: style="text-align: left;"}
27-
![image](/images/gateway/get-set-connector-rpc/mqtt-get-set-rpc-1.png)
27+
![image](https://img.thingsboard.io/gateway/get-set-connector-rpc/mqtt-get-set-rpc-1.png)
2828
{: refdef}
2929

3030

@@ -52,7 +52,7 @@ set requestTopicExpression=data/set_light_level;value=80;
5252
On the screenshot below, you can see that we have successfully sent the SET request to the MQTT topic **"data/set_light_level"**:
5353

5454
{:refdef: style="text-align: left;"}
55-
![image](/images/gateway/get-set-connector-rpc/mqtt-get-set-rpc-2.png)
55+
![image](https://img.thingsboard.io/gateway/get-set-connector-rpc/mqtt-get-set-rpc-2.png)
5656
{: refdef}
5757

5858
Also, let's take a look at the result after SET method in the **"data/light_level"** MQTT topic by sending Two way GET RPC request.
@@ -66,5 +66,5 @@ get requestTopicExpression=data/get_light_level;responseTopicExpression=data/res
6666
On the screenshot below, you can see that the room light level value is updated to 80 after the SET request:
6767

6868
{:refdef: style="text-align: left;"}
69-
![image](/images/gateway/get-set-connector-rpc/mqtt-get-set-rpc-3.png)
69+
![image](https://img.thingsboard.io/gateway/get-set-connector-rpc/mqtt-get-set-rpc-3.png)
7070
{: refdef}

_includes/templates/iot-gateway/mqtt-connector/attribute-request-subsection-basic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ In order to add new attribute request mapping, follow these steps:
22

33
{% assign AttributesRequest = '
44
===
5-
image: /images/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
5+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
66
title: Click the "**Add mapping**" under "**Requests mapping**" section to add new attribute request mapping.
77
===
8-
image: /images/gateway/mqtt-connector/mqtt-attribute-requests-1.png,
8+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-attribute-requests-1.png,
99
title: Select "**Attribute request**" in the **Request type** field, enter the "**Topic filter**"
1010
===
11-
image: /images/gateway/mqtt-connector/mqtt-attribute-requests-2.png,
11+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-attribute-requests-2.png,
1212
title: Configure the **Device name expression**, **Response topic expression**, and **Attribute name expression** fields.
1313
Select the source type for each field (`Message`, `Topic`, or `Constant`) and enter the corresponding values.
1414
You can also set the **Retain** option to determine whether the attribute response message should be retained by the MQTT broker.

_includes/templates/iot-gateway/mqtt-connector/attribute-updates-subsection-basic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ In order to add new attribute update mapping, follow these steps:
22

33
{% assign AttributesUpdate = '
44
===
5-
image: /images/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
5+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
66
title: Click the "**Add mapping**" under "**Requests mapping**" section to add new attribute request mapping.
77
===
8-
image: /images/gateway/mqtt-connector/mqtt-attribute-updates-1.png,
8+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-attribute-updates-1.png,
99
title: Select "**Attribute update**" in the **Request type** field, enter the "**Device name filter**"
1010
===
11-
image: /images/gateway/mqtt-connector/mqtt-attribute-updates-2.png,
11+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-attribute-updates-2.png,
1212
title: Configure the **Attribute filter**, **Response value expression**, and **Response topic expression** fields.
1313
You can also set the **Retain** option to determine whether the attribute response message should be retained by the MQTT broker.
1414
'

_includes/templates/iot-gateway/mqtt-connector/device-connect-request-basic-section.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ In order to add new connect request mapping, follow these steps:
22

33
{% assign ConnectRequest = '
44
===
5-
image: /images/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
5+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
66
title: Click the “**Add mapping**” under “**Requests mapping**” section to add new connect request mapping.
77
===
8-
image: /images/gateway/mqtt-connector/mqtt-gateway-configuring-12-ce.png,
8+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-configuring-12-ce.png,
99
title: Select "**Connect request**" in the **Request type** field, enter the "**Topic filter**", and select source
1010
type for **Name** and **Profile name** fields (`Message`, `Constant`, or `Topic`). Enter the corresponding
1111
value which can be [json path](/docs/iot-gateway/config/mqtt/#json-path), [regex](/docs/iot-gateway/config/mqtt/#regular-expressions), or constant value based on the selected source type.

_includes/templates/iot-gateway/mqtt-connector/device-rpc-basic-section.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ In order to add a new RPC method, follow these steps:
22

33
{% assign creatingRPC = '
44
===
5-
image: /images/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
5+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
66
title: Click the "**Add mapping**" under "**Requests mapping**" section to add new server side rpc command.
77
===
8-
image: /images/gateway/mqtt-connector/mqtt-rpc-overview-1.png,
8+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-rpc-overview-1.png,
99
title: Choose the "**Request type**": `With response` or `Without response`.
1010
===
11-
image: /images/gateway/mqtt-connector/mqtt-rpc-overview-3.png,
11+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-rpc-overview-3.png,
1212
title: Fill in the required fields - "**Device name filter**", "**Method filter**", "**Request topic expression**", and "**Value expression**".
1313
===
14-
image: /images/gateway/mqtt-connector/mqtt-rpc-overview-2.png,
14+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-rpc-overview-2.png,
1515
title: For two-way RPC, also configure "**Response topic expression**", "**Response topic QoS**", and "**Response timeout**". Click "**Add**" when done.
1616
'
1717
%}

_includes/templates/iot-gateway/mqtt-connector/disconnect-request-subsection-basic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ In order to add new disconnect request mapping, follow these steps:
22

33
{% assign DisconnectRequest = '
44
===
5-
image: /images/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
5+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-configuring-11-ce.png,
66
title: Click the "**Add mapping**" under "**Requests mapping**" section to add new disconnect request mapping.
77
===
8-
image: /images/gateway/mqtt-connector/mqtt-gateway-disconnect-configuring-12-ce.png,
8+
image: https://img.thingsboard.io/gateway/mqtt-connector/mqtt-gateway-disconnect-configuring-12-ce.png,
99
title: Select "**Disconnect request**" in the **Request type** field, enter the "**Topic filter**", and select source
1010
type for **Name** field (`Message`, `Topic`, or `Constant`). Enter the corresponding
1111
value which can be [json path](/docs/iot-gateway/config/mqtt/#json-path), [regex](/docs/iot-gateway/config/mqtt/#regular-expressions), or constant value based on the selected source type.

_includes/templates/iot-gateway/mqtt-connector/examples/request-mapping/attribute-request.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@ Follow these steps:
2424

2525
{% assign deviceNameAttributeJson = '
2626
===
27-
image: /images/gateway/mqtt-connector/examples/device-name-and-profile-message-json-1.png,
27+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/device-name-and-profile-message-json-1.png,
2828
title: Go to "**Entities**" - "**Gateways**" on the left sidebar and select your gateway.
2929
===
30-
image: /images/gateway/mqtt-connector/examples/disconnect-request-gateway.png,
30+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/disconnect-request-gateway.png,
3131
title: Click on the "**Connectors configuration**" button on the right side menu.
3232
===
33-
image: /images/gateway/mqtt-connector/examples/mqtt-gateway-configuring-11-ce.png,
33+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/mqtt-gateway-configuring-11-ce.png,
3434
title: Select the MQTT connector, click on the "**Basic**". Click the "**Add mapping**" under "**Requests mapping**" section to add new attribute request mapping.
3535
===
36-
image: /images/gateway/mqtt-connector/examples/attribute-request-1.png,
36+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-request-1.png,
3737
title: Select "**Attribute request**" in the **Request type** field, enter the "**Topic filter**" as `v1/devices/me/attributes/request`.
3838
===
39-
image: /images/gateway/mqtt-connector/examples/attribute-request-2.png,
39+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-request-2.png,
4040
title: Configure the device name and attribute settings. For device name expression, select source type as `Message` and enter `${serialNumber}` as the value. For attribute name expression, select source type as `Message` and enter `${versionAttribute}, ${pduAttribute}` as the value.
4141
===
42-
image: /images/gateway/mqtt-connector/examples/attribute-request-3.png,
42+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-request-3.png,
4343
title: Configure the response topic as `devices/${deviceName}/attrs` and the response value expression as `${attributeKey}: ${attributeValue}`.
4444
===
45-
image: /images/gateway/mqtt-connector/examples/attribute-request-4.png,
45+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-request-4.png,
4646
title: Remember to save your changes by clicking the designated button.
4747
'
4848
%}
@@ -62,7 +62,7 @@ Let's add this attribute to the device `SN-001` in ThingsBoard first:
6262

6363
2. Then click on the "**+**" icon and add `firmwareVersion` attribute with type "**String**" and set it to `1.2.3` click the "**Add**" button.
6464

65-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-attribute-requests-1.png)
65+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-requests-1.png)
6666

6767
This message contains the device name in the JSON payload, which is extracted using the `${serialNumber}` JSON path, and the attribute name using the `${attributeNames}` JSON path. After processing this message, ThingsBoard will retrieve the "firmwareVersion" attribute for device "SN-001" and publish it to the response topic.
6868

@@ -84,13 +84,13 @@ mosquitto_pub -h 127.0.0.1 -p 1884 -t v1/devices/me/attributes/request -m '{"ser
8484
This message contains the device name in the JSON payload, which is extracted using the `${serialNumber}` JSON path,
8585
and the attribute name using the `${attributeNames}` JSON path. After processing this message, ThingsBoard will retrieve the `firmwareVersion` attribute for device `SN-001` and publish it to the response topic.)
8686

87-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-attribute-requests-2.png)
87+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-requests-2.png)
8888

8989
```bash
9090
firmwareVersion: "1.2.3"
9191
```
9292

93-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-attribute-requests-3.png)
93+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-requests-3.png)
9494

9595

9696

_includes/templates/iot-gateway/mqtt-connector/examples/request-mapping/attribute-update.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ Follow these steps:
2020

2121
{% assign AttributesUpdate = '
2222
===
23-
image: /images/gateway/mqtt-connector/examples/device-name-and-profile-message-json-1.png,
23+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/device-name-and-profile-message-json-1.png,
2424
title: Go to "**Entities**" - "**Gateways**" in the left sidebar and select your gateway.
2525
===
26-
image: /images/gateway/mqtt-connector/examples/disconnect-request-gateway.png,
26+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/disconnect-request-gateway.png,
2727
title: Click on the "**Connectors configuration**" button on the right side menu.
2828
===
29-
image: /images/gateway/mqtt-connector/examples/mqtt-gateway-configuring-11-ce.png,
29+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/mqtt-gateway-configuring-11-ce.png,
3030
title: Select the MQTT connector, click on the "**Basic**". Click the "**Add mapping**" under "**Requests mapping**" section to add new attribute update mapping.
3131
===
32-
image: /images/gateway/mqtt-connector/examples/attribute-updates-1.png,
32+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-updates-1.png,
3333
title: Select "**Attribute update**" in the **Request type** field, enter the "**Device name filter**" as `.*` to match all devices, or use a specific pattern to match only certain devices).
3434
===
35-
image: /images/gateway/mqtt-connector/examples/attribute-updates-2.png,
35+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-updates-2.png,
3636
title: Configure the **Attribute filter** as `firmwareVersion` to only update this specific attribute. Set the **Response topic expression** to `sensor/${deviceName}/${attributeKey}` and the **Response value expression** to `{"${attributeKey}":"${attributeValue}"}`. You can also set the **Retain** option to determine whether the attribute update message should be retained by the MQTT broker.
3737
===
38-
image: /images/gateway/mqtt-connector/examples/attribute-updates-3.png,
38+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/attribute-updates-3.png,
3939
title: Remember to save your changes by clicking the designated button.
4040
===
41-
image: /images/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-1.png,
41+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-1.png,
4242
title: Go to "**Devices**" - select device `SN-001` - "**Attributes**" tab - select "**Shared attributes**"
4343
===
44-
image: /images/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-2.png,
44+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-2.png,
4545
title: Add the `firmwareVersion` attribute with type "**String**" and set its value to "1.2.3".
4646
===
47-
image: /images/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-3.png,
47+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-3.png,
4848
title: Find the `firmwareVersion` attribute and click the pencil icon to edit it.
4949
'
5050
%}
@@ -68,11 +68,11 @@ mosquitto_sub -h 127.0.0.1 -p 1884 -t sensor/SN-001/firmwareVersion
6868
{"firmwareVersion":"1.2.4"}
6969
```
7070

71-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-4.png)
71+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-4.png)
7272

7373
This message will be received by any device subscribed to the topic `sensor/SN-001/firmwareVersion`.
7474

75-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-5.png)
75+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-attribute-updates-5.png)
7676

7777
If you are using advanced configuration mode, you can use the following configuration:
7878

_includes/templates/iot-gateway/mqtt-connector/examples/request-mapping/configurable-rpc.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@ Follow these steps:
2626

2727
{% assign CustomRPC = '
2828
===
29-
image: /images/gateway/mqtt-connector/examples/device-name-and-profile-message-json-1.png,
29+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/device-name-and-profile-message-json-1.png,
3030
title: Go to "**Entities**" - "**Gateways**" on the left sidebar and select your gateway.
3131
===
32-
image: /images/gateway/mqtt-connector/examples/disconnect-request-gateway.png,
32+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/disconnect-request-gateway.png,
3333
title: Click on the "**Connectors configuration**" button on the right side menu.
3434
===
35-
image: /images/gateway/mqtt-connector/examples/mqtt-gateway-configuring-11-ce.png,
35+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/mqtt-gateway-configuring-11-ce.png,
3636
title: Select the MQTT connector, click on the "**Basic**". Click the "**Add mapping**" under "**Requests mapping**" section to add new RPC mapping.
3737
===
38-
image: /images/gateway/mqtt-connector/examples/server-side-rpc-commands-1.png,
38+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/server-side-rpc-commands-1.png,
3939
title: Select "**RPC command**" in the **Request type** field. For two-way RPC (with response).
4040
===
41-
image: /images/gateway/mqtt-connector/examples/server-side-rpc-commands-2.png,
41+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/server-side-rpc-commands-2.png,
4242
title: Configure the **Device name filter** as `.*` to apply to all devices, set the **Method filter** to `echo`, the **Request topic expression** to `sensor/${deviceName}/request/${methodName}/${requestId}`, the **Value expression** to `${params}`, the **Response topic expression** to `sensor/${deviceName}/response/${methodName}/${requestId}`, and set an appropriate **Response timeout** (e.g., 10000 ms).
4343
===
44-
image: /images/gateway/mqtt-connector/examples/server-side-rpc-commands-3.png,
44+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/server-side-rpc-commands-3.png,
4545
title: Remember to save your changes by clicking the designated button.
4646
===
47-
image: /images/gateway/mqtt-connector/examples/server-side-rpc-commands-4.png,
47+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/server-side-rpc-commands-4.png,
4848
title: For one-way RPC (without response), click on the **Without response** tab. Configure the **Device name filter** as `.*` to apply to all devices, set the **Method filter** to `no-reply`, the **Request topic expression** to `sensor/${deviceName}/request/${methodName}/${requestId}`, and the **Value expression** to `${params}`.
4949
===
50-
image: /images/gateway/mqtt-connector/examples/server-side-rpc-commands-5.png,
50+
image: https://img.thingsboard.io/gateway/mqtt-connector/examples/server-side-rpc-commands-5.png,
5151
title: Remember to save your changes by clicking the designated button.
5252
'
5353
%}
@@ -72,7 +72,7 @@ The gateway will:
7272
4. Subscribe to the topic `sensor/SN-001/response/echo/12345` to wait for a response
7373
5. Return the response to ThingsBoard when received
7474

75-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-rpc-1.png)
75+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-rpc-1.png)
7676

7777
### Example 2: One Way RPC (without response)
7878

@@ -89,7 +89,7 @@ The gateway will:
8989
3. Send a message to the topic `sensor/SN-001/request/no-reply/12345` (where 12345 is a unique request ID)
9090
4. Not wait for any response
9191

92-
![image](/images/gateway/mqtt-connector/examples/result-device-overview-rpc-2.png)
92+
![image](https://img.thingsboard.io/gateway/mqtt-connector/examples/result-device-overview-rpc-2.png)
9393

9494
If you are using advanced configuration mode, you can use the following configuration:
9595

0 commit comments

Comments
 (0)