Changes

Line 438: Line 438:  
     <tr>
 
     <tr>
 
         <td>Action</td>
 
         <td>Action</td>
         <td>{{#ifeq:{{{mobile}}}|1|SMS {{!}}|}} MODBUS Write Request{{#switch:{{{series}}}|TCR1=|TRB2=|#default= {{!}} Trigger output}}; default: <b>MODBUS Write Request</b></td>
+
         <td>{{#ifeq:{{{mobile}}}|1|SMS {{!}}|}} MODBUS Write Request{{#switch:{{{series}}}|TCR1=|TRB2=|#default= {{!}} Trigger output}} | MQTT message; default: <b>MODBUS Write Request</b></td>
 
         <td>Action that will be taken if the condition is met. Possible actions:
 
         <td>Action that will be taken if the condition is met. Possible actions:
 
             <ul>{{#ifeq: {{{mobile}}} | 1 |
 
             <ul>{{#ifeq: {{{mobile}}} | 1 |
Line 509: Line 509:  
         <td>Selects the action performed on the output.</td>
 
         <td>Selects the action performed on the output.</td>
 
     </tr>}}
 
     </tr>}}
 +
    <tr>
 +
        <td><span style="color: red;">JSON format</span></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 field for dynamic information reports.
 +
        </td>
 +
    </tr>
 +
    <tr>
 +
        <td><span style="color: red;">Hostname</span></td>
 +
        <td>host | ip; default: <b>none</b> </td>
 +
        <td>Broker’s IP address or hostname.</td>
 +
    </tr>
 +
    <tr>
 +
        <td><span style="color: red;">Port</span></td>
 +
        <td>integer [0..65535]; default: <b>1883</b></td>
 +
        <td>Broker's port number.</td>
 +
    </tr>
 +
    <tr>
 +
        <td><span style="color: red;">Keepalive</span></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><span style="color: red;">Topic</span></td>
 +
        <td>string; default: <b>none</b></td>
 +
        <td>The name of the topic that the broker will subscribe to.</td>
 +
    </tr>
 +
    <tr>
 +
        <td><span style="color: red;">Client ID</span></td>
 +
        <td>positive integer; default: <b>none</b></td>
 +
        <td>Client ID to send with the data. If empty, a random client ID will be generated </td>
 +
    </tr>
 +
    <tr>
 +
        <td><span style="color: red;">QoS</span></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>
 
</table>
 
</table>
 
{{#ifeq: {{{serial}}} | 1 |
 
{{#ifeq: {{{serial}}} | 1 |

Navigation menu