You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.0 KiB

* Configuration values for ModularWeatherStation
* Copyright (C) 2021 Gergely Polonkai
* Author: Gergely POLONKAI <>
* ModularWeatherStation 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.
* ModularWeatherStation is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <>.
* As additional permission under GNU GPL version 3 section 7, you may
* distribute non-source form of the Program without the copy of the
* GNU GPL normally required by section 4, provided you inform the
* receipents of GNU GPL by a written offer.
// The SSID (name) and password of the WiFi network you want to connect to
#define WIFI_SSID "YourWiFiName"
#define WIFI_PASS "YourWiFiPass"
// The mDNS hostname you want this station to be visible as. This should be
// different for each station you install (e.g. if you want to measure the
// temperature and humidity of each room separately)
#define MDNS_NAME "internal-hostname"
// If you have a DHT temperature+humidity sensor of this type will be used,
// remove the #undef line and uncomment one of DHT11 or DHT22. You also have
// to define the PIN your DHT sensors data (usually marked as DAT) is
// connected to.
// DHT11 sensors are usually blue, and dont work under freezing point
// (0°C/32°F)
// DHT22 sensors are usually white and slightly bigger than DHT11 ones. They
// work well under freezing point (usually above -40°C/-40°F)
#undef DHT_TYPE
//#define DHT_TYPE DHT11
//#define DHT_TYPE DHT22
//#define DHT_PIN D5