Skip to content

Commit

Permalink
Added application level pong websockets reply (Aircoookie#2139)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Aug 17, 2021
1 parent bd13336 commit 4b81720
Show file tree
Hide file tree
Showing 6 changed files with 378 additions and 366 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

### Builds after release 0.12.0

#### Build 2108170

- Added application level pong websockets reply (#2139)
- Use AsyncTCP 1.0.3 as it mitigates the flickering issue from 0.13.0-b2
- Fixed transition manually updated in preset overriden by field value

#### Build 2108050

- Fixed undesirable color transition from Orange to boot preset color on first boot
Expand Down
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ build_flags = -g
lib_deps =
${env.lib_deps}
makuna/NeoPixelBus @ 2.6.7
AsyncTCP @ 1.1.1
AsyncTCP @ 1.0.3

[esp32s2]
build_flags = -g
Expand All @@ -218,7 +218,7 @@ build_flags = -g
lib_deps =
${env.lib_deps}
makuna/NeoPixelBus @ 2.6.7
AsyncTCP @ 1.1.1
AsyncTCP @ 1.0.3

# ------------------------------------------------------------------------------
# WLED BUILDS
Expand Down
2 changes: 1 addition & 1 deletion wled00/data/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ function requestJson(command, rinfo = true) {
command.v = true; //get complete API response
command.time = Math.floor(Date.now() / 1000);
var t = d.getElementById('tt');
if (t.validity.valid) {
if (t.validity.valid && !command.transition) {
var tn = parseInt(t.value*10);
if (tn != tr) command.transition = tn;
}
Expand Down
Loading

0 comments on commit 4b81720

Please sign in to comment.