maj secret.h mqtt

This commit is contained in:
pgp 2021-11-08 18:01:41 +01:00
parent 33a8b91668
commit 899550cfe7
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
#define MQTT_USER "NomUtilisateurMQTT"
#define MQTT_MDP "MotDePasseMQTT"
#define MQTT_USER "capteurs"
#define MQTT_MDP "Fablab"
#define SSID "Thermo-Bibli"
#define PWD "12453801"
#define MQTT_PWD "12453801"

View file

@ -132,7 +132,7 @@ void writeMessage(char *txt, float *temp, float *hum, int number)
void setup()
{
Serial.begin(9600);
setupWIFI(SSID, PWD);
setupWIFI(SSID, MQTT_PWD);
setupMQTT(MQTT_ADDRESS, MQTT_PORT);
initSensors(sensors, SENSORS_NUMBER);
TimeClient.begin();