Skip to content

Commit fb5c057

Browse files
committed
More usermod help
1 parent 2af9fc3 commit fb5c057

File tree

6 files changed

+10
-2
lines changed

6 files changed

+10
-2
lines changed

usermods/Animated_Staircase/Animated_Staircase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,8 @@ class Animated_Staircase : public Usermod {
414414
}
415415

416416
void appendConfigData() {
417+
oappend(SET_F("addInfo('staircase:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/usermods/staircase&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
418+
417419
//oappend(SET_F("dd=addDropdown('staircase','selectfield');"));
418420
//oappend(SET_F("addOption(dd,'1st value',0);"));
419421
//oappend(SET_F("addOption(dd,'2nd value',1);"));

usermods/PIR_sensor_switch/usermod_PIR_sensor_switch.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,8 @@ class PIRsensorSwitch : public Usermod
414414

415415
void appendConfigData()
416416
{
417+
oappend(SET_F("addInfo('PIRsensorSwitch:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/usermods/PIRsensorSwitch&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
418+
417419
oappend(SET_F("addInfo('PIRsensorSwitch:HA-discovery',1,'HA=Home Assistant');")); // 0 is field type, 1 is actual field
418420
oappend(SET_F("addInfo('PIRsensorSwitch:notifications',1,'Periodic WS updates');")); // 0 is field type, 1 is actual field
419421
}

usermods/audioreactive/audio_reactive.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,6 +1924,7 @@ class AudioReactive : public Usermod {
19241924
void appendConfigData()
19251925
{
19261926
oappend(SET_F("addInfo('AudioReactive:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/soundreactive/Sound-Settings&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
1927+
19271928
//WLEDMM: add defaults
19281929
#ifdef AUDIOPIN
19291930
oappend(SET_F("addInfo('AudioReactive:analogmic:pin',1,'<i>&#9100; ")); oappendi(AUDIOPIN); oappend("</i>');"); // 0 is field type, 1 is actual field

usermods/boblight/boblight.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ class BobLightUsermod : public Usermod {
303303
}
304304

305305
void appendConfigData() {
306+
oappend(SET_F("addInfo('BobLight:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/usermods/BobLight&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
307+
306308
//oappend(SET_F("dd=addDropdown('usermod','selectfield');"));
307309
//oappend(SET_F("addOption(dd,'1st value',0);"));
308310
//oappend(SET_F("addOption(dd,'2nd value',1);"));

usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ class FourLineDisplayUsermod : public Usermod {
10361036
//}
10371037

10381038
void appendConfigData() {
1039-
oappend(SET_F("addInfo('4LineDisplay:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/usermods/four-line-display&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
1039+
oappend(SET_F("addInfo('4LineDisplay:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/usermods/4LineDisplay&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
10401040
oappend(SET_F("dd=addDropdown('4LineDisplay','type');"));
10411041
oappend(SET_F("addOption(dd,'None',0);"));
10421042
oappend(SET_F("addOption(dd,'SSD1306',1);"));

usermods/usermod_v2_weather/usermod_v2_weather.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ class WeatherUsermod : public Usermod {
317317

318318
void appendConfigData()
319319
{
320-
oappend(SET_F("addInfo('Weather:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/moonmodules/weather-usermod&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
320+
oappend(SET_F("addInfo('Weather:help',0,'<button onclick=\"location.href=&quot;https://mm.kno.wled.ge/moonmodules/Weather&quot;\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
321+
321322
oappend(SET_F("dd=addDropdown('Weather','units');"));
322323
oappend(SET_F("addOption(dd,'Kelvin',0);"));
323324
oappend(SET_F("addOption(dd,'Celcius',1);"));

0 commit comments

Comments
 (0)