Will Tatam
0ba80ce61e
Merge branch 'main' into usermod-libs
2025-03-11 22:31:52 +00:00
srg74
14c6c05e00
Update README.md
...
Added record to change log according to latest update from @blazoncek
2025-03-11 16:24:55 -04:00
Damian Schneider
2012317bc9
initial version, basically working but repetitive patterns, work in progress
2025-03-03 06:57:16 +01:00
Will Miles
20563e6306
usermod/Temperature: Update doc
2025-03-01 20:29:59 +00:00
Will Miles
580c2d8213
usermods/MY9291: Enable for ESP8266
2025-03-01 20:29:37 +00:00
Blaž Kristan
6ea9535463
Avoid shadowing global col[]
2025-02-19 11:54:03 +01:00
Will Tatam
1dc7647bb9
Merge branch 'main' into usermod-libs
2025-02-16 10:40:30 +00:00
maxi4329
aa3fb7d165
update links to point to the new repo
2025-02-15 20:07:41 +01:00
yangminglong
35f87365c9
Brightness follow sun ( #4485 )
...
* add usermod : Brightness Follow Sun
2025-02-08 10:11:14 +01:00
Will Tatam
3a31d5d49e
Merge branch 'usermod-libs' into usermod-libs-matrix
2025-02-07 20:53:31 +00:00
Will Miles
078a054dbd
usermods/pixels_dice_tray: Fix BLE dependency
2025-02-07 04:12:07 +00:00
Will Miles
c57be77039
Fix sensor usermod globals
...
These can be static locals instead; allows these usermods to build and
link together.
2025-02-06 22:26:45 -05:00
Will Miles
e6910f732f
Disable EleksTube_IPS usermod
...
For some reason, building it seems to consume 300kb of SRAM??
Probably there's still something wrong with the configuration.
2025-02-06 22:25:39 -05:00
Will Miles
d0b599781d
Fix up BME280_v2 usermod
...
Minor compile correctness tweak
2025-02-06 22:24:53 -05:00
Will Miles
2431f2058b
load_usermods: Split on any whitespace
...
This allows the common newline syntax in platformio
2025-02-06 22:23:12 -05:00
Will Miles
f72b5d04e8
usermod/pixels_dice_try: Add missing dep
...
The "arduino-pixels-dice" library needs the ESP32 BLE subsystem, but
doesn't explicitly depend on it.
2025-02-03 19:35:12 +00:00
Will Miles
1688546519
Fix RTC usermod
2025-02-03 18:48:07 +00:00
Will Miles
2eff6b7a3a
usermod/sensors_to_mqtt: Add explicit dep
...
This mod includes a header from the Adafruit Unified Sensor library
inherited by its target sensor libraries. This isn't reliably
picked up by PlatformIO's dependency finder. Add an explicit dep to
ensure build stability.
2025-02-03 17:57:09 +00:00
Will Miles
7a40ef74c6
Fix up PWM_fan
...
Use a custom setup script to check for the dependencies and pass along
the required compile flags to the module; also split the object
definitions for the target modules from their source so as to allow
#including them.
2025-01-31 23:59:37 +00:00
Will Miles
b3f9983f44
First half of usermod readme updates
...
Describe the new usermod enable process, and update sample
platformio_override.ini stubs.
2025-01-31 03:57:23 +00:00
Will Miles
070b08a9e6
Rename usermod EXAMPLE_v2 to EXAMPLE
...
It'd be better to not propagate the 'v2' suffix any further. This is
the standard flavor of usermods now.
2025-01-31 03:54:17 +00:00
Will Miles
851e9ece03
Remove deprecated mqtt_switch_v2 usermod
...
...it's been 3 years, and it's easier than cleaning up the readme.
2025-01-31 03:52:59 +00:00
Will Miles
a5b972d87e
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-01-31 02:51:56 +00:00
Will Tatam
7d48bba926
build usermod_esp32
2025-01-22 10:09:51 +00:00
Will Miles
0d44e7ec27
Usermods: Remove libArchive
...
This is now managed centrally.
2025-01-21 00:12:37 +00:00
Blaž Kristan
3a426e258b
Merge branch 'main' into blending-styles
2025-01-20 11:19:43 +01:00
Ryan Ross
01a71132d5
connect the seven segment reloaded usermod to BH1750 usermod ( #4503 )
2025-01-20 06:12:12 +01:00
Will Miles
30a697e708
usermods/PWM_fan: Disable pending cross-mod check
...
A better solution for cross-module communication is required!
2025-01-19 22:19:30 +00:00
Will Miles
0233daeda2
usermods/sensors_to_mqtt: Fix char type
2025-01-19 22:19:30 +00:00
Will Miles
44a1a1ebde
usermods: Fix MQTT checks
...
- Check after including wled.h
- Use WLED_DISABLE_MQTT instead of WLED_ENABLE_MQTT
2025-01-19 22:19:30 +00:00
Will Miles
2b07be1d09
usermod mpu6050: Fix incorrect int type
2025-01-19 22:09:44 +00:00
Kilrah
b9aeb19834
RF433 json usermod ( #4234 )
...
* RF433 remote usermod
---------
Co-authored-by: Kilrah <kilrah@kilrah.xyz>
2025-01-17 08:01:17 +01:00
Will Miles
193926c795
usermods: Remove #pragma once from cpps
2025-01-17 00:50:02 +00:00
Will Tatam
8487dd7cfd
Disable build of usermods that are broken at the moment
2025-01-15 12:49:40 +00:00
Will Tatam
5d05d7936c
Add usermod dependencies
2025-01-15 12:46:48 +00:00
Will Tatam
0afd2fe720
Destructor must be public
2025-01-15 12:46:06 +00:00
Will Tatam
59a79a30da
Add deps for usermods/BME280_v2
2025-01-15 11:34:51 +00:00
Will Tatam
5da380e1b0
Update dependencies for sensors_to_mqtt
2025-01-15 11:28:38 +00:00
Will Miles
30559cd2d3
Fix dependency for EleksTube_IPS usermod
2025-01-14 22:21:41 +00:00
Will Miles
8fd905215f
Integrate usermods environment
...
Move the "all usermods" logic in to the platformio script, so the
'usermods' environment can be built in any checkout without extra setup
commands.
2025-01-14 22:21:26 +00:00
Blaž Kristan
a65f97ac75
Merge branch 'main' into blending-styles
2025-01-14 22:39:20 +01:00
Will Tatam
869e275e48
typo in usermods/sensors_to_mqtt/library.json
2025-01-14 00:43:59 +00:00
Will Tatam
e4714870a4
typo in usermods/sensors_to_mqtt/library.json
2025-01-14 00:39:04 +00:00
Will Tatam
2c9c413e79
Merge branch 'usermod-libs' into usermod-libs-migration
2025-01-14 00:22:07 +00:00
Will Tatam
b380d5e2c7
reinstate libArchive:false
2025-01-14 00:10:55 +00:00
Will Tatam
24accf96a8
Remove now redundant build section from library.json
2025-01-13 10:53:24 +00:00
Will Miles
cc9e9b109c
Fix usermod library builds
...
Manage include folders via a second platformio script, fixing builds and
removing all the extra boilerplate from usermod library.json files.
2025-01-12 17:07:36 +00:00
Will Miles
8527d231e1
audioreactive: Move flags to library
...
Use a PlatformIO script to move the last of AR_buildflags in to the
module itself.
2025-01-12 13:12:12 +00:00
Will Tatam
075fd4da2d
Defining more usermod dependencies
2025-01-12 01:38:48 +00:00
Will Tatam
52bee88ad2
fix word_clock_matrix naming
2025-01-12 00:36:08 +00:00
Will Tatam
52b784e0e5
fix env:usermods
2025-01-12 00:22:54 +00:00
Will Tatam
d3eec72e45
Defining more usermod dependencies
2025-01-12 00:09:31 +00:00
Will Tatam
79bac912aa
use bigger partitions for usermods env
2025-01-11 23:25:05 +00:00
Will Tatam
2381e323c1
Define dependencies for ADS1115 usermod
2025-01-11 22:54:28 +00:00
Will Tatam
67022beca0
Build all usermods
2025-01-11 22:07:03 +00:00
Will Tatam
6e76a72d78
Convert usermods from header to library
2025-01-11 21:42:41 +00:00
Will Tatam
a5575bc3a0
Fix naming of usermod files to match library name
2025-01-11 21:41:21 +00:00
Will Tatam
90b18158fc
Convert usermods from header to library
2025-01-11 21:14:20 +00:00
Will Miles
71b0e8e937
Convert AnimARTrix usermod to library
...
Borrowed library definition from @netmindz's work on #4476 .
2025-01-11 13:32:28 -05:00
Will Miles
b8685f2c39
Convert usermods to static libraries
...
Redesign the usermod system so that usermods are implemented as
PlatformIO libraries instead of headers. This permits them to call for
dependencies, and eliminates the compiler flags for enabling each one,
allowing the build cache to behave better.
The usermod list is built using some linker magic to construct a static
list in ROM memory. This eliminates the need for wasting SRAM on
something fixed at build time.
2025-01-11 12:08:29 -05:00
Frank
48958cc638
Merge pull request #4439 from dosipod/Upstream_PRs
...
Update readme.md for rgb-rotary-encoder usermod
2025-01-04 17:49:15 +01:00
Damian Schneider
ae4de2782a
DeepSleep usermod ( #4190 )
...
* DeepSleep Usermod
- sleep delay is now 1 by default, disabling sleep at powerup
- renamed bootup variable to powerup
- using delay counter for proper bootup
- changed power-up and bootup logic
- added fallback to always power-on at boot except at powerup
- fixed bug in settings page
2025-01-04 08:07:11 +01:00
AlDIY
3fc8c7d560
Update readme.md
...
Updated the readme to use lennarthennigs/ESP Rotary@^2.1.1 as the old lib fail to compile
2024-12-29 15:46:49 +03:00
Damian Schneider
cae98451e3
Merge remote-tracking branch 'upstream/main' into 0_15__speed_improvements
2024-12-20 09:12:01 +01:00
Soeren Willrodt
396e9d0c39
Fix "preset not found issue"
...
this comit fixes the issue reported by user orbitinstasis
2024-12-14 19:58:30 +01:00
netmindz
a873ca6a3e
Merge pull request #4244 from MoonModules/framerate_ac015
...
Improved framerate control code - strip.show(), strip.service()
2024-12-04 07:48:19 +00:00
Damian Schneider
a0a46850f5
Merge remote-tracking branch 'upstream/0_15' into 0_15_trig_math
2024-11-27 22:22:50 +01:00
netmindz
77967731d5
Merge pull request #4227 from ingDIY/pr_branch
...
fixed refs to removed usermod USERMOD_FOUR_LINE_DISPLAY
2024-11-26 09:15:31 +00:00
Blaž Kristan
5c2bac4b9d
Merge branch '0_15' into 0_15__speed_improvements
2024-11-09 10:53:27 +01:00
Blaž Kristan
ef1e24cec2
Bugfix & code reduction
...
- correctly clear segment spacing change
- renamed Segment::setUp() to Segment::setGeometry()
- removed WS2812FX::setSegment()
- removed obsolete/unfunctional word clock usermod .cpp file
2024-11-09 10:42:49 +01:00
Frank
001e2ad287
adjust audioreactive for the new FRAME_DELAY logic
...
minor
2024-11-08 19:35:42 +01:00
ingDIY
fa053b7e60
Update platformio_override.sample.ini
...
fixed back U8g2 version
2024-10-29 01:14:02 +01:00
Blaž Kristan
4cc2cc4ad4
Multiple fixes
...
- increase WLED_MAX_BUSSES for C3 (fixes #4215 )
- fix for #4228
- fix for very long running effect (strip.now, strip.timebase)
- C++ API change to allow `seg.setColor().setOpacity()`
2024-10-26 15:16:11 +02:00
ingDIY
dcfdca6351
cleaned up old references to USE_ALT_DISPlAY that aren't used anymore in the code/source files; fixed readme.md documents and updated instructions; removed referencies to old usermods; fixed invalid filenames; removed referencies to old usermods; checked cycle options; splitted and fixed platformio_override.sample.ini;
2024-10-25 12:14:37 +02:00
Will Miles
4f48ddfaec
Replace SET_F with F in usermods
...
Since oappend() is now strongly typed, pass the correct type. This is a
step towards removing the extra shim logic on ESP8266.
2024-10-23 21:35:30 -04:00
Will Miles
2e01fe0b5b
Revert "Replace SET_F with F in usermods"
...
This reverts commit 7d067d8c30
.
2024-10-23 21:34:35 -04:00
Will Miles
7d067d8c30
Replace SET_F with F in usermods
...
Since oappend() is now strongly typed, pass the correct type. This is a
step towards removing the extra shim logic on ESP8266.
2024-10-23 21:28:21 -04:00
Frank
6d1126b8aa
Update audioreactive readme.md
...
added `-D sqrt_internal=sqrtf` -> needed for good performance
2024-10-22 16:19:46 +02:00
Frank
26a47537f9
AR memory optimization - part 2
...
shorten strings in UI script - saves a few hundred bytes on RAM
2024-10-22 15:15:14 +02:00
Frank
01d43c69fb
AR memory optimization - part 1
...
allocating FFT buffers late makes up to 16Kb heap available when audioreactive is not enabled.
Already tested in MM fork.
2024-10-22 14:45:32 +02:00
Damian Schneider
7b855c851d
Added integer based `sin()/cos()` functions, changed all trig functions to wled_math
...
- `sin16_t() / cos16_t()` are faster and more accurate than fastled versions
- `sin_approx() / cos_approx()` are float wrappers for `sin16_t() / cos16_t()` and are accurate enough to replace `sinf()/cosf()`
- `atan2()` is used only in octopus to calculate center offset, new approximated version saves flash
- `tan(), atan(), asin(), acos(), floor(), fmod()` are used only for sunrise/sunset calculation, using wled_math version saves flash
- `beatsinx()` replacements are to make use of new `sin16_t()/sin8_t()` functions to reduce flash size
- Extensively tested surnise/sunset calculation: deviation is 1min. max
- Tested some of the relevant FX and found no visual difference: Julia, 2D Drift, Drift Rose, Ghost rider, Rotozoomer, Palette, Arc 1D expansion
- total flash savings: 7.4k
2024-10-05 12:32:41 +02:00
Blaz Kristan
ba3a61f623
Reduced code size by:
...
- removing WS2812FX::setMode()
- removing WS2812FX::setColor()
- removing floating point in transition
- color handling modification in set.cpp
- replaced uint8_t with unsigned in function parameters
- inlined WS2812FX::isUpdating()
- (MAY BE BREAKING) alexa & smartnest update
2024-10-02 20:14:25 +02:00
Blaz Kristan
fafb2eba69
Merge branch '0_15' into blending-styles
2024-09-23 20:36:08 +02:00
Blaz Kristan
9cb3531e2d
Remove erroneous file
...
Fix constant dependancy
2024-09-21 22:24:36 +02:00
Blaz Kristan
b50e6e0d90
Static PinManager & UsermodManager
...
- saves a few bytes of flash
2024-09-19 21:44:11 +02:00
Blaz Kristan
6a90b9a512
FX Temperature better ranges
2024-09-15 19:31:14 +02:00
Blaz Kristan
ce5ee65d60
Merge branch '0_15' into blending-styles
2024-09-15 11:05:16 +02:00
Blaz Kristan
65a8dbfe41
FX: Usermod Temperature effect
2024-09-15 11:04:02 +02:00
Blaz Kristan
5708d7a6b8
Build bump, changelog update
2024-09-14 22:30:56 +02:00
Blaz Kristan
71fcd6482d
Fix CRLF in boblight
2024-09-12 15:07:49 +02:00
Blaz Kristan
1cee1c3562
Merge branch '0_15' into blending-styles
2024-09-11 17:28:48 +02:00
Matt Coleman
750a429bd4
Temperature usermod: update OneWire to 2.3.8
...
OneWire 2.3.8 includes stickbreaker's and garyd9's ESP32 fixes:
blazoncek's fork is no longer needed
2024-09-11 06:35:09 -04:00
Matt Coleman
dbe78dff93
Temperature usermod: fix changelog formatting
...
This change ensures that the dates are displayed on their own lines.
Without the blank lines, many Markdown renderers will append the dates
to the previous bullet point.
2024-09-11 06:35:09 -04:00
Frank
340a9f8b76
better bugfix for seven-seg-reloaded
...
* only reject invalid ranges when array access will be actually performed
* fixed another stupid pointer arithmetic error
Hint: I AM NOT THE MAINTAINER of this usermod. I'm just fixing an obvious coding error without knowing what the usermod really does.
2024-09-06 20:09:25 +02:00
Frank
81cec6a25a
Update usermod_seven_segment_reloaded.h - prevent array bounds violation (solves #4121 )
...
I'm not the maintainer of this usermod, but its obvious that the code might overrun array bounds, so fixing this.
2024-09-06 19:36:24 +02:00
Blaz Kristan
0642b17ab0
Bugfix
2024-09-06 17:54:36 +02:00
Maximilian Mewes
2d6365dc6a
Add HA-discovery as config option
2024-08-20 12:37:01 +02:00
Maximilian Mewes
cc24119a59
remove unnecessary comments
2024-08-19 22:22:46 +02:00
Maximilian Mewes
b8f15333d8
update `readme.md`
2024-08-19 22:12:21 +02:00
Maximilian Mewes
e5a426419c
Improve mqtt support, add battery percentage and voltage
2024-08-19 22:07:08 +02:00