Blaz Kristan
cc7d745ce6
Adopted WLED-SR slider, color & palette control.
...
Added "freeze" toggle to a stopwatch icon.
2021-10-31 15:52:41 +01:00
Christian Schwinne
7e1920dc4b
Remove ledCount ( #2300 )
...
Bus initialization on reading from eeprom
2021-10-31 11:57:41 +01:00
Blaž Kristan
a93f05c047
Multirelay button support. ( #2284 )
...
* Multirelay button support.
Added button hook for usermods.
* Added MultiRelay relay states to JSON state object
* Move button timings to constants
No delay waiting for double press on button 0 if no macro set
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-10-31 11:57:03 +01:00
Christian Schwinne
00238247cd
JSON in/decrementing ( #2258 )
...
* Initial JSON in/decrementing
* Segment brightness in/decrement
* Update json-increment (#2290 )
* Add Basic Overlay support to Usermods.
* Add seven segment overlay usermod
* Add seven_seg debug build
* Add scrolling message to seven seg um
* Fixed red color on IP address
* bh1750
* Add msg scroll. Add MQTT and Config support
* Add readme
* Restore platformio.inii
* Edit comments
* Add strip off refresh option in LED settings. (#2259 )
* Add strip off refresh option in LED settings.
New strip initialization logic.
Minor code clen-up.
* Dev code removal.
* Missing ethernet include
* Renamed mainseg to selseg
* Fix for preset cycling bounds.
* "Preset 0" bugfix.
* Auto segments only if segments were not modified
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
* Exclude virtual busses from current calculation (#2262 )
* Refactor string usage
* 0.13.0-b4
* Fix MQTT Null publish
* Additional Flash string concat
* Add AKST/AKDT
* UM RGB-Rotary-Encoder: Properly used PinOwner
* Cycling bugfix.
Co-authored-by: Gregory Schmidt <gregory.b.schmidt@hotmail.com>
Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
Co-authored-by: Caleb Mah <calebmah@gmail.com>
Co-authored-by: ezcGman <ich@andy-hofmann.com>
* Working JSON preset cycle
* Fix some Codacy style issues
Co-authored-by: Gregory Schmidt <gregory.b.schmidt@hotmail.com>
Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
Co-authored-by: Caleb Mah <calebmah@gmail.com>
Co-authored-by: ezcGman <ich@andy-hofmann.com>
2021-10-30 14:42:17 +02:00
Andy Hofmann
b33e28835d
New Usermod: QuinLED-An-Penta ( #2296 )
...
* UM QuinLED-An-Penta: First version
* UM QuinLED-An-Penta: Made OLED seconds a setting; small improvements
* UM QuinLED-An-Penta: Fixed unique ID
* Merge branch 'master' of https://github.com/Aircoookie/WLED
* UM QuinLED-An-Penta: Fixed config loading
* UM QuinLED-An-Penta: Replaced ledcRead() with calculating the percentage
* UM QuinLED-An-Penta: Fixed temp sensor readings
* UM QuinLED-An-Penta: Removing OLED bus clk setting
* UM QuinLED-An-Penta: ETH support, lots of OLED improvements
2021-10-30 11:38:09 +02:00
Blaz Kristan
044d830b64
Removing palettes on Solid effect.
...
Bubbling bugfix for effect selection.
Re-introduced 'tt'.
2021-10-29 23:55:42 +02:00
Blaz Kristan
38c84bb1f6
Minor tweak.
2021-10-29 22:30:20 +02:00
Blaz Kristan
b50e066dee
Reintroduction of STATUSLED
2021-10-27 17:49:35 +02:00
Blaž Kristan
f55f803531
Updated aut-white calculation.
2021-10-27 14:02:48 +02:00
Blaž Kristan
757e8eb57c
Bugfix in auto-white calculation.
2021-10-27 08:17:51 +02:00
Blaz Kristan
a696afaeb8
Color mangling macros.
...
Removed legacy Auto White caclulation.
2021-10-26 20:35:45 +02:00
Blaz Kristan
8ca298b299
Removed legacy auto-white calculation.
...
Introduced color mangling macros.
Minor optimizations/fixes.
2021-10-26 19:17:42 +02:00
Blaz Kristan
cde497c94e
Fixing conflict merge errors.
2021-10-26 06:29:49 +02:00
Blaz Kristan
090e29effd
Moved auto white calculation to bus manager.
...
Other minor fixes.
2021-10-25 20:15:42 +02:00
Blaz Kristan
b8013a57e2
Moved auto white calcualtion into bus manager.
2021-10-24 21:07:05 +02:00
Blaz Kristan
1b23210902
Bus manager changes for easier CCT & auto white.
...
Attempted per-strip auto white calculation (odd bug encountered).
2021-10-23 15:41:35 +02:00
Blaz Kristan
0acca2e313
Cycling bugfix.
2021-10-22 23:24:41 +02:00
Blaz Kristan
4bb30deca6
Gap bugfix.
2021-10-22 21:36:54 +02:00
Blaz Kristan
31bf615fe8
Playlist bugfix.
2021-10-22 21:31:03 +02:00
Blaz Kristan
0d77027f60
Bugfix for white value.
2021-10-22 07:21:47 +02:00
Blaz Kristan
bbf46358fa
Fix for simple page.
2021-10-21 22:59:47 +02:00
Blaz Kristan
1cf793233f
Removed experimental v2 segment API.
...
Bugfix for white value.
2021-10-21 21:33:26 +02:00
Blaz Kristan
39b7b3ad53
CCT (color white balance support)
2021-10-20 20:29:13 +02:00
Blaz Kristan
95827c3ada
White slider bugfix.
...
Increased multi-relay update frequency.
2021-10-17 19:18:56 +02:00
Blaz Kristan
4e2bbc04fa
Button handling hook for usermods.
2021-10-17 17:14:55 +02:00
Blaz Kristan
61eff6e7e8
Update build.
2021-10-17 16:26:43 +02:00
Blaz Kristan
1d4d5f0c93
Minor fixes & optimizations.
2021-10-17 14:38:19 +02:00
Blaz Kristan
939de6b177
Merge branch 'master' into dev
2021-10-17 10:09:22 +02:00
ezcGman
c3d48acb4c
UM RGB-Rotary-Encoder: Properly used PinOwner
2021-10-17 01:24:23 +02:00
Blaz Kristan
ad4bc206ab
Configuration templates.
2021-10-16 21:44:53 +02:00
Blaz Kristan
8cfa5ba39e
Fix simple CSS.
...
Add WELD community link.
2021-10-16 15:45:04 +02:00
Blaz Kristan
c2e6d1c6bf
Squashed commit of the white-balance branch.
...
Updated simple UI.
Minor change in ST7789 display.
2021-10-16 15:13:30 +02:00
Blaž Kristan
392bda7d8c
Merge pull request #2261 from AK5nowman/overlayum
...
Basic Usermod Overlay support & Seven Segment UM
2021-10-13 06:14:32 +02:00
Blaž Kristan
5a658b7080
Merge branch 'dev' of https://github.com/blazoncek/WLED into dev
2021-10-12 17:41:42 +02:00
Blaz Kristan
a6adb314ec
Clean up settings CSS.
2021-10-11 17:55:26 +02:00
Blaž Kristan
5714578783
Refactoring & code clean-up.
...
- utility functions
- network functions
- math functions
2021-10-11 14:13:34 +02:00
Blaž Kristan
539125ff47
Merge branch 'master' into dev
2021-10-11 10:56:25 +02:00
Gregory Schmidt
3f71d3b250
Add AKST/AKDT
2021-10-10 19:09:48 -08:00
Gregory Schmidt
303fc65a6a
Merge branch 'master' of https://github.com/Aircoookie/WLED into overlayum
2021-10-10 17:06:12 -08:00
cschwinne
8afaac1e30
0.13.0-b4
2021-10-11 02:42:58 +02:00
Gregory Schmidt
0327f9428e
Merge branch 'master' of https://github.com/Aircoookie/WLED into overlayum
2021-10-10 16:27:47 -08:00
Christian Schwinne
f4b47ed399
Exclude virtual busses from current calculation ( #2262 )
2021-10-11 02:19:53 +02:00
Blaž Kristan
8b2145bd88
Add strip off refresh option in LED settings. ( #2259 )
...
* Add strip off refresh option in LED settings.
New strip initialization logic.
Minor code clen-up.
* Dev code removal.
* Missing ethernet include
* Renamed mainseg to selseg
* Fix for preset cycling bounds.
* "Preset 0" bugfix.
* Auto segments only if segments were not modified
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-10-11 02:19:33 +02:00
Christian Schwinne
de454e8b78
Edit comments
2021-10-11 01:29:13 +02:00
Blaz Kristan
53237c297f
"Preset 0" bugfix.
2021-10-09 10:42:49 +02:00
Gregory Schmidt
47d4e7381f
Merge 'master' of Aircoookie/WLED into overlayum
2021-10-08 00:00:09 -08:00
Blaž Kristan
2d8885cb0c
Bus manager cleanup & fixes.
2021-10-08 08:30:06 +02:00
Blaz Kristan
4fdf85bbdb
Add off override.
2021-10-07 22:57:07 +02:00
Caleb Mah
2ebb837a15
bh1750
2021-10-08 02:11:39 +08:00
Blaz Kristan
728d57d955
Skipped 'npm run build' fix.
2021-10-07 16:03:55 +02:00
Blaz Kristan
e53a2e7b43
Conflict merge (warning) fix.
2021-10-07 15:43:36 +02:00
Blaz Kristan
e682fd07cb
Reverted currentPlaylist.
2021-10-07 15:41:30 +02:00
Blaž Kristan
849aa64678
Fixed red color on IP address
2021-10-07 14:11:47 +02:00
Blaž Kristan
bddd22cfab
Merge branch 'master' into dev
2021-10-07 13:47:36 +02:00
cschwinne
cbb12e1b7c
Updated vid and changelog
2021-10-06 20:46:49 +02:00
Christian Schwinne
cc87ba4962
Merge pull request #2245 from Aircoookie/network-bus
...
Network bus/virtual WLED instances
2021-10-06 20:05:32 +02:00
Blaz Kristan
19310470b6
Nonsense fix.
2021-10-06 19:52:21 +02:00
Blaz Kristan
02fcccc8c7
Allow playlist as end preset in playlist.
...
Playlist chaining.
2021-10-06 19:12:30 +02:00
Blaz Kristan
fb2e556726
Allow playlist as end preset in playlist.
...
Playlist chaining.
2021-10-06 19:01:56 +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
Blaz Kristan
3f0eb0a046
Code optimization, updated URL links.
2021-10-06 16:29:04 +02:00
cschwinne
7d6d9eddc4
Change virtual bus type range
2021-10-06 14:30:41 +02:00
Blaž Kristan
cf87da0ef3
Minor UI fixes.
2021-10-06 08:37:27 +02:00
Blaz Kristan
9c295d1884
Implemented temporary presets.
2021-10-04 20:22:04 +02:00
Blaz Kristan
8f1cee2e61
Fixed mem calculation.
2021-10-04 19:44:46 +02:00
Blaz Kristan
caa9cc32d7
Removed double buffer.
...
Moved bri scaling into UDP function.
Prevent double DDP port allocation.
2021-10-04 19:41:20 +02:00
Blaž Kristan
aef53a8753
Network bus changes:
...
- moved brightness scaling to broadcast fn
- removed double buffer
- fixed getPixelColor()
2021-10-04 13:44:44 +02:00
Phil Bolduc
8cc2ba4770
use classList add/remove instead of edit className with string functions
2021-10-03 15:41:50 -07:00
Blaž Kristan
b003ed3f03
PWM fan with temperature control usermod ( #2246 )
...
* PWM fan with temperature control usermod
* Fix for incorrect RPM reported.
2021-10-03 23:34:21 +02:00
cschwinne
330da137db
Fixed virtual getPixelColor() returning scaled values
2021-10-03 22:01:50 +02:00
cschwinne
9e5d45d0de
Optional custom start indices
2021-10-03 20:48:08 +02:00
Blaz Kristan
f40398bf42
Removed double function definition in index.js.
2021-10-03 20:05:32 +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
9d5b6eac55
PWM fan usermod.
2021-10-02 22:45:42 +02:00
Blaz Kristan
72c5de6eae
Minor optimization in Temperature UM.
2021-10-02 22:32:33 +02:00
Proto-molecule
05b532b9eb
Add new Usermod ( #2244 )
2021-10-02 20:19:12 +02:00
cschwinne
0b0d18f182
Fix preset variable
2021-10-02 20:10:52 +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
Blaz Kristan
46b66c76ef
Merge pbolduc/WLED/feature/upd-ddp-send into network-bus
2021-10-02 10:48:48 +02:00
Blaz Kristan
e17e2a636b
Added permanent DDP UDP listener.
2021-10-01 21:56:54 +02:00
cschwinne
17c20276a9
Make sbuff local
...
This should save 4 bytes per ESPAsyncE131 instance
2021-10-01 20:26:23 +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
Gregory Schmidt
ccd3152b24
Add Basic Overlay support to Usermods.
2021-09-29 19:23:32 -08:00
Blaz Kristan
45e0cbdb25
Brightness change also needs colorUpdated()
2021-09-29 17:43:54 +02:00
Blaz Kristan
dc9d48850f
Added PIR sensor night time presets.
...
Added PIR sensor Disable/Enable button.
UI refinements.
Added colorUpdated() on HTTP API in IR JSON.
2021-09-28 23:27:40 +02:00
Scott Bailey
3a874bc8c7
Add colorUpdated call
2021-09-28 09:56:00 -07:00
cschwinne
8453cd82e9
Fixed DMXmap
2021-09-27 22:51:40 +02:00
Blaz Kristan
9092549f07
Fix for mamory requirement calculation.
...
- network bus using double buffer
2021-09-27 17:14:31 +02:00
Blaz Kristan
a94b5ba0c0
Merge branch 'master' into dev
2021-09-27 16:31:28 +02:00
Blaz Kristan
5d1efd84a4
Permanent double buffer.
2021-09-27 16:29:38 +02:00
cschwinne
f62e56b7ec
Merge branch 'master' of https://github.com/Aircoookie/WLED
2021-09-27 14:20:41 +02:00
cschwinne
2ac90bbb96
Fixed sunrise/set UTC offset
2021-09-27 14:20:21 +02:00
Blaž Kristan
f85f2d5d22
Merge pull request #2203 from protoplasma-mx/master
...
Updated links in files generated by cdata.js
2021-09-26 20:20:23 +02:00
Blaz Kristan
8af953e20d
Fix getPixelColor.
2021-09-26 20:01:04 +02:00
Blaz Kristan
66132a912a
Brightnes bugfix in BusNetwork class.
2021-09-26 19:51:40 +02:00
Blaz Kristan
a94269ceb9
Novosibirsk time-zone.
2021-09-26 17:21:32 +02:00
Blaz Kristan
b852cbdc80
Novosibirsk time-zone.
2021-09-26 17:12:13 +02:00
Blaz Kristan
350caee808
Revert platform update.
...
Minor code optimisation.
2021-09-26 12:13:18 +02:00
Blaž Kristan
51a4f61a8f
Add "on":true to playlist JSON
2021-09-24 12:20:20 +02:00
Blaž Kristan
7d05236514
Add "on":true to playlist JSON.
2021-09-24 12:15:03 +02:00
Blaz Kristan
006edacd55
Virtual WLED spanning multiple instances.
...
- added BusNetwork class to BusManager
- added DDP realtime data broadcast
Added SW= option to HTTP API.
Fixed z-index on nodes list.
2021-09-23 21:44:24 +02:00
Blaz Kristan
a9666a9f6e
Merge branch 'virtual-bus' into dev
2021-09-23 21:16:59 +02:00
Blaz Kristan
7de492caa7
Compiling for ESP8266.
2021-09-23 21:13:44 +02:00
Blaz Kristan
93ee4716cc
Wled math bugfix.
2021-09-23 20:45:53 +02:00
Blaz Kristan
267f5159a3
Wled math bugfix.
2021-09-23 20:38:50 +02:00
Blaz Kristan
8a60d4cf2f
Upgrade platforms.
...
Wled math fix.
2021-09-23 20:33:44 +02:00
Blaž Kristan
6489444158
Additional fix.
2021-09-23 06:55:08 +02:00
Blaž Kristan
59a66a3ea5
Buffer filling bugfix.
2021-09-23 06:52:48 +02:00
Blaz Kristan
e17550e23e
Debug cleanup. Minor tweks.
2021-09-22 21:52:06 +02:00
Blaz Kristan
0f8d6daf99
Bus creation bugfix. Removed debug code.
2021-09-22 19:13:52 +02:00
Blaž Kristan
08925a72c6
Renamed BusVirtual to BusNetwork
...
- added options for E1.31 and ArtNet
- added check for initialised network
2021-09-22 13:20:36 +02:00
Blaž Kristan
1101299168
Fixing conflict merge.
2021-09-22 07:09:01 +02:00
Blaž Kristan
22be8e2e9d
Merge branch 'dev' into virtual-bus
2021-09-22 07:06:18 +02:00
Blaž Kristan
6db2240f8a
Merge branch 'master' into dev
...
(mostly ignored index.js)
2021-09-22 06:58:49 +02:00
cschwinne
96422de031
0.13.0-b3
2021-09-21 23:37:35 +02:00
Blaz Kristan
54eac18eea
Bugfixes for saving and loading IP address.
...
Debug info for UDP.
2021-09-21 22:18:55 +02:00
Blaž Kristan
e416ec9279
Removed dev types.
2021-09-21 12:05:28 +02:00
Blaž Kristan
5eb4ffb1cc
Fix for missing inverted analog.
2021-09-21 11:59:23 +02:00
Blaž Kristan
284e748449
Merge remote-tracking branch 'pbolduc/feature/upd-ddp-send' into virtual-bus
2021-09-21 07:29:26 +02:00
Blaž Kristan
3111718eb1
Fix for pin conflicts on save.
2021-09-21 06:25:36 +02:00
Phil Bolduc
fd8d17c5e5
Removed local buffer as WiFiUDP loops over input array anyways
2021-09-20 20:47:48 -07:00
Phil Bolduc
109bb62209
fix corrupt heap when writing upd
2021-09-20 19:01:54 -07:00
Phil Bolduc
cc661b26fa
fix spelling error, be smarter how we write data to udp
2021-09-20 16:57:54 -07:00
Phil Bolduc
ea69957ed1
Fix spelling error
2021-09-20 15:53:20 -07:00
Phil Bolduc
700f641e29
Change signature of realtimeBoroadcast to match blazoncek
2021-09-20 15:51:12 -07:00
Phil Bolduc
83f4eeb3b5
Add support for RGB and RGBW, fix bug where not enough data written
2021-09-20 15:21:19 -07:00
Phil Bolduc
d1f4cdebf3
Move new ddp/udp functions into udp.cpp
2021-09-20 15:04:16 -07:00
Blaz Kristan
d95ba43fd1
Virtual bus implementation.
...
Base for virtual WLED set-up (multiple instances acting as one).
UDP broadcast not yet implemented.
2021-09-20 22:24:58 +02:00
Christian Schwinne
8fae964ee8
Allocate segment data based on currently active segments ( #2217 )
2021-09-20 21:22:50 +02:00
cschwinne
baf49b88f4
Semi-working segment on/off transition
2021-09-20 21:22:04 +02:00
Phil Bolduc
7dc07f6d21
Change parameter order for better stack alignment
2021-09-19 15:30:17 -07:00
Phil Bolduc
6472d35d91
optimze copyRgbwToRgb, do not copy too much data into buffer
2021-09-19 15:20:06 -07:00
Phil Bolduc
95c87919a8
return ok status code and free buffer
2021-09-19 12:11:57 -07:00
Phil Bolduc
077b4d5c89
Add initial DDP UDP output
2021-09-19 12:08:05 -07:00
Phil Bolduc
3577da05ac
Avoid redundant localIP calls, each call takes 0.700 us on ESP32 240Mhz ( #2206 )
...
* Avoid redundant localIP calls, each call takes 0.700 us on ESP32 240Mhz
* Fall through to check Wifi local ip if not connected to ETH
* Changed local var from ipAddress to localIP to better reflect content
2021-09-19 19:51:54 +02:00
Christian Schwinne
b8e8028eb9
Merge pull request #2184 from Aircoookie/fx-mods
...
FX optimisations and segment names
2021-09-19 15:16:23 +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
Gabriel
10a52f8cf9
Updated cdata.js so generated files point to knoWLEDge
2021-09-18 09:02:37 -05:00
Blaz Kristan
bc6652f443
Segment names fixes.
...
Minor UI changes:
- new font
- removed transition
2021-09-18 13:15:19 +02:00
cschwinne
c5eac298e6
Do not delete name if segment bounds are unchanged
2021-09-18 01:20:17 +02:00
cschwinne
bc18eda336
Segment name UI changes
...
Text field accessible by edit icon
Replaced magnifier with iconfont
Use woff2 font format
Fix scaled checkboxes visible in UI settings header
2021-09-18 00:31:39 +02:00
Blaz Kristan
56167f84ad
Added I2C clock frequency parameter for 4LD.
2021-09-15 23:51:49 +02:00
cschwinne
d7e3765efe
Fix segment creation
2021-09-14 23:35:04 +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
db4ecce20b
Reduced values of parameters for 8266:
...
- max segments to 16
- effect buffer to 3.5k
- max number of LEDs to 1200
2021-09-12 13:31:47 +02:00
Blaz Kristan
95518f1948
Fix for incorrect memory de-allocation.
2021-09-12 12:33:23 +02:00
cschwinne
bd23942893
Fixed IR JSON cmd string ( closes #2187 )
2021-09-12 01:37:41 +02:00
cschwinne
c8610b8ad2
Small improvements to segment names
2021-09-12 01:15:51 +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
Blaz Kristan
9be995bb08
4LD & AutoSave usermod fixes.
...
Debugging usermod time.
2021-09-11 23:32:36 +02:00
Christian Schwinne
8d4636bbab
Merge pull request #2170 from scottrbailey/error-12-fix
...
Fix error 12 issues
2021-09-11 14:32:06 +02:00
Christian Schwinne
c24ab1b21d
Auto create segments setting ( #2183 )
2021-09-11 01:17:42 +02:00
cschwinne
f1e2439e66
Slight IR JSON simplefication
...
Check for missing file
No duplicate cmd object
2021-09-09 12:05:02 +02:00
Blaz Kristan
c1d47290b1
police_base optimisations.
2021-09-08 23:26:41 +02:00
Blaz Kristan
4d89ed701d
FX optimisations.
...
Added segment names.
2021-09-08 23:10:54 +02:00
Blaž Kristan
18ba394901
Changed behaviour of effects.
...
- Police (col1 for bg)
- Two areas (changable width, col1 for bg)
- Two dots (changable width)
2021-09-08 07:54:40 +02:00
Blaz Kristan
3a83753611
Rewritten police_base effect.
...
Optimisation in 4LD.
2021-09-07 22:59:31 +02:00
Blaž Kristan
c436b586d2
Merge branch 'master' into dev
2021-09-06 13:36:26 +02:00
cschwinne
83c6f72eb0
Fix segment runtime not reset on FX change via HTTP API
2021-09-05 01:28:00 +02:00
cschwinne
e26299b998
Revert some small syntactical changes
2021-09-05 00:39:47 +02:00
Blaz Kristan
f84e2c2ac7
Debug conditional compile in pin manager.
2021-09-04 16:45:08 +02:00
Blaz Kristan
4e8c94fd2d
Fix for unknown IR codes in IR JSON.
...
Fix for T=2 not updating lights in IR JSON.
Correct handling of missing ir.json file.
2021-09-03 22:00:47 +02:00
Blaž Kristan
8f3fd37d47
Updated fallback random FX limit.
2021-09-03 10:10:47 +02:00
Scott Bailey
a839809eb8
change random mode choice on presetFallback
2021-09-03 00:14:07 -07:00
Blaž Kristan
7960e9b309
Bugfix for missing IR.json error code.
2021-09-03 08:25:18 +02:00
Scott Bailey
88ceba59cf
Fix error 12 issues
2021-09-02 22:56:49 -07:00
Henry Gabryjelski
021c4ba68a
Revert changes from PR1902
2021-08-29 11:49:06 -07:00
Blaz Kristan
4875544888
Enhanced ST7789 display usermod.
2021-08-28 21:59:52 +02:00
Blaz Kristan
849bdc52f6
Ethernet modifications.
...
Added fixed Ethernet pins to cfg.json and settings page
2021-08-27 19:48:55 +02:00
Christian Schwinne
54f4658dae
Added JSON API over serial support ( #2156 )
...
* Added JSON API over serial support
* Disable Serial API if pin 3 is used
Disable serial response if pin 1 is used
2021-08-26 11:04:27 +02:00
Blaž Kristan
63bb05b2d4
Fix compile for ethernet.
2021-08-26 09:32:06 +02:00
Blaž Kristan
916ad0a58e
Merge branch 'master' into dev
2021-08-26 09:09:41 +02:00
Blaž Kristan
dbc67e077d
Merge pull request #2134 from scottrbailey/sr_palettes
...
Add new palettes from SR branch
2021-08-26 06:52:56 +02:00
Blaz Kristan
8ee704e123
Added toast confirmation for clearing LS.
2021-08-25 22:37:16 +02:00
Blaz Kristan
0d552cd880
Button rewrite.
...
Buttons >0 behave differently than 0.
2021-08-25 21:24:56 +02:00
Scott Bailey
e968917dbc
rename palette arrays
2021-08-25 10:16:30 -07:00
Scott Bailey
d8240bb683
Changing some palette names
2021-08-25 09:17:03 -07: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
cschwinne
542d6361f2
Make packets with version < 9 group 1
2021-08-24 23:59:09 +02:00
Blaz Kristan
81bafa00ac
Minor tweaks.
2021-08-24 23:33:41 +02:00
Blaz Kristan
84d0c17c4b
Compile warnings eliminated.
...
Minor typo.
DEBUG_PRINTF fix for 8266
2021-08-24 21:35:47 +02:00
Blaž Kristan
77c0ba990d
Bugfix for calling FX=~ from within playlist preset.
2021-08-24 06:10:59 +02:00
Blaz Kristan
be7e2bed6f
Bugfix for edge case of FX=~ within playlist.
2021-08-23 21:51:36 +02:00
Henry Gabryjelski
1d4487b6cd
Ethernet configuration fix, improve PinManager ( #2123 )
...
* Improved pin manager, ethernet config
* Ethernet is configured prior even to LED pins
* Pin Manager allocation / deallocation functions
now take an "ownership" tag parameter, helping
avoid accidentally free'ing pins that were allocated
by other code
* Pin Manager now has ability to allocate multiple
pins at once; Simplifies error handling
* Fix operator precedence error
Bitwise AND has lower precedence than the
relational "greater than" operator.
* PinManager update for some user modules
* don't build everything...
* Final step to reduce RAM overhead
* update comment
* remove macros
* Remove leftover allocated
* Init ethernet after settings saved
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-08-23 14:14:48 +02:00
Blaž Kristan
a7bfd0af41
Changed sync default to group 1 only.
2021-08-23 07:37:34 +02:00
Blaz Kristan
55ef547a85
Memory allocation fixes for effects.
2021-08-22 22:16:25 +02:00
Blaz Kristan
19129c8786
Simple page CSS & JS update.
...
Added simple UI as a separate page (/simple.htm).
2021-08-21 18:12:38 +02:00
Blaz Kristan
b5737ce9c1
Shortened string.
2021-08-21 12:30:40 +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
Maximilian Mewes
f04c9d101e
Added usermod "battery status basic" ( #2127 )
...
* added usermod battery_status_basic
* test.. something is wrong
* Squashed commit of the following:
commit 0f845527c53f838e2c68d50ec3e9d6c68c4cee46
Author: itCarl <mewes.maximilian@gmx.de>
Date: Tue Aug 10 18:35:15 2021 +0200
updated readme and added image showing info modal
commit 055579fcf71796519d00566452030f31798121d0
Author: itCarl <mewes.maximilian@gmx.de>
Date: Mon Aug 9 20:53:07 2021 +0200
small map function fix
commit 811614cf9e73f4731acb234d0d210a7b19565e9a
Author: itCarl <mewes.maximilian@gmx.de>
Date: Mon Aug 9 19:35:21 2021 +0200
updated ui
commit cadf2e23b7
Author: itCarl <mewes.maximilian@gmx.de>
Date: Mon Aug 9 16:07:32 2021 +0200
added usermod battery_status_basic
* updated readme, changed USERMOD_BATTERY_MIN_VOLTAGE default to 2.6 volt
* fixed readme image file naming
* added usermod settings for runtime changes
* fixed copy and paste mistake
* undo ui changes
* reworked addToJsonInfo() to make it compatible with the standard Info page.
* removed images from readme
* added ESP32 support
* updated readme
2021-08-20 20:42:46 +02:00
Blaz Kristan
7cf16766c4
Clear local storage button.
...
Removed skin.css from settings pages.
2021-08-20 19:38:24 +02:00
Blaž Kristan
771a544d0f
Removed reference to tdd.
2021-08-20 09:54:54 +02:00
Blaz Kristan
4e28e2cb59
Merge branch 'master' into dev
2021-08-19 21:57:04 +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
Blaž Kristan
6a52a1dc63
Add option to load custom CSS and custom holidays.json
2021-08-18 13:41:54 +02:00
cschwinne
91e758f66f
Fixed JSON IR remote not working with codes greater than 0xFFFFFF ( fixes #2135 )
2021-08-18 02:10:40 +02:00
cschwinne
441416b241
Fixed edge case with transition 0
2021-08-18 01:59:01 +02:00
Blaz Kristan
445825df44
Merge branch 'dev' of github.com:blazoncek/WLED into dev
2021-08-17 16:28:16 +02:00
Blaz Kristan
b93c47fa60
Option to disable Loxone.
2021-08-17 16:28:12 +02:00
cschwinne
4b817208aa
Added application level pong websockets reply ( #2139 )
2021-08-17 12:47:01 +02:00
Blaž Kristan
90b831600f
Removed developmnet/debugging code.
2021-08-17 09:06:37 +02:00
Blaz Kristan
b3dd368920
JS optimisation.
...
Namelabel clarity.
2021-08-16 18:24:06 +02:00
Blaz Kristan
c8db90b644
Bugfix pin check.
2021-08-16 16:20:46 +02:00
Blaz Kristan
7ed65529df
Minor button CSS optimisations.
2021-08-15 22:05:36 +02:00
Blaz Kristan
a8b59f5f59
Replaced fixed color values in CSS & JS w/ --c-?.
2021-08-13 11:43:17 +02:00
Blaz Kristan
eb966ec041
Typo fix.
2021-08-13 10:55:32 +02:00
Scott Bailey
7fea0c3244
Add new palettes from SR branch
2021-08-12 12:58:51 -07:00
Blaz Kristan
588789cb77
Random color background.
...
Few tweaks.
2021-08-12 15:47:22 +02:00
Blaz Kristan
3640f977c8
Simple CSS bugfix.
2021-08-12 12:12:45 +02:00
Blaz Kristan
28f12a4874
More CSS & JS optimisations.
2021-08-12 11:14:53 +02:00
Blaz Kristan
93378406c3
Additional CSS optimisations.
2021-08-11 21:28:31 +02:00
Blaz Kristan
602d04af82
Invaliating browser cache after UI selection change
2021-08-10 21:52:07 +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
cschwinne
bd13336256
Fixed undesirable boot color transition
2021-08-06 02:08:36 +02:00
Blaz Kristan
5c6d755750
Added title to node button.
2021-08-01 12:19:44 +02:00
Blaz Kristan
3c545d488d
Remove local storage for presets on presets.json restore.
2021-07-30 17:45:47 +02:00
Blaz Kristan
bd0f84605f
UI JS optimisations/code reduction.
2021-07-29 22:55:20 +02:00
Blaz Kristan
6e9a69be5c
Fix for missing off-only MQTT messages.
...
Automatic WS reconnect.
2021-07-28 22:45:11 +02:00
Blaž Kristan
2e9bd477d9
Upload files & skinning ( #2084 )
...
* Skinning WLED & uploading files.
Backup & restore configuration & presets.
External holidays.json
* Option for segment count instead of stop.
* Small fixes and improvements
* Further improvements
* Enable custom CSS by default
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-07-26 00:10:36 +02:00
Blaz Kristan
392df6ba72
Added missing ir.json error type.
...
Hopefully fix for WS virtual disconnects.
WS debugging info.
2021-07-25 22:44:26 +02:00
Blaz Kristan
c66cffd6a6
Playlist implicitly turns WLED on.
2021-07-23 23:40:38 +02:00
Blaz Kristan
067a88b3e7
UI maintaining playlist preset selected.
2021-07-23 18:39:00 +02:00
Blaz Kristan
251d5f4135
Added PIR option to trigger only if WLED is off.
2021-07-23 18:37:34 +02:00
Blaz Kristan
44e574f440
Added WS send debug logging.
2021-07-22 19:08:25 +02:00
Blaz Kristan
e1527fcbb9
White slider fix.
2021-07-22 15:36:33 +02:00
Blaz Kristan
9e583f9ff0
Minor UI optimisations.
2021-07-22 15:34:43 +02:00
Blaz Kristan
0511a62ca1
Optimised requestJson()
...
CSS fix.
2021-07-19 19:00:21 +02:00
Blaz Kristan
31e34d6f19
Rotary encoder compile fix.
2021-07-18 20:50:43 +02:00
Blaz Kristan
5360fe49d4
Minor holiday background image loading tweak.
2021-07-15 20:08:00 +02:00
Blaz Kristan
bf94febb11
Added configuration backup/restore.
...
Fixed save dialog compile error.
2021-07-15 18:38:42 +02:00
Blaž Kristan
dbd3bd50df
Attempt at forcing Save dialog on preset backup.
...
Random BG image replaced by holiday BG.
2021-07-15 09:24:10 +02:00
Blaz Kristan
c1a1fb8d87
Backup/restore presets & holiday array upload.
...
Reduced number of segments on 8266.
2021-07-14 23:10:19 +02:00
Blaz Kristan
b10568e917
Merge branch 'dev' of github.com:blazoncek/WLED into dev
2021-07-14 16:20:16 +02:00
Blaž Kristan
0e1ad39ede
Merge branch 'master' into dev
2021-07-14 13:43:42 +02:00
cschwinne
123bd0bb92
v0.13.0-b2
...
Reduced unneeded websockets pushes
2021-07-11 02:38:31 +02:00
Blaz Kristan
c8ce06d110
Minor UI fix.
2021-07-11 00:26:21 +02:00
Blaz Kristan
b0cfcb1999
Merge branch 'master' into dev
2021-07-10 17:01:20 +02:00
cschwinne
6a8ed1192f
Accept hex color strings in individual LED API
...
Version bump to 0.13.0-b2 "Toki"
Fixed transition property not applying unless power/bri/color changed next
Moved transition field below segments (temporarily)
2021-07-10 16:14:17 +02:00
Andy Hofmann
0862859f93
New usermod: Support for RGB Rotary Encoder Board ( #2068 )
...
* Added RGB Rotary Encoder usermod v1
* RGB rotary encoder UM: Readme; Added example video
* RGB rotary encoder UM: Readme; Added example video
* RGB rotary encoder UM: Fixed getJsonValue usage
* RGB rotary encoder UM: Removed spaces in JSON keys
* RGB rotary encoder UM: Cleanup readFromConfig
* RGB rotary encoder UM: Cleaned up type usages
* RGB rotary encoder UM: Fixed crash on re-enable
2021-07-09 20:25:35 +02:00
Henry Gabryjelski
3ad336a1eb
Bug 2064, 2063 - PinManager usage ( #2066 )
...
* Fix 2063 - Do not free pins unless allocated
* Fix 2064: Allocate pins used for Ethernet
* Fix obvious compilation errors.
* Fix multiple bugs...
* pinsAllocated[2] set twice due to copy/paste bug.
* wrong pin allocated for ETH_CLOCK_GPIO17_OUT due to copy/paste bug
* Stylistic change per PR review
* Stylistic change per PR review
* attempt to allocate pin for "default" button
* remove extra local variable
* check return value from ETH.begin()
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-07-09 20:06:48 +02:00
cschwinne
a17f83cedd
Renamed NOTIFIER_CALL_MODE_
to CALL_MODE_
2021-07-09 18:54:28 +02:00
cschwinne
2c6850f6e4
Fixed presets using wrong call mode (e.g. causing buttons to send UDP under direct change type)
...
Increased hue buffer
2021-07-09 18:42:52 +02:00
cschwinne
5da47636cf
Busses extend total configured LEDs if required ( closes #2056 )
...
Fixed extra button pins defaulting to 0 on first boot
2021-07-09 16:25:23 +02:00
Blaž Kristan
944b857825
Merge branch 'master' into dev
2021-07-08 13:39:22 +02:00
cschwinne
e04b965659
Peek uses the main websocket connection
2021-07-08 02:01:17 +02:00
Aircoookie
17d2fb80f2
More robust initial resource loading in UI
2021-07-07 23:45:53 +02:00
Blaz Kristan
34c8f33c3c
Bugfix WS saving preset.
2021-07-07 16:55:22 +02:00
Blaž Kristan
07d74ee692
Default button pin allocation on 1st boot.
2021-07-07 10:18:00 +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
Blaž Kristan
14b7ec2a80
Added support for ESP32 S2. ( #2067 )
...
Updated Wemos Shield parameters.
2021-07-07 01:56:07 +02:00
Blaz Kristan
8c9fb956ff
Bugfix for #2066
2021-07-06 22:08:04 +02:00
Blaz Kristan
db632ae847
Merge branch 'master' into dev
2021-07-06 16:38:13 +02:00
Louis Beaudoin
8c44147a45
Usermod Settings polishing/documentation ( #2061 )
...
* Testing new wrapper functions to read Usermod config
* Usermod Settings polishing
- remove getBoolFromJsonKey() (no longer needed), fix getValueFromJsonKey(element, destination, defaultvalue)
- Update Usermod Settings html "number" field to use step="any", and make wider to make maximum values fully visible
- step="any" allows viewing/submitting full 7/8-digit float values, and the arrow buttons step by 1 now, instead of .00001 (which wasn't good for integers or floats)
- html wasn't generated/compressed yet
* Update usermod_v2_example.h with more complete example and documentation for Usermod Settings
- readFromConfig() has three options for how to load values from the config JSON, we need to pick one
* Update/rename usermode_rotary_brightness_color, to be used as an example of more robust parsing Usermod Settings values
* Update Usermod example, rename getValueFromJsonKey() to getJsonValue()
- chose single readFromConfig() pattern
- demonstrating 3-argument getJsonValue()
- remove leftover printf in getJsonValue()
Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
2021-07-05 23:14:57 +02:00
Blaz Kristan
3bef4284e3
Fix for ESP8266 compile.
2021-07-04 22:46:17 +02:00
cschwinne
ec05215a5e
Update ArduinoJSON to 6.18.1
2021-07-04 18:52:05 +02:00
Blaz Kristan
8769234e28
Merge branch 'master' into dev
2021-07-04 15:29:46 +02:00
Blaz Kristan
bbdd1915eb
Fix for odd Dallas sensor "not found" behaviour.
...
Minor flash use reduction.
2021-07-04 14:23:53 +02:00
cschwinne
5903e8256f
Fixed preset immediately deselecting when set via HTTP API PL=
2021-07-04 13:29:59 +02:00
cschwinne
c879351063
JSON IR improvements
...
Restored support for "PL=~" mistakenly removed in 2106300
2021-07-04 13:23:45 +02:00
Blaz Kristan
de8a244500
Minor UI tweaks.
...
Added WS reconnects.
2021-07-04 12:09:19 +02:00
cschwinne
1bb7e36a65
More compact playlist entries
2021-07-04 00:55:32 +02:00
Blaz Kristan
3066a142b8
Merge branch 'master' into dev
...
Minor tweaks.
2021-07-03 21:27:06 +02:00
Christian Schwinne
793a01f7ca
Bus wrapper simplification ( #2054 )
...
* Use RMTN method
* Simplify BusWrapper
* Update PlatformIO configuration
* Fix non-included dependencies
2021-07-03 13:52:23 +02:00
Blaz Kristan
ccf047b1ab
Playlist editor UI changes & fixes.
2021-07-02 17:22:47 +02:00
cschwinne
40c8fdbf64
Added WebSockets support to UI
2021-07-02 01:46:42 +02:00
cschwinne
dc01c907f1
Send websockets on every state change
2021-07-02 00:24:14 +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
Christian Schwinne
e16a67242e
Merge pull request #2011 from blazoncek/multi-button-update
...
Added MQTT support for buttons and simplified switch.
2021-07-01 14:57:12 +02:00
cschwinne
4c678a5010
Fixed a minor visual issue with slider trail not reaching thumb on low values
2021-07-01 14:56:18 +02:00
Blaž Kristan
73f07b2939
Update html_settings.h
2021-07-01 13:42:22 +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
Christian Schwinne
c4f084a991
Merge JSON ircodes ( #2048 )
...
* add decodeIRJson and JSON remote option
* handle JSON API commands also
* removed code that forced IR codes in a certain range to be decoded by decodeIR24. Generate default ir.json files for currently supported remotes.
* comment out printing API commands in IR handling
* refactor decodeIRJson to change how ir.json is loaded add support for calling several c functions
* Handle setting palette when effect is still on default solid and will not display it
* remove colorUpdated notifier that was pasted in accidentally
* Update to handle both 24-key and 24-key old remotes (#1969 )
* Update readme.md
* Update ir.cpp
Handle both 24-key and 24-key old in decodeIR switch statement
* Re-add JSON remote option
Co-authored-by: Scott Bailey <scottrbailey@gmail.com>
Co-authored-by: Artacus <40248830+scottrbailey@users.noreply.github.com>
2021-07-01 00:17:07 +02:00
cschwinne
4c73df4ba6
Shorten input size class names
2021-07-01 00:01:27 +02:00
cschwinne
4aa53aa5a5
Adjust input field widths
2021-06-30 21:53:22 +02:00
cschwinne
7483d3b229
Fixed settings page broken by using "%" in input fields ( fixes #1516 )
2021-06-30 18:21:56 +02:00
cschwinne
8b6cc708e7
Fixed a problem with disabled buttons reverting to pin 0 causing conflict
2021-06-30 12:33:51 +02:00
cschwinne
200960899e
Removed preset cycle
2021-06-30 01:48:38 +02:00
cschwinne
599a456c81
Version bump to 0.13.0-b0 "Toki"
...
- Added playlist editor UI
- Reordered segment UI and added offset field
- Raised maximum MQTT password length to 64 (closes #1373 )
2021-06-30 01:23:35 +02:00
Christian Schwinne
4b46502d22
Playlist UI ( #2046 )
...
* Test 1
* State 2
* Playlist UI progress
* Playlist saving
* Playlist saving
* Playlist object array
* Added Offset to segment options
* Positioning
* Playlist UI complete
2021-06-30 01:01:15 +02:00
cschwinne
7233c55428
Segment Offset
2021-06-30 00:45:36 +02:00
Christian Schwinne
a58c5cce78
Merge pull request #1967 from poelzi/max_segments
...
Allow to override the max segments setting when compiling
2021-06-29 23:43:20 +02:00
Blaz Kristan
bc0a3f8a47
Better number handling in Usermod settings.
2021-06-29 18:36:55 +02:00
Blaz Kristan
ef59fd4b6f
Better number handling in Usermod settings.
...
Added loading /holiday.json for backround image in UI.
Minor style changes.
2021-06-29 18:18:28 +02:00
Aircoookie
04b4ef6d85
Regenerate html_settings.h
2021-06-27 22:19:03 +02:00
Blaz Kristan
9e8aadb750
Usermod settings v2
...
- added POST field parsing
- simpler handling in readFromConfig()
2021-06-27 15:32:33 +02:00
Blaz Kristan
36e7c2467e
Merge branch 'master' into dev
2021-06-27 12:36:04 +02:00
Blaz Kristan
f7ce83ea34
V2 of usermod configuration settings
...
- added parsing of POST fields to use proper type
- updated readFromConfig() to reflect parsing
- added a possibility to use nested object in UM settings
- internal changes and fixes
2021-06-27 12:15:35 +02:00
Blaz Kristan
81182bb125
Added parsing usermod settings parameters.
...
Added nested object handling in usermod settings parameters.
2021-06-25 23:20:01 +02:00
Blaz Kristan
2424df0d18
Merge branch 'master' into dev
2021-06-25 15:52:59 +02:00
cschwinne
af9aa7d201
Do not compile in example usermod
2021-06-25 12:15:23 +02:00
cschwinne
4cd3a614de
Fixed preset only disabling on second effect/color change ( fixes #2038 )
2021-06-25 10:12:21 +02:00
cschwinne
1e5420e6a7
readFromConfig() update
2021-06-25 01:26:15 +02:00
cschwinne
660de0b4e5
Auto-create segments based on configured busses
2021-06-24 02:29:14 +02:00
Blaz Kristan
e9d07eadaa
Additional traces of v2 API removed in WS.
...
JS cleanup.
2021-06-20 21:56:25 +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
cschwinne
c831d62bc3
Added 2 Ethernet boards and split Ethernet configs into separate file
2021-06-20 00:14:09 +02:00
Blaz Kristan
14ac66ff4e
Minor optimisations.
...
Removed all traces of v2 JSON API.
2021-06-19 23:16:40 +02:00
Blaz Kristan
75bf758042
Incerased max segments.
...
Removed v2 JSON API.
Replaced col[] array handling.
Settings UI optimisations.
Increased DEBUG output period to 60s.
2021-06-19 18:06:30 +02:00
cschwinne
1539e703e9
Use sprintf_P for color array generation
2021-06-19 11:13:05 +02:00
cschwinne
495f7f190f
Fixed DOS on Chrome tab restore causing reboot
2021-06-18 13:50:22 +02:00
Blaz Kristan
3acc521741
Bugfix for ESP8266 saving segments.
2021-06-18 12:16:04 +02:00
cschwinne
dfdb22f584
Optimized JSON buffer usage (pre-serialized color arrays)
2021-06-17 19:46:18 +02:00
Blaz Kristan
b7fb9e182b
WLED_USE_PSRAM fix
2021-06-16 12:19:16 +02:00
Blaz Kristan
8574bf9d98
Fix for short IP in 4LD.
2021-06-16 09:25:10 +02:00
Blaz Kristan
1a80439825
Merge branch 'master' into dev
2021-06-15 23:36:12 +02:00
cschwinne
7d2f5f0799
Fixed div by 0 when using palette on single LED segment
2021-06-15 20:12:20 +02:00
Blaz Kristan
28bc07da2f
Optimised 4 Line Display.
...
Added option to display Ethernet IP.
2021-06-15 16:57:02 +02:00
cschwinne
7610ab7a8d
Update logo
2021-06-14 01:58:12 +02:00
Blaz Kristan
8517cc8211
Alternating IP address and device name on 4 Line Display.
2021-06-13 18:05:30 +02:00
cschwinne
623694ab73
Playlist additions
2021-06-10 02:52:20 +02:00
cschwinne
374457df70
A few small fixes
2021-06-09 12:57:16 +02:00
Blaz Kristan
024ec86dc5
Unloading playlist on effect change.
2021-06-07 23:45:11 +02:00
Blaz Kristan
f632ef0de8
Default dur from presetCycleTime.
2021-06-07 21:07:15 +02:00
Blaz Kristan
8fdf84068d
Optimisations.
2021-06-07 21:05:31 +02:00
Blaz Kristan
c58ad64a28
Bugfix.
...
- unloading playlist on playlist apply
- optimisations in handlePlaylist()
2021-06-07 20:44:20 +02:00
Blaž Kristan
131625bb53
Endless playlist fix.
2021-06-07 14:16:29 +02:00
Blaž Kristan
cbf3ae4db4
Bugfix.
...
- unshuffled endless playlist fix.
2021-06-07 14:13:21 +02:00
Blaz Kristan
9ac7acf8b3
Added skinning capability.
2021-06-06 20:36:19 +02:00
Blaz Kristan
9dadb6da4c
Added UI feedback for file upload.
2021-06-04 23:08:30 +02:00
Blaz Kristan
b6bbbeb9d3
Merge branch 'dev' of github.com:blazoncek/WLED into dev
2021-06-04 18:25:36 +02:00
Blaz Kristan
517e9f92ba
Added uploading IR.json from settings page.
2021-06-04 18:25:33 +02:00
Blaž Kristan
7ec09c80a5
Changed boot preset apply logic.
2021-06-04 06:54:27 +02:00
Blaž Kristan
b0bfe341df
Fixed typo.
2021-06-03 13:58:17 +02:00
Blaž Kristan
d6337f7500
Added MQTT support for buttons and simplified switch.
...
Added PIR sensor option.
2021-06-03 12:18:11 +02:00
Blaz Kristan
70cf6546ca
Switch rewrite.
2021-06-03 05:50:55 +02:00
Blaz Kristan
0cdab52418
Added.
...
- PIS sensor switch option for button
Bugfix.
- proper switch high/low handling
2021-06-02 17:13:09 +02:00
Blaž Kristan
777a95d23c
Bugfix.
...
- parentheses fix
2021-06-02 08:46:29 +02:00
Blaž Kristan
06caace827
Bugfix.
...
- incorrect use of PSTR() on 8266
2021-06-02 08:24:49 +02:00
Blaž Kristan
0a0a766c0d
Bugfix.
...
- pushbutton inverted not saving
- mqtt on/off message
2021-06-02 06:21:43 +02:00
Dick Swart
344c9e9238
added SN_Photoresistor usermod
2021-06-02 12:01:06 +12:00
Christian Schwinne
89b2b066ef
Merge pull request #2004 from HyperAtlas/master
...
CRONIXIE check in json.cpp
2021-06-02 00:25:04 +02:00
Aircoookie
dfe065ef82
Fixed Pushbutton inverted not selectable
2021-06-02 00:22:57 +02:00
Blaž Kristan
2f9eacdf66
Added MQTT message on button press.
2021-06-01 11:03:18 +02:00
SpikeyHelmet
2178fd6ee9
CRONIXIE check in json.cpp
2021-06-01 06:37:35 +05:30
Christian Schwinne
9f13763637
Merge branch 'master' into toki
2021-05-30 13:22:42 +02:00
Blaz Kristan
79ac85e048
Small UI improvements.
...
Added hue selection for analog.
2021-05-30 12:11:34 +02:00
cschwinne
315d4f225a
Added analog button hue control
2021-05-30 02:03:32 +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
cschwinne
bfc7f56c4d
Accurate UDP sync for NTP enabled instances
2021-05-30 00:08:24 +02:00
Blaz Kristan
23c5ddce83
Added inverted analog button.
2021-05-28 18:21:16 +02:00
Blaz Kristan
7685f9b73d
Ignore analogue pin -1 on ESP8266
2021-05-28 17:45:14 +02:00
Blaž Kristan
3bb9d220bb
Bugfix:
...
- rewrite error-prone use of shifting
- allow -1 for analog pin on ESP8266
2021-05-28 14:22:54 +02:00
Blaž Kristan
664fad96fa
Fixed error-prone use of shifting.
2021-05-28 14:14:50 +02:00
Christian Schwinne
669a610e36
Merge branch 'master' into multi-button
2021-05-28 10:03:27 +02:00
Blaž Kristan
7e0d9cb48c
Added:
...
- analogue FX speed
- analogue FX intensity
- analogue palette selection
- UI legend
2021-05-28 08:47:15 +02:00
cschwinne
7cbc9d21b5
Fixed difference calculation
2021-05-27 23:29:11 +02:00
Blaz Kristan
62cb8358cc
Added.
...
- analog for speed, intensity & palette
- legend in settings page
Fixed UI & UX.
- change of effect stops playlist
- new preset UI glitch
2021-05-27 17:57:04 +02:00
cschwinne
55b26751ae
Cache CORS preflight request
2021-05-27 11:09:57 +02:00
cschwinne
c2892d7887
Add UDP sync of system time
2021-05-27 02:02:02 +02:00
cschwinne
6c8bf090fe
Small optimizations
2021-05-27 00:09:52 +02:00
Blaz Kristan
2f30451067
Bugfix.
...
- temperature default values
- IR warnings
2021-05-26 21:33:40 +02:00
Blaz Kristan
6b5c2be701
Bugfix.
...
- preventing strip blinking due to usermod running
- temeperature reading with 0.5°C precision
2021-05-26 16:11:48 +02:00
Blaz Kristan
13bc378069
Fixes for analog.
2021-05-25 23:59:43 +02:00
Blaz Kristan
1ba70706c2
Bugfixes.
...
- multi-relay brightness check
- temperature no reading delay
- analog button fix & noise reduction
- IR removed custom
2021-05-25 23:00:21 +02:00
cschwinne
8431d0bd5c
Replace Time with Toki
2021-05-25 09:59:19 +02:00
cschwinne
852f758be3
Subsecond accuracy NTP
2021-05-24 19:05:34 +02:00
cschwinne
b455f432d5
Toki 1st experiment
2021-05-24 14:34:03 +02:00
Blaz Kristan
6760744249
Minor tweak.
2021-05-23 21:31:47 +02:00
cschwinne
9b796531b2
Fixed Sunrise calculation (atan_t approx. used outside of value range)
2021-05-23 18:49:23 +02:00
Blaz Kristan
11c7d586d9
Bugfix.
...
- atan_t(x) for x>1
- incorrect switch type and missing analog
2021-05-23 18:22:26 +02:00
Blaz Kristan
39cd83b171
Temporary fix for inappropriate atan_t().
2021-05-23 15:51:53 +02:00
Blaz Kristan
2fdbc88d8c
Bugfixes.
...
- PWM bus not loading on boot
- analog 0 not turning Off
- conditional compile for Blynk
- segment name
2021-05-23 01:11:35 +02:00
Blaz Kristan
cc0f1be5d2
Bugfix saving PWM & button pins.
2021-05-22 00:13:49 +02:00
cschwinne
08d7a1c123
Set Nixie contents via JSON API
...
Elekstube mod support a subset of the cronixie display patterns
2021-05-21 22:23:12 +02:00
cschwinne
adf5c8c278
Center smaller images
2021-05-21 15:19:18 +02:00
Blaž Kristan
5f86a8a15b
Merge branch 'master' into multi-button
2021-05-21 13:59:33 +02:00
Blaž Kristan
042c756be8
Added analog button support.
...
Inverted switch fix.
2021-05-21 13:33:22 +02:00
Blaž Kristan
c4086b9127
Corrected 10bit ADC read for 8266
2021-05-21 12:40:38 +02:00
Blaž Kristan
0ada09891c
Added analog button/potentiometer support (partial)
2021-05-21 12:08:47 +02:00
cschwinne
2d586406da
First working Elekstube IPS and RTC mod
2021-05-21 10:10:29 +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
Blaž Kristan
01b2468fea
Changed getI() parameter name to reflect actual meaning.
2021-05-21 08:11:04 +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
28e714db1e
Multi button implementation.
...
Inverted button support.
Added configurable touch button and touch threshold.
2021-05-20 15:49:26 +02:00
Daniel Poelzleithner
57e50d0c33
Allow to override the max segments setting when compiling
2021-05-20 11:46:12 +02:00
Blaž Kristan
a0fd02e0c0
Inverted button support.
...
Config save/load fix.
2021-05-20 06:45:02 +02:00
Blaz Kristan
c925b3d218
Setting touch threshold string fix.
2021-05-19 22:32:50 +02:00
Blaz Kristan
5da4386f31
Shortened string.
2021-05-19 20:26:14 +02:00
Blaz Kristan
4104dec87f
Addet touch button and touch threshold.
...
Fixed some errors.
2021-05-19 20:23:35 +02:00
Blaz Kristan
d40a555531
Button 0 not saving macros fix.
2021-05-19 18:52:20 +02:00
Blaz Kristan
95df91a03b
Multi button implementation.
2021-05-19 18:39:16 +02:00
Blaž Kristan
3a8caa15b9
Reverted retained MQTT messages.
2021-05-19 08:22:41 +02:00
Blaz Kristan
a5a25f02e3
Merge JSON IR code into master changes.
2021-05-18 22:04:51 +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
778e790e82
Added attributtion for JSON IR codes.
2021-05-18 10:27:34 +02:00
Blaž Kristan
17eeb22971
JSON IR remote
2021-05-18 09:48:58 +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
991fe31569
Reverted status MQTT message.
2021-05-17 16:12:34 +02:00
Christian Schwinne
4bcfff780a
Merge pull request #1965 from blazoncek/usermod-update
...
Updated usermod readme and usability enhancements.
2021-05-17 13:05:11 +02:00
Blaž Kristan
12f9ad8f7f
Updated usermod readme and usability enhancements.
2021-05-17 12:52:27 +02:00
cschwinne
6f843fcb27
Added experimental {"on":"t"}
( resolves #1952 )
2021-05-17 12:29:30 +02:00
cschwinne
e0f17e1778
Always copy MQTT payload
2021-05-17 10:38:07 +02:00
Blaz Kristan
4a5a9b73b1
UI fixes & small changes.
2021-05-16 19:06:00 +02:00
Blaz Kristan
94113827a7
Exposing segment power and intensity button/slider
2021-05-16 17:19:35 +02:00
Blaz Kristan
5ad0fdf39c
Added on/off button for Staircas usermod on Info page.
2021-05-15 22:36:40 +02:00
Blaz Kristan
3fde7365f9
Enhanced Animated Staircase usermod.
2021-05-15 13:37:27 +02:00
Blaz Kristan
f6a5bc9b40
Removed "retain" from MQTT messages.
2021-05-14 20:57:56 +02:00
Blaz Kristan
9a5917a331
Added PSRAM support for effect data.
2021-05-13 17:35:20 +02:00
Blaz Kristan
d3b5594092
Added reserverd pins for UI.
2021-05-13 16:46:29 +02:00
Blaz Kristan
742d580eae
Removed Usermod child/parent relationship.
2021-05-13 16:19:53 +02:00
Blaz Kristan
ec0feb68f4
Added (partial) PSRAM support for WROVER chips.
...
Minor fixes.
2021-05-13 16:05:52 +02:00
cschwinne
bfb27c49a2
Fixed possibility of non-0-terminated MQTT payloads
2021-05-13 01:04:33 +02:00
cschwinne
cb7b7f1dca
Add notice if no usermod installed
2021-05-11 23:21:57 +02:00
Blaz Kristan
2b7f2d4744
MQTT null termination fix.
...
Nigtttime detection for PIR fix.
2021-05-11 16:20:43 +02:00
cschwinne
5ca8bc3f2a
Fixed various Codacy code style and logic issues
2021-05-11 14:54:03 +02:00
Aircoookie
9c5afda83a
Merge branch 'master' into tm1814
2021-05-11 11:59:35 +02:00
Blaž Kristan
05b86a71fd
Sunrise/sunset debugging for PIR sensor.
2021-05-11 09:36:30 +02:00
cschwinne
d94d3d4bc5
Added experimental /json/cfg
endpoint for changing settings from JSON
2021-05-11 01:11:16 +02:00
Blaz Kristan
e0c0f29fc6
Added nigttime only and MQTT only options to PIR sensor switch usermod.
...
Clarified empty UM settings a bit.
2021-05-10 22:41:27 +02:00
Aircoookie
119826cb9b
Merge pull request #1951 from blazoncek/user-configurable-usermods
...
User configurable usermods.
2021-05-09 23:10:37 +02:00
cschwinne
6ab95ed4ef
Remove Usermod inheritance from UsermodManager
2021-05-09 22:54:04 +02:00
cschwinne
4f1eb64ac6
Added changes to set.cpp and wled_server.cpp
2021-05-08 18:04:44 +02:00
Blaz Kristan
3e3dc3a6ab
PIR usermod fixes.
2021-05-08 17:02:37 +02:00
Blaz Kristan
3f8dc76f84
Added missing config info.
2021-05-08 12:13:39 +02:00
Blaz Kristan
8a6945ff3b
Added PIR sensor switch on/off presets.
...
Added empty config info.
Minor fixes.
2021-05-08 12:11:12 +02:00
cschwinne
f60579fd21
Remove outdated Visual Studio files (please make PR to re-add if still required)
2021-05-07 16:51:41 +02:00
Blaz Kristan
136a00a301
User configurable usermods.
...
- Utilizing addToConfig() & readFromConfig()
- UM configuration Settings page
- MQTT support for usermods
- A few sample usermods including rewritten Temparature and new Multi-Relay
2021-05-07 12:41:39 +02:00
Blaz Kristan
b2f5bee20d
Conditional compile for disabled features.
2021-05-07 11:51:48 +02:00
cschwinne
fa075f6800
Revert TV reversion
2021-05-07 11:42:12 +02:00
cschwinne
e2061464a5
Fixed not turning on after pressing "Off" on IR remote twice ( fixes #1950 )
...
Fixed OTA update file selection from Android app (TODO: file type verification in JS, since android can't deal with accept='.bin' attribute)
2021-05-07 11:32:08 +02:00
Blaz Kristan
04c4451f7d
Usermods MQTT processing.
...
Multi-relay usermod with MQTT/HTML control.
Minor bugfixes.
2021-05-06 22:58:03 +02:00
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