1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors_trending-WLED

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
Loading...
README.md

WLED v2 UserMod for running macros at sunrise and sunset.

At the time of this text, this user mod requires code to be changed to set certain variables: 1. To reflect the user's graphical location (latitude/longitude) used for calculating apparent sunrise/sunset 2. To specify which macros will be run at sunrise and/or sunset. (defaults to 15 at sunrise and 16 at sunset) 3. To optionally provide an offset from sunrise/sunset, in minutes (max of +/- 2 hours), when the macro will be run.

In addition, WLED must be configured to get time from NTP (and the time must be retrieved via NTP.)

Please open the UserMod_SunRiseAndSet.h file for instructions on what needs to be changed, where to copy files, etc.

If this usermod proves useful enough, the code might eventually be updated to allow prompting for the required information via the web interface and to store settings in EEPROM instead of hard-coding in the .h file.

This usermod has only been tested on the esp32dev platform, but there's no reason it wouldn't work on other platforms.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/mirrors_trending-WLED.git
git@gitlife.ru:oschina-mirror/mirrors_trending-WLED.git
oschina-mirror
mirrors_trending-WLED
mirrors_trending-WLED
v0.13.0