From e86829c3b5480233129879e0b4f794522353caaf Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Sun, 13 May 2018 17:48:40 +0200 Subject: [PATCH 1/5] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index fc4a1ae..236fe88 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ [![Demo video Apple Homekit integration](https://j.gifs.com/gJP2o6.gif)](https://youtu.be/4JnGXZaPnrw) ___ +Update 13.05.2018: +I've worked on a new web UI for the last weeks. It's now available as an early preview. There is a [video](https://youtu.be/lryDPMA2qpY) that shows the new features. [Try it out](https://github.com/toblum/McLightingUI) if you want and leave some feedback. + Update 07.04.2018: And even more changes to McLighting! Most of them were contributed by user @debsahu. Thank you! - Update arduino-esp8266 to latest, at least version 2.4.1 From 6798a128b646a678a8835b0d7074e5b5cd5937d1 Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Wed, 6 Jun 2018 09:59:40 +0200 Subject: [PATCH 2/5] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 236fe88..3fdcb08 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ I hope I didn't miss any sources and mentioned every author. In case I forgot so ## Todos - [x] MQTT support - [ ] Support multiple strips and control them separately or together [Issue](https://github.com/toblum/McLighting/issues/118) -- [ ] Save favourite effects? [Issue](https://github.com/toblum/McLighting/issues/35) +- [x] Save favourite effects? [Issue](https://github.com/toblum/McLighting/issues/35) - [ ] Make number of pixels, MQTT and PIN configurable via front end [Issue](https://github.com/toblum/McLighting/issues/93) and [Issue](https://github.com/toblum/McLighting/issues/101) - [x] OTA update [Issue](https://github.com/toblum/McLighting/issues/93) - [ ] Bundle webpages instead of SPIFFS [Issue](https://github.com/toblum/McLighting/issues/93) @@ -152,6 +152,7 @@ I hope I didn't miss any sources and mentioned every author. In case I forgot so - [ ] If no wifi, at least enable button mode. - [ ] Also enable McLighting in Wifi AP mode. - [x] Make a set of NodeRed nodes. +- [ ] IR remote support [issue](https://github.com/toblum/McLightingUI/issues/3) - [ ] Multiple buttons/GPIO Inputs. [Issue](https://github.com/toblum/McLighting/issues/119) - [ ] Music visualizer / Bring back ArtNet [Issue](https://github.com/toblum/McLighting/issues/111) - [ ] Display version and parameters (Number of LEDs, definition settings, ..) in the web UI [Issue](https://github.com/toblum/McLighting/issues/150) From bf6b3a59d0c297e76dcbeeb7fc8b9ae3eabe79ec Mon Sep 17 00:00:00 2001 From: zewelor Date: Sat, 8 Sep 2018 22:48:31 +0200 Subject: [PATCH 3/5] Add basic platformio config --- .gitignore | 9 ++++++++- platformio.ini | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 platformio.ini diff --git a/.gitignore b/.gitignore index c61f8f2..98426ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,10 @@ clients/web/node_modules/ - clients/web/\.vscode/ + +.pioenvs +.piolibdeps +lib/readme.txt + +*.h.gch +.clang_complete +.gcc-flags.json diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 0000000..7de905b --- /dev/null +++ b/platformio.ini @@ -0,0 +1,33 @@ +; PlatformIO Project Configuration File +; +; Build options: build flags, source filter +; Upload options: custom upload port, speed and extra flags +; Library options: dependencies, extra library storages +; Advanced options: extra scripting +; +; Please visit documentation for the other options and examples +; https://docs.platformio.org/page/projectconf.html + +[platformio] +src_dir = ./Arduino/McLighting/ + +[env:esp01_1m] +board = esp01_1m +framework = arduino +platform = espressif8266@1.8.0 + +build_flags = + -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH + +monitor_speed = 115200 + +board_build.flash_mode = dout +upload_speed = 115200 +upload_resetmethod = nodemcu + +lib_deps = + WiFiManager@0.14 + AsyncMqttClient + https://github.com/bblanchon/ArduinoJson.git#v6.1.0-beta + WS2812FX + WebSockets From 1bb949616faee2ee091d73058a05a294b58706ff Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Sun, 16 Sep 2018 22:09:30 +0200 Subject: [PATCH 4/5] Add NodeMCU board and NeoanimationFX library --- platformio.ini | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/platformio.ini b/platformio.ini index 7de905b..9424999 100644 --- a/platformio.ini +++ b/platformio.ini @@ -10,24 +10,44 @@ [platformio] src_dir = ./Arduino/McLighting/ +env_default = nodemcuv2 +description = The ESP8266 based multi-client lighting gadget + +[common] +build_flags = + -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH +monitor_speed = 115200 +board_build.flash_mode = dout +upload_speed = 115200 +upload_resetmethod = nodemcu + [env:esp01_1m] board = esp01_1m framework = arduino platform = espressif8266@1.8.0 - -build_flags = - -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH - -monitor_speed = 115200 - +build_flags = ${common.build_flags} -D D1=2 +monitor_speed = ${common.monitor_speed} +upload_speed = ${common.upload_speed} +upload_resetmethod = ${common.upload_resetmethod} board_build.flash_mode = dout -upload_speed = 115200 -upload_resetmethod = nodemcu + +[env:nodemcuv2] +board = nodemcuv2 +framework = arduino +platform = espressif8266@1.8.0 +build_flags = ${common.build_flags} +monitor_speed = ${common.monitor_speed} +upload_speed = ${common.upload_speed} +upload_resetmethod = ${common.upload_resetmethod} + + lib_deps = WiFiManager@0.14 AsyncMqttClient https://github.com/bblanchon/ArduinoJson.git#v6.1.0-beta WS2812FX + https://github.com/debsahu/NeoAnimationFX + NeoPixelBus WebSockets From e19ec287afe37c63529eb708fffb422d9c7f9eb2 Mon Sep 17 00:00:00 2001 From: Debashish Sahu Date: Wed, 10 Oct 2018 18:39:33 -0400 Subject: [PATCH 5/5] Update platformio.ini updating ArduinoJSON to v 6.4.0-beta from 6.1.0-beta --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 9424999..981737b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -46,7 +46,7 @@ upload_resetmethod = ${common.upload_resetmethod} lib_deps = WiFiManager@0.14 AsyncMqttClient - https://github.com/bblanchon/ArduinoJson.git#v6.1.0-beta + https://github.com/bblanchon/ArduinoJson.git#v6.4.0-beta WS2812FX https://github.com/debsahu/NeoAnimationFX NeoPixelBus