DHT-usage switchable, MQTT authentication optional, soil-sensor-parameter moved to config-file

This commit is contained in:
Julian Langhoff
2021-05-09 21:19:55 +02:00
parent 8bc1861024
commit 0ae0e76f68
5 changed files with 53 additions and 18 deletions

View File

@@ -7,5 +7,12 @@
const char *MQTT_BROKER = "192.168.178.74";
const char *MQTT_SENSOR_TOPIC = "living/sensor2";
const char *MQTT_CLIENT_ID = "living_mobile_sensor";
const char *MQTT_LAST_WILL_TOPIC = "living/sensor2/status";
const char *MQTT_LAST_WILL_MSG = "offline";
const char *MQTT_CLIENT_USER = "NULL"; // if NULL, no username or password is used
const char *MQTT_CLIENT_PW = "NULL"; // if NULL, no password is used
const int AirValue = 800; //replace the value with value when placed in air
const int WaterValue = 345; //replace the value with value when placed in water
#endif