|
@@ -66,7 +66,7 @@ const String lon = "114.1747";
|
|
|
const String timezone = "Asia/Singapore";
|
|
|
```
|
|
|
|
|
|
-The weather information is provided by `open-meteo.com`. They do not require API key for request count less than 500 per hour. You can modify the weather API if you already have a code snippet doing just that from your other projects.
|
|
|
+The weather information is provided by `open-meteo.com`. They do not require API key for request count less than 500 per hour. You can modify where the weather API grab data if you have your own weather station at home. You just need to modify the following in `weather.ino`.
|
|
|
|
|
|
```c
|
|
|
// In updateCurrentWeatherInfo() function
|
|
@@ -77,7 +77,6 @@ currentHumd = doc["current"]["relative_humidity_2m"];
|
|
|
currentRain = doc["current"]["rain"];
|
|
|
minTemp = doc["daily"]["temperature_2m_min"][0];
|
|
|
maxTemp = doc["daily"]["temperature_2m_max"][0];
|
|
|
-
|
|
|
```
|
|
|
|
|
|
### Firmware Downloading
|
|
@@ -98,6 +97,16 @@ Basically you can try this with any 7.5 inch eink display with 3 colors.
|
|
|
|
|
|
|
|
|
|
|
|
+### Interface
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+The interface can be changed in the draw `drawHomeFrame()` function.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
## License
|
|
|
|
|
|
CopyRight tobychui (C) All Right Reserved
|