Christian Schwinne
7e1920dc4b
Remove ledCount ( #2300 )
...
Bus initialization on reading from eeprom
2021-10-31 11:57:41 +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
Blaz Kristan
a696afaeb8
Color mangling macros.
...
Removed legacy Auto White caclulation.
2021-10-26 20:35:45 +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
31bf615fe8
Playlist bugfix.
2021-10-22 21:31:03 +02:00
Blaz Kristan
1cf793233f
Removed experimental v2 segment API.
...
Bugfix for white value.
2021-10-21 21:33:26 +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
5714578783
Refactoring & code clean-up.
...
- utility functions
- network functions
- math functions
2021-10-11 14:13:34 +02:00
Blaz Kristan
e682fd07cb
Reverted currentPlaylist.
2021-10-07 15:41:30 +02:00
Blaz Kristan
9f230ae339
RAM optimizations:
...
- changed int16_t to byte for currentPreset and currentPlaylist
- removed presetCycXxxxx variables
2021-10-06 18:43:12 +02:00
cschwinne
6ddcba8917
Change currentPreset to byte
...
JSON API still returns -1 for no preset
2021-10-03 13:53:37 +02:00
Blaž Kristan
6db2240f8a
Merge branch 'master' into dev
...
(mostly ignored index.js)
2021-09-22 06:58:49 +02:00
cschwinne
baf49b88f4
Semi-working segment on/off transition
2021-09-20 21:22:04 +02: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
95518f1948
Fix for incorrect memory de-allocation.
2021-09-12 12:33:23 +02:00
cschwinne
c8610b8ad2
Small improvements to segment names
2021-09-12 01:15:51 +02:00
Blaz Kristan
4d89ed701d
FX optimisations.
...
Added segment names.
2021-09-08 23:10:54 +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
Blaz Kristan
84d0c17c4b
Compile warnings eliminated.
...
Minor typo.
DEBUG_PRINTF fix for 8266
2021-08-24 21:35:47 +02:00
Blaz Kristan
f921d9a1f8
Added UDP sync groups.
2021-08-21 12:28:22 +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
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
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
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
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
Blaz Kristan
34c8f33c3c
Bugfix WS saving preset.
2021-07-07 16:55:22 +02:00
Blaz Kristan
8769234e28
Merge branch 'master' into dev
2021-07-04 15:29:46 +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
cschwinne
dc01c907f1
Send websockets on every state change
2021-07-02 00:24:14 +02:00
Blaž Kristan
9f885407f5
Merge branch 'master' into dev
2021-07-01 13:24:48 +02:00
cschwinne
200960899e
Removed preset cycle
2021-06-30 01:48:38 +02:00
cschwinne
7233c55428
Segment Offset
2021-06-30 00:45:36 +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
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
1a80439825
Merge branch 'master' into dev
2021-06-15 23:36:12 +02:00
cschwinne
623694ab73
Playlist additions
2021-06-10 02:52:20 +02:00
Blaz Kristan
024ec86dc5
Unloading playlist on effect change.
2021-06-07 23:45:11 +02:00
Blaz Kristan
c58ad64a28
Bugfix.
...
- unloading playlist on playlist apply
- optimisations in handlePlaylist()
2021-06-07 20:44:20 +02:00
SpikeyHelmet
2178fd6ee9
CRONIXIE check in json.cpp
2021-06-01 06:37:35 +05:30
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
c2892d7887
Add UDP sync of system time
2021-05-27 02:02:02 +02:00
cschwinne
8431d0bd5c
Replace Time with Toki
2021-05-25 09:59:19 +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
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
cschwinne
6f843fcb27
Added experimental {"on":"t"}
( resolves #1952 )
2021-05-17 12:29:30 +02:00
Blaz Kristan
ec0feb68f4
Added (partial) PSRAM support for WROVER chips.
...
Minor fixes.
2021-05-13 16:05:52 +02:00
cschwinne
5ca8bc3f2a
Fixed various Codacy code style and logic issues
2021-05-11 14:54:03 +02:00
cschwinne
d94d3d4bc5
Added experimental /json/cfg
endpoint for changing settings from JSON
2021-05-11 01:11:16 +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
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
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
7f6a554e1b
Small adjustments
2021-04-21 17:21:55 +02:00
Blaz Kristan
6a096fbb27
Fixed #define typo.
...
Made usermod Auto Save runtime configurable.
String optimisations.
2021-04-12 21:10:47 +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
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
4127882e5f
Increased JSON buffer to 9k.
...
Removed daytime symbol from info page.
2021-03-31 16:41:20 +02:00
Blaz Kristan
6ace46eece
Merge branch 'master' into dev.
...
Few other modifications.
Conflicts:
package.json
platformio.ini
wled00/FX.h
wled00/FX_fcn.cpp
wled00/bus_wrapper.h
wled00/cfg.cpp
wled00/data/index.css
wled00/data/index.htm
wled00/data/settings_leds.htm
wled00/html_other.h
wled00/html_settings.h
wled00/html_ui.h
wled00/json.cpp
wled00/set.cpp
wled00/wled.cpp
wled00/wled.h
wled00/wled_eeprom.cpp
wled00/wled_server.cpp
wled00/xml.cpp
2021-03-29 23:12:19 +02:00
cschwinne
e46078286d
0.12.0 Beta 4
2021-03-29 02:28:34 +02:00
Blaz Kristan
93cefb88f5
CRLF madness. :(
2021-03-25 20:00:08 +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
cschwinne
8a2256e0d8
0.12 beta
2021-03-20 18:43:05 +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
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
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
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
ea3358ecb2
Autodiscovery improvements
2021-03-09 16:23:19 +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
0892eb271d
Minor F() fixes.
2021-03-08 07:53:27 +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
b5abc6c724
Added sunrise/sunset triggered presets.
2021-03-07 00:04:46 +01:00
Blaz Kristan
f74a45a33e
Sunris/sunset detection.
2021-03-05 23:05:09 +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
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
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
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