secrets.h
 1  // SPDX-FileCopyrightText: 2019 Dan Cogliano for Adafruit Industries
 2  //
 3  // SPDX-License-Identifier: MIT
 4  
 5  #pragma once
 6  
 7  // secrets.h
 8  // Define your WIFI and OpenWeatherMap API key and location in this file
 9  
10  #define WIFI_SSID "{wifi ssid}"
11  #define WIFI_PASSWORD "{wifi password}"
12  
13  #define OWM_KEY "{OpenWeatherMap.com key}"
14  #define OWM_LOCATION "Your City"
15  //example
16  //#define OWM_LOCATION "New York,US"
17  
18  // update the weather at this interval, in minutes
19  #define UPDATE_INTERVAL 15
20  
21  // Set to true to show temperatures in Celsius, false for Fahrenheit
22  #define OWM_METRIC false
23  
24  // temperature will display in red at or above this temperature
25  // set to a high number (i.e. >200) to not show temperatures in red
26  #define METRIC_HOT  32
27  #define ENGLISH_HOT  90
28  
29  /*
30  Arabic - ar, Bulgarian - bg, Catalan - ca, Czech - cz, German - de, Greek - el,
31  English - en, Persian (Farsi) - fa, Finnish - fi, French - fr, Galician - gl,
32  Croatian - hr, Hungarian - hu, Italian - it, Japanese - ja, Korean - kr,
33  Latvian - la, Lithuanian - lt, Macedonian - mk, Dutch - nl, Polish - pl,
34  Portuguese - pt, Romanian - ro, Russian - ru, Swedish - se, Slovak - sk,
35  Slovenian - sl, Spanish - es, Turkish - tr, Ukrainian - ua, Vietnamese - vi,
36  Chinese Simplified - zh_cn, Chinese Traditional - zh_tw.
37  */
38  #define OWM_LANGUAGE "en"