Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:mervis-scada:80-mqtt [2020/08/27 10:56]
l.osladil [Weintek compatible format]
en:mervis-scada:80-mqtt [2021/12/20 13:27]
m.chlupac removed
Line 9: Line 9:
   * possibility of a dynamic variable set (devices can specify what variables they publish)   * possibility of a dynamic variable set (devices can specify what variables they publish)
   * only built-in types are supported (bool, integers, floating point numbers, string)   * only built-in types are supported (bool, integers, floating point numbers, string)
-  * no commands/set point yet 
   * support for secured channel. A device can use secure or non-secure connection   * support for secured channel. A device can use secure or non-secure connection
  
Line 122: Line 121:
 ==== 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 148: Line 148:
  
 </code> </code>
 +{{ :en:mervis-scada:annotation_2020-08-27_120101.png?600 |}}
 === Command registration === === Command registration ===
   * Topic: $deviceId/mervis/cmd_reg or $deviceId/mervis/cmd_reg/*   * Topic: $deviceId/mervis/cmd_reg or $deviceId/mervis/cmd_reg/*
Line 168: Line 169:
 } }
 </code> </code>
 +choose/create $deviceId/mervis/cmd_reg/
 +{{ :en:mervis-scada:annotation_2020-08-27_110112.png?400 |}}
 +set general tab by screenshot
 +{{ :en:mervis-scada:annotation_2020-08-27_121338.png?400 |}}
 +add commands
 +{{ :en:mervis-scada:annotation_2020-08-27_115716.png?400 |}}
 ===Our supported types=== ===Our supported types===
-            * our types: 
               * "generic_bool"               * "generic_bool"
               * "generic_sint8"               * "generic_sint8"
Line 183: Line 189:
               * "generic_string"               * "generic_string"
               * "generic_datetime"               * "generic_datetime"
-===Create subcribe topic for executing command===+===Create subcribe topic for executing command===
   * for previous command example   * for previous command example
   * create topic $deviceId/mervis/command/change_temperature   * create topic $deviceId/mervis/command/change_temperature
Line 189: Line 195:
     * temperature(32-bit float)     * temperature(32-bit float)
     * date(string)     * date(string)
 +{{ :en:mervis-scada:annotation_2020-08-27_110134.png?600 |}}