Remote Command

Datamanager allow users to interract with their smartboxs with MQTT protocoll.

Steps to do

First step, install the relay as in this guide

Change the values ​​in the mqtt menu in Tinycontroll, leaving the username and password unchanged, based on the table on the Townet Services / Smartbox Commands page, verifying that the broker is mqtt1. for LK3 and mqtt2. for LK4.

Townet Services Table

Leave the port unchanged, according to the system configuration, 8883 or 1883.

TinyControl Panel

Now, you can try to communicate with your Smartbox clicking the Start Communication button:

Townet Services Table

A screen will be displayed that attempts to connect to the motherboard to verify the connection. Once confirmed, the commands available for your smartbox will be displayed.

Modal

Clicking each command changes the status of your smartbox; the page will notify you that the command has been sent. If an error occurs, try refreshing the status to see if the connection has been lost.

Townet is not responsible for connection issues for the service. We encourage our customers to check the connection status before sending any commands.