Blaz Kristan
ccab1844ce
Parameterised max. usermods
2021-05-04 22:48:18 +02:00
Blaz Kristan
5a6be54970
Max 6 usermods on ESP32, fixed ESP32S2 number of busses.
2021-05-04 22:35:36 +02:00
Blaz Kristan
d5fd5954d1
Added SW I2C support for ESP8266.
2021-05-03 13:11:42 +02:00
Blaz Kristan
977075763d
Removed console logging.
2021-05-01 22:12:40 +02:00
Blaz Kristan
757172934e
MultiRelay usermod.
...
beta 2
2021-05-01 19:38:13 +02:00
Aircoookie
1a2543ddde
Added FPS test utility
2021-04-30 00:00:46 +02:00
Blaz Kristan
1a520f8782
Minor usermod optimisations.
2021-04-29 22:39:08 +02:00
Blaz Kristan
b56c1b956c
Display seconds only if not AM/PM.
2021-04-29 17:52:47 +02:00
Blaz Kristan
1a279d14c4
Dallas sensor detection.
...
Minor clenaup & fixes.
2021-04-29 17:44:31 +02:00
Blaz Kristan
0d8e763a5f
Code clean-up.
2021-04-28 17:40:10 +02:00
Blaz Kristan
bf6d3649a4
"Out of memory" fix when no presets are created.
2021-04-27 17:01:15 +02:00
Blaz Kristan
65fd705d9a
ESP32-S2 NPB methods filtered.
...
Default IR pin removed (set to -1).
Minor fixes.
2021-04-26 20:11:36 +02:00
Blaz Kristan
311e54451b
Minor bug fixes.
2021-04-25 21:15:57 +02:00
Eric Severance
8b759bc5d9
TM1814 requires refreshes to remain powered off and a slightly faster refresh speed.
2021-04-25 09:08:02 -07:00
acshef
9a0aac4745
Add IP Address to JsonInfo ( #1912 )
...
* Add IP Address to JsonInfo
The value is added to the JSON only if the device is connected to the network, and uses the JSON key `"sip"` to match [wled00/xml.cpp](wled00/xml.cpp#L249). The overarching goal of this is to expose the IP Address to the Home Assistant WLED Integration, so that Home Assistant can provide a link to the WLED device (either directly through the Integration/Device page 🤞 or *ad hoc* in Lovelace).
* IP in JSON info
Empty string if not connected
Co-authored-by: Aircoookie <cschwinne@gmail.com>
2021-04-25 01:37:16 +02:00
Blaz Kristan
cb6607a169
Added new partition scheme for ESP32 WROVER (code size >1.3M)
...
Updated bus_wrapper for ESP32-S2 (use #define ARDUINO_ARCH_ESP32S2)
Removed DallasTemperature.h from Temperature usermod.
2021-04-24 22:24:14 +02:00
Blaz Kristan
d6338d7b11
Changed codename to Ryujin.
...
Added blinking colon on display usermod.
2021-04-23 17:21:45 +02:00
Blaž Kristan
f96a5ec774
Changed version to 0.12.2-bl1
...
Optimised strings in Animated Staircase usermod.
Minor typos.
2021-04-23 14:32:18 +02:00
Blaz Kristan
1be8e7e216
Added 128x64 SSD1306 display.
2021-04-23 00:08:53 +02:00
Blaz Kristan
cf9cf9d7bb
Merge branch 'master' into dev
...
Conflicts:
package.json
wled00/html_other.h
wled00/html_settings.h
wled00/wled.h
2021-04-22 22:48:08 +02:00
Blaz Kristan
6ba1795ded
Flash optimizations & class texts.
2021-04-22 22:34:43 +02:00
cschwinne
ced0cc1bac
0.12.1-b1
2021-04-22 01:12:31 +02:00
cschwinne
3c49f22266
Merge branch 'master' of https://github.com/Aircoookie/WLED
2021-04-22 00:47:58 +02:00
cschwinne
13ae99edec
Reduce TV simulator flash usage
2021-04-22 00:47:50 +02:00
Andy Shinn
0f82730a78
Release engineering improvements ( #1844 )
...
* version set from package.json and release bin names
* support direnv virtualenv
* versioned PlatformIO environment
* matrix support for parralel CI
* gather artifacts
* release on tagging
* minor scripts formatting
2021-04-22 00:41:36 +02:00
Blaz Kristan
8608c45309
Merge branch 'master' into dev
...
Conflicts:
CHANGELOG.md
wled00/FX.cpp
wled00/FX_fcn.cpp
wled00/ntp.cpp
wled00/wled.h
wled00/wled_math.h
2021-04-21 21:16:08 +02:00
cschwinne
ff083daf31
Merge branch 'master' of https://github.com/Aircoookie/WLED
2021-04-21 17:22:00 +02:00
cschwinne
7f6a554e1b
Small adjustments
2021-04-21 17:21:55 +02:00
Eric Severance
eb99271120
Use 22.5 for the TM1814 max current ( #1905 )
...
* Configure TM1814 max current
* Use 22.5 mA as this seems to be a common value for the LEDs
2021-04-20 21:36:52 +02:00
Blaz Kristan
04aa22b510
Removed debug output in Animated Staircase.
...
Added PIR sensor switch usermod.
2021-04-19 22:24:55 +02:00
Eric Severance
13e5c695c3
Initialize PixelSettings for TM1814 strips ( #1847 )
...
* Better handling for TM1814 strips
* Call SetPixelSettings after Begin as described on the NeoPixelBus wiki
* Use NeoTm1814Settings::MaxCurrent constant
2021-04-18 19:14:12 +02:00
Blaz Kristan
1cd56decab
Rewritten usermod config saving/reloading.
...
Changed temperature reading (to work on ESP32 more reliably).
Added Animated staircase usermod to the collection.
2021-04-17 17:04:36 +02:00
Blaz Kristan
585f8f4683
WLED math optimisations.
2021-04-16 20:07:54 +02:00
Def3nder
12de47c923
Fix TV-Simmulator Effect flash usage ( #1621 )
...
* Add alternative TV-Sim version without tv_colors.h
...and safe 18k flash this way
* ...remove the define
2021-04-16 10:22:22 +02:00
cschwinne
afde7940d8
NUM_STRIPS
no longer required with compile-time strip defaults
2021-04-16 01:01:24 +02:00
Blaz Kristan
dcc7ba8f93
Changed ability to add multiple busses as compile time defaults,
...
using the esp32_multistrip usermod define syntax.
2021-04-15 22:19:58 +02:00
cschwinne
01dd41bdbf
Added ability to add multiple busses as compile time defaults using the esp32_multistrip usermod define syntax
2021-04-15 10:55:22 +02:00
Blaz Kristan
7d5b20314c
Ahhhh.
2021-04-14 18:22:00 +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
cschwinne
f3b84f1365
Switch trigonometric implementation, saves 460b memory
2021-04-14 16:49:47 +02:00
cschwinne
5751d5c1b0
Fixed Button, IR, Relay pin not assigned by default ( resolves #1891 )
...
Fixed instance discovery not working if MQTT not compiled in
2021-04-14 01:16:32 +02:00
Aircoookie
3d2336aac1
Merge pull request #1890 from blazoncek/holiday-list
...
Easier holiday/special events handling for background images.
2021-04-14 00:56:41 +02:00
cschwinne
afe5f19464
Update holiday BG durations
...
Fix semicolons
2021-04-14 00:44:07 +02:00
Blaž Kristan
c38f0d751b
Cleanup & typo fix.
2021-04-13 08:11:51 +02:00
Blaz Kristan
f411e07fb4
Easier holiday/special events handling for background images.
2021-04-12 23:00:22 +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
6404071a01
Holidy wallpapers.
2021-04-11 21:11:43 +02:00
Aircoookie
5786f1d057
Merge pull request #1863 from fishbone-git/running_dual
...
Running dual
2021-04-11 00:59:56 +02:00
cschwinne
87c6f3c757
Add gap for Running Dual
2021-04-11 00:50:14 +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
9a6d709082
Reduced rev:2 API use.
...
Changed version to 0.12.1-a0
2021-04-08 15:46:18 +02:00
Aircoookie
48c0360877
Merge pull request #1850 from eg321/VL53L0X-gestures
...
Support of simple gestures for VL53L0X laser sensor
2021-04-08 15:31:37 +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
Aircoookie
daa77d40a3
Merge pull request #1862 from fishbone-git/drip
...
Drip: use constrain to keep in segment limits
2021-04-07 00:59:38 +02:00
Blaz Kristan
c901512db0
Removed STATUSLED
...
Fix for possible Drip effect ESP reboot.
2021-04-06 22:30:23 +02:00
cschwinne
789c00dde1
Change indexSet to signed 32 bit
2021-04-06 11:42:21 +02:00
Blaž Kristan
90da471084
Fix for mirrored segments.
2021-04-06 07:48:12 +02:00
Blaž Kristan
2d55056015
Merge branch 'master' into ledmap-multisegment-fix
2021-04-05 21:19:19 +02:00
Blaz Kristan
ffab9bb893
Ledmap multisegment fix.
2021-04-05 21:14:36 +02:00
fishbone-git
1192d04391
sync and merge master
2021-04-05 20:49:31 +02:00
fishbone-git
f18dced2f3
use constrain to keep in segment limits
2021-04-05 16:08:35 +02:00
Blaz Kristan
31ea032054
Added segment names.
2021-04-04 21:10:44 +02:00
Blaz Kristan
89543e927a
Added multiple ledmaps, selectable via JSON API.
2021-04-04 13:54:34 +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
ecdc0a3800
Fixed ESP32 crash on Drip effect with reversed segment ( #1854 )
2021-04-03 17:18:29 +02:00
cschwinne
46d66dded8
Release of WLED v0.12.0
2021-04-03 00:15:28 +02:00
Egor Chernodarov
601005f837
Support of simple gestures for VL53L0X laser sensor
2021-04-02 23:04:10 +07:00
cschwinne
fbe866198d
Fixed iOS LED settings
2021-04-02 16:52:53 +02:00
Blaz Kristan
70546cd2ec
UI code optimisations.
2021-04-01 22:13:44 +02:00
Blaz Kristan
a7c99cbbd2
Option to use segment length instead of stop.
2021-04-01 17:12:45 +02:00
Blaž Kristan
40780ccec7
Settings cleanup for pins.
2021-04-01 14:03:43 +02:00
Blaž Kristan
7078c91f7d
Skip first led cleanup.
2021-04-01 12:53:01 +02:00
Blaz Kristan
0e2168392c
Checkboxes for pins.
2021-03-31 21:36:19 +02:00
Blaz Kristan
380006c9d8
UI sync button refresh fix.
2021-03-31 20:07:37 +02:00
Blaz Kristan
4127882e5f
Increased JSON buffer to 9k.
...
Removed daytime symbol from info page.
2021-03-31 16:41:20 +02:00
Blaz Kristan
5f17d30973
Getting on par with master.
2021-03-30 20:43:46 +02:00
cschwinne
8755a9bcda
0.12.0 Beta 5 ( fixes #1837 )
2021-03-30 02:04:02 +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
Blaž Kristan
37cab07295
Reverting HSPI use on ESP32.
2021-03-29 09:00:41 +02:00
cschwinne
e46078286d
0.12.0 Beta 4
2021-03-29 02:28:34 +02:00
Blaz Kristan
cfeb88f649
Version bump. :(
2021-03-28 22:50:09 +02:00
Blaz Kristan
7ce197e0c8
Adding skinning capabilities to WLED.
2021-03-28 22:49:41 +02:00
Blaz Kristan
f93b1167f1
Reduced SPI speed for WS2801 to 2MHz.
...
Added HW SPI for busses 0 and 1.
2021-03-28 21:00:07 +02:00
Blaz Kristan
152ca63529
Possible fix for HW SPI on ESP32.
2021-03-28 17:33:53 +02:00
cschwinne
806221bc3f
Move RGBW activation to wled.cpp
2021-03-28 17:31:05 +02:00
Blaz Kristan
2e8d5311a5
New font. UI fixes.
...
Skinning with CSS.
2021-03-28 17:15:26 +02:00
Blaž Kristan
23b5fd1c12
BusManager static method.
2021-03-26 11:52:04 +01:00
Blaz Kristan
7a8ba7d47d
Still some fixes for UI.
2021-03-25 21:49:11 +01:00
Blaz Kristan
1a509cf3e0
Palette preview fix.
2021-03-25 21:13:47 +01:00
Blaz Kristan
9848f9613c
UI bugfixes.
2021-03-25 20:34:39 +01:00
cschwinne
4264c2a173
Test for arcane curses
2021-03-25 20:00:31 +01:00
Blaz Kristan
93cefb88f5
CRLF madness. :(
2021-03-25 20:00:08 +01:00
Blaz Kristan
7132e1fee1
Further compatibility enhancement.
2021-03-25 17:20:07 +01:00
Blaz Kristan
e70e1b8ad7
Adding backwards compatibility.
2021-03-25 17:07:03 +01:00
Blaz Kristan
77d8a8e43d
Reducing JSON buffer size requirements.
...
Increasing maximum number of segments.
2021-03-24 23:55:39 +01:00
Blaz Kristan
0b75a7d0d3
Fix current calculation.
2021-03-23 15:34:46 +01:00
cschwinne
1f4a15ee6b
Fixed current estimation
2021-03-23 14:08:01 +01:00
Blaž Kristan
f6772eaf59
FPS drop workaround.
2021-03-23 07:05:40 +01:00
cschwinne
bab4f9963f
Bump version code (never deploy at 3am)
2021-03-23 03:15:43 +01:00
cschwinne
1dbcac4f53
Framerate bug workaround
2021-03-23 03:10:24 +01:00
Blaz Kristan
7ac5abe7f8
Missing include.
2021-03-22 23:27:40 +01:00
Blaz Kristan
157e6b2a33
Sticky default & solid.
2021-03-22 23:19:39 +01:00
cschwinne
8d20a13776
Fixed chevron icon not included
2021-03-22 00:31:01 +01:00
Blaz Kristan
a385ea7c52
UI tweaks.
2021-03-21 22:33:04 +01:00
Blaz Kristan
c58a3c41d8
Version bump.
2021-03-21 10:35:29 +01:00
Blaz Kristan
0a7df86f3f
Better ADALights pin 3 handling.
2021-03-21 10:34:47 +01:00
cschwinne
213bc75ae1
Change cache control to revalidate each time
2021-03-21 02:40:12 +01:00
Blaz Kristan
f8df7ebb7c
UI optimisation.
2021-03-21 00:08:42 +01:00
Blaz Kristan
60503c31fb
IR pin saving.
2021-03-20 23:59:17 +01:00
Blaz Kristan
77220e24dd
Reserved pins management.
...
Disabling ADALight by default.
2021-03-20 23:52:38 +01:00
Blaz Kristan
3c25e11c5f
Moved from alpha to beta.
2021-03-20 23:20:03 +01:00
Blaz Kristan
be2ffc31b2
Reduction of buffer size.
...
Caching tweak.
2021-03-20 23:04:24 +01:00
cschwinne
8a2256e0d8
0.12 beta
2021-03-20 18:43:05 +01:00
Blaz Kristan
adfb24ce02
Removed mobile Nodes button.
...
Tapping on node name triigers the same.
2021-03-20 16:03:59 +01:00
Blaz Kristan
e6d50f94ee
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/data/index.css
wled00/data/index.htm
wled00/data/index.js
wled00/html_ui.h
wled00/json.cpp
2021-03-20 14:48:49 +01:00
Blaz Kristan
520798bfa6
Fixing include.
2021-03-20 13:12:11 +01:00
Blaz Kristan
e539a36ae7
Fix for empty WS reponse.
...
Scroll selected preset into view.
2021-03-20 13:11:10 +01:00
Blaz Kristan
bfab2d405b
Removed unnecessary vars.
2021-03-19 16:23:16 +01:00
Blaz Kristan
df38f00cf2
Optimised websockets UI refresh.
2021-03-19 16:09:24 +01:00
Blaž Kristan
a30ce1c44d
Websockets handling of JSON response.
2021-03-19 10:28:41 +01:00
Aircoookie
eee2450c9e
Merge pull request #1786 from DerFetzer/fix_fx_sync
...
Send notification for HTTP API calls with only effects parameters
2021-03-19 09:09:17 +01:00
Blaž Kristan
baf4a241a2
Remove toggleOnOff() and use setBrightness().
...
Return state to Off if it was Off when realtime mode started.
2021-03-19 08:24:45 +01:00
Aircoookie
e2242f5d99
Merge pull request #1804 from blazoncek/chunchun-fix
...
Slight modification of Chunchun effect.
2021-03-19 00:05:21 +01:00
Christophe Gagnier
4a20f43fbf
Search bar and palettes preview ( #1637 )
...
* Fix swipe behavior on firefox when clicking on palette selection input
When clicking on the palette select element on firefox, it would often swipe to the next tab due to a bug in firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1410816
* Update UI .h files and remove console log
* Fix indentation in requestJson
* Add palette preview
Add palette and effects search
* Add palette preview
Add palette and effects search
* Add palette preview
Add palette and effects search
* Add palette preview
Add palette and effects search
* Fix error with background image
* Add missing palettes
* Add expiration to cached palette data
* Remove extra console.log
* bug fixes for palettes
* Rename "Default" effect back to "Solid"
* Fix scrolling issue when selecting an effect
* Add sticky default and sticky selected item
* Change checkboxes for radio button
* build html .h files
* Design Iteration 1
* Palette preview style changes
* Add button for clearing search field
* Use version ID for caching palette data rather than 24h expiration
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-03-18 23:59:56 +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
e6a99c1d33
UI Info page fix.
2021-03-18 17:31:34 +01:00
Blaz Kristan
3548628c2c
Mobile Nodes button is back!
2021-03-17 17:11:05 +01:00
Blaž Kristan
bb84157a21
Cosmetic fixes & size optimisation.
2021-03-17 09:30:23 +01:00
Blaz Kristan
eb10aa8c97
Semicolon.
2021-03-15 22:47:04 +01:00
Blaz Kristan
e06d269b82
Slight modification of Chunchun effect.
2021-03-15 17:01:56 +01:00
Blaz Kristan
07428922c3
Auto refreshing UI every 15secons.
2021-03-14 22:34:27 +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
Aircoookie
ba4c3e3852
Merge pull request #1724 from blazoncek/playlist-fix
...
Playlist handling.
2021-03-13 22:46:32 +01:00
cschwinne
b8de36b340
Cleanup
2021-03-13 22:46:08 +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
caae57d960
Adding multiple compile time pins.
2021-03-12 23:56:29 +01:00
Blaz Kristan
f91384596c
PIR sensor usermod pin reservation.
...
Time settings UI tweaks.
2021-03-10 18:46:13 +01:00
Blaz Kristan
cb38976162
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
...
Conflicts:
wled00/NodeStruct.h
wled00/data/index.htm
wled00/data/index.js
wled00/fcn_declare.h
wled00/html_ui.h
wled00/json.cpp
wled00/udp.cpp
wled00/wled.cpp
wled00/wled.h
2021-03-10 13:23:03 +01:00
cschwinne
3460f9d9cc
Auto discovery follow-up
2021-03-09 18:00:02 +01:00
Aircoookie
20bebe98b1
Merge branch 'dev' into autodiscovery
2021-03-09 17:24:57 +01:00
cschwinne
91d885eae4
Fix node type
2021-03-09 17:21:19 +01:00
cschwinne
ea3358ecb2
Autodiscovery improvements
2021-03-09 16:23:19 +01:00
Blaz Kristan
4c5c4d1700
Minor UI tweak.
2021-03-09 14:01:18 +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
0892eb271d
Minor F() fixes.
2021-03-08 07:53:27 +01:00
Blaz Kristan
536be76ecb
Switched lat/lon.
2021-03-08 06:27:00 +01:00
Blaz Kristan
6bfdf0eb4d
Whitespace fix (dtostrf) for lat/lon.
2021-03-07 20:50:54 +01:00
Blaz Kristan
8320ed5a92
Bugfixes.
2021-03-07 18:34:06 +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
Blaz Kristan
61e0aa9845
Fixed missing ellipsis.
2021-03-07 15:33:08 +01:00
Blaz Kristan
34eee005a8
Add comment & update fcn_declare.
2021-03-07 12:43:13 +01:00
Blaz Kristan
6fa136da0c
Minor tweaks & optimisations.
2021-03-07 11:14:16 +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
0a1d04495d
Version bump
2021-03-05 13:10:59 +01:00
Blaz Kristan
49dee560fd
Sticky save & back buttons.
2021-03-05 09:50:59 +01:00
cschwinne
05521bfd3a
Added destructor for BusPwm ( fixes #1789 )
2021-03-04 22:17:25 +01:00
Blaz Kristan
6c997f573a
Added vrsion info to autodiscovery packet.
2021-03-04 14:34:36 +01:00
Blaz Kristan
c4689c3bcc
Added version info in autodiscovery packet.
2021-03-04 14:24:25 +01:00
cschwinne
c0dd98b6d7
Fixed relay mode inverted when upgrading from 0.11.0
2021-03-04 12:10:18 +01:00
Blaz Kristan
83452d73bc
Code clean-up.
2021-03-04 11:17:17 +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
DerFetzer
56cf1c818b
Send notification for HTTP API calls with only effects parameters
2021-03-01 22:44:28 +01:00
Blaz Kristan
61101987f9
Minor tweaks to Chunchun & Plasma FX.
2021-03-01 19:50:14 +01:00
Blaz Kristan
a057e50684
Forgotten .h file.
2021-03-01 12:41:14 +01:00
Blaz Kristan
5f3dc660c8
Fix for index count in settings.
...
Pin conflict on submit.
2021-03-01 11:56:02 +01:00
Blaz Kristan
5553964d52
Moved nodes from Info to separate tab.
2021-03-01 11:13:40 +01:00
Blaz Kristan
51ead2f6bd
Version bump.
2021-03-01 10:28:43 +01:00
Blaz Kristan
d433b25627
Fix for deallocation of PWM pins (missing destructor).
2021-03-01 10:27:55 +01:00
Blaz Kristan
bd7671c07e
Debug for analog pin.
...
Minor tweaks.
2021-02-28 22:54:30 +01:00
Blaz Kristan
847178b7be
Move node discovery in separate page.
2021-02-28 18:16:24 +01:00
Blaz Kristan
90808ac67e
Power off playlist unload.
2021-02-28 15:34:18 +01:00
Blaž Kristan
a899ea8b4d
Prevent RGBW checkbox modification for analog LEDs
2021-02-27 18:46:35 +01:00
Blaz Kristan
7b83b99ac9
Fix for resetting segments.
2021-02-27 12:06:14 +01:00
Aircoookie
195af002cf
Merge pull request #1779 from Aircoookie/fixwarnings
...
Fix warnings
2021-02-27 02:08:01 +01:00
cschwinne
44a9fed8a9
Fix more warnings
2021-02-27 01:50:08 +01:00
cschwinne
cfc346abad
Fix warnings misc fixes
2021-02-27 01:16:06 +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
Blaz Kristan
c11acb6308
Minor UI tweaks.
2021-02-26 22:43:57 +01:00
Blaz Kristan
d76103eb76
Minor UI tweak.
2021-02-26 18:46:16 +01:00
Blaz Kristan
779f984a30
Minor UI fix.
2021-02-26 16:46:46 +01:00
Blaz Kristan
9c55017191
Stray } fix.
2021-02-26 16:21:49 +01:00
Blaz Kristan
c6f575d8d3
Preprocessor fix.
2021-02-26 16:05:05 +01:00
Blaž Kristan
2c0c22dbf3
RGBW override cleanup, UI fix.
2021-02-26 08:34:38 +01:00
Blaz Kristan
73a99a7dea
Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
2021-02-25 23:02:37 +01:00
Blaz Kristan
3c81337630
PWM pins saving (hack bug) fix. UI changes.
2021-02-25 22:55:49 +01:00
Blaž Kristan
3f41ba6bdf
Pin clash fix, minimization.
2021-02-25 13:22:29 +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
Rolf
746a8badac
Animated Staircase Usermod ( #1763 )
...
* Initial version of the PIR Staircase wipe up/down.
* Add pulldown reminder
* Workaround for missing D6 and D7 definitions on esp32dev
* Add pinouts for d1 mini (esp8266 and esp32) and NodeMCU (and Arduino)
* These IO pins on all these boards... NodeMCU and d1_mini esp32 supported. The others? Fingers crossed.
* Changed to not collide with led strip pins
* PIR on GPIO 15 and 16 on esp32 d1 mini
* Removed PIN number ifdefs, it is impossible to match all boards
* Settings in flash, info and API
* Update README.md
* Small doc changes
* Improved README
* Fixed error in reading configuration
* Add API documentation
* Documentation and code cleanup
* Add enable/disable to API settings
* Restore segment state when disabling plugin
* Add debounce
* Set segments in animation mode
* Set segments in animation mode
* Add support for HR04 sensors
* Add preliminary description for using an HR04 sensor
* Fixed typenumber and linked to datasheet
* Moved config away from defines to prevent user error
* Trigger Sensors through API
* Rename scripts folder so that it's name doesn't clash with the `pio` command (prevents platformIO in VSCode to work properly on Mac)
* Bugfix for detection problems
* Separated config from code
* Renamed Signal to Trigger pin
* Filename adjusted
* Clarifications and additions to README
* Fixed references to pio scripts
* Fixed API trigger bug
* Adjustments to README.md
* More efficient use of flash cycles, better naming
* Bugfix: bottom sensor was not read properly
* Renamed to Animated_Staircase
* Add note on ultrasonic sensor and esp32
* Better naming of defines
* Bugfix: Swipe down started with two steps.
* Removed upload port in nodemcuv2 section
Co-authored-by: Rolf <rolf@phobos.local>
Co-authored-by: Rolf <>
2021-02-25 09:52:48 +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
d60506a75d
Skip 1st fix, save LED count, removed reverse.
2021-02-24 21:33:44 +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
Aircoookie
37d5b9109f
Merge branch 'dev' into mergedev_210222
2021-02-22 22:31:12 +01:00
Aircoookie
76e269ee21
Merge pull request #1764 from k7bbr/master
...
Add support for WESP32 board, change default Ethernet type to none, add macro to specify default Ethernet type at compile time
2021-02-21 22:38:15 +01:00
k7bbr
e4cda4bb99
change default Ethernet board to none
2021-02-20 02:18:37 -07:00
k7bbr
f333f867c5
Updated platformio.ini to reference esp32_eth env
...
change default ethernet type to none
add macro option to change default eth board at compile time
2021-02-20 01:54:54 -07:00
Kevin Dorff
75c46f7a0e
Create the sorted index of modes and palettes at startup ( #1741 )
...
* Very incomplete work toward sorting.
* Sort modes and palettes upon startup so I don't have to maintain the static index array.
* Remove cpp test file I used for development
* Added ModeSortUsermod, modified the other two usermods to use it.
* Update platformio_override.ini.sample and readme for ModeSortUsermod
* restore methods accidentally removed.
2021-02-18 00:28:01 +01:00
Aircoookie
5c6cb41124
Merge pull request #1742 from WJCFerguson/geometric_IR_brightness_steps
...
IR: change to non-linear brightness steps
2021-02-17 23:59:38 +01:00
Louis Beaudoin
96d5c03a6d
bus_wrapper improvements for SPI output
...
- Identifying ESP32 hardware SPI by pin number is broken and flawed, replace with temporary hack instead until a better method of assigned resources can be devised
- NeoPixelBus doesn't support HSPI, only VSPI right now, so matching HSPI pins to enable a non-existent VSPI driver is broken
- ESP32 SPI peripherals can use alternate pins, so choosing to use hardware SPI only on the default pins is flawed
- Specify pins during Begin() call to allow for alternate pins and avoid driving the chip select signal
- Dotstar Software/Hardware output tested on ESP32, other SPI protocols and ESP8266 support was not tested
2021-02-17 17:03:57 +00:00
Louis Beaudoin
3a03bc41a7
Fix bus_wrapper.h bugs:
...
- missing breaks in switch(busType identifying SPI LEDs)
- set correct pin order for begin()
2021-02-17 16:58:03 +00:00
Aircoookie
331844ff73
Merge pull request #1708 from Matchlighter/patch-1
...
Add DNRGBW Mode for Real Time UDP Control
2021-02-16 17:43:33 +01:00
James Ferguson
2bc38e3784
IR: change to non-linear brightness steps
...
Prior Incrementing/decrementing by fixed steps (typically 10) means large
perceptual jumps at low brightness and small jumps at high brightness. This
change moves to a geometric progression, closer at the bottom of the range and
widely spaced at the top.
While it could be done as a relative jump (incrementing by bri/4 and
decrementing bri/5 works quite well), it makes for irregular behavior when
moving back and forth.
2021-02-13 18:29:56 -05:00
cschwinne
d580dedfc8
Remove stray endif
2021-02-13 01:48:05 +01:00
cschwinne
aa0f4c9985
Update dev branch (resolve conflicts)
2021-02-13 01:43:16 +01:00
b3nj1
aa242d897d
DHT22/DHT11 humidity/temperature sensor usermod ( #1719 )
...
* DHT22/DHT11 humidity/temperature sensor usermod
* cleanup - don't report when usermod is auto-disabled since report isn't persistent
* track error count; retry once after error occurs
* for esp32, use esp32DHT library
* fix unreliable ESP32 readings by switching DHT library to https://github.com/alwynallan/DHT_nonblocking
* change default pin to Q2; don't burst readings if error occurs
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-13 01:21:13 +01:00
cschwinne
2f7be3475d
Updated mapping comment
2021-02-13 01:02:14 +01:00
Blaz Kristan
2544d2e068
Dynamic LED map creation from JSON file /ledmap.json in format {"map":[4,3,2,1,...]}.
...
Used for rearranging LEDs (matrices, awkward placement, ...)
2021-02-12 11:54:35 +01:00
k7bbr
a09f64aee5
Add Ethernet support for WESP32 board
2021-02-11 02:36:15 -07:00
Aircoookie
f7114fc2aa
Merge pull request #1729 from blazoncek/tetris-fx
...
Tetris (falling bricks) effect & Colortwinkles low brightness fix.
2021-02-10 00:42:35 +01:00
cschwinne
7092f337ef
Faster Tetrix mode
...
- Replaced a letter in name (copyright)
- 2x speed
- Replaced Merry christmas mode
2021-02-10 00:37:05 +01:00
Kevin Dorff
8e71c3ae17
Rotary Encoder, Four Line Display, and Auto Save Usermods ( #1722 )
...
* Ability to lookup Usermod by id so Usermods can use other Usermods.
* Rotary Encoder UI using two Usermods
* Updates. More to come, probably.
* Updated rotary usermod to honor USE_FOUR_LINE_DISPLAY if you want to use four line display. It should be truly optional, now.
* minor logic improvement to showing the current time in clock mode.
* improved 24 hour display foratting and ability to use the FourLineDisplayUsermod without the RotaryEncoderUIUsermod (option disable sleep and clock modes).
* Improved ordering of defines in the FourLineDisplayUsermod to put options people might need to change together toward the top.
* relocate plugins. add mention of the Wire requirement.
* usermod filenames changed, updating comment in const.h
* fix usermod locations.
* fix usermods_list to include changed folder.
* Improved for both usermods: install, config, and docs. Included sample platform_override.ini.
* Updated name of SDA and SCL defines for config of display
* update docs.
* Wrong year. Fixed.
* Fix youtube link, improve config of sleep/clock when the rotary usermod isn't installed.
* Minor fixes to four line display. Addition of Auto Save v2 usermod.
* Allow config for auto-save to set the preset number to use. Load preset at startup (so brightness is set correctly).
* Updated docs for Auto Save.
* Updated docs for Auto Save.
Co-authored-by: Kevin Dorff <kevin@macbookpro-kevin-wifi.local>
2021-02-09 17:15:43 +01:00
Blaz Kristan
a9c211d66c
Tetris (falling bricks) effect & Colortwinkles low brightness fix.
2021-02-07 14:45:34 +01:00
Blaz Kristan
a1c2c04510
Playlist handling.
2021-02-05 17:36:53 +01:00
cschwinne
0902b628f8
Added FPS indication in info
2021-02-05 01:33:26 +01:00
Aircoookie
94941a7732
Merge pull request #1704 from Moustachauve/content-cache
...
Add Cache-Control to index
2021-01-31 00:42:24 +01:00
cschwinne
f3aa8d368e
Multipin appears to work
2021-01-31 00:38:27 +01:00
cschwinne
9518c5f2e4
might work
2021-01-30 20:51:36 +01:00
cschwinne
e44173ff09
JSON ledDoc (does not work, crash on delete)
2021-01-30 13:23:38 +01:00
Matchlighter
fa1106d3cf
Add DNRGBW Mode for Real Time UDP Control
...
Add DNRGBW mode so that >367 RGBW LEDs may be controlled, similar to the DNRGB mode.
2021-01-29 23:11:37 -07:00
Christophe Gagnier
c24d574f90
Add Cache-Control to index
2021-01-28 22:16:36 -05:00
cschwinne
8ed35652bc
LED memory usage indicator, better pin checker
2021-01-29 02:34:03 +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
Blaz Kristan
dd433d8af0
Auto node discovery.
2021-01-22 16:17:18 +01:00
cschwinne
c105f3b970
Mulipin select compiles
...
Need to work on JS and set.cpp next
2021-01-21 01:21:16 +01:00
Aircoookie
94471c0d1c
Merge pull request #1675 from Aircoookie/blazoncek-dev
...
Dynamic bus configuration and pin management
2021-01-19 18:46:51 +01:00
cschwinne
849e04ab83
Better handling of DMA re-init
2021-01-19 17:22:37 +01:00
cschwinne
67833c5513
getPins() and reversed
2021-01-19 16:51:03 +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
cschwinne
aeb3f2b018
Fix ESP32
2021-01-17 00:34:34 +01:00
Blaz Kristan
bb8d5ac13f
Dynamic allocation for bus manager.
2021-01-17 00:20:31 +01:00
cschwinne
d02bf37167
Fix a few warnings
2021-01-16 21:40:04 +01:00
cschwinne
99dbd9e649
Added bus cleanup
2021-01-16 19:53:08 +01:00
cschwinne
0d63dad8c2
Working getPixelColor()
2021-01-16 17:11:23 +01:00
Marco Lopes
6ce465664f
fix COO_MAX comment
...
COO_MAX value changed but comment does not take modification into account.
2021-01-16 16:01:50 +01:00
cschwinne
b934634159
First light from busmanager! (still not usable though)
2021-01-16 00:50:43 +01:00