MeshCube first setup
This guide aims to describe the steps to follow during the first setup of MeshCube to properly configure the system.
1. Timezone setting
Go to tab System settings -> System -> Timezone
This setting allows to setup the timezone where the server is located. The timezone is useful for Maintenance and other basic operations that are time-related.

2. Mintenance setting
Go to tab System settings -> System -> Maintenance
This section allows to configure the Maintenance of the system. During maintenance the system performs some operations of checking, optimizing, updating and deleting expired data from the system. During these operations the system can pause some basic functionalities of MeshCube.
- System maintenance enabled flag allows to enable or disable system maintenance. It is suggested to keep system maintenance enabled;
- Days - table that allows to select the days when the maintenance will be performed;
- Maintenance Time is the time (in 24h format) when the maintenance is performed.
Since during maintenance some basic functionalities can be paused, when configuring maintenance period it is suggested to set days and time when the system is not used, to not to interfere with system functioning.

3. Password change
Go to tab System settings -> System -> System Password
During the first system configuration we suggest to change the MeshCube web interface access password.
After inserting the current password and the new one, the
button will appear to save the new password.
If the New password and the Confirm password do not coincide the
button will not appear.
If the inserted Current password is not correct an Error pop-up will appear.

4. MQTT Broker setting
Go to tab System settings -> IO -> MQTT Brokers
In this section is possible to setup the MQTT Broker for data transmission. The Broker is necessary for the communication between MeshCube and the gateways and also for remote control. For each MQTT Broker are defined the parameters of the connection to the Broker.
A broker configuration can be imported or created from scratch. Also an existing configuration can be cloned and changed, instead of creating a new one.
In case the same configuration is intended to be used with multiple broker connections, the Username field should be set to auto when configuring.

5. Mesh Broker selection
Go to tab MQTT -> Mesh Broker
On the top of the page, from the drop down menu, select the MQTT Broker created in step 4 and press on the save button.
This section contains the Packets received from Mesh devices.
Useful right side buttons are:
- Toggle packet listener
to enable / disable the packet reception; - Toggle autoscroll
to enable page autoscroll to display the new packets; - Delete displayed logs
to delete the displayed packets.

Next steps
Now, that the first setup has been completed and the system is working, you can proceed with the configuration by connecting the gateway(s), the nodes, configure them and upload the map.
Refeter to the MeshCube first start guide for more information.