diff --git a/readme.md b/readme.md index 64b70bd9..506f7de7 100644 --- a/readme.md +++ b/readme.md @@ -49,7 +49,7 @@ A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control ## 📲 Quick start guide and documentation -See the [wiki](https://github.com/Aircoookie/WLED/wiki)! +See the [documentation on our official site](https://kno.wled.ge)! [On this page](https://github.com/Aircoookie/WLED/wiki/Learning-the-ropes) you can find excellent tutorials made by the community and helpful tools to help you get your new lamp up and running! diff --git a/tools/cdata.js b/tools/cdata.js index fee10a54..6a618aa8 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -90,7 +90,7 @@ function writeHtmlGzipped(sourceFile, resultFile, page) { * Binary array for the Web UI. * gzip is used for smaller size and improved speeds. * - * Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ @@ -175,7 +175,7 @@ function writeChunks(srcDir, specs, resultFile) { let src = `/* * More web UI HTML source arrays. * This file is auto generated, please don't make any changes manually. - * Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ `; diff --git a/wled00/html_other.h b/wled00/html_other.h index f18aaa72..af290957 100644 --- a/wled00/html_other.h +++ b/wled00/html_other.h @@ -1,7 +1,7 @@ /* * More web UI HTML source arrays. * This file is auto generated, please don't make any changes manually. - * Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 5bbb9093..1a0b34a3 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -1,7 +1,7 @@ /* * More web UI HTML source arrays. * This file is auto generated, please don't make any changes manually. - * Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ diff --git a/wled00/html_simple.h b/wled00/html_simple.h index 589ecc8e..756ec1d3 100644 --- a/wled00/html_simple.h +++ b/wled00/html_simple.h @@ -2,7 +2,7 @@ * Binary array for the Web UI. * gzip is used for smaller size and improved speeds. * - * Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ diff --git a/wled00/html_ui.h b/wled00/html_ui.h index 7910f6f3..fc3b4f5d 100644 --- a/wled00/html_ui.h +++ b/wled00/html_ui.h @@ -2,7 +2,7 @@ * Binary array for the Web UI. * gzip is used for smaller size and improved speeds. * - * Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ diff --git a/wled00/ntp.cpp b/wled00/ntp.cpp index f5298044..effc4b85 100644 --- a/wled00/ntp.cpp +++ b/wled00/ntp.cpp @@ -437,7 +437,7 @@ void calculateSunriseAndSunset() { // there is a sunrise tim_0.tm_hour = minUTC / 60; tim_0.tm_min = minUTC % 60; - sunrise = tz->toLocal(mktime(&tim_0) - utcOffsetSecs); + sunrise = tz->toLocal(mktime(&tim_0) + utcOffsetSecs); DEBUG_PRINTF("Sunrise: %02d:%02d\n", hour(sunrise), minute(sunrise)); } else { sunrise = 0; @@ -448,7 +448,7 @@ void calculateSunriseAndSunset() { // there is a sunset tim_0.tm_hour = minUTC / 60; tim_0.tm_min = minUTC % 60; - sunset = tz->toLocal(mktime(&tim_0) - utcOffsetSecs); + sunset = tz->toLocal(mktime(&tim_0) + utcOffsetSecs); DEBUG_PRINTF("Sunset: %02d:%02d\n", hour(sunset), minute(sunset)); } else { sunset = 0;