diff options
| author | Li Zhineng <[email protected]> | 2025-07-22 08:01:28 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2025-07-22 08:01:28 +0800 |
| commit | 391eeb229882870a1c2311c820cc910890b35d9d (patch) | |
| tree | 407c6e346032444249effedaef305649fbb87493 /config.schema.json | |
| download | homebridge-airmx-391eeb229882870a1c2311c820cc910890b35d9d.tar.gz homebridge-airmx-391eeb229882870a1c2311c820cc910890b35d9d.zip | |
first commit
Diffstat (limited to 'config.schema.json')
| -rw-r--r-- | config.schema.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config.schema.json b/config.schema.json new file mode 100644 index 0000000..f53abf7 --- /dev/null +++ b/config.schema.json @@ -0,0 +1,38 @@ +{ + "pluginAlias": "Airmx", + "pluginType": "platform", + "singular": true, + "schema": { + "type": "object", + "properties": { + "mqtt": { + "title": "MQTT Broker URL", + "type": "string", + "placeholder": "mqtt://192.168.10.10", + "required": true + }, + "devices": { + "title": "Devices", + "type": "array", + "items": { + "title": "Device", + "type": "object", + "properties": { + "id": { + "title": "ID", + "type": "number", + "placeholder": "12345", + "required": true + }, + "key": { + "title": "Key", + "type": "string", + "placeholder": "XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXO", + "required": true + } + } + } + } + } + } +} |
