mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
add MQTT channel support
This commit is contained in:
@@ -89,6 +89,13 @@ channels:
|
||||
nickserv_password: "your-irc-nickserv-password"
|
||||
sasl_password: "your-irc-sasl-password"
|
||||
|
||||
# Channel Settings (nested format for channels that use settings block)
|
||||
channel_list:
|
||||
mqtt:
|
||||
settings:
|
||||
username: "your-mqtt-username"
|
||||
password: "your-mqtt-password"
|
||||
|
||||
# Web Tool API Keys
|
||||
web:
|
||||
brave:
|
||||
@@ -226,6 +233,19 @@ channels:
|
||||
- `channels.feishu.app_secret` → `config.channels.feishu.app_secret`
|
||||
- etc.
|
||||
|
||||
Channels that use a `settings` block (e.g. MQTT) use the `channel_list` key instead:
|
||||
|
||||
```yaml
|
||||
channel_list:
|
||||
mqtt:
|
||||
settings:
|
||||
username: "value"
|
||||
password: "value"
|
||||
```
|
||||
|
||||
- `channel_list.mqtt.settings.username` → `config.channel_list.mqtt.settings.username`
|
||||
- `channel_list.mqtt.settings.password` → `config.channel_list.mqtt.settings.password`
|
||||
|
||||
### Web Tools
|
||||
|
||||
**Brave, Tavily, Perplexity:**
|
||||
|
||||
Reference in New Issue
Block a user