Files
OpenBK7231T_App/docs/faq.md
openshwprojects 0e1df6dd89 test docs faq
2023-03-06 16:34:14 +01:00

2.8 KiB

FAQ (Frequently Asked Questions)

Here is the latest, up to date FAQ. This file was autogenerated by running 'node scripts/getcommands.js' in the repository. All questions/answers were taken from json file.

Question: How do I enable more logging? How to make more logs visible?
A: First type 'loglevel x' in console, where x is 0 to 7, default value is 3 (log all up to info), value 4 will also log debug logs, and value 5 will include 'extradebug'. Then, on online panel, also switch filter to 'All' (both steps must be done for logs to show up)

Question: I entered wrong SSID and my device is not accessible. How to recover?
A: Do five short power on/power off cycles (but not too short, because device might have capacitors and they need to discharge every time). Device will go back to AP mode (aka Safe Mode)

Question: I somehow lost my MAC address and I am unable to change it in Options! My MAC ends with 000000, how to fix?
A: You have most likely overwrote the TLV header of RF partition of BK7231. For BK7231T, we have a way to restore it - open Web App, go to Flash tab, and press 'Restore RF Config'

Question: How do I setup single button to control two relays (first on click, second on double click)?
A: If you set a pin role to 'Button', you will get a second textbox after saving pins. First checkbox is a channel to toggle on single click, and second textbox is a channel to toggle on double click.

Question: My wall touch switch reacts slowly! It's laggy, how to make it react instantly?
A: It's like with Tasmota - go to our Options/General-Flags and set flag '6 - [BTN] Instant touch reaction instead of waiting for release (aka SetOption 13)'

Question: How to enter multiple startup commands? For example, to start both NTP and BL0942 drivers?
A: Use backlog - like in Tasmota. Open Config->Short startup command, and enter, for example: backlog startDriver BL0942; startDriver NTP; ntp_setServer 217.147.223.78

Question: How to configure ping watchdog to do a relay cycle when given IP does not respond for a given amount of time?
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)?
A: There are two ways.
First way is to use Config -> Startup state and set it from GUI here.
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.
For example, for RGBCW LED, to set 100% dimmer and red color on start, you can do startup command:
backlog led_dimmer 100; led_basecolor_rgb #FF0000; led_enableAll 1
For simple relay, in this example on channel number 5, you can do:
backlog SetChannel 5 1