maj secret.h mqtt
This commit is contained in:
parent
33a8b91668
commit
899550cfe7
|
@ -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"
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue