Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:mervis-scada:80-mqtt [2020/08/27 10:31] l.osladil [Weintek compatible format] |
en:mervis-scada:80-mqtt [2024/05/08 10:42] (current) |
||
|---|---|---|---|
| Line 122: | Line 122: | ||
| ==== Weintek compatible format ==== | ==== Weintek compatible format ==== | ||
| * We assume that all datetime values are in **UTC** | * We assume that all datetime values are in **UTC** | ||
| + | * Print screens are from EasyBuilder Pro SW | ||
| === Variable values === | === Variable values === | ||
| * Publishes values of variables | * Publishes values of variables | ||
| Line 128: | Line 129: | ||
| * Payload: UTF-8 JSON document | * Payload: UTF-8 JSON document | ||
| * /d: root element | * /d: root element | ||
| - | * " | + | * " |
| * metadata format: | * metadata format: | ||
| * " | * " | ||
| - | * " | + | * " |
| + | * " | ||
| **Example** | **Example** | ||
| Line 147: | Line 149: | ||
| </ | </ | ||
| + | {{ : | ||
| === Command registration === | === Command registration === | ||
| * Topic: $deviceId/ | * Topic: $deviceId/ | ||
| Line 156: | Line 159: | ||
| * " | * " | ||
| * " | * " | ||
| - | * " | + | * " |
| * " | * " | ||
| * " | * " | ||
| Line 167: | Line 170: | ||
| } | } | ||
| </ | </ | ||
| + | choose/ | ||
| + | {{ : | ||
| + | set general tab by screenshot | ||
| + | {{ : | ||
| + | add commands | ||
| + | {{ : | ||
| ===Our supported types=== | ===Our supported types=== | ||
| - | * our types: | ||
| * " | * " | ||
| * " | * " | ||
| Line 182: | Line 190: | ||
| * " | * " | ||
| * " | * " | ||
| + | ===Create a subcribe topic for executing command=== | ||
| + | * for previous command example | ||
| + | * create topic $deviceId/ | ||
| + | * with two addresses: | ||
| + | * temperature(32-bit float) | ||
| + | * date(string) | ||
| + | {{ : | ||