Wykres commitów

379 Commity (http-api-refactor)

Autor SHA1 Wiadomość Data
cschwinne 4f1eb64ac6 Added changes to set.cpp and wled_server.cpp 2021-05-08 18:04:44 +02:00
Blaz Kristan b2f5bee20d Conditional compile for disabled features. 2021-05-07 11:51:48 +02:00
Blaz Kristan 311e54451b Minor bug fixes. 2021-04-25 21:15:57 +02:00
Blaz Kristan 1cd56decab Rewritten usermod config saving/reloading.
Changed temperature reading (to work on ESP32 more reliably).
Added Animated staircase usermod to the collection.
2021-04-17 17:04:36 +02:00
Blaz Kristan dcc7ba8f93 Changed ability to add multiple busses as compile time defaults,
using the esp32_multistrip usermod define syntax.
2021-04-15 22:19:58 +02:00
Blaz Kristan 29e048af7b Merge branch 'master' into dev
Conflicts:
	CHANGELOG.md
	package.json
	platformio.ini
	usermods/Temperature/usermod_temperature.h
	wled00/FX.cpp
	wled00/FX.h
	wled00/FX_fcn.cpp
	wled00/cfg.cpp
	wled00/data/index.js
	wled00/data/settings_leds.htm
	wled00/data/settings_time.htm
	wled00/data/style.css
	wled00/html_other.h
	wled00/html_settings.h
	wled00/html_ui.h
	wled00/ntp.cpp
	wled00/usermods_list.cpp
	wled00/wled.cpp
	wled00/wled.h
2021-04-14 18:19:51 +02:00
Blaz Kristan 9bfe27dd5e Sunrise and sunset calculation and sunrise/sunset triggered presets. 2021-04-12 21:53:22 +02:00
cschwinne 48d5584491 Add switch support 2021-04-12 00:45:33 +02:00
Blaz Kristan a6feb77e52 4LineDisplay rewrite for dynamic configuration.
Added handling for multiple pins in usermod.
Fixed minor bugs.
2021-04-11 00:38:13 +02:00
Blaz Kristan 13b3b2fd23 1st working usermod settings (Temperature).
Added color on pin conflicts in LEDs setting page.
2021-04-10 00:17:15 +02:00
Blaz Kristan 6eafab8286 Per strip "skip first led".
Removed RGBW override from UI.
Saving presets uses rev:1 API if possible.
2021-04-07 21:04:54 +02:00
Blaz Kristan a52386e6ad 0.12 release
- removed AUX
- fix for negative values in LED settings
- fix for iOS app
2021-04-03 19:43:08 +02:00
cschwinne 46d66dded8 Release of WLED v0.12.0 2021-04-03 00:15:28 +02:00
Blaž Kristan 7078c91f7d Skip first led cleanup. 2021-04-01 12:53:01 +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
cschwinne 806221bc3f Move RGBW activation to wled.cpp 2021-03-28 17:31:05 +02:00
cschwinne 4264c2a173 Test for arcane curses 2021-03-25 20:00:31 +01:00
Blaž Kristan f6772eaf59 FPS drop workaround. 2021-03-23 07:05:40 +01:00
cschwinne 1dbcac4f53 Framerate bug workaround 2021-03-23 03:10:24 +01:00
cschwinne 8a2256e0d8 0.12 beta 2021-03-20 18:43:05 +01:00
Aircoookie eee2450c9e
Merge pull request #1786 from DerFetzer/fix_fx_sync
Send notification for HTTP API calls with only effects parameters
2021-03-19 09:09:17 +01:00
Blaz Kristan 0f7e22d8b7 Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
Conflicts:
	wled00/cfg.cpp
	wled00/data/index.js
	wled00/fcn_declare.h
	wled00/html_ui.h
	wled00/json.cpp
	wled00/playlist.cpp
	wled00/wled.h
2021-03-14 11:41:55 +01:00
cschwinne 26096bc136 Added options for Auto Node discovery
Optimized strings (no string both F() and raw)
2021-03-13 22:04:37 +01:00
Blaz Kristan e3fabe92bd Fixed slow NTP respone for calculating sunrise.
Fixed saving/loading only sunset trigger.
2021-03-09 13:24:20 +01:00
Blaz Kristan 142740f080 Sunrise/sunset re-calculated after saving time settings. 2021-03-08 19:52:43 +01:00
Blaz Kristan b5abc6c724 Added sunrise/sunset triggered presets. 2021-03-07 00:04:46 +01:00
cschwinne 71edc3a084 Fixed incorrect over-memory indication in LED settings on ESP32 2021-03-06 02:35:49 +01:00
Blaz Kristan f74a45a33e Sunris/sunset detection. 2021-03-05 23:05:09 +01:00
Blaz Kristan e5417d12ca General cleanup & optimisations.
Pushing memory to (safe-ish) limits.
2021-03-03 22:04:24 +01:00
DerFetzer 56cf1c818b Send notification for HTTP API calls with only effects parameters 2021-03-01 22:44:28 +01:00
Blaž Kristan f23cee17eb Minor fixes and optimisations.
Temperature usermod update for pin saving.
2021-02-25 09:54:10 +01:00
Blaz Kristan f24fcfca69 Merge branch 'dev' of https://github.com/aircoookie/WLED into dev
Conflicts:
	wled00/set.cpp
	wled00/xml.cpp
