macrocell_office_iot/espsens/configuration.h.example

27 lines
989 B
Plaintext
Raw Permalink Normal View History

/* ESP8266 environmental sensor project
This header provides the necessary credentials for the esp_sensor_firmware.ino file.
Before compilation, add your credentials and remove the .example postfix from the filename.
* ** WARNING ** DO NOT COMMIT YOUR configuration.h FILE CONTAINING YOUR ACTUAL CREDENTIALS.
(C) 2019 Macrocell - Environmental sensing solutions
proudly presented by Macrocell - FPGA Innovators
*/
#define SENSOR_ID "your_id"
#define WIFI_SSID "your_ssid"
#define WIFI_PW "your_wifi_pw"
#define MQTT_SERVER "192.168.x.x"
#define MQTT_PORT 1883
#define MQTT_USER "your_mqtt_user"
#define MQTT_PW "your_mqtt_pw"
2019-02-25 21:10:35 +01:00
#define MQTT_CLIENT "ESP8266Client." SENSOR_ID
#define OPERATION_BLINK_EN false // blink continuously if in correct operation
#define OPERATION_PERIOD 10000 // sensor reading period in milliseconds
#define FORCE_PERIOD 20 // sensor reading publication force period in number of readings without publication
#define SERIAL_BAUDRATE 115200