add ability to configure periodical MQTT broadcast with console commands

This commit is contained in:
openshwprojects
2022-12-27 20:21:57 +01:00
parent 0f555f5d4e
commit 7b1e1ca30d
4 changed files with 53 additions and 6 deletions

View File

@ -2531,7 +2531,7 @@ int http_fn_cfg_pins(http_request_t* request) {
const char* g_obk_flagNames[] = {
"[MQTT] Broadcast led params together (send dimmer and color when dimmer or color changes, topic name: YourDevName/led_basecolor_rgb/get, YourDevName/led_dimmer/get)",
"[MQTT] Broadcast led final color (topic name: YourDevName/led_finalcolor_rgb/get)",
"[MQTT] Broadcast self state every minute (May cause device disconnect's, DONT USE IT YET)",
"[MQTT] Broadcast self state every N (def: 60) seconds (delay configurable by 'mqtt_broadcastInterval' and 'mqtt_broadcastItemsPerSec' commands)",
"[LED][Debug] Show raw PWM controller on WWW index instead of new LED RGB/CW/etc picker",
"[LED] Force show RGBCW controller (for example, for SM2135 LEDs, or for DGR sender)",
"[CMD] Enable TCP console command server (for Putty, etc)",