-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprivate_example.h
29 lines (24 loc) · 955 Bytes
/
private_example.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* (c) © 2018 Xavier Lüthi xavier@luthi.eu
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* See LICENSE.txt for the full license text.
*/
#ifndef _PRIVATE_H_
#define _PRIVATE_H_
// WiFi configuration
const char* wifi_ssid = "SSID";
const char* wifi_password = "PaSsWoRd";
// MQTT broker configuration
#define MQTT_SERVER_IP "192.168.1.7"
#define MQTT_SERVER_PORT 1883
// The MQTT topic where to send the sensor value
const char* mqtt_sensor_topic = "/house/sensors/water/city";
#endif