Browse Source

Modification de l'adresse IP du brocker MQTT

main
Alex 1 year ago
parent
commit
22326398a5
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      platformio.ini
  2. 1
    1
      src/my_MQTT.h

+ 1
- 1
platformio.ini View File

platform = espressif8266 platform = espressif8266
board = nodemcuv2 board = nodemcuv2
monitor_speed = 115200 monitor_speed = 115200
upload_port = COM11
upload_port = COM13
framework = arduino framework = arduino
lib_deps = lib_deps =
adafruit/Adafruit NeoPixel@^1.10.4 adafruit/Adafruit NeoPixel@^1.10.4

+ 1
- 1
src/my_MQTT.h View File

// MQTT client // MQTT client
#include <PubSubClient.h> #include <PubSubClient.h>
#define MQTT_broker "192.168.0.11"
#define MQTT_broker "192.168.100.11"
#define MQTT_port 1883 #define MQTT_port 1883
#define MQTT_user "" #define MQTT_user ""
#define MQTT_password "" #define MQTT_password ""

Loading…
Cancel
Save