Blaz Kristan
4fdf85bbdb
Add off override.
2021-10-07 22:57:07 +02:00
Blaz Kristan
e682fd07cb
Reverted currentPlaylist.
2021-10-07 15:41:30 +02:00
Blaž Kristan
bddd22cfab
Merge branch 'master' into dev
2021-10-07 13:47:36 +02:00
Blaz Kristan
9f230ae339
RAM optimizations:
...
- changed int16_t to byte for currentPreset and currentPlaylist
- removed presetCycXxxxx variables
2021-10-06 18:43:12 +02:00
cschwinne
7d6d9eddc4
Change virtual bus type range
2021-10-06 14:30:41 +02:00
cschwinne
6ddcba8917
Change currentPreset to byte
...
JSON API still returns -1 for no preset
2021-10-03 13:53:37 +02:00
cschwinne
91598cbbbf
Remove Total LEDs field
2021-10-03 12:23:24 +02:00
Blaz Kristan
1d833419aa
Merge branch 'master' into dev
2021-10-02 15:41:13 +02:00
Blaz Kristan
c1b0877956
Bus implementation.
...
Added separate DDP listener.
LED settings overhaul.
Minor fixes:
- reduced LED memory
- boot brightness fix
- reduced debug frequency
- added usermod time spent debug
- mDNS glitch fix
2021-10-02 15:07:02 +02:00
Blaž Kristan
dc9dedf220
Fixed pin reservations. ( #2214 )
...
* Fixed pin reservations.
Added ethernet pin reservations.
Minor tweaks in usermods.
* Optional ADA compile (not default, free GPIO3 use)
* Move ethernet definitions
Remove pin 3 used check
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-09-30 16:30:44 +02:00
Blaz Kristan
54eac18eea
Bugfixes for saving and loading IP address.
...
Debug info for UDP.
2021-09-21 22:18:55 +02:00
Blaz Kristan
a2105de402
Nesting bug fix.
2021-09-19 14:56:14 +02:00
Blaz Kristan
d049e0a149
Fix for missing inverse for analog bus.
...
Fix for usermod pin settings not being accounted for.
2021-09-19 14:28:27 +02:00
Blaz Kristan
7463be862f
Merge branch 'master' into dev
2021-09-18 22:43:26 +02:00
Christian Schwinne
3d51d1e345
Merge pull request #2175 from henrygab/revert_pr1902
...
Revert changes from PR1902
2021-09-14 00:29:59 +02:00
Blaz Kristan
d4beb2f79b
Merge branch 'master' into dev
...
Excluded modifications to ir.cpp
Changed default segment creation logic.
2021-09-12 01:00:54 +02:00
Christian Schwinne
c24ab1b21d
Auto create segments setting ( #2183 )
2021-09-11 01:17:42 +02:00
Henry Gabryjelski
021c4ba68a
Revert changes from PR1902
2021-08-29 11:49:06 -07:00
Blaz Kristan
849bdc52f6
Ethernet modifications.
...
Added fixed Ethernet pins to cfg.json and settings page
2021-08-27 19:48:55 +02:00
Blaž Kristan
b481c13829
Sync groups ( #2150 )
...
* Added UDP sync groups.
* Shortened string.
* Changed sync default to group 1 only.
* Make packets with version < 9 group 1
* Send sync group options as bytes, parse in JS
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-08-25 16:39:12 +02:00
Blaž Kristan
60ce5c67de
Merge branch 'sync-groups' into dev
2021-08-25 06:26:50 +02:00
cschwinne
421f932053
Send sync group options as bytes, parse in JS
2021-08-25 00:36:31 +02:00
Blaz Kristan
f921d9a1f8
Added UDP sync groups.
2021-08-21 12:28:22 +02:00
Blaz Kristan
9609b48f2f
Added UDP sync groups.
2021-08-21 12:22:26 +02:00
Blaz Kristan
5926d396f9
Merge branch 'master' of https://github.com/aircoookie/WLED into dev
2021-08-20 23:32:28 +02:00
Ahmed Shehata
2ecc53ba56
UDP Signal color correction ( #1902 )
...
* added ui changes for saturation in sync
* added setters/getters for hsv settings
* added color correction logic
* faster algorithm for color conversion
* added save/load config to fs
* adjusted value scale
* move color functions to colors.cpp
* remove unchecked file
* Various small changes
Moved settings location in sync settings
Changed wording from hyperion to live
Moved code into setRealtimePixel(), reducing duplication and enabling the functionality for DMX streams
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-08-19 18:24:41 +02:00
Blaz Kristan
dcfbf2b154
Simplified UI and general UI polishing (CSS, HTML & JS).
...
Boot transition fix.
Local storage invalidation when uploading presets.json.
2021-08-10 17:11:17 +02:00
Blaž Kristan
d28158bc74
ESP32 S2 fix for RMT channels.
...
Ethernet pins stored in cfg.json for usermod checks.
2021-07-07 08:12:03 +02:00
Blaz Kristan
3066a142b8
Merge branch 'master' into dev
...
Minor tweaks.
2021-07-03 21:27:06 +02:00
cschwinne
0197d89976
Added MQTT button option
2021-07-01 20:51:52 +02:00
Blaz Kristan
ce725252cc
Minor fixes.
2021-07-01 16:40:55 +02:00
Blaž Kristan
b58efa3df0
Merge branch 'master' into dev
2021-07-01 13:41:23 +02:00
Blaž Kristan
9f885407f5
Merge branch 'master' into dev
2021-07-01 13:24:48 +02:00
cschwinne
7483d3b229
Fixed settings page broken by using "%" in input fields ( fixes #1516 )
2021-06-30 18:21:56 +02:00
cschwinne
200960899e
Removed preset cycle
2021-06-30 01:48:38 +02:00
Blaz Kristan
cd8d2c141e
Merge branch 'master' into dev
...
Added pin reservation for Ethernet.
Added SSD1305 I2C display type.
2021-06-20 15:13:38 +02:00
Blaz Kristan
3acc521741
Bugfix for ESP8266 saving segments.
2021-06-18 12:16:04 +02:00
Blaz Kristan
b7fb9e182b
WLED_USE_PSRAM fix
2021-06-16 12:19:16 +02:00
Blaz Kristan
1a80439825
Merge branch 'master' into dev
2021-06-15 23:36:12 +02:00
cschwinne
85489458d8
Small improvements
...
Settings cosmetic changes (spaces, smaller pin inputs, moved analog legend to wiki)
Uncommented STATUSPIN code (still defined out by default)
Removed adalight pin 3 lock
Added define for PSRAM
2021-05-30 01:31:04 +02:00
Blaž Kristan
5f86a8a15b
Merge branch 'master' into multi-button
2021-05-21 13:59:33 +02:00
Blaž Kristan
651b4d2461
Fixed XML API <wv> containing -1 on Manual only RGBW mode (see #888 , #1783 )
2021-05-21 10:04:22 +02:00
cschwinne
371c4e0051
Fixed WS281x output on ESP32
...
Fixed potential out-of-bounds write in MQTT
Fixed IR pin not changeable if IR disabled
Fixed XML API <wv> containing -1 on Manual only RGBW mode (see #888 , #1783 )
2021-05-20 21:41:39 +02:00
Blaz Kristan
69099fcdd7
Multi button support.
2021-05-20 19:54:07 +02:00
Blaz Kristan
4104dec87f
Addet touch button and touch threshold.
...
Fixed some errors.
2021-05-19 20:23:35 +02:00
Blaz Kristan
95df91a03b
Multi button implementation.
2021-05-19 18:39:16 +02:00
Blaz Kristan
bfd7be543a
Merge branch 'master' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
tools/cdata.js
usermods/PIR_sensor_switch/readme.md
usermods/Temperature/readme.md
wled00/FX.h
wled00/FX_fcn.cpp
wled00/bus_manager.h
wled00/bus_wrapper.h
wled00/cfg.cpp
wled00/const.h
wled00/data/settings.htm
wled00/data/settings_leds.htm
wled00/data/settings_um.htm
wled00/html_settings.h
wled00/json.cpp
wled00/mqtt.cpp
wled00/set.cpp
wled00/wled.cpp
wled00/wled.h
wled00/wled_eeprom.cpp
wled00/wled_server.cpp
wled00/xml.cpp
2021-05-18 15:45:34 +02:00
Blaž Kristan
1617658bfe
Per strip skip first LED implementation ( #1871 )
...
* Per strip "skip first LED".
Moved skip first led into bus manager.
* Update cfg.cpp
* Do not display Skip 1st on analog types
Rename skipFirstLed() to clarify what it does
Remove RGBW override
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
Co-authored-by: Aircoookie <cschwinne@gmail.com>
2021-05-17 16:23:46 +02:00
Blaz Kristan
d3b5594092
Added reserverd pins for UI.
2021-05-13 16:46:29 +02:00
cschwinne
cb7b7f1dca
Add notice if no usermod installed
2021-05-11 23:21:57 +02:00
Blaz Kristan
b2f5bee20d
Conditional compile for disabled features.
2021-05-07 11:51:48 +02:00
Blaz Kristan
1a279d14c4
Dallas sensor detection.
...
Minor clenaup & fixes.
2021-04-29 17:44:31 +02:00
Blaz Kristan
29e048af7b
Merge branch 'master' into dev
...
Conflicts:
CHANGELOG.md
package.json
platformio.ini
usermods/Temperature/usermod_temperature.h
wled00/FX.cpp
wled00/FX.h
wled00/FX_fcn.cpp
wled00/cfg.cpp
wled00/data/index.js
wled00/data/settings_leds.htm
wled00/data/settings_time.htm
wled00/data/style.css
wled00/html_other.h
wled00/html_settings.h
wled00/html_ui.h
wled00/ntp.cpp
wled00/usermods_list.cpp
wled00/wled.cpp
wled00/wled.h
2021-04-14 18:19:51 +02:00
Blaz Kristan
9bfe27dd5e
Sunrise and sunset calculation and sunrise/sunset triggered presets.
2021-04-12 21:53:22 +02:00
Blaz Kristan
6a096fbb27
Fixed #define typo.
...
Made usermod Auto Save runtime configurable.
String optimisations.
2021-04-12 21:10:47 +02:00
cschwinne
48d5584491
Add switch support
2021-04-12 00:45:33 +02:00
Blaz Kristan
a6feb77e52
4LineDisplay rewrite for dynamic configuration.
...
Added handling for multiple pins in usermod.
Fixed minor bugs.
2021-04-11 00:38:13 +02:00
Blaz Kristan
13b3b2fd23
1st working usermod settings (Temperature).
...
Added color on pin conflicts in LEDs setting page.
2021-04-10 00:17:15 +02:00
Blaz Kristan
6eafab8286
Per strip "skip first led".
...
Removed RGBW override from UI.
Saving presets uses rev:1 API if possible.
2021-04-07 21:04:54 +02:00
Blaz Kristan
a52386e6ad
0.12 release
...
- removed AUX
- fix for negative values in LED settings
- fix for iOS app
2021-04-03 19:43:08 +02:00
cschwinne
46d66dded8
Release of WLED v0.12.0
2021-04-03 00:15:28 +02:00
Blaž Kristan
7078c91f7d
Skip first led cleanup.
2021-04-01 12:53:01 +02:00
Blaz Kristan
6ace46eece
Merge branch 'master' into dev.
...
Few other modifications.
Conflicts:
package.json
platformio.ini
wled00/FX.h
wled00/FX_fcn.cpp
wled00/bus_wrapper.h
wled00/cfg.cpp
wled00/data/index.css
wled00/data/index.htm
wled00/data/settings_leds.htm
wled00/html_other.h
wled00/html_settings.h
wled00/html_ui.h
wled00/json.cpp
wled00/set.cpp
wled00/wled.cpp
wled00/wled.h
wled00/wled_eeprom.cpp
wled00/wled_server.cpp
wled00/xml.cpp
2021-03-29 23:12:19 +02:00
cschwinne
4264c2a173
Test for arcane curses
2021-03-25 20:00:31 +01:00
Blaz Kristan
0a7df86f3f
Better ADALights pin 3 handling.
2021-03-21 10:34:47 +01:00
Blaz Kristan
77220e24dd
Reserved pins management.
...
Disabling ADALight by default.
2021-03-20 23:52:38 +01:00
cschwinne
8a2256e0d8
0.12 beta
2021-03-20 18:43:05 +01:00
Blaz Kristan
c59e792178
Reduced JSON buffer by 1k.
...
Increased max RAM FX usage on ESP32 to 20k.
Added relay On handling on realtime data if Off (@JDTSmith).
Added UI refreshing via websockets (@korkbaum).
2021-03-18 23:19:17 +01:00
Blaz Kristan
0f7e22d8b7
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/cfg.cpp
wled00/data/index.js
wled00/fcn_declare.h
wled00/html_ui.h
wled00/json.cpp
wled00/playlist.cpp
wled00/wled.h
2021-03-14 11:41:55 +01:00
cschwinne
26096bc136
Added options for Auto Node discovery
...
Optimized strings (no string both F() and raw)
2021-03-13 22:04:37 +01:00
Blaz Kristan
e3fabe92bd
Fixed slow NTP respone for calculating sunrise.
...
Fixed saving/loading only sunset trigger.
2021-03-09 13:24:20 +01:00
Blaz Kristan
142740f080
Sunrise/sunset re-calculated after saving time settings.
2021-03-08 19:52:43 +01:00
Blaz Kristan
09e51c2399
Sunrise/sunset info added to settings..
...
Sunrise/sunset calculated every minute (debug).
2021-03-08 19:40:06 +01:00
Blaz Kristan
6bfdf0eb4d
Whitespace fix (dtostrf) for lat/lon.
2021-03-07 20:50:54 +01:00
Blaz Kristan
43677685bb
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/cfg.cpp
wled00/const.h
wled00/data/settings_leds.htm
wled00/html_settings.h
wled00/set.cpp
wled00/wled.h
wled00/xml.cpp
2021-03-07 17:53:15 +01:00
cschwinne
9b3e6270d5
Auto start field population in bus config
2021-03-07 00:42:21 +01:00
Blaz Kristan
b5abc6c724
Added sunrise/sunset triggered presets.
2021-03-07 00:04:46 +01:00
cschwinne
71edc3a084
Fixed incorrect over-memory indication in LED settings on ESP32
2021-03-06 02:35:49 +01:00
Blaz Kristan
f74a45a33e
Sunris/sunset detection.
2021-03-05 23:05:09 +01:00
Blaz Kristan
e5417d12ca
General cleanup & optimisations.
...
Pushing memory to (safe-ish) limits.
2021-03-03 22:04:24 +01:00
Blaz Kristan
6e19e6f0a0
Add reserved pins for ESP32 too.
2021-03-02 11:46:25 +01:00
Blaz Kristan
071281c13a
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Minor warning suppressions.
Conflicts:
wled00/FX.cpp
wled00/FX_fcn.cpp
wled00/cfg.cpp
wled00/wled.h
wled00/xml.cpp
2021-03-02 11:00:07 +01:00
Aircoookie
195af002cf
Merge pull request #1779 from Aircoookie/fixwarnings
...
Fix warnings
2021-02-27 02:08:01 +01:00
cschwinne
befeb55349
Memory check on bus creation
2021-02-27 00:57:12 +01:00
Louis Beaudoin
b460d0f533
Fix Warnings ( #1744 )
...
* Remove -w (Suppress all warnings, including those which GNU CPP issues by default.) and add back in -Wall (Turn on all optional warnings which are desirable for normal code.) from build_flags
* Fixes warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
* Fixes warning: "CONFIG_LITTLEFS_FOR_IDF_3_2" redefined
* Fixes warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
* Fixes warning: enumeration value 'onoff' not handled in switch [-Wswitch]
* Fixes warning: "ntohl" redefined, warning: "ntohs" redefined, warning: "htonl" redefined, warning: "htons" redefined
- Original fix: 858f8f4ee9
* Fixes warning: unused variable 'mainSeg' [-Wunused-variable]
* Fixes warning: unused variable 'start' [-Wunused-variable]
* (untested!) Fixes warning: operation on '...' may be undefined [-Wsequence-point]
* Fixes warning: unused variable
* Fixes warning: unused variable and warning: narrowing conversion
* Fixes warning: unused variable
* Fixes warning: unused variable
* (untested!) Fixes warning: statement has no effect [-Wunused-value]
* Fixes warning: control reaches end of non-void function
* Fixes warning: unused variable
* Fixes warning: left operand of comma operator has no effect
* Fixes warning: no return statement in function returning non-void
* (untested!) Fixes warning: ISO C++ forbids converting a string constant to 'char*' and fixes warning: unused variable 'nPins'
* Fixes warning: deleting array 'dmxData'
* Fixes warning: unused variable
* Remove all warning suppression buildflags
Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-27 00:20:31 +01:00
Blaž Kristan
2812f61957
Debug pin fix.
2021-02-25 09:56:09 +01:00
Blaž Kristan
f23cee17eb
Minor fixes and optimisations.
...
Temperature usermod update for pin saving.
2021-02-25 09:54:10 +01:00
Blaz Kristan
f24fcfca69
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/set.cpp
wled00/xml.cpp
2021-02-24 22:11:27 +01:00
Blaz Kristan
77dee439e6
1st attempt at 'blazoncek' 0.12
2021-02-24 20:23:32 +01:00
cschwinne
d7790a04c5
5 configurable pins per bus (for analog)
2021-02-24 14:49:39 +01:00
cschwinne
2c0b07387b
Added QuinLED-ESP32-Ethernet type
...
Set 19531 as default ESP32 PWM frequency
2021-02-23 00:47:48 +01:00
cschwinne
f3aa8d368e
Multipin appears to work
2021-01-31 00:38:27 +01:00
cschwinne
9bdcfc8a45
LED settings JS possibly complete (need to add saving logic to set.cpp)
2021-01-26 01:58:34 +01:00
cschwinne
89b76b514c
Settings progress
2021-01-26 00:19:41 +01:00
cschwinne
c105f3b970
Mulipin select compiles
...
Need to work on JS and set.cpp next
2021-01-21 01:21:16 +01:00
cschwinne
b0306867b4
Resolve merge conflict
2021-01-18 21:03:10 +01:00
cschwinne
d5025fdbcc
Fixed canAllShow() and removeAll()
2021-01-18 20:51:32 +01:00
Blaz Kristan
bb8d5ac13f
Dynamic allocation for bus manager.
2021-01-17 00:20:31 +01:00
lonestriker
82e7328903
Add support for WT32-ETH01 ethernet board and make ethernet support configurable ( #1583 )
...
* Initial support for WT32-ETH01 board
* Initial ethernet config option, doesn't save yet
* Fixed saving/restoring ethernet option, works now!
* Fixed ESP32-POE pin config (thanks to tbnobody)
* Remove esp32_eth target (use poe), minor cleanup
* Fix BTNPIN for WT32-ETH01, as found by @k7bbr
* Various fixes to ethernet option
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-01-15 10:37:45 +01:00
Mike
068c5851ef
Add fields for customization Blynk host ( #1543 )
...
* Add fields for customization Blynk host
Add fields to 'Sync Interfaces' for customization Blynk host.
Now you can set you own Blynk server.
All you needs its set custom host and port to local Blync server.
* Lower blynk host length (memory usage)
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2020-12-22 00:44:16 +01:00