Skip to content

MQTT Settings~

All communication between openHASP and your Home Automation service is done over MQTT. You will need a functional MQTT Broker.

Tip: Learn more about the protocol on MQTT Essentials

Settings~

Plate Name~

The Plate Name is the unique identifier of your device on your MQTT Broker.

For example, setting the Plate Name to plate35 will make the device listen and communicate on the main topic hasp/plate35/

Group Name~

The Group Name is the unique identifier for a Group of devices.

For example, the default Group Name is plates. This will make all devices in this group listen on the main topic hasp/plates/ This way you can send a command to all devices in the group at the same moment. Each devices will only respond on their own main Plate Name topic.

Broker~

Set the IP or hostname of your MQTT Broker service.

Port~

Set the port for your MQTT Broker.

Username~

Enter credentials if your MQTT Broker requires a Username.

Password~

Enter credentials if your MQTT Broker requires a Password.


Click 'Save Settings' to save your settings to the device. A restart is required to make the settings active. Navigate back to the Main Menu and click Restart to activate the settings.

Command Line~

You can also configure the mqtt settings via the serial or telnet console:

1
2
3
4
5
6
hostname myPlateName
mqtthost 192.168.0.123
mqttport 1883
mqttuser myUsername
mqttpass myPassword
reboot