Line 642: |
Line 642: |
| </tr> | | </tr> |
| </table> | | </table> |
| + | |
| + | ====Type: MQTT==== |
| + | ---- |
| + | Executes a MQTT action. |
| + | |
| + | [[File:Networking rutos manual input output io juggler actions mqtt.png|border|class=tlt-border]] |
| + | |
| + | <table class="nd-mantable"> |
| + | <tr> |
| + | <th>Field</th> |
| + | <th>Value</th> |
| + | <th>Description</th> |
| + | </tr> |
| + | <tr> |
| + | <td>Text message</td> |
| + | <td>string; default: <b>none</b> </td> |
| + | <td>Below this field you can find special codes that begin with the '%' sign. Each code represents a piece information related to the status of the device. Include these codes in the Text message for dynamic information reports. |
| + | </td> |
| + | </tr> |
| + | <tr> |
| + | <td>Topic</td> |
| + | <td>string; default: <b>none</b></td> |
| + | <td>The name of the topic that the broker will subscribe to.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Hostname</td> |
| + | <td>host | ip; default: <b>none</b> </td> |
| + | <td>Broker’s IP address or hostname.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Port</td> |
| + | <td>integer [0..65535]; default: <b>1883</b></td> |
| + | <td>Broker's port number.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Keepalive</td> |
| + | <td>positive integer; default: <b>none</b></td> |
| + | <td>The number of seconds after which the broker should send a PING message to the client if no other messages have been exchanged in that time</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Qos</td> |
| + | <td>At most once (0) | At least once (1) | Exactly once (2); default: <b>At most once (0)</b></td> |
| + | <td>A period of time (in seconds) which has to pass after a trigger event before this Action is executed.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Username</td> |
| + | <td>string; default: <b>none</b></td> |
| + | <td>Username used for authentication to the Broker.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Password</td> |
| + | <td>string; default: <b>none</b></td> |
| + | <td>Password used for authentication to the Broker.</td> |
| + | </tr> |
| + | </table> |
| + | |
| + | |
| {{#ifeq: {{{dualsim}}} | 1 | | | {{#ifeq: {{{dualsim}}} | 1 | |
| ====Type: SIM switch==== | | ====Type: SIM switch==== |
Line 732: |
Line 789: |
| </table> | | </table> |
| |}} | | |}} |
| + | |
| ===Conditions=== | | ===Conditions=== |
| ---- | | ---- |