greenhousino/esp-receiver/src/config.h.example

18 lines
705 B
Plaintext

#ifndef __CONFIG_H__
#define __CONFIG_H__
/**
* For project specific settings. Copy to config.h and place your settings there.
**/
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