Commit Graph

601 Commits

Author SHA1 Message Date
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
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
1d4d5f0c93 Minor fixes & optimizations. 2021-10-17 14:38:19 +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
Blaz Kristan
a6adb314ec Clean up settings CSS. 2021-10-11 17:55:26 +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
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
Blaz Kristan
53237c297f "Preset 0" bugfix. 2021-10-09 10:42:49 +02:00
Blaz Kristan
4fdf85bbdb Add off override. 2021-10-07 22:57:07 +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
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
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
8f1cee2e61 Fixed mem calculation. 2021-10-04 19:44:46 +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
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
91598cbbbf Remove Total LEDs field 2021-10-03 12:23:24 +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
e17e2a636b Added permanent DDP UDP listener. 2021-10-01 21:56: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
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
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
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
e17550e23e Debug cleanup. Minor tweks. 2021-09-22 21:52:06 +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
3111718eb1 Fix for pin conflicts on save. 2021-09-21 06:25:36 +02: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
b8e8028eb9
Merge pull request #2184 from Aircoookie/fx-mods
FX optimisations and segment names
2021-09-19 15:16:23 +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
Blaz Kristan
bc6652f443 Segment names fixes.
Minor UI changes:
 - new font
 - removed transition
2021-09-18 13:15:19 +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
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
d4beb2f79b Merge branch 'master' into dev
Excluded modifications to ir.cpp
Changed default segment creation logic.
2021-09-12 01:00:54 +02:00
Christian Schwinne
c24ab1b21d
Auto create segments setting (#2183) 2021-09-11 01:17:42 +02:00
Blaz Kristan
4d89ed701d FX optimisations.
Added segment names.
2021-09-08 23:10:54 +02:00
cschwinne
e26299b998 Revert some small syntactical changes 2021-09-05 00:39:47 +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
Henry Gabryjelski
021c4ba68a Revert changes from PR1902 2021-08-29 11:49:06 -07:00
Blaz Kristan
8ee704e123 Added toast confirmation for clearing LS. 2021-08-25 22:37:16 +02:00
Blaž Kristan
b481c13829
Sync groups (#2150)
* Added UDP sync groups.

* Shortened string.

* Changed sync default to group 1 only.

* Make packets with version < 9 group 1

* Send sync group options as bytes, parse in JS

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-08-25 16:39:12 +02:00
Blaž Kristan
60ce5c67de Merge branch 'sync-groups' into dev 2021-08-25 06:26:50 +02:00
cschwinne
421f932053 Send sync group options as bytes, parse in JS 2021-08-25 00:36:31 +02:00
Blaz Kristan
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
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
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
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
441416b241 Fixed edge case with transition 0 2021-08-18 01:59:01 +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
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
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
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
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
Blaz Kristan
c8ce06d110 Minor UI fix. 2021-07-11 00:26:21 +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
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
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
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
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
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
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
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
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
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
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
1e5420e6a7 readFromConfig() update 2021-06-25 01:26:15 +02:00
Blaz Kristan
e9d07eadaa Additional traces of v2 API removed in WS.
JS cleanup.
2021-06-20 21:56:25 +02:00