Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Add Timer with NTP #458

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
clients/web/node_modules/
clients/web/\.vscode/

.pio
.pioenvs
.piolibdeps
lib/readme.txt
Expand Down
4 changes: 2 additions & 2 deletions Arduino/McLighting/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define BUILTIN_LED 2 // ESP-12F has the built in LED on GPIO2, see https://github.com/esp8266/Arduino/issues/2192
#define BUTTON 4 // Input pin (4 / D2) for switching the LED strip on / off, connect this PIN to ground to trigger button.

#define HOSTNAME "McLighting01" // Friedly hostname
#define HOSTNAME "McLighting01" // Friendly hostname

#define HTTP_OTA // If defined, enable ESP8266HTTPUpdateServer OTA code.
//#define ENABLE_OTA // If defined, enable Arduino OTA code.
Expand All @@ -18,7 +18,7 @@
#define ENABLE_HOMEASSISTANT // If defined, enable Homeassistant integration, ENABLE_MQTT or ENABLE_AMQTT must be active
#define ENABLE_BUTTON // If defined, enable button handling code, see: https://github.com/toblum/McLighting/wiki/Button-control
//#define MQTT_HOME_ASSISTANT_SUPPORT // If defined, use AMQTT and select Tools -> IwIP Variant -> Higher Bandwidth
#define ENABLE_LEGACY_ANIMATIONS // Dont disbale this for now
#define ENABLE_LEGACY_ANIMATIONS // Dont disable this for now
#define ENABLE_E131 // E1.31 implementation
#define USE_HTML_MIN_GZ //comment for using index.htm & edit.htm from SPIFFs instead of PROGMEM
//#define CUSTOM_WS2812FX_ANIMATIONS //uncomment and put animations in "custom_ws2812fx_animations.h"
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ McLighting (the multi-client lighting gadget) is a very cheap internet-controlla

Because of it's open architecture and APIs it's easy to build new clients for different platforms (iOS, Android, Windows Universal Apps, Siri/Cortana integration, ...).

---

> **Hello, folks,
> the McLighting project is currently paused. Unfortunately, for personal reasons, I don't have enough time to support it in the usual way. However, the project is still available and I will help if I can find the time. Meanwhile there is also a large community of users who are happy to help you with any problems, thanks for your effort at this point.
> But there won't be any major enhancements at the moment. If you're looking for more features, please have a look at the great fork https://github.com/FabLab-Luenen/McLighting which offers support for RGBW LEDs and an extended UI.
> Please also have a look at the great [WLED](https://github.com/Aircoookie/WLED) project, if you want to have the latest and greatest features and interfaces for blinking LEDs you want to have today.
> If there is anyone of you who would like to help continue the project. Just get in touch with me.**

---

[![Demo video WebClient](https://j.gifs.com/kRPrzN.gif)](https://youtu.be/rc6QVHKAXBs)

[![Demo video Apple Homekit integration](https://j.gifs.com/gJP2o6.gif)](https://youtu.be/4JnGXZaPnrw)
Expand Down
16 changes: 8 additions & 8 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ board_build.flash_mode = dout
upload_speed = 115200
upload_resetmethod = nodemcu
lib_deps =
WiFiManager@0.14
AsyncMqttClient
ArduinoJson
WS2812FX
NeoPixelBus
WebSockets
ESPAsyncE131
ESPAsyncUDP
https://github.com/tzapu/WiFiManager.git#440f312
AsyncMqttClient@0.8.2
ArduinoJson@6.14.0
WS2812FX@1.2.2
NeoPixelBus@2.5.6
WebSockets@2.2.0
ESPAsyncE131@1.0.1
https://github.com/me-no-dev/ESPAsyncUDP#697c75a
;PubSubClient ;neede for #define ENABLE_MQTT
;FastLED ;needed for #define CUSTOM_WS2812FX_ANIMATIONS
targets_eum = erase, upload, monitor
Expand Down