- change wifi to repeated one
- delay for 5 sec between sends..
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
// Update these with values suitable for your network.
|
// Update these with values suitable for your network.
|
||||||
|
|
||||||
const char* ssid = "JoeNelsDarlings";
|
const char* ssid = "Jnd-Front";
|
||||||
const char* password = "Paris2016";
|
const char* password = "Paris2016";
|
||||||
const char* mqtt_server = "mqtt.ddns.kawomi.com";
|
const char* mqtt_server = "mqtt.ddns.kawomi.com";
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
client.loop();
|
client.loop();
|
||||||
|
|
||||||
delay(2000);
|
delay(5000);
|
||||||
float humidity = dht.getHumidity();
|
float humidity = dht.getHumidity();
|
||||||
float temperature = dht.getTemperature();
|
float temperature = dht.getTemperature();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user