Commit Graph

115 Commits

Author SHA1 Message Date
Troy
c5a71af679 Update usermods_list.cpp
Disabled by default
2024-04-05 15:10:38 -04:00
Will Tatam
265339cc3f Trying to add enable button to info panel 2024-03-06 18:38:27 +00:00
Will Tatam
43e5a12b1d name 2024-03-05 21:23:19 +00:00
Will Tatam
993b123c8e Basic usermod for detecting silence 2024-03-05 19:41:19 +00:00
Ewoud
5cf908ea25 Remove obsolute usermods - post 2024-02-08 23:02:10 +01:00
Ewoud
675dc29649 Remove obsolete usermods
- mode sort
- 4LD (non ALT)
- Rotary encoder (non ALT)
2024-02-08 22:54:06 +01:00
Frank
f456e065c6 Merge pull request #3722 from lost-hope/main
Usermod Klipper Percentage: Fix for include paths (windows backslash vs. linux slash)
2024-01-26 12:14:19 +01:00
MoonModules
7e8d570e81 Revert "Add YandexWeather Usermod" 2023-12-23 23:37:37 +01:00
Sergey Ryazanov
f04507b703 Add YandexWeather Usermod 2023-12-20 23:27:27 +04:00
Frank
90b52b3a0d Changed some usermods to be "disabled" by default
Some usermods may cause unexpected behaviour if not configured properly.
* Battery: can cause unexpected shutdowns if no voltage measurement circuit connected
* RTC: can cause unexpected time &date changes if no RTC connected to I2C
* mcu temp: can cause hight CPU load, and may cause instabilities due to use of an "unsupported" API from espressif
2023-12-10 14:54:35 +01:00
JeffWDH
63b1f6384c Add LDR sensor dusk/dawn preset control Usermod 2023-11-11 23:29:20 +01:00
Frank
7425b437da (WIP) adjust Battery usermod for "MM Style"
seems to work, but still needs more testing.
2023-09-20 00:43:03 +02:00
Frank
e28d303d4c adjust RTC usermod for "MM Style" 2023-09-19 22:54:08 +02:00
Will Tatam
a0b913db27 Disable Animartrix by default 2023-06-29 12:17:55 +01:00
lost-hope
e70b9b2496 MCU Temp Usermod 2023-06-03 09:46:08 +02:00
Ewoud
7e7d1065e9 Rename usermod_fastled to usermod_animartrix and add in _m 2023-05-13 22:33:03 +02:00
Frank
50061ddae8 UM BH1750 adapted to "MM style", 8266 build fixes
* UM BH1750 adjustments to use new MM features
* UM BH1750 check sensor status before tryig to read new value (avoids blocking LED updates)
* UM temperature: ensure that measurements continue with many LEDs running (strip.isUpdating() will be true all the time)
* all usermods: solved compile problems on 8266
2023-05-10 20:14:10 +02:00
Frank
9e9d10618b SHT usermod MoonModules upgrade
Use MM specific features in SHT usermod:

* Join global I2C bus with pinManager.joinWire()
* allow to compile without MQTT
* use extended Usermod class features
* prevent sensor starvation when running with > 600 LEDs
2023-05-10 15:15:25 +02:00
Ewoud
329899f410 ooops 2023-04-02 15:56:27 +02:00
Ewoud
3dd7873143 First b15 daily build: add fastled usermod 2023-04-02 15:50:09 +02:00
Frank
922b8b69db small oops 2023-03-30 15:28:54 +02:00
Frank
949f296167 legacy support: allow USE_ALT_DISPlAY as alias for USE_ALT_DISPLAY
just to prevent that existing user build envs stop working ... the difference between "L" and "l" is sometimes hard to see.
2023-03-30 15:26:39 +02:00
Ewoud
82dc456fd7 Rename Custom Effects to ARTI-FX 2023-03-30 10:02:08 +02:00
Ewoud
c928df9d70 Usermod class vars pt3:
Moved initDone, addToConfig and readFromConfig to Usermod superclass

Updated cleanup procedure:

Part 1
- remove bool enabled = false/true (now default false)
- remove static const char _name[] and _enabled[]
- add constructor which calls superclass (temp?): XXXUsermod(const char *name, bool enabled):Usermod(name, enabled) {} 
- replace _enabled with "enabled"
- remove const char PROGMEM init for  _name[] and _enabled[]
Part 2
- Remove bool initDone = false;
- addToConfig: replace createNestedObject with Usermod::addToConfig(root); JsonObject top = root[FPSTR(_name)];
- readFromConfig: replace !top.isNull and enabled with bool configComplete = Usermod::readFromConfig(root);JsonObject top = root[FPSTR(_name)];

See Temperature, MPU6050 and weather as examples (rest to be done)
2023-03-16 15:41:23 +01:00
Ewoud
ff6d5136ac Usermod class vars pt2: enabled default value 2023-03-15 18:18:11 +01:00
Ewoud
7337efec02 Usermod class vars part1: add enabled and _name for imu and dallas
usermod_mpu6050_imu.h and usermod_temperature.h:
- remove bool enabled = false/true (now default false)
- remove static const char _name[] and _enabled[]
- add constructor which calls superclass (temp?)
- replace _enabled with "enabled"
- remove const char PROGMEM init for  _name[] and _enabled[]

