You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;; please note that you can NOT update existing ESP32 installs with a "V4" build. Also updating by OTA will not work properly.
275
275
;; You need to completely erase your device (esptool erase_flash) first, then install the "V4" build from VSCode+platformio.
276
-
platform = espressif32@ ~6.3.2
277
-
platform_packages = platformio/framework-arduinoespressif32 @ 3.20009.0 ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)
276
+
277
+
;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)
278
+
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.06.02/platform-espressif32.zip ;; Tasmota Arduino Core 2.0.9 with IPv6 support, based on IDF 4.4.4
278
279
build_unflags = ${common.build_unflags}
279
280
build_flags = -g
280
281
-Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one
281
282
-DARDUINO_ARCH_ESP32 -DESP32
282
283
-D CONFIG_ASYNC_TCP_USE_WDT=0
283
284
-DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
Copy file name to clipboardExpand all lines: usermods/seven_segment_display_reloaded/readme.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Very loosely based on the existing usermod "seven segment display".
9
9
10
10
Add the compile-time option `-D USERMOD_SSDR` to your `platformio.ini` (or `platformio_override.ini`) or use `#define USERMOD_SSDR` in `my_config.h`.
11
11
12
-
For the auto brightness option, the usermod SN_Photoresistor has to be installed as well. See SN_Photoresistor/readme.md for instructions.
12
+
For the auto brightness option, the usermod SN_Photoresistor or BH1750_V2 has to be installed as well. See SN_Photoresistor/readme.md or BH1750_V2/readme.md for instructions.
13
13
14
14
## Settings
15
15
All settings can be controlled via the usermod settings page.
@@ -28,10 +28,10 @@ Enables the blinking colon(s) if they are defined
28
28
Shows the leading zero of the hour if it exists (i.e. shows `07` instead of `7`)
29
29
30
30
### enable-auto-brightness
31
-
Enables the auto brightness feature. Can be used only when the usermod SN_Photoresistor is installed.
31
+
Enables the auto brightness feature. Can be used only when the usermods SN_Photoresistor or BH1750_V2 are installed.
32
32
33
33
### auto-brightness-min / auto-brightness-max
34
-
The lux value calculated from usermod SN_Photoresistor will be mapped to the values defined here.
34
+
The lux value calculated from usermod SN_Photoresistor or BH1750_V2 will be mapped to the values defined here.
35
35
The mapping, 0 - 1000 lux, will be mapped to auto-brightness-min and auto-brightness-max
36
36
37
37
WLED current protection will override the calculated value if it is too high.
Usermod for controlling WLED using a generic 433 / 315MHz remote and simple 3-pin receiver
4
+
See <https://github.com/sui77/rc-switch/> for compatibility details
5
+
6
+
## Build
7
+
8
+
- Create a `platformio_override.ini` file at the root of the wled source directory if not already present
9
+
- Copy the `433MHz RF remote example for esp32dev` section from `platformio_override.sample.ini` into it
10
+
- Duplicate/adjust for other boards
11
+
12
+
## Usage
13
+
14
+
- Connect receiver to a free pin
15
+
- Set pin in Config->Usermods
16
+
- Info pane will show the last received button code
17
+
- Upload the remote433.json sample file in this folder to the ESP with the file editor at [http://\[wled-ip\]/edit](http://ip/edit)
18
+
- Edit as necessary, the key is the button number retrieved from the info pane, and the "cmd" can be either an [HTTP API](https://kno.wled.ge/interfaces/http-api/) or a [JSON API](https://kno.wled.ge/interfaces/json-api/) command.
0 commit comments