mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-05 00:15:30 +00:00
test docs faq
This commit is contained in:
@ -24,6 +24,6 @@ All questions/answers were taken from json file.
|
||||
**Question:** *How to configure ping watchdog to do a relay cycle when given IP does not respond for a given amount of time?*<br>**A:** See the following example there: https://www.elektroda.com/rtvforum/viewtopic.php?p=20368812#20368812
|
||||
|
||||
|
||||
**Question:** *How to set relay state on device boot? (PowerOnState)?*<br>**A:** There are two ways. <br> First way is to use Config -> Startup state and set it from GUI here. <br> Second way is to use short startup command from Options or create 'autoexec.bat' in LittleFS file system in web panel and execute commands from there.<br>For example, for RGBCW LED, to set 100% dimmer and red color on start, you can do startup command:<br> >backlog led_dimmer 100; led_basecolor_rgb #FF0000; led_enableAll 1<br>For simple relay, in this example on channel number 5, you can do:<br>>backlog SetChannel 5 1<br>
|
||||
**Question:** *How to set relay state on device boot? (PowerOnState)?*<br>**A:** There are two ways. <br> First way is to use Config -> Startup state and set it from GUI here. <br> Second way is to use short startup command from Options or create 'autoexec.bat' in LittleFS file system in web panel and execute commands from there.<br>For example, for RGBCW LED, to set 100% dimmer and red color on start, you can do startup command:<br> ```backlog led_dimmer 100; led_basecolor_rgb #FF0000; led_enableAll 1```<br>For simple relay, in this example on channel number 5, you can do:<br>```backlog SetChannel 5 1```<br>
|
||||
|
||||
|
||||
|
||||
@ -29,6 +29,6 @@
|
||||
},
|
||||
{
|
||||
"question": "How to set relay state on device boot? (PowerOnState)?",
|
||||
"answer": "There are two ways. <br> First way is to use Config -> Startup state and set it from GUI here. <br> Second way is to use short startup command from Options or create 'autoexec.bat' in LittleFS file system in web panel and execute commands from there.<br>For example, for RGBCW LED, to set 100% dimmer and red color on start, you can do startup command:<br> >backlog led_dimmer 100; led_basecolor_rgb #FF0000; led_enableAll 1<br>For simple relay, in this example on channel number 5, you can do:<br>>backlog SetChannel 5 1<br>"
|
||||
"answer": "There are two ways. <br> First way is to use Config -> Startup state and set it from GUI here. <br> Second way is to use short startup command from Options or create 'autoexec.bat' in LittleFS file system in web panel and execute commands from there.<br>For example, for RGBCW LED, to set 100% dimmer and red color on start, you can do startup command:<br> ```backlog led_dimmer 100; led_basecolor_rgb #FF0000; led_enableAll 1```<br>For simple relay, in this example on channel number 5, you can do:<br>```backlog SetChannel 5 1```<br>"
|
||||
}
|
||||
]
|
||||
@ -787,11 +787,12 @@ for (let i = 0; i < faq.length; i++) {
|
||||
let q = faq[i];
|
||||
|
||||
faqmdshort += "**Question:** *"+q.question+"*";
|
||||
faqmdshort += '\n';
|
||||
faqmdshort += '<br>';
|
||||
faqmdshort += "**A:** "+q.answer;
|
||||
faqmdshort += '\n';
|
||||
|
||||
faqmdshort += '\n';
|
||||
faqmdshort += '\n';
|
||||
}
|
||||
|
||||
for (let i = 0; i < cnsts.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user