settings_um.htm:
- Add usermod table with class properties (name and enabled) -> WIP as not all UM's now and enable will be checkbox ? (compare with info tab...?)

fcn_declare.h
- add _name and enabled to Usermod class and add name to constructor

usermods_list.cpp
- add Usermod name to constructor for mpu6050 and temperature)
- to do add enabled is true to constructor
2023-03-15 17:48:37 +01:00
Ewoud
ab808c5522 Merge remote-tracking branch 'upstream/main' into mdev 2023-03-12 20:53:22 +01:00
Blaz Kristan
80711cc00a Whitespace. 2023-03-10 14:08:52 +01:00
lost-hope
cb931d7af0 Merge branch 'main' of https://github.com/Aircoookie/WLED into klipper 2023-02-27 21:21:45 +01:00
Ewoud
81322a31fe Merge remote-tracking branch 'upstream/main' into mdev 2023-02-10 17:14:50 +01:00
Blaž Kristan
f2459ea904 Add ability to use SHT temp. sensor in PWM fan 2023-02-10 09:33:27 +01:00
Ewoud
66b15d32d9 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-07 12:01:03 +01:00
Blaž Kristan
506b6b51ce whitespace cleanup 2023-01-06 09:24:29 +01:00
Ewoud
008e7b96f4 usermod_bh1750.h in small caps! 2023-01-05 16:43:31 +01:00
Frank
e961691645 Battery, second try 2023-01-03 15:36:35 +01:00
Frank
c7f1883c31 Battery, second try 2023-01-03 15:33:05 +01:00
Frank
6270d2408f UM Battery: fix build error on linux
Fixes build error on linux:
wled00/usermods_list.cpp:15:54: fatal error: ../usermods/battery/usermod_v2_battery.h: No such file or directory
compilation terminated.
2023-01-03 15:29:15 +01:00
Frank
b52776d691 Battery, not battery
Fixes build error:
wled00/usermods_list.cpp:15:54: fatal error: ../usermods/battery/usermod_v2_battery.h: No such file or directory
compilation terminated.
2023-01-03 15:26:38 +01:00
Ewoud
4409ceb3ec Merge remote-tracking branch 'origin/ac_main' into mdev 2023-01-02 21:05:03 +01:00
lost-hope
0ab35a3ca3 added klipper usermod 2023-01-01 15:13:57 +01:00
Maximilian Mewes
73440e2287 Update Usermod Battery (#2975)
* auto-off feature and usermod rename
* low-power-indicator, voltage fine tuning, clean-up

* corrected small mistakes
* Bugfixes, added usermod logo, update readme
* minor changes, implemented change requests, optimizationz
2022-12-28 22:40:13 +01:00
Ewoud
3139f5228d Merge remote-tracking branch 'origin/ac_main' into mdev 2022-12-19 14:00:52 +01:00
Ewoud
ffe52fcbf5 Merge remote-tracking branch 'origin/ac_main' into mdev 2022-12-16 11:43:27 +01:00
ezcGman
e8edb99bb0 UM SHT: Added SHT usermod 2022-12-11 01:16:14 +01:00
Blaž Kristan
b24c8b3410 BobLight protocol (#2917)
* BobLight ambilight protocol implementation for WLED

* Added usermod ID

* Add realtime locking
Add port config
Bugfixes

* Minor optimisation.

* Fix WiFiServer start.

* Bugfix

* Working boblight.

* npm run

* Add readme

* Undo PIR sensor modification.
Undo npm run build.

* Fix parentheses.

* Comments.
Cancel realtime when disabled.
2022-12-08 19:41:50 +01:00
Ewoud
3160a0b090 Merge remote-tracking branch 'origin/ac_main' into mdev 2022-12-06 14:38:49 +01:00
Ardi Loot
bd601ad2da PWM outputs usermod (#2912)
* first commit of PWM outputs

* fix pin deallocation issue

* refactoring

* removed debug prints

* fix compile error

* added readme

* added compile error for ESP8266

* added overloaded SetDuty method

* convert state to separate nested object

* Revert "added overloaded SetDuty method"

This reverts commit e8ea32f577c85cbdc5d5d130cbead66f37c0caca.

* move constant strings to flash

* reworked json info and config

* bugfixes

* more bugfixes

* updated readme

* use C strings instead of String

* added uint8 and uint16 overloads for SetDuty

* removed ambiguous overload
2022-11-30 09:15:07 +01:00
Ewoud
8f4c6d625d Fix typo USE_ALT_DISPl/LAY 2022-11-28 20:42:09 +01:00
Ewoud
ede08cedf2 Merge remote-tracking branch 'origin/ac_main' into mdev 2022-11-15 12:47:32 +01:00
Constantin Wolf
f104fb0586 SD card support: MMC or configurable SPI (#2877)
Co-authored-by: constantin wolf <constantin.wolf@pwc.com>
2022-11-14 02:30:35 +01:00