Frank
fdc43e0a2b
Update usermod_PIR_sensor_switch.h - avoid starvation due to strip.isupdating()
...
Another instance of the "if (strip.isupdating()) return;" problem that we inherited from upstream 🙄
2025-01-03 17:45:01 +01:00
Frank
9024872f63
code spell checking - part3 (usermods)
...
if you can spell Fahrenheit, you can't spell Celsius. And vice versa :-)
2023-12-14 22:22:46 +01:00
Ewoud
294a872462
json/info: brand and product configurable by compile variables
...
For MM builds brand = WLEDMM
Will be used in WLED-Native - by Moustachauve
Changed in bh1750, bme280, pir, json.cpp and wled.h
2023-10-15 21:43:55 +02:00
Ewoud
4a5cbc9879
Merge remote-tracking branch 'upstream/main' into mdev
...
Some additions:
pio.ini: add debug entries
cfg.cpp, set.cpp, xml/cpp: keep storing basic 2D setup
index.js: use ledmapFileNames
settings_2D.htm: keep using basic and advanced
FX_2Dfcn.cpp: use gaptable and also MM ledmaps
FX_fcn.cpp: extend enumerateledmaps with AC ledmapNames (but not used in UI)
2023-02-22 16:09:27 +01:00
Blaz Kristan
821f320347
Add user selectable Gamma
...
Add panel visualisation (@ewoudwijma, #3090 )
Bugfix:
- PIR onStateChange() ignored until inited
- remove matrix orientation
- ignore removing ledmap 0 if 2D
- _globalLeds size
2023-02-12 13:18:30 +01:00
Ewoud
3cf35f85f3
Merge remote-tracking branch 'upstream/main' into mdev
2023-02-06 21:06:13 +01:00
Blaz Kristan
48c267c5c1
Bugfix.
2023-02-05 17:57:22 +01:00
Blaz Kristan
c041d39cab
Usermod enhancements
...
- added onStateChange() callback
- added examples & comments to usermod_v2_example.h
- PIR sensor cancels countdown on state change
2023-02-05 12:23:05 +01:00
Ewoud
1f921bf0c9
Bugfix for ESP8266, ESP01
...
UM PIR: pin default -1
xml.cpp: no D1-8 for esp01
2023-01-20 12:34:11 +01:00
Ewoud
34e93c6361
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-17 15:24:32 +01:00
Ewoud
357e3638d4
New esp8266_4MB_max entry to test usermods / i2c
...
pio.ini: add esp8266_4MB_max with pir, dallas, relay games (to test IMU)
addHB: use string literal instead of var
appendConfigData to um multirelay
2023-01-17 13:07:50 +01:00
Ewoud
474243938c
Hardware pin defaults in i2c and spi pin dropdowns
...
bugfix: replace oappend(SET_F(name)); by oappend(_name);
const.h: remove unset of 8266 variables as no behind the scene actions, this is just bad behavior and the pin drop downs will show this bad behavior
xml.cpp: show hardware defaults as ⍼ in dropdowns (better icon needed)
2023-01-15 17:08:39 +01:00
Blaz Kristan
d78bef72ea
Disable MQTT more.
...
Disable Alexa more.
2023-01-12 20:35:34 +01:00
Ewoud
2187aa5728
implement addHB (Usermod help button utility function)
...
See https://github.com/Aircoookie/WLED/pull/2965
2023-01-07 12:22:29 +01:00
Ewoud
66b15d32d9
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-07 12:01:03 +01:00
Blaz Kristan
98be19b29f
Fix switching off for PIR usermod.
2023-01-05 22:46:30 +01:00
Ewoud
642d7d91ea
i2c_sda, i2c_scl, spi_mosi, spi_miso, spi_sclk without HW_PIN_*, bh1750
...
platformio:
- add bh1750 to _max
- define rotary defaults for wemos
usermod_bh1750
- Remove HW_PIN_* and replace by i2c_sda etc
- add appendConfigData
usermods mpu6050_imu, rtc, 4ld, pinmanager
- Remove HW_PIN_*
change SDA2:pin (etc) to SDA:pin
2023-01-05 16:35:49 +01:00
Ewoud
fb5c057f94
More usermod help
2022-12-21 13:16:55 +01:00
Blaz Kristan
6bb158786b
Fix for switching WLED off when in nighttime only mode.
2022-12-11 20:10:24 +01:00
srg74
8caeddde15
Spelling check by @wthomson ( #2940 )
...
A lot of spelling corrections. Now repo will sound like educated person :)
Co-authored-by: Bill Thomson <bt@kattt.org >
2022-12-10 16:12:55 +01:00
Blaz Kristan
1e104bdd9e
Compile time option for PIR sensor off timer
2022-11-07 16:56:41 +01:00
Blaz Kristan
e88d34ea19
Correct HA discovery topic & minor adjutments.
...
Publish on MQTT connect.
2022-10-25 21:47:25 +02:00
Blaz Kristan
535f285287
Add HA discovery option to PIR sermod
2022-10-24 21:25:23 +02:00
Blaz Kristan
d3bb079be4
Muliple enhancements:
...
- Smarter on/off buttons in Info panel (usermods)
- On/Off bus in bus_manager
- 2D GEQ fix (2D CenterBars obsolete)
- hide unused palettes & modes
2022-06-20 22:17:01 +02:00
Blaz Kristan
3d6df07335
Bugfixes in 2D.
...
PIR stops countdown if preset changed.
2022-05-27 13:39:22 +02:00
Blaz Kristan
cc713e6c89
Merge branch 'sensor-info' into dev
2022-03-03 11:04:42 +01:00
Blaz Kristan
41b6f3ffa7
Merge branch 'master' into merge-master
2022-02-20 22:24:11 +01:00
Blaz Kristan
35779dad8b
Merge branch 'dev' into sensor-info
2022-01-09 22:00:09 +01:00
Blaz Kristan
7df4b8e8cc
Sync bugfix (preset, playlist)
...
PIR sensor bugfix.
2022-01-08 23:53:55 +01:00
Blaz Kristan
fe1e5aeebf
Merge branch 'dev' into sensor-info
...
Conflicts:
usermods/Temperature/usermod_temperature.h
2022-01-01 12:57:36 +01:00
Blaz Kristan
73f99b5e22
Bugfix for restoring previous LED state.
2021-12-27 16:13:59 +01:00
Blaz Kristan
7d6f8eb495
WS notifications on PIR state change.
2021-12-27 15:40:29 +01:00
Blaz Kristan
f57b606f72
Added info.sensor properties for motion and temperature
...
(HA integration)
2021-12-06 20:13:18 +01:00
Blaz Kristan
295663f6a6
Removed loadInfo().
...
Fixed UI when no WS available.
2021-11-21 14:14:39 +01:00
Blaž Kristan
9888510158
Updated readme.md for usermods.
2021-11-16 08:25:01 +01:00
Blaž Kristan
2a949cd8f1
added notification option for PIR usermod.
2021-11-15 14:49:41 +01:00
Blaz Kristan
7b21c1bcbe
Added option to preserve old state in PIR usermod
2021-10-04 20:24:33 +02:00
Blaz Kristan
dc9d48850f
Added PIR sensor night time presets.
...
Added PIR sensor Disable/Enable button.
UI refinements.
Added colorUpdated() on HTTP API in IR JSON.
2021-09-28 23:27:40 +02:00
Blaž Kristan
916ad0a58e
Merge branch 'master' into dev
2021-08-26 09:09:41 +02:00
Henry Gabryjelski
1d4487b6cd
Ethernet configuration fix, improve PinManager ( #2123 )
...
* Improved pin manager, ethernet config
* Ethernet is configured prior even to LED pins
* Pin Manager allocation / deallocation functions
now take an "ownership" tag parameter, helping
avoid accidentally free'ing pins that were allocated
by other code
* Pin Manager now has ability to allocate multiple
pins at once; Simplifies error handling
* Fix operator precedence error
Bitwise AND has lower precedence than the
relational "greater than" operator.
* PinManager update for some user modules
* don't build everything...
* Final step to reduce RAM overhead
* update comment
* remove macros
* Remove leftover allocated
* Init ethernet after settings saved
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com >
2021-08-23 14:14:48 +02:00
Blaz Kristan
07d11c845c
Fix for missing off-only MQTT messages.
2021-07-28 22:50:29 +02:00
Blaz Kristan
6e9a69be5c
Fix for missing off-only MQTT messages.
...
Automatic WS reconnect.
2021-07-28 22:45:11 +02:00
Blaz Kristan
b3b3e3ea20
God damn CRLF conversion. (I want to keep it clean)
2021-07-23 21:48:38 +02:00
Blaz Kristan
9f0f6181a1
Added PIR option to trigger only if WLED is off.
2021-07-23 18:43:51 +02:00
Blaz Kristan
251d5f4135
Added PIR option to trigger only if WLED is off.
2021-07-23 18:37:34 +02:00
Blaž Kristan
9ba7e5d567
Fix for not honouring enabled state for PIR usermod. ( #2090 )
2021-07-22 14:41:11 +02:00
Blaz Kristan
b0cfcb1999
Merge branch 'master' into dev
2021-07-10 17:01:20 +02:00
cschwinne
a17f83cedd
Renamed NOTIFIER_CALL_MODE_ to CALL_MODE_
2021-07-09 18:54:28 +02:00
Blaz Kristan
3066a142b8
Merge branch 'master' into dev
...
Minor tweaks.
2021-07-03 21:27:06 +02:00
Blaz Kristan
9e8aadb750
Usermod settings v2
...
- added POST field parsing
- simpler handling in readFromConfig()
2021-06-27 15:32:33 +02:00