More usermod help
This commit is contained in:
@@ -414,6 +414,8 @@ class Animated_Staircase : public Usermod {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void appendConfigData() {
|
void appendConfigData() {
|
||||||
|
oappend(SET_F("addInfo('staircase:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/staircase"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||||
|
|
||||||
//oappend(SET_F("dd=addDropdown('staircase','selectfield');"));
|
//oappend(SET_F("dd=addDropdown('staircase','selectfield');"));
|
||||||
//oappend(SET_F("addOption(dd,'1st value',0);"));
|
//oappend(SET_F("addOption(dd,'1st value',0);"));
|
||||||
//oappend(SET_F("addOption(dd,'2nd value',1);"));
|
//oappend(SET_F("addOption(dd,'2nd value',1);"));
|
||||||
|
|||||||
@@ -414,6 +414,8 @@ public:
|
|||||||
|
|
||||||
void appendConfigData()
|
void appendConfigData()
|
||||||
{
|
{
|
||||||
|
oappend(SET_F("addInfo('PIRsensorSwitch:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/PIRsensorSwitch"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||||
|
|
||||||
oappend(SET_F("addInfo('PIRsensorSwitch:HA-discovery',1,'HA=Home Assistant');")); // 0 is field type, 1 is actual field
|
oappend(SET_F("addInfo('PIRsensorSwitch:HA-discovery',1,'HA=Home Assistant');")); // 0 is field type, 1 is actual field
|
||||||
oappend(SET_F("addInfo('PIRsensorSwitch:notifications',1,'Periodic WS updates');")); // 0 is field type, 1 is actual field
|
oappend(SET_F("addInfo('PIRsensorSwitch:notifications',1,'Periodic WS updates');")); // 0 is field type, 1 is actual field
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1924,6 +1924,7 @@ class AudioReactive : public Usermod {
|
|||||||
void appendConfigData()
|
void appendConfigData()
|
||||||
{
|
{
|
||||||
oappend(SET_F("addInfo('AudioReactive:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/soundreactive/Sound-Settings"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
oappend(SET_F("addInfo('AudioReactive:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/soundreactive/Sound-Settings"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||||
|
|
||||||
//WLEDMM: add defaults
|
//WLEDMM: add defaults
|
||||||
#ifdef AUDIOPIN
|
#ifdef AUDIOPIN
|
||||||
oappend(SET_F("addInfo('AudioReactive:analogmic:pin',1,'<i>⎌ ")); oappendi(AUDIOPIN); oappend("</i>');"); // 0 is field type, 1 is actual field
|
oappend(SET_F("addInfo('AudioReactive:analogmic:pin',1,'<i>⎌ ")); oappendi(AUDIOPIN); oappend("</i>');"); // 0 is field type, 1 is actual field
|
||||||
|
|||||||
@@ -303,6 +303,8 @@ class BobLightUsermod : public Usermod {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void appendConfigData() {
|
void appendConfigData() {
|
||||||
|
oappend(SET_F("addInfo('BobLight:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/BobLight"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||||
|
|
||||||
//oappend(SET_F("dd=addDropdown('usermod','selectfield');"));
|
//oappend(SET_F("dd=addDropdown('usermod','selectfield');"));
|
||||||
//oappend(SET_F("addOption(dd,'1st value',0);"));
|
//oappend(SET_F("addOption(dd,'1st value',0);"));
|
||||||
//oappend(SET_F("addOption(dd,'2nd value',1);"));
|
//oappend(SET_F("addOption(dd,'2nd value',1);"));
|
||||||
|
|||||||
@@ -1036,7 +1036,7 @@ class FourLineDisplayUsermod : public Usermod {
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
void appendConfigData() {
|
void appendConfigData() {
|
||||||
oappend(SET_F("addInfo('4LineDisplay:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/four-line-display"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
oappend(SET_F("addInfo('4LineDisplay:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/4LineDisplay"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||||
oappend(SET_F("dd=addDropdown('4LineDisplay','type');"));
|
oappend(SET_F("dd=addDropdown('4LineDisplay','type');"));
|
||||||
oappend(SET_F("addOption(dd,'None',0);"));
|
oappend(SET_F("addOption(dd,'None',0);"));
|
||||||
oappend(SET_F("addOption(dd,'SSD1306',1);"));
|
oappend(SET_F("addOption(dd,'SSD1306',1);"));
|
||||||
|
|||||||
@@ -317,7 +317,8 @@ class WeatherUsermod : public Usermod {
|
|||||||
|
|
||||||
void appendConfigData()
|
void appendConfigData()
|
||||||
{
|
{
|
||||||
oappend(SET_F("addInfo('Weather:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/moonmodules/weather-usermod"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
oappend(SET_F("addInfo('Weather:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/moonmodules/Weather"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||||
|
|
||||||
oappend(SET_F("dd=addDropdown('Weather','units');"));
|
oappend(SET_F("dd=addDropdown('Weather','units');"));
|
||||||
oappend(SET_F("addOption(dd,'Kelvin',0);"));
|
oappend(SET_F("addOption(dd,'Kelvin',0);"));
|
||||||
oappend(SET_F("addOption(dd,'Celcius',1);"));
|
oappend(SET_F("addOption(dd,'Celcius',1);"));
|
||||||
|
|||||||
Reference in New Issue
Block a user