Frank
782628b6aa
UM battery: changed default for auto-off feature to "disabled"
...
Especially on 8266, the usermod can cause unexpected shut-downs in default configuration, when A0 is not connected to a battery voltage measurement circuit.
2023-12-10 14:40:36 +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
Ewoud
fede3dd54c
Merge remote-tracking branch 'upstream/main' into mdev
2023-05-11 17:39:12 +02:00
Frank
52c4093fb0
minor bugfix for usermod_v2_Battery.h
...
missing semicolon - caused compile errorsin debug mode.
2023-05-08 20:59:57 +02:00
Erwin Repolust
2c3fa0fd8f
added function for voltage reads
2023-03-16 01:33:57 +01:00
Erwin Repolust
ec08432f92
added voltage multiplier to gui and set defaults
2023-03-14 01:44:41 +01:00
Erwin Repolust
8b61b9ebfe
Added code for esp8266
2023-03-10 01:28:04 +01:00
Erwin Repolust
e00e778bce
Less operations and better readable
2023-03-08 03:54:48 +01:00
Erwin Repolust
81e70925c4
Changed to running average to improve accuracy
2023-03-08 03:24:16 +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
91aed65f99
Generate presets !
...
Fix 1d/2d default in customeffect, games and weather
index.htm: add buttons and text area for genPresets
index.js: add genPresets, uploadFileWithText and savePresetsGen
fx,cpp: set fire 2012 default palette 0 (fire colors)
Bonus: battery USERMOD_BATTERY_MEASUREMENT_PIN default -1
2023-01-12 17:32:11 +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
da590bac7e
Add animated staircase to _max environments, add ? btn to Bat,temp,Asave
2023-01-05 17:40:13 +01:00
Frank
35832b07b9
UM Battery: basic support for LiPo cells
...
* Lipo cells (1S) should not be discharged below 3V
* LiPo cells have a different voltage/discharge rate curve
2023-01-04 19:57:33 +01:00
Frank
357683cbb9
UM Battery: more bugfixing, and improvements for esp32
...
- improved support for esp32 (read calibrated voltage)
- corrected config saving (measurement pin, and battery min/max were lost)
2023-01-04 17:30:08 +01:00
Frank
15bc6159f9
UM Battery: fix for deprecated function call
...
wled00/../usermods/Battery/usermod_v2_Battery.h:446:48: warning: 'void PinManagerClass::deallocatePin(byte)' is deprecated: Replaced by two-parameter deallocatePin(gpio, ownerTag)
2023-01-04 12:54:02 +01:00
Frank
7cdafa76a5
UM Battery - improvements for esp32
...
* added missing pinMode(.., INPUT) on esp32
* do not try reading from pin = -1 (ESP32-S2 shows very allergic reactions to this)
* Info page - show "n/a" when pin = -1
* readme: esp32 default pin = 35
2023-01-04 12:32:31 +01:00
Blaz Kristan
90463d8613
Battery UM fix for MQTT voltage topic.
2023-01-03 17:14:24 +01:00
Frank
4a09e18d9a
UM Battery: fix compilation error + bad snprintf
2023-01-02 22:52:37 +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