fix amqtt credentials
This commit is contained in:
parent
88d299f430
commit
f3b6abb52b
1 changed files with 1 additions and 0 deletions
|
@ -428,6 +428,7 @@ void setup() {
|
|||
amqttClient.onDisconnect(onMqttDisconnect);
|
||||
amqttClient.onMessage(onMqttMessage);
|
||||
amqttClient.setServer(mqtt_host, String(mqtt_port).toInt());
|
||||
amqttClient.setCredentials(mqtt_user, mqtt_pass);
|
||||
amqttClient.setClientId(mqtt_clientid);
|
||||
|
||||
connectToMqtt();
|
||||
|
|
Loading…
Reference in a new issue