++todo
This commit is contained in:
parent
4b7d2eda28
commit
5d4e87613c
@ -153,7 +153,8 @@ void testConnectMQTT()
|
|||||||
{
|
{
|
||||||
while (!client.connected()) {
|
while (!client.connected()) {
|
||||||
Debug.print("Connexion au serveur MQTT... ");
|
Debug.print("Connexion au serveur MQTT... ");
|
||||||
if (client.connect("ESP8266Client", MQTT_USER, MQTT_PASS)) {
|
// TODO : changer ça pour un truc specifique sinon provoque des erreurs mqtt
|
||||||
|
if (client.connect(MQTT_CLIENT, MQTT_USER, MQTT_PASS)) {
|
||||||
Debug.print("OK\nSend Current State");
|
Debug.print("OK\nSend Current State");
|
||||||
mqttSendState();
|
mqttSendState();
|
||||||
mqttSendSpeedState();
|
mqttSendSpeedState();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user