2021-02-24 22:11:27 +01:00
Blaz Kristan d60506a75d Skip 1st fix, save LED count, removed reverse. 2021-02-24 21:33:44 +01:00
Blaz Kristan 77dee439e6 1st attempt at 'blazoncek' 0.12 2021-02-24 20:23:32 +01:00
cschwinne d7790a04c5 5 configurable pins per bus (for analog) 2021-02-24 14:49:39 +01:00
cschwinne f3aa8d368e Multipin appears to work 2021-01-31 00:38:27 +01:00
cschwinne 9518c5f2e4 might work 2021-01-30 20:51:36 +01:00
cschwinne e44173ff09 JSON ledDoc (does not work, crash on delete) 2021-01-30 13:23:38 +01:00
cschwinne 9bdcfc8a45 LED settings JS possibly complete (need to add saving logic to set.cpp) 2021-01-26 01:58:34 +01:00
cschwinne 89b76b514c Settings progress 2021-01-26 00:19:41 +01:00
cschwinne c105f3b970 Mulipin select compiles
Need to work on JS and set.cpp next
2021-01-21 01:21:16 +01:00
cschwinne b0306867b4 Resolve merge conflict 2021-01-18 21:03:10 +01:00
cschwinne d5025fdbcc Fixed canAllShow() and removeAll() 2021-01-18 20:51:32 +01:00
Blaz Kristan bb8d5ac13f Dynamic allocation for bus manager. 2021-01-17 00:20:31 +01:00
lonestriker 82e7328903
Add support for WT32-ETH01 ethernet board and make ethernet support configurable (#1583)
* Initial support for WT32-ETH01 board

* Initial ethernet config option, doesn't save yet

* Fixed saving/restoring ethernet option, works now!

* Fixed ESP32-POE pin config (thanks to tbnobody)

* Remove esp32_eth target (use poe), minor cleanup

* Fix BTNPIN for WT32-ETH01, as found by @k7bbr

* Various fixes to ethernet option

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-01-15 10:37:45 +01:00
cschwinne d6b366c77f Finished multi segment transitions 2021-01-13 11:24:27 +01:00
cschwinne 9551519a35 First working multisegment transitions 2021-01-09 00:35:48 +01:00
cschwinne 0df6826c91 Fixed HTTP changing segments uncommanded (#1618)
Replaced Red & Blue effect with Aurora effect (PR #1589)
Updated copyright year and contributor page link
2021-01-05 21:35:07 +01:00
cschwinne f5ed710c0b Same procedure as every year James 2020-12-31 20:47:38 +01:00
Mike 068c5851ef
Add fields for customization Blynk host (#1543)
* Add fields for customization Blynk host

Add fields to 'Sync Interfaces' for customization Blynk host.
Now you can set you own Blynk server.
All you needs its set custom host and port to local Blync server.

* Lower blynk host length (memory usage)

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2020-12-22 00:44:16 +01:00
cschwinne 03516e11f7 Various fixes 2020-12-10 16:27:23 +01:00
Aircoookie 51acd4952b
Merge pull request #1383 from sunbowch/master
mutiple RGBW leds support for DMX control
2020-12-02 12:20:49 +01:00
cschwinne fb91d9b2d4 Color order override macros 2020-11-27 23:59:00 +01:00
sunbowch 3d89588eb1 mutiple RGBW leds support for DMX control
RGBW leds can be individually adressed through E1.31 control.
-Added option 'Multi RGBW' to the settings
-Modified e131.cpp accordingly
-Tuned other parameters to make it work
2020-11-27 11:37:39 +01:00
cschwinne 3ff23ade8b Done in principle 2020-11-06 22:12:48 +01:00
cschwinne fc9255cdc4 Added new file for JSON cfg parsing code 2020-11-04 11:04:40 +01:00
cschwinne b0828a6280 Bigger buffer testing 2020-10-08 00:52:15 +02:00
cschwinne 606cd18dc4 Working deletion
Added HTTP API support to JSON API
2020-10-03 00:29:36 +02:00
cschwinne 3107943af8 Fixed interaction of `T` and `NL` HTTP API commands (#1214) 2020-10-02 12:30:17 +02:00
cschwinne ee8596d175 DDP working 2020-09-29 01:13:29 +02:00
cschwinne 8d3ff16037 Add udpNotifier2 (JSON+HTTP, closes #1205 )
Added Loxone defines
Fix missing timezones (#1201)
2020-09-27 11:43:28 +02:00
m0fa b10ab358da
Loxone support added (#1185)
* A separate socket for UDP api has been added. This uses the same API as HTML. Commands for Loxone were added to the API.

* html files for udp api newly generated

* codm pixel controller board configurations added to platformio.ini file

* Parser for LX/LY commands adapted. Calculation of the values corrected. Segment handling for LX/LY removed.

* Lox parser moved to own file. Lox parser added to the JSON api. Within a segment LX and LY are now supported.

* serial port removed

* F() macro added

Co-authored-by: Marius Groos <marius.groos@codm.de>
2020-09-27 11:37:16 +02:00
cschwinne 35b54e2f88 Add CY=2 for cycle toggling (closes #1174) 2020-09-20 16:40:32 +02:00
cschwinne edbe8131ab Reduce heap usage by 4kB 2020-09-20 01:18:31 +02:00
cschwinne 2716f4cbe9 Fixed passwords not clearable 2020-09-10 11:01:05 +02:00
cschwinne c1cab30daf Added `mi` property to APIs 2020-08-07 00:50:19 +02:00
garyd9 0ca6535345 Fix for power on (T=1) resetting brightness.
In particular, if parsing T=1, and the brightness is already non-0,
don't do anything.
Resolves presets set from macros don't restore brightness #1063
2020-07-24 23:33:50 -04:00
cschwinne 10a1275a52 Added SV=2 to HTTP API, allow selecting single segment only 2020-06-26 23:30:13 +02:00
cschwinne 4f7dc5be34 Added Sunrise nightlight mode and more UI features
-   Added Sunrise nightlight mode
-   Added Chunchun effect
-   Added `LO` (live override) command to HTTP API
-   Added `mode` to `nl` object of JSON state API, deprecating `fade`
-   Added light color scheme support to web UI (click sun next to brightness slider)
-   Added option to hide labels in web UI (click flame icon next to intensity slider)
-   Added hex color input (click palette icon next to palette select) (resolves #506)
-   Added support for RGB sliders (need to set in localstorage)
-   Added support for custom background color or image (need to set in localstorage)
-   Added option to hide bottom tab bar in PC mode (need to set in localstorage)
-   Fixed transition lag with multiple segments (fixes #985)
-   Changed Nightlight wording (resolves #940)
2020-06-22 12:30:31 +02:00
cschwinne fec8343f45 Added TPM2.NET protocol support 2020-05-18 16:36:31 +02:00
cschwinne fd06ff08c7 Move DMX proxy setting from sync to DMX settings 2020-05-11 11:51:11 +02:00
Aircoookie afd990bd71
Merge pull request #862 from pille/DMX-proxy
implement DMX proxy mode via MAX485
2020-05-11 11:40:11 +02:00
cschwinne 94c5f0d7a8 New API properties
-   Added realtime override option and `lor` JSON property
-   Added `lm` (live mode) and `lip` (live IP) properties to info in JSON API
-   Added reset commands to APIs
-   Added `json/si`, returning state and info, but no FX or Palette lists
-   Added rollover detection to millis(). Can track uptimes longer than 49 days
-   Attempted to fix Wifi issues with Unifi brand APs
2020-04-30 01:52:36 +02:00
pille 385b3570b2 cleanup code to use descriptive segment options 2020-04-24 23:35:39 +02:00
cschwinne 77edd12030 Added brightness and power for individual segments ( #289 , #290 ) 2020-04-23 23:52:33 +02:00
pille 8bfae2fa74 implement DMX proxy mode via MAX485
output a configurable universe (E1.31 or ArtNet) via MAX485 module that connects its DI to D4 on d1_mini.
as this function competes with DMX output for the same hardware, the universe to proxy acts as a switch.
0       = DMX OUTPUT (of configured WLED LEDs, which is the classic behaviour)
1-63999 = DMX PROXY  (selected universe, ArtNet is limited up to 32768)
2020-04-21 22:56:14 +02:00
cschwinne e12757dbb9 Add Art-Net support (#417) 2020-04-13 00:42:27 +02:00
cschwinne 19945e4ccb Fix DMX compilation 2020-04-10 12:30:08 +02:00