Commit Graph

75 Commits

Author SHA1 Message Date
Blaz Kristan
77d8a8e43d Reducing JSON buffer size requirements.
Increasing maximum number of segments.
2021-03-24 23:55:39 +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
caae57d960 Adding multiple compile time pins. 2021-03-12 23:56:29 +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
Aircoookie
20bebe98b1
Merge branch 'dev' into autodiscovery 2021-03-09 17:24:57 +01:00
cschwinne
ea3358ecb2 Autodiscovery improvements 2021-03-09 16:23:19 +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
83452d73bc Code clean-up. 2021-03-04 11:17:17 +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
cschwinne
befeb55349 Memory check on bus creation 2021-02-27 00:57:12 +01:00
Blaz Kristan
3c81337630 PWM pins saving (hack bug) fix. UI changes. 2021-02-25 22:55:49 +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
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
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
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
k7bbr
a09f64aee5 Add Ethernet support for WESP32 board 2021-02-11 02:36:15 -07: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
cschwinne
0902b628f8 Added FPS indication in info 2021-02-05 01:33:26 +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
67833c5513 getPins() and reversed 2021-01-19 16:51:03 +01:00
cschwinne
d5025fdbcc Fixed canAllShow() and removeAll() 2021-01-18 20:51:32 +01:00
Aircoookie
88c0a9e30a
Merge branch 'dev' into mergedev-210115 2021-01-15 11:07:21 +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
cschwinne
854501385e Bus progress 2020-12-07 01:39:42 +01:00
Aircoookie
c930d6ddc0
Merge pull request #1432 from Aircoookie/master
Merge master to dev
2020-12-04 10:04:02 +01:00
Aircoookie
51acd4952b
Merge pull request #1383 from sunbowch/master
mutiple RGBW leds support for DMX control
2020-12-02 12:20:49 +01:00
cschwinne
36a0a240f9 First progress in busmnger 2020-12-01 00:33:47 +01:00
cschwinne
fb91d9b2d4 Color order override macros 2020-11-27 23:59:00 +01:00
sunbowch
3d89588eb1 mutiple RGBW leds support for DMX control
RGBW leds can be individually adressed through E1.31 control.
-Added option 'Multi RGBW' to the settings
-Modified e131.cpp accordingly
-Tuned other parameters to make it work
2020-11-27 11:37:39 +01:00
Aircoookie
6b942be1cd
Merge branch 'filesystem' into 1m_ota 2020-11-18 01:05:51 +01:00
cschwinne
77aa2b6ba9 Streamline platformio.ini 2020-11-18 00:54:41 +01:00
cschwinne
e28dbb3b93 Usermod callbacks for custom settings 2020-11-11 15:50:15 +01:00
cschwinne
3ff23ade8b Done in principle 2020-11-06 22:12:48 +01:00
cschwinne
fc9255cdc4 Added new file for JSON cfg parsing code 2020-11-04 11:04:40 +01:00
Aircoookie
c68f31a11c
Merge branch 'filesystem' into mergefs-201002 2020-10-02 13:39:25 +02:00
cschwinne
52df963be9 DDP Support 2020-09-28 16:29:01 +02:00
Aircoookie
bd65bf2175
Merge branch 'filesystem' into merge-fs2 2020-09-21 19:48:12 +02:00
Jake
a3e1af72ab
Add ESP32 touch sensors as button alternative (#1190)
* Add touch option to button handler

* Check if touch is pressed in setup

* Add TOUCHPIN build env and override example

Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2020-09-20 16:12:46 +02:00
cschwinne
edbe8131ab Reduce heap usage by 4kB 2020-09-20 01:18:31 +02:00
cschwinne
649ebb8a4e Add previously unsaved changes 2020-09-09 09:54:58 +02:00
cschwinne
b1acf6088f Presets in FS function 2020-09-09 09:51:04 +02:00