Skip to content

Commit d58a192

Browse files
committed
Merge commit '4af1f62aab42c4ad0458b06d19fc8a71e4c7a3c6'
2 parents fa73833 + 4af1f62 commit d58a192

38 files changed

+1637
-203
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Bug Report
2+
description: File a bug report
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please quickly search existing issues first before submitting a bug.
9+
- type: textarea
10+
id: what-happened
11+
attributes:
12+
label: What happened?
13+
description: A clear and concise description of what the bug is.
14+
placeholder: Tell us what the problem is.
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: how-to-reproduce
19+
attributes:
20+
label: To Reproduce Bug
21+
description: Steps to reproduce the behavior, if consistently possible.
22+
placeholder: Tell us how to make the bug appear.
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: expected-behavior
27+
attributes:
28+
label: Expected Behavior
29+
description: A clear and concise description of what you expected to happen.
30+
placeholder: Tell us what you expected to happen.
31+
validations:
32+
required: true
33+
- type: dropdown
34+
id: install_format
35+
attributes:
36+
label: Install Method
37+
description: How did you install WLED?
38+
options:
39+
- Binary from WLED.me
40+
- Self-Compiled
41+
validations:
42+
required: true
43+
- type: input
44+
id: version
45+
attributes:
46+
label: What version of WLED?
47+
description: You can find this in by going to Config -> Security & Updates -> Scroll to Bottom. Copy and paste the entire line after "Server message"
48+
placeholder: "e.g. WLED 0.13.0-b4 (build 2110110)"
49+
validations:
50+
required: true
51+
- type: dropdown
52+
id: Board
53+
attributes:
54+
label: Which microcontroller/board are you seeing the problem on?
55+
multiple: true
56+
options:
57+
- ESP8266
58+
- ESP32
59+
- Other
60+
validations:
61+
required: true
62+
- type: textarea
63+
id: logs
64+
attributes:
65+
label: Relevant log/trace output
66+
description: Please copy and paste any relevant log output if you have it. This will be automatically formatted into code, so no need for backticks.
67+
render: shell
68+
- type: textarea
69+
attributes:
70+
label: Anything else?
71+
description: |
72+
Links? References? Anything that will give us more context about the issue you are encountering!
73+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
74+
validations:
75+
required: false
76+
- type: checkboxes
77+
id: terms
78+
attributes:
79+
label: Code of Conduct
80+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/Aircoookie/WLED/blob/master/CODE_OF_CONDUCT.md)
81+
options:
82+
- label: I agree to follow this project's Code of Conduct
83+
required: true

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
### Builds after release 0.12.0
44

5+
#### Build 2111160
6+
7+
- Version bump to 0.13.0-b5 "Toki"
8+
- Improv Serial support (PR #2334)
9+
- Button improvements (PR #2284)
10+
- Added two time zones (PR #2264, 2311)
11+
- JSON in/decrementing support for brightness and presets
12+
- Fixed no gamma correction for JSON individual LED control
13+
- Preset cycle bugfix
14+
- Removed ledCount
15+
- LED settings buffer bugfix
16+
- Network pin conflict bugfix
17+
- Changed default ESP32 partition layout to 4M, 1M FS
18+
519
#### Build 2110110
620

721
- Version bump to 0.13.0-b4 "Toki"

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wled",
3-
"version": "0.13.0-b4",
3+
"version": "0.13.0-b5",
44
"description": "Tools for WLED project",
55
"main": "tools/cdata.js",
66
"directories": {

platformio.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ build_flags = -g
207207
-DCONFIG_LITTLEFS_FOR_IDF_3_2
208208
-D CONFIG_ASYNC_TCP_USE_WDT=0
209209

210+
default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
211+
210212
lib_deps =
211213
${env.lib_deps}
212214
makuna/NeoPixelBus @ 2.6.7
@@ -292,6 +294,7 @@ platform = [email protected]
292294
build_unflags = ${common.build_unflags}
293295
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32 #-D WLED_DISABLE_BROWNOUT_DET
294296
lib_deps = ${esp32.lib_deps}
297+
board_build.partitions = ${esp32.default_partitions}
295298

296299
[env:esp32_eth]
297300
board = esp32-poe
@@ -300,6 +303,7 @@ upload_speed = 921600
300303
build_unflags = ${common.build_unflags}
301304
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_Ethernet -D RLYPIN=-1 -D WLED_USE_ETHERNET -D BTNPIN=-1
302305
lib_deps = ${esp32.lib_deps}
306+
board_build.partitions = ${esp32.default_partitions}
303307

304308
[env:esp32s2_saola]
305309
board = esp32dev
@@ -406,13 +410,15 @@ build_flags = ${common.build_flags_esp32}
406410
lib_deps = ${esp32.lib_deps}
407411
OneWire@~2.3.5
408412
olikraus/U8g2 @ ^2.28.8
413+
board_build.partitions = ${esp32.default_partitions}
409414

410415
[env:m5atom]
411416
board = esp32dev
412417
build_unflags = ${common.build_unflags}
413418
build_flags = ${common.build_flags_esp32} -D LEDPIN=27 -D BTNPIN=39
414419
lib_deps = ${esp32.lib_deps}
415420
421+
board_build.partitions = ${esp32.default_partitions}
416422

417423
[env:sp501e]
418424
board = esp_wroom_02
@@ -498,3 +504,4 @@ monitor_filters = esp32_exception_decoder
498504
lib_deps =
499505
${esp32.lib_deps}
500506
TFT_eSPI @ ^2.3.70
507+
board_build.partitions = ${esp32.default_partitions}

usermods/Artemis_reciever/usermod.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void RGBNET_readValues() {
2424
int channel = UDP.read();
2525

2626
//channel data is not used we only supports one channel
27-
int len = UDP.read(RGBNET_packet, ledCount*3);
27+
int len = UDP.read(RGBNET_packet, strip.getLengthTotal()*3);
2828
if(len==0){
2929
return;
3030
}
@@ -50,7 +50,7 @@ void handleConfig(AsyncWebServerRequest *request)
5050
\"channels\": [\
5151
{\
5252
\"channel\": 1,\
53-
\"leds\": " + ledCount + "\
53+
\"leds\": " + strip.getLengthTotal() + "\
5454
},\
5555
{\
5656
\"channel\": 2,\

usermods/BH1750_v2/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Copy the example `platformio_override.ini` to the root directory. This file sho
99

1010
### Define Your Options
1111

12-
* `USERMOD_BH1750` - define this to have this user mod included wled00\usermods_list.cpp
13-
* `USERMOD_BH1750_MAX_MEASUREMENT_INTERVAL` - the max number of milliseconds between measurements, defaults to 10000ms
14-
* `USERMOD_BH1750_MIN_MEASUREMENT_INTERVAL` - the min number of milliseconds between measurements, defaults to 500ms
15-
* `USERMOD_BH1750_FIRST_MEASUREMENT_AT` - the number of milliseconds after boot to take first measurement, defaults to 10 seconds
16-
* `USERMOD_BH1750_OFFSET_VALUE` - the offset value to report on, defaults to 1
12+
* `USERMOD_BH1750` - define this to have this user mod included wled00\usermods_list.cpp
13+
* `USERMOD_BH1750_MAX_MEASUREMENT_INTERVAL` - the max number of milliseconds between measurements, defaults to 10000ms
14+
* `USERMOD_BH1750_MIN_MEASUREMENT_INTERVAL` - the min number of milliseconds between measurements, defaults to 500ms
15+
* `USERMOD_BH1750_FIRST_MEASUREMENT_AT` - the number of milliseconds after boot to take first measurement, defaults to 10 seconds
16+
* `USERMOD_BH1750_OFFSET_VALUE` - the offset value to report on, defaults to 1
1717

1818
All parameters can be configured at runtime using Usermods settings page.
1919

usermods/multi_relay/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Examples
1616
1. 4 relays at all, relay 2 will be toggled: `http://[device-ip]/relays?toggle=0,1,0,0`
1717
2. 3 relays at all, relay 1&3 will be switched on: `http://[device-ip]/relays?switch=1,0,1`
1818

19+
## JSON API
20+
You can switch relay state using the following JSON object transmitted to: `http://[device-ip]/json`
21+
22+
Switch relay 0 on: `{"MultiRelay":{"relay":0,"on":true}}`
23+
Switch relay4 3 & 4 off: `{"MultiRelay":[{"relay":2,"on":false},{"relay":3,"on":false}]}`
24+
1925
## MQTT API
2026

2127
wled/deviceMAC/relay/0/command on|off|toggle

0 commit comments

Comments
 (0)