mqtt2matter 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +62 -0
- package/README.md +9 -1
- package/dist/config/schema.d.ts +6 -6
- package/dist/engine/payload.d.ts +6 -0
- package/dist/engine/payload.js +8 -3
- package/dist/engine/payload.js.map +1 -1
- package/dist/engine/runtime.js +6 -1
- package/dist/engine/runtime.js.map +1 -1
- package/dist/engine/template.js +22 -5
- package/dist/engine/template.js.map +1 -1
- package/dist/families/fan.js +3 -1
- package/dist/families/fan.js.map +1 -1
- package/dist/families/index.d.ts +1 -0
- package/dist/families/index.js +4 -0
- package/dist/families/index.js.map +1 -1
- package/dist/families/power-source.js +5 -0
- package/dist/families/power-source.js.map +1 -1
- package/dist/families/rvc.d.ts +40 -0
- package/dist/families/rvc.js +83 -0
- package/dist/families/rvc.js.map +1 -0
- package/dist/importers/ha/generate.js +3 -0
- package/dist/importers/ha/generate.js.map +1 -1
- package/dist/importers/z2m/generate.js +7 -0
- package/dist/importers/z2m/generate.js.map +1 -1
- package/dist/model/catalog.js +6 -3
- package/dist/model/catalog.js.map +1 -1
- package/dist/model/schema.d.ts +32 -32
- package/dist/model/schema.js +7 -4
- package/dist/model/schema.js.map +1 -1
- package/dist/model/validate.js +6 -0
- package/dist/model/validate.js.map +1 -1
- package/dist/server/fabrics.d.ts +42 -0
- package/dist/server/fabrics.js +50 -0
- package/dist/server/fabrics.js.map +1 -0
- package/dist/server/server.d.ts +19 -7
- package/dist/server/server.js +60 -8
- package/dist/server/server.js.map +1 -1
- package/dist/server/stats.d.ts +36 -0
- package/dist/server/stats.js +76 -0
- package/dist/server/stats.js.map +1 -0
- package/docs/api.md +19 -13
- package/docs/config.md +149 -20
- package/docs/importers.md +2 -2
- package/package.json +1 -1
- package/presets/mqtt-smarthome/button.json +47 -0
- package/presets/mqtt-smarthome/contact.json +37 -0
- package/presets/mqtt-smarthome/cover.json +50 -0
- package/presets/mqtt-smarthome/dimmer.json +57 -0
- package/presets/mqtt-smarthome/humidity.json +38 -0
- package/presets/mqtt-smarthome/light.json +47 -0
- package/presets/mqtt-smarthome/occupancy.json +46 -0
- package/presets/mqtt-smarthome/switch.json +47 -0
- package/presets/mqtt-smarthome/temperature.json +38 -0
- package/presets/openbeken/color-light.json +64 -0
- package/presets/openbeken/ct-light.json +51 -0
- package/presets/openbeken/dimmer.json +47 -0
- package/presets/openbeken/humidity.json +37 -0
- package/presets/openbeken/relay.json +40 -0
- package/presets/openbeken/temperature.json +41 -0
- package/presets/shelly-gen1/dimmer.json +48 -0
- package/presets/shelly-gen1/door-window.json +43 -0
- package/presets/shelly-gen1/ht.json +43 -0
- package/presets/shelly-gen1/relay-pm.json +60 -0
- package/presets/shelly-gen1/relay.json +36 -0
- package/presets/shelly-gen1/roller.json +52 -0
- package/presets/shelly-gen2/cover.json +68 -0
- package/presets/shelly-gen2/dimmer.json +61 -0
- package/presets/shelly-gen2/ht.json +47 -0
- package/presets/shelly-gen2/i4.json +82 -0
- package/presets/shelly-gen2/switch-pm.json +101 -0
- package/presets/shelly-gen2/switch.json +47 -0
- package/presets/tasmota/climate.json +52 -0
- package/presets/tasmota/color-light.json +63 -0
- package/presets/tasmota/ct-light.json +50 -0
- package/presets/tasmota/dimmer.json +45 -0
- package/presets/tasmota/relay.json +14 -3
- package/presets/tasmota/shutter.json +46 -0
- package/presets/tasmota/temperature-humidity.json +42 -0
- package/presets/tasmota/temperature.json +32 -0
- package/presets/valetudo/vacuum.json +103 -0
- package/presets/wled/dimmer.json +46 -0
- package/presets/wled/light.json +59 -0
- package/ui/dist/assets/index-1HdbTkGD.css +1 -0
- package/ui/dist/assets/index-tiKYDC-5.js +10 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/licenses.json +1 -0
- package/ui/dist/assets/index-BDtT6bdH.js +0 -10
- package/ui/dist/assets/index-CHiG-aoU.css +0 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tasmota/color-light",
|
|
3
|
+
"name": "Tasmota colour light",
|
|
4
|
+
"description": "A Tasmota RGB, RGBW or RGBCCT light: POWER, Dimmer, the colour from HSBColor (sent as Color2 r,g,b, which keeps the dimmer), CT for the white channels; the colour mode follows Channel (RGB all 0 = white).",
|
|
5
|
+
"vendor": "Tasmota",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"name": {"label": "Name", "default": "Light"}
|
|
10
|
+
},
|
|
11
|
+
"device": {
|
|
12
|
+
"name": "%name%",
|
|
13
|
+
"vendor": "Tasmota",
|
|
14
|
+
"availability": {"topic": "tele/%topic%/LWT", "online": "Online", "offline": "Offline"},
|
|
15
|
+
"endpoints": [
|
|
16
|
+
{
|
|
17
|
+
"deviceTypes": ["ExtendedColorLight"],
|
|
18
|
+
"features": {"ColorControl": ["HueSaturation"]},
|
|
19
|
+
"options": {"light": {"onCommandType": "first"}},
|
|
20
|
+
"mappings": [
|
|
21
|
+
{
|
|
22
|
+
"attribute": "OnOff.onOff",
|
|
23
|
+
"status": {
|
|
24
|
+
"topic": "stat/%topic%/RESULT",
|
|
25
|
+
"extract": "$.POWER",
|
|
26
|
+
"map": {"ON": true, "OFF": false},
|
|
27
|
+
"get": {"topic": "cmnd/%topic%/POWER", "payload": ""}
|
|
28
|
+
},
|
|
29
|
+
"command": {"topic": "cmnd/%topic%/POWER", "format": {"true": "ON", "false": "OFF"}}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"attribute": "LevelControl.currentLevel",
|
|
33
|
+
"status": {
|
|
34
|
+
"topic": "stat/%topic%/RESULT",
|
|
35
|
+
"template": "{{ value_json.Dimmer if value_json.Dimmer is defined and value_json.Dimmer > 0 else '' }}",
|
|
36
|
+
"type": "number",
|
|
37
|
+
"unit": "percentLevel",
|
|
38
|
+
"get": {"topic": "cmnd/%topic%/Dimmer", "payload": ""}
|
|
39
|
+
},
|
|
40
|
+
"command": {"topic": "cmnd/%topic%/Dimmer", "unit": "percentLevel", "round": 0}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"attribute": "ColorControl.colorHs",
|
|
44
|
+
"status": {"topic": "stat/%topic%/RESULT", "extract": "$.HSBColor"},
|
|
45
|
+
"command": {"topic": "cmnd/%topic%/Color2", "template": "{{ red }},{{ green }},{{ blue }}"}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"attribute": "ColorControl.colorTemperatureMireds",
|
|
49
|
+
"status": {"topic": "stat/%topic%/RESULT", "extract": "$.CT"},
|
|
50
|
+
"command": {"topic": "cmnd/%topic%/CT"}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"attribute": "ColorControl.colorMode",
|
|
54
|
+
"status": {
|
|
55
|
+
"topic": "stat/%topic%/RESULT",
|
|
56
|
+
"template": "{% if value_json.Channel is defined and value_json.Channel | length > 3 %}{{ 'ColorTemperatureMireds' if (value_json.Channel[0:3] | max) == 0 else 'CurrentHueAndCurrentSaturation' }}{% elif value_json.HSBColor is defined %}CurrentHueAndCurrentSaturation{% endif %}"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tasmota/ct-light",
|
|
3
|
+
"name": "Tasmota CT light",
|
|
4
|
+
"description": "A Tasmota light with cold and warm white (2 channels): POWER, Dimmer and CT (153–500 mireds).",
|
|
5
|
+
"vendor": "Tasmota",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"name": {"label": "Name", "default": "Light"}
|
|
10
|
+
},
|
|
11
|
+
"device": {
|
|
12
|
+
"name": "%name%",
|
|
13
|
+
"vendor": "Tasmota",
|
|
14
|
+
"availability": {"topic": "tele/%topic%/LWT", "online": "Online", "offline": "Offline"},
|
|
15
|
+
"endpoints": [
|
|
16
|
+
{
|
|
17
|
+
"deviceTypes": ["ColorTemperatureLight"],
|
|
18
|
+
"options": {"light": {"onCommandType": "first"}},
|
|
19
|
+
"mappings": [
|
|
20
|
+
{
|
|
21
|
+
"attribute": "OnOff.onOff",
|
|
22
|
+
"status": {
|
|
23
|
+
"topic": "stat/%topic%/RESULT",
|
|
24
|
+
"extract": "$.POWER",
|
|
25
|
+
"map": {"ON": true, "OFF": false},
|
|
26
|
+
"get": {"topic": "cmnd/%topic%/POWER", "payload": ""}
|
|
27
|
+
},
|
|
28
|
+
"command": {"topic": "cmnd/%topic%/POWER", "format": {"true": "ON", "false": "OFF"}}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"attribute": "LevelControl.currentLevel",
|
|
32
|
+
"status": {
|
|
33
|
+
"topic": "stat/%topic%/RESULT",
|
|
34
|
+
"template": "{{ value_json.Dimmer if value_json.Dimmer is defined and value_json.Dimmer > 0 else '' }}",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"unit": "percentLevel",
|
|
37
|
+
"get": {"topic": "cmnd/%topic%/Dimmer", "payload": ""}
|
|
38
|
+
},
|
|
39
|
+
"command": {"topic": "cmnd/%topic%/Dimmer", "unit": "percentLevel", "round": 0}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"attribute": "ColorControl.colorTemperatureMireds",
|
|
43
|
+
"status": {"topic": "stat/%topic%/RESULT", "extract": "$.CT"},
|
|
44
|
+
"command": {"topic": "cmnd/%topic%/CT"}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tasmota/dimmer",
|
|
3
|
+
"name": "Tasmota dimmer",
|
|
4
|
+
"description": "A Tasmota dimmer or single-channel light: POWER and Dimmer (0–100) from stat/<topic>/RESULT, commands to cmnd/<topic>/POWER and Dimmer.",
|
|
5
|
+
"vendor": "Tasmota",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"name": {"label": "Name", "default": "Dimmer"}
|
|
10
|
+
},
|
|
11
|
+
"device": {
|
|
12
|
+
"name": "%name%",
|
|
13
|
+
"vendor": "Tasmota",
|
|
14
|
+
"availability": {"topic": "tele/%topic%/LWT", "online": "Online", "offline": "Offline"},
|
|
15
|
+
"endpoints": [
|
|
16
|
+
{
|
|
17
|
+
"deviceTypes": ["DimmableLight"],
|
|
18
|
+
"options": {"light": {"onCommandType": "first"}},
|
|
19
|
+
"mappings": [
|
|
20
|
+
{
|
|
21
|
+
"attribute": "OnOff.onOff",
|
|
22
|
+
"status": {
|
|
23
|
+
"topic": "stat/%topic%/RESULT",
|
|
24
|
+
"extract": "$.POWER",
|
|
25
|
+
"map": {"ON": true, "OFF": false},
|
|
26
|
+
"get": {"topic": "cmnd/%topic%/POWER", "payload": ""}
|
|
27
|
+
},
|
|
28
|
+
"command": {"topic": "cmnd/%topic%/POWER", "format": {"true": "ON", "false": "OFF"}}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"attribute": "LevelControl.currentLevel",
|
|
32
|
+
"status": {
|
|
33
|
+
"topic": "stat/%topic%/RESULT",
|
|
34
|
+
"template": "{{ value_json.Dimmer if value_json.Dimmer is defined and value_json.Dimmer > 0 else '' }}",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"unit": "percentLevel",
|
|
37
|
+
"get": {"topic": "cmnd/%topic%/Dimmer", "payload": ""}
|
|
38
|
+
},
|
|
39
|
+
"command": {"topic": "cmnd/%topic%/Dimmer", "unit": "percentLevel", "round": 0}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "tasmota/relay",
|
|
3
3
|
"name": "Tasmota relay",
|
|
4
|
-
"description": "One relay of a Tasmota device as a plug-in unit: POWER over stat/cmnd, availability from LWT.",
|
|
4
|
+
"description": "One relay of a Tasmota device as a plug-in unit: POWER (or POWER<n> of a multi-relay device) over stat/cmnd, asked for at start, availability from LWT.",
|
|
5
5
|
"vendor": "Tasmota",
|
|
6
6
|
"format": 1,
|
|
7
7
|
"variables": {
|
|
8
8
|
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"index": {
|
|
10
|
+
"label": "Relay",
|
|
11
|
+
"description": "Empty for a device with one relay (POWER); 1, 2, … for one relay of several (POWER1, POWER2, …)",
|
|
12
|
+
"default": "",
|
|
13
|
+
"optional": true
|
|
14
|
+
},
|
|
9
15
|
"name": {"label": "Name", "default": "Relay"}
|
|
10
16
|
},
|
|
11
17
|
"device": {
|
|
@@ -18,8 +24,13 @@
|
|
|
18
24
|
"mappings": [
|
|
19
25
|
{
|
|
20
26
|
"attribute": "OnOff.onOff",
|
|
21
|
-
"status": {
|
|
22
|
-
|
|
27
|
+
"status": {
|
|
28
|
+
"topic": "stat/%topic%/RESULT",
|
|
29
|
+
"extract": "$.POWER%index%",
|
|
30
|
+
"map": {"ON": true, "OFF": false},
|
|
31
|
+
"get": {"topic": "cmnd/%topic%/POWER%index%", "payload": ""}
|
|
32
|
+
},
|
|
33
|
+
"command": {"topic": "cmnd/%topic%/POWER%index%", "format": {"true": "ON", "false": "OFF"}}
|
|
23
34
|
}
|
|
24
35
|
]
|
|
25
36
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tasmota/shutter",
|
|
3
|
+
"name": "Tasmota shutter",
|
|
4
|
+
"description": "A Tasmota shutter (Shutter<n>, 100 = open) as a position-aware window covering: the position from stat/<topic>/RESULT, ShutterPosition<n>, ShutterOpen<n>, ShutterClose<n>, ShutterStop<n>.",
|
|
5
|
+
"vendor": "Tasmota",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"index": {"label": "Shutter", "description": "The shutter's number: 1, 2, …", "default": "1"},
|
|
10
|
+
"name": {"label": "Name", "default": "Shutter"}
|
|
11
|
+
},
|
|
12
|
+
"device": {
|
|
13
|
+
"name": "%name%",
|
|
14
|
+
"vendor": "Tasmota",
|
|
15
|
+
"availability": {"topic": "tele/%topic%/LWT", "online": "Online", "offline": "Offline"},
|
|
16
|
+
"endpoints": [
|
|
17
|
+
{
|
|
18
|
+
"deviceTypes": ["WindowCovering"],
|
|
19
|
+
"mappings": [
|
|
20
|
+
{
|
|
21
|
+
"attribute": "WindowCovering.currentPositionLiftPercent100ths",
|
|
22
|
+
"status": {
|
|
23
|
+
"topic": "stat/%topic%/RESULT",
|
|
24
|
+
"extract": "$.Shutter%index%.Position",
|
|
25
|
+
"scale": {"from": [0, 100], "to": [10000, 0]},
|
|
26
|
+
"get": {"topic": "cmnd/%topic%/ShutterPosition%index%", "payload": ""}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"attribute": "WindowCovering.targetPositionLiftPercent100ths",
|
|
31
|
+
"command": {"topic": "cmnd/%topic%/ShutterPosition%index%", "template": "{{ open }}"}
|
|
32
|
+
},
|
|
33
|
+
{"invoke": "WindowCovering.upOrOpen", "command": {"topic": "cmnd/%topic%/ShutterOpen%index%", "payload": ""}},
|
|
34
|
+
{
|
|
35
|
+
"invoke": "WindowCovering.downOrClose",
|
|
36
|
+
"command": {"topic": "cmnd/%topic%/ShutterClose%index%", "payload": ""}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"invoke": "WindowCovering.stopMotion",
|
|
40
|
+
"command": {"topic": "cmnd/%topic%/ShutterStop%index%", "payload": ""}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tasmota/temperature-humidity",
|
|
3
|
+
"name": "Tasmota temperature and humidity sensor",
|
|
4
|
+
"description": "A temperature and humidity sensor attached to Tasmota (SHT3X, AM2301, DHT11, SI7021, …) from tele/<topic>/SENSOR every TelePeriod; humidity as a child endpoint.",
|
|
5
|
+
"vendor": "Tasmota",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"sensor": {
|
|
10
|
+
"label": "Sensor",
|
|
11
|
+
"description": "The sensor's key in tele/<topic>/SENSOR (SHT3X, AM2301, DHT11, SI7021, …)",
|
|
12
|
+
"default": "SHT3X"
|
|
13
|
+
},
|
|
14
|
+
"name": {"label": "Name", "default": "Climate"}
|
|
15
|
+
},
|
|
16
|
+
"device": {
|
|
17
|
+
"name": "%name%",
|
|
18
|
+
"vendor": "Tasmota",
|
|
19
|
+
"availability": {"topic": "tele/%topic%/LWT", "online": "Online", "offline": "Offline"},
|
|
20
|
+
"endpoints": [
|
|
21
|
+
{
|
|
22
|
+
"deviceTypes": ["TemperatureSensor"],
|
|
23
|
+
"mappings": [
|
|
24
|
+
{
|
|
25
|
+
"attribute": "TemperatureMeasurement.measuredValue",
|
|
26
|
+
"status": {"topic": "tele/%topic%/SENSOR", "extract": "$.%sensor%.Temperature", "unit": "celsius"}
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "humidity",
|
|
32
|
+
"deviceTypes": ["HumiditySensor"],
|
|
33
|
+
"mappings": [
|
|
34
|
+
{
|
|
35
|
+
"attribute": "RelativeHumidityMeasurement.measuredValue",
|
|
36
|
+
"status": {"topic": "tele/%topic%/SENSOR", "extract": "$.%sensor%.Humidity", "unit": "percent100ths"}
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tasmota/temperature",
|
|
3
|
+
"name": "Tasmota temperature sensor",
|
|
4
|
+
"description": "A temperature sensor attached to Tasmota (DS18B20, …) from tele/<topic>/SENSOR every TelePeriod; set TempUnit to C (SetOption8 0).",
|
|
5
|
+
"vendor": "Tasmota",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {"label": "Tasmota topic", "description": "The device's MQTT topic (Configuration → MQTT → Topic)"},
|
|
9
|
+
"sensor": {
|
|
10
|
+
"label": "Sensor",
|
|
11
|
+
"description": "The sensor's key in tele/<topic>/SENSOR (DS18B20, DS18B20-1, …)",
|
|
12
|
+
"default": "DS18B20"
|
|
13
|
+
},
|
|
14
|
+
"name": {"label": "Name", "default": "Temperature"}
|
|
15
|
+
},
|
|
16
|
+
"device": {
|
|
17
|
+
"name": "%name%",
|
|
18
|
+
"vendor": "Tasmota",
|
|
19
|
+
"availability": {"topic": "tele/%topic%/LWT", "online": "Online", "offline": "Offline"},
|
|
20
|
+
"endpoints": [
|
|
21
|
+
{
|
|
22
|
+
"deviceTypes": ["TemperatureSensor"],
|
|
23
|
+
"mappings": [
|
|
24
|
+
{
|
|
25
|
+
"attribute": "TemperatureMeasurement.measuredValue",
|
|
26
|
+
"status": {"topic": "tele/%topic%/SENSOR", "extract": "$.%sensor%.Temperature", "unit": "celsius"}
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "valetudo/vacuum",
|
|
3
|
+
"name": "Valetudo robot vacuum",
|
|
4
|
+
"description": "A robot vacuum running Valetudo as a Matter robotic vacuum cleaner: run mode (Idle/Cleaning), operational state from StatusStateAttribute/status, start, pause, resume and return to the dock over BasicControlCapability, the battery. Bridged vacuums show in Google Home and Home Assistant; Apple Home and Alexa want a vacuum as a Matter node of its own.",
|
|
5
|
+
"vendor": "Valetudo",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"prefix": {
|
|
9
|
+
"label": "Topic prefix",
|
|
10
|
+
"description": "Valetudo → Connectivity → MQTT → Topic prefix",
|
|
11
|
+
"default": "valetudo"
|
|
12
|
+
},
|
|
13
|
+
"identifier": {
|
|
14
|
+
"label": "Identifier",
|
|
15
|
+
"description": "Valetudo → Connectivity → MQTT → Identifier (the robot's name in the topics)"
|
|
16
|
+
},
|
|
17
|
+
"name": {"label": "Name", "default": "Vacuum"}
|
|
18
|
+
},
|
|
19
|
+
"device": {
|
|
20
|
+
"name": "%name%",
|
|
21
|
+
"vendor": "Valetudo",
|
|
22
|
+
"availability": {
|
|
23
|
+
"topic": "%prefix%/%identifier%/$state",
|
|
24
|
+
"template": "{{ 'online' if value == 'ready' else 'offline' }}"
|
|
25
|
+
},
|
|
26
|
+
"endpoints": [
|
|
27
|
+
{
|
|
28
|
+
"deviceTypes": ["RoboticVacuumCleaner", "PowerSource"],
|
|
29
|
+
"features": {"PowerSource": ["Battery", "Rechargeable"]},
|
|
30
|
+
"mappings": [
|
|
31
|
+
{
|
|
32
|
+
"attribute": "RvcRunMode.currentMode",
|
|
33
|
+
"status": {
|
|
34
|
+
"topic": "%prefix%/%identifier%/StatusStateAttribute/status",
|
|
35
|
+
"map": {
|
|
36
|
+
"cleaning": 1,
|
|
37
|
+
"paused": 1,
|
|
38
|
+
"moving": 1,
|
|
39
|
+
"manual_control": 1,
|
|
40
|
+
"returning": 0,
|
|
41
|
+
"docked": 0,
|
|
42
|
+
"idle": 0,
|
|
43
|
+
"error": 0
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"command": {
|
|
47
|
+
"topic": "%prefix%/%identifier%/BasicControlCapability/operation/set",
|
|
48
|
+
"format": {"1": "START", "0": "HOME"}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"attribute": "RvcOperationalState.operationalState",
|
|
53
|
+
"status": {
|
|
54
|
+
"topic": "%prefix%/%identifier%/StatusStateAttribute/status",
|
|
55
|
+
"map": {
|
|
56
|
+
"cleaning": "Running",
|
|
57
|
+
"moving": "Running",
|
|
58
|
+
"manual_control": "Running",
|
|
59
|
+
"paused": "Paused",
|
|
60
|
+
"returning": "SeekingCharger",
|
|
61
|
+
"docked": "Docked",
|
|
62
|
+
"idle": "Stopped",
|
|
63
|
+
"error": "Error"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"invoke": "RvcOperationalState.pause",
|
|
69
|
+
"command": {"topic": "%prefix%/%identifier%/BasicControlCapability/operation/set", "payload": "PAUSE"}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"invoke": "RvcOperationalState.resume",
|
|
73
|
+
"command": {"topic": "%prefix%/%identifier%/BasicControlCapability/operation/set", "payload": "START"}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"invoke": "RvcOperationalState.goHome",
|
|
77
|
+
"command": {"topic": "%prefix%/%identifier%/BasicControlCapability/operation/set", "payload": "HOME"}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"attribute": "PowerSource.batPercentRemaining",
|
|
81
|
+
"status": {
|
|
82
|
+
"topic": "%prefix%/%identifier%/BatteryStateAttribute/level",
|
|
83
|
+
"type": "number",
|
|
84
|
+
"unit": "halfPercent"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"attribute": "PowerSource.batChargeState",
|
|
89
|
+
"status": {
|
|
90
|
+
"topic": "%prefix%/%identifier%/BatteryStateAttribute/status",
|
|
91
|
+
"map": {
|
|
92
|
+
"charging": "IsCharging",
|
|
93
|
+
"charged": "IsAtFullCharge",
|
|
94
|
+
"discharging": "IsNotCharging",
|
|
95
|
+
"none": "Unknown"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wled/dimmer",
|
|
3
|
+
"name": "WLED dimmer",
|
|
4
|
+
"description": "A single-colour WLED strip as a dimmable light: on/off and brightness from <topic>/g, commands to <topic>; availability from <topic>/status.",
|
|
5
|
+
"vendor": "WLED",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {
|
|
9
|
+
"label": "Device topic",
|
|
10
|
+
"description": "WLED's MQTT device topic (Config → Sync Interfaces → MQTT → Device Topic; default wled/<MAC>)"
|
|
11
|
+
},
|
|
12
|
+
"name": {"label": "Name", "default": "WLED"}
|
|
13
|
+
},
|
|
14
|
+
"device": {
|
|
15
|
+
"name": "%name%",
|
|
16
|
+
"vendor": "WLED",
|
|
17
|
+
"availability": {"topic": "%topic%/status", "online": "online", "offline": "offline"},
|
|
18
|
+
"endpoints": [
|
|
19
|
+
{
|
|
20
|
+
"deviceTypes": ["DimmableLight"],
|
|
21
|
+
"options": {"light": {"onCommandType": "brightness"}},
|
|
22
|
+
"mappings": [
|
|
23
|
+
{
|
|
24
|
+
"attribute": "OnOff.onOff",
|
|
25
|
+
"status": {
|
|
26
|
+
"topic": "%topic%/g",
|
|
27
|
+
"template": "{{ 'true' if value | int > 0 else 'false' }}",
|
|
28
|
+
"map": {"true": true, "false": false}
|
|
29
|
+
},
|
|
30
|
+
"command": {"topic": "%topic%", "format": {"true": "ON", "false": "OFF"}}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"attribute": "LevelControl.currentLevel",
|
|
34
|
+
"status": {
|
|
35
|
+
"topic": "%topic%/g",
|
|
36
|
+
"template": "{{ value if value | int > 0 else '' }}",
|
|
37
|
+
"type": "number",
|
|
38
|
+
"unit": "byteLevel"
|
|
39
|
+
},
|
|
40
|
+
"command": {"topic": "%topic%", "unit": "byteLevel", "round": 0}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wled/light",
|
|
3
|
+
"name": "WLED light",
|
|
4
|
+
"description": "A WLED strip as a colour light: on/off and brightness from <topic>/g, the colour from <topic>/c, commands to <topic> and <topic>/col; colour temperature goes to the main segment's cct over <topic>/api (white channels only); availability from <topic>/status.",
|
|
5
|
+
"vendor": "WLED",
|
|
6
|
+
"format": 1,
|
|
7
|
+
"variables": {
|
|
8
|
+
"topic": {
|
|
9
|
+
"label": "Device topic",
|
|
10
|
+
"description": "WLED's MQTT device topic (Config → Sync Interfaces → MQTT → Device Topic; default wled/<MAC>)"
|
|
11
|
+
},
|
|
12
|
+
"name": {"label": "Name", "default": "WLED"}
|
|
13
|
+
},
|
|
14
|
+
"device": {
|
|
15
|
+
"name": "%name%",
|
|
16
|
+
"vendor": "WLED",
|
|
17
|
+
"availability": {"topic": "%topic%/status", "online": "online", "offline": "offline"},
|
|
18
|
+
"endpoints": [
|
|
19
|
+
{
|
|
20
|
+
"deviceTypes": ["ExtendedColorLight"],
|
|
21
|
+
"features": {"ColorControl": ["HueSaturation"]},
|
|
22
|
+
"options": {"light": {"onCommandType": "brightness"}},
|
|
23
|
+
"mappings": [
|
|
24
|
+
{
|
|
25
|
+
"attribute": "OnOff.onOff",
|
|
26
|
+
"status": {
|
|
27
|
+
"topic": "%topic%/g",
|
|
28
|
+
"template": "{{ 'true' if value | int > 0 else 'false' }}",
|
|
29
|
+
"map": {"true": true, "false": false}
|
|
30
|
+
},
|
|
31
|
+
"command": {"topic": "%topic%", "format": {"true": "ON", "false": "OFF"}}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"attribute": "LevelControl.currentLevel",
|
|
35
|
+
"status": {
|
|
36
|
+
"topic": "%topic%/g",
|
|
37
|
+
"template": "{{ value if value | int > 0 else '' }}",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"unit": "byteLevel"
|
|
40
|
+
},
|
|
41
|
+
"command": {"topic": "%topic%", "unit": "byteLevel", "round": 0}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"attribute": "ColorControl.colorRgb",
|
|
45
|
+
"status": {
|
|
46
|
+
"topic": "%topic%/c",
|
|
47
|
+
"template": "{% set h = value[-6:] %}{{ h[0:2] | int(0, 16) }},{{ h[2:4] | int(0, 16) }},{{ h[4:6] | int(0, 16) }}"
|
|
48
|
+
},
|
|
49
|
+
"command": {"topic": "%topic%/col", "template": "{{ red * 65536 + green * 256 + blue }}"}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"attribute": "ColorControl.colorTemperatureMireds",
|
|
53
|
+
"command": {"topic": "%topic%/api", "template": "{\"seg\":{\"cct\":{{ kelvin | round(0) | int }}}}"}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.login.svelte-12tsuzi{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:16px;background:var(--ui-bg);color:var(--ui-fg)}.card.svelte-12tsuzi{width:min(340px,100%);gap:12px;background:var(--ui-header-bg)}.brand.svelte-12tsuzi{font-weight:700;letter-spacing:1px;color:var(--ui-accent);text-align:center}form.svelte-12tsuzi{display:flex;flex-direction:column;gap:8px}form.svelte-12tsuzi .ui-form-label:where(.svelte-12tsuzi){text-align:left}p.svelte-12tsuzi{margin:0}.language.svelte-12tsuzi{align-self:center;width:auto}.ui-dialog.svelte-1vv01t1{max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);padding:0;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-bg);color:var(--ui-fg);font-family:var(--ui-font);font-size:var(--ui-font-size);box-shadow:var(--ui-shadow-menu)}.ui-dialog[open].svelte-1vv01t1{display:flex;flex-direction:column}.ui-dialog.svelte-1vv01t1::backdrop{background:var(--ui-backdrop)}.ui-dialog-titlebar.svelte-1vv01t1{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:4px 6px 4px 10px;background:var(--ui-header-bg);border-bottom:1px solid var(--ui-border)}.ui-dialog-title.svelte-1vv01t1{font-weight:700;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-dialog-close.svelte-1vv01t1{border:1px solid transparent;border-radius:var(--ui-radius);background:none;cursor:pointer;line-height:1;padding:2px 6px}.ui-dialog-close.svelte-1vv01t1:hover{border-color:var(--ui-border);background:var(--ui-accent-bg)}.ui-dialog-body.svelte-1vv01t1{display:flex;flex-direction:column;gap:var(--ui-form-section-gap);flex:1 1 auto;min-height:0;padding:10px;overflow:auto}.ui-dialog-buttons.svelte-1vv01t1{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:6px;padding:6px 10px;border-top:1px solid var(--ui-border-muted);background:var(--ui-bg-sunken)}.message.svelte-kd97iv{margin:0;white-space:pre-line}section.svelte-9byitx{margin-bottom:12px}h3.svelte-9byitx{margin:0 0 6px;font-size:var(--ui-font-size);font-weight:600}details.svelte-9byitx{padding:2px 0;border-bottom:1px solid var(--ui-border-muted)}summary.svelte-9byitx{cursor:pointer;padding:2px 0}.name.svelte-9byitx{font-weight:500}details.svelte-9byitx p:where(.svelte-9byitx){margin:4px 0}details.svelte-9byitx pre:where(.svelte-9byitx){margin:4px 0 6px}.notices.svelte-1cnh99m{position:fixed;right:10px;bottom:10px;z-index:400;display:flex;flex-direction:column;align-items:stretch;gap:6px;max-width:460px;max-height:calc(100vh - 20px);overflow-y:auto}.more.svelte-1cnh99m{align-self:flex-end;padding:2px 8px;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius);background:var(--ui-bg);color:var(--ui-fg-muted);font:inherit;font-size:var(--ui-font-size-small);cursor:pointer}.notice.svelte-1cnh99m{display:flex;gap:8px;align-items:flex-start;padding:6px 8px;border:1px solid var(--ui-border-strong);border-left-width:4px;border-radius:var(--ui-radius);background:var(--ui-bg);box-shadow:var(--ui-shadow-toast)}.warn.svelte-1cnh99m{border-left-color:var(--ui-warn)}.error.svelte-1cnh99m{border-left-color:var(--ui-error)}.text.svelte-1cnh99m{flex:1 1 auto;overflow-wrap:anywhere}.close.svelte-1cnh99m{border:none;background:none;cursor:pointer;line-height:1;padding:0 2px;color:inherit}.note.svelte-qffmqt{margin:0 0 6px;font-size:var(--ui-font-size-small)}.ui-tabs.svelte-1p26yap{display:flex;align-self:stretch;align-items:stretch;gap:2px;margin-bottom:-1px;position:relative;z-index:1;overflow-x:auto;scrollbar-width:none}.ui-tab.svelte-1p26yap{display:flex;align-items:center;gap:4px;padding:0 12px;border:none;border-radius:var(--ui-radius) var(--ui-radius) 0 0;background:none;color:var(--ui-fg-muted);font-weight:500;cursor:pointer;white-space:nowrap}.ui-tab.svelte-1p26yap:hover:not(.ui-tab-active){background:var(--ui-control-bg-hover);color:var(--ui-fg)}.ui-tab-active.svelte-1p26yap{background:var(--ui-accent-bg);color:var(--ui-fg);box-shadow:inset 0 -2px 0 var(--ui-accent)}.ui-tab.svelte-1p26yap .ui-dot:where(.svelte-1p26yap){margin-right:0}.ui-tab-badge.svelte-1p26yap{color:var(--ui-fg-muted);font-size:var(--ui-font-size-small)}.version.svelte-1af60h4{font-size:var(--ui-font-size-small)}.spin.svelte-1af60h4{display:inline-flex}.newer.svelte-1af60h4{color:var(--ui-warn);font-weight:600}p.svelte-1af60h4{margin:0 0 6px}.reason.svelte-1af60h4{margin:0 0 4px;text-align:center;font-size:var(--ui-font-size-small)}.log.svelte-1af60h4{margin-top:6px;max-height:160px;font-size:var(--ui-font-size-small)}.filter.svelte-izwxip{width:220px}.notes.svelte-izwxip{white-space:normal}.group.svelte-izwxip,.native.svelte-izwxip{margin-left:4px}p.svelte-izwxip{margin:0}.qr.svelte-qzpscf{display:block;border:4px solid #ffffff;border-radius:var(--ui-radius);background:#fff}.fabrics.svelte-1amxn89{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.fabric.svelte-1amxn89{padding:6px 8px;border:1px solid var(--ui-border-muted);border-radius:var(--ui-radius)}.fabric-head.svelte-1amxn89{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.controller.svelte-1amxn89{font-weight:600}.remove.svelte-1amxn89{margin-left:auto}.hint.svelte-1amxn89{margin:4px 0 0}.details.svelte-1amxn89{margin-top:6px;font-size:var(--ui-font-size-grid)}.bridges.svelte-1amxn89{display:flex;flex-direction:column;gap:10px}.pairing.svelte-1amxn89{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.code.svelte-1amxn89{font-size:16px;letter-spacing:1px}p.svelte-1amxn89{margin:0}.issues.svelte-1j1p4r5{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:3px;font-size:var(--ui-font-size-grid)}.issues.svelte-1j1p4r5 li:where(.svelte-1j1p4r5){display:flex;gap:6px;align-items:baseline;overflow-wrap:anywhere}.verdict.svelte-1wugbv7{font-weight:600;margin-bottom:8px}.ui-section.svelte-1wugbv7{margin-bottom:8px}.display.svelte-ovo0td{grid-column:1 / -1}.display-row.svelte-ovo0td{display:flex;flex-wrap:wrap;gap:8px 20px}.display-field.svelte-ovo0td{display:flex;align-items:center;gap:8px}.display-field.svelte-ovo0td .ui-select:where(.svelte-ovo0td){width:auto}.columns.svelte-ovo0td{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:10px;align-content:start}.stack.svelte-ovo0td{display:flex;flex-direction:column;gap:10px}p.svelte-ovo0td{margin:0}@media(max-width:900px){.columns.svelte-ovo0td{grid-template-columns:minmax(0,1fr)}}.list.svelte-1w7v0oq{max-height:300px;overflow:auto;border:1px solid var(--ui-border-muted)}.payload.svelte-1w7v0oq{max-width:300px}.detail.svelte-1w7v0oq{display:flex;flex-direction:column;gap:4px}.short.svelte-1w7v0oq{max-height:120px}.paths.svelte-1w7v0oq{display:flex;flex-wrap:wrap;gap:4px}.halves.svelte-92wfck{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}@media(max-width:900px){.halves.svelte-92wfck{grid-template-columns:minmax(0,1fr)}}.compact.svelte-92wfck{--ui-form-label-width: 150px}.rows.svelte-92wfck{display:flex;flex-direction:column;gap:4px}.row.svelte-92wfck{display:flex;align-items:center;gap:4px}.preview.svelte-92wfck{border-top:1px solid var(--ui-border-muted);padding-top:6px;display:flex;flex-direction:column;gap:4px}.stages.svelte-92wfck{margin:0;padding-left:18px;font-size:var(--ui-font-size-grid)}.step.svelte-92wfck{display:inline-block;min-width:70px}.title.svelte-21g4qu{display:flex;align-items:baseline;gap:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.column.svelte-21g4qu{display:flex;flex-direction:column;gap:10px}.json.svelte-21g4qu{flex:1 1 auto;min-height:300px}.types.svelte-21g4qu,.options.svelte-21g4qu{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.chip.svelte-21g4qu{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border:1px solid var(--ui-accent);border-radius:999px;color:var(--ui-accent);font-size:var(--ui-font-size-grid)}.chip-remove.svelte-21g4qu{border:none;background:none;color:inherit;cursor:pointer;padding:0;line-height:1}.option.svelte-21g4qu{display:inline-flex;align-items:center;gap:4px}.option.svelte-21g4qu .ui-select:where(.svelte-21g4qu){width:auto}.suggestion.svelte-21g4qu td:where(.svelte-21g4qu){height:auto;padding:4px 8px;white-space:normal;background:var(--ui-bg-sunken)}.suggest.svelte-21g4qu{margin:2px 2px 2px 4px;font-size:var(--ui-font-size-small);min-height:20px;padding:1px 6px}.filter.svelte-19ysaj4{width:220px}.types.svelte-19ysaj4{width:100%;font-family:var(--ui-font-mono)}.level.svelte-skp5ex{width:auto}.filter.svelte-skp5ex{width:260px}.log.svelte-skp5ex td:where(.svelte-skp5ex){height:22px;font-family:var(--ui-font-mono)}.log.svelte-skp5ex td.ts:where(.svelte-skp5ex),.log.svelte-skp5ex td.level-cell:where(.svelte-skp5ex),.log.svelte-skp5ex td.scope:where(.svelte-skp5ex){width:1%;white-space:nowrap}.log.svelte-skp5ex td.message:where(.svelte-skp5ex){white-space:pre-wrap;overflow-wrap:anywhere}tr.warn.svelte-skp5ex .level-cell:where(.svelte-skp5ex){color:var(--ui-warn)}tr.error.svelte-skp5ex .level-cell:where(.svelte-skp5ex),tr.error.svelte-skp5ex .message:where(.svelte-skp5ex){color:var(--ui-error)}tr.debug.svelte-skp5ex td:where(.svelte-skp5ex){color:var(--ui-fg-muted)}.split.svelte-1q9v7x1{flex:1 1 auto;min-height:0;grid-template-rows:minmax(0,1fr)}.column.svelte-1q9v7x1{display:flex;flex-direction:column;min-height:0;gap:6px}.right.svelte-1q9v7x1{gap:10px}.right.svelte-1q9v7x1>.column:where(.svelte-1q9v7x1){flex:1 1 auto}.payload.svelte-1q9v7x1{max-width:320px}.time.svelte-1q9v7x1{width:1%}.retain.svelte-1q9v7x1{margin-left:4px}.detail.svelte-1q9v7x1{flex:0 0 auto;display:flex;flex-direction:column;gap:3px}.search.svelte-11516m7{width:320px;max-width:100%}.group.svelte-11516m7{margin-bottom:14px}.group.svelte-11516m7 h3:where(.svelte-11516m7){margin-bottom:6px;color:var(--ui-fg-muted)}.cards.svelte-11516m7{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}.card.svelte-11516m7{display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;padding:8px 10px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-bg);color:var(--ui-fg);cursor:pointer}.card.svelte-11516m7:hover{background:var(--ui-row-hover);border-color:var(--ui-border-strong)}.name.svelte-11516m7{font-weight:600}.description.svelte-11516m7{font-size:var(--ui-font-size-grid)}.intro.svelte-11516m7{margin:0}.shell.svelte-pjescm{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;background:var(--ui-bg);color:var(--ui-fg)}.header.svelte-pjescm{display:flex;align-items:center;gap:10px;height:var(--ui-header-height);padding:0 10px;background:var(--ui-header-bg);border-bottom:1px solid var(--ui-border);flex:0 0 auto;min-width:0}.brand.svelte-pjescm{font-weight:700;letter-spacing:1px;color:var(--ui-accent);white-space:nowrap}.tabs.svelte-pjescm{display:flex;align-self:stretch;flex:1 1 auto;min-width:0}.actions.svelte-pjescm{display:flex;align-items:center;gap:2px;flex:0 0 auto;white-space:nowrap}.status.svelte-pjescm{display:inline-flex;align-items:center;gap:2px;margin-right:6px;color:var(--ui-fg-muted);font-size:var(--ui-font-size-small)}.paragraph.svelte-pjescm{font-size:15px;font-weight:600;line-height:1}.main.svelte-pjescm{flex:1 1 auto;min-height:0;overflow:hidden}@media(max-width:700px){.status.svelte-pjescm{display:none}}@media(max-width:480px){.brand.svelte-pjescm{display:none}}:root{color-scheme:light;--ui-bg: #ffffff;--ui-bg-sunken: #f8f8f8;--ui-header-bg: #f3f3f3;--ui-control-bg: #f0f0f0;--ui-control-bg-hover: #e4e4e4;--ui-input-bg: #ffffff;--ui-row-hover: #f0f4f8;--ui-row-selected: #cfe4f7;--ui-backdrop: rgba(0, 0, 0, .35);--ui-shadow-menu: 0 4px 12px rgb(0 0 0 / 18%);--ui-shadow-toast: 0 2px 10px rgb(0 0 0 / 16%);--ui-border: #cecece;--ui-border-muted: #e6e6e6;--ui-border-strong: #b0b0b0;--ui-fg: #3b3b3b;--ui-fg-muted: #6d6d6d;--ui-fg-faint: #9a9a9a;--ui-link: #0070c1;--ui-accent: #0070c1;--ui-accent-bg: #e2eefa;--ui-accent-fg: #ffffff;--ui-ok: #008000;--ui-warn: #a06800;--ui-error: #cd3131;--ui-focus: #0070c1;--ui-font: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;--ui-font-mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, Monaco, monospace;--ui-font-size: 13px;--ui-font-size-grid: 12px;--ui-font-size-small: 11px;--ui-row-height: 30px;--ui-header-height: 36px;--ui-radius: 3px;--ui-form-label-width: 170px;--ui-form-column-gap: 10px;--ui-form-row-gap: 6px;--ui-form-section-gap: 14px;--ui-field-narrow: 90px;--ui-field-medium: 150px}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--ui-bg: #1e1e1e;--ui-bg-sunken: #191919;--ui-header-bg: #252526;--ui-control-bg: #333333;--ui-control-bg-hover: #3f3f3f;--ui-input-bg: #3c3c3c;--ui-row-hover: #2a2d2e;--ui-row-selected: #264f78;--ui-backdrop: rgba(0, 0, 0, .6);--ui-shadow-menu: 0 4px 14px rgb(0 0 0 / 60%);--ui-shadow-toast: 0 2px 12px rgb(0 0 0 / 55%);--ui-border: #3c3c3c;--ui-border-muted: #303030;--ui-border-strong: #565656;--ui-fg: #cccccc;--ui-fg-muted: #8a8a8a;--ui-fg-faint: #6a6a6a;--ui-link: #569cd6;--ui-accent: #569cd6;--ui-accent-bg: #253b52;--ui-accent-fg: #1e1e1e;--ui-ok: #4ec9b0;--ui-warn: #cca700;--ui-error: #f48771;--ui-focus: #569cd6}}:root[data-theme=dark]{color-scheme:dark;--ui-bg: #1e1e1e;--ui-bg-sunken: #191919;--ui-header-bg: #252526;--ui-control-bg: #333333;--ui-control-bg-hover: #3f3f3f;--ui-input-bg: #3c3c3c;--ui-row-hover: #2a2d2e;--ui-row-selected: #264f78;--ui-backdrop: rgba(0, 0, 0, .6);--ui-shadow-menu: 0 4px 14px rgb(0 0 0 / 60%);--ui-shadow-toast: 0 2px 12px rgb(0 0 0 / 55%);--ui-border: #3c3c3c;--ui-border-muted: #303030;--ui-border-strong: #565656;--ui-fg: #cccccc;--ui-fg-muted: #8a8a8a;--ui-fg-faint: #6a6a6a;--ui-link: #569cd6;--ui-accent: #569cd6;--ui-accent-bg: #253b52;--ui-accent-fg: #1e1e1e;--ui-ok: #4ec9b0;--ui-warn: #cca700;--ui-error: #f48771;--ui-focus: #569cd6}html,body,#app{height:100%;min-height:0}#app{overflow:hidden}body{margin:0;padding:0;background:var(--ui-bg);color:var(--ui-fg);font-family:var(--ui-font);font-size:var(--ui-font-size);line-height:1.4}*,*:before,*:after{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:var(--ui-border-strong) transparent}:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-1px}a{color:var(--ui-link)}code,.ui-mono{font-family:var(--ui-font-mono);font-size:var(--ui-font-size-grid)}button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}.ui-input,.ui-select,.ui-textarea{min-height:24px;padding:2px 6px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-input-bg);color:var(--ui-fg);width:100%;min-width:0}.ui-textarea{font-family:var(--ui-font-mono);font-size:var(--ui-font-size-grid);resize:vertical}.ui-input:focus-visible,.ui-select:focus-visible,.ui-textarea:focus-visible{border-color:var(--ui-accent)}.ui-input:disabled,.ui-select:disabled,.ui-textarea:disabled{opacity:.55}.ui-input.ui-invalid,.ui-select.ui-invalid{border-color:var(--ui-error)}.ui-input::placeholder,.ui-textarea::placeholder{color:var(--ui-fg-faint)}.ui-button{min-height:24px;padding:3px 10px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-control-bg);color:var(--ui-fg);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.ui-button:hover:not(:disabled){background:var(--ui-control-bg-hover)}.ui-button:disabled{opacity:.45;cursor:default}.ui-button-primary{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-accent-fg)}.ui-button-primary:hover:not(:disabled){background:var(--ui-accent);filter:brightness(1.1)}.ui-button-danger{color:var(--ui-error)}.ui-icon-button{width:26px;height:26px;padding:0;border:1px solid transparent;border-radius:var(--ui-radius);background:none;color:var(--ui-fg-muted);cursor:pointer;line-height:1;display:inline-flex;align-items:center;justify-content:center}.ui-icon-button:hover:not(:disabled){background:var(--ui-control-bg-hover);color:var(--ui-fg)}.ui-icon-button:disabled{opacity:.4;cursor:default}.ui-page{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px;padding:10px;overflow:hidden}.ui-page-scroll{flex:1 1 auto;min-height:0;overflow:auto}.ui-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ui-toolbar-trailing{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--ui-fg-muted)}.ui-muted{color:var(--ui-fg-muted)}.ui-faint{color:var(--ui-fg-faint)}.ui-error-text{color:var(--ui-error)}.ui-warn-text{color:var(--ui-warn)}.ui-ok-text{color:var(--ui-ok)}.ui-small{font-size:var(--ui-font-size-small)}.ui-empty{color:var(--ui-fg-muted);padding:20px;text-align:center}h1,h2,h3{font-size:inherit;font-weight:600;margin:0}.ui-section{border:1px solid var(--ui-border-muted);border-radius:var(--ui-radius);padding:8px 10px;display:flex;flex-direction:column;gap:var(--ui-form-row-gap)}.ui-section-title{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:2px}.ui-section-title .ui-toolbar-trailing{font-weight:400}.ui-table{width:100%;border-collapse:collapse;font-size:var(--ui-font-size-grid)}.ui-table th,.ui-table td{text-align:left;padding:0 8px;height:var(--ui-row-height);border-bottom:1px solid var(--ui-border-muted);vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-table th{position:sticky;top:0;background:var(--ui-header-bg);color:var(--ui-fg-muted);font-weight:600;border-bottom:1px solid var(--ui-border);z-index:1}.ui-table tbody tr:hover{background:var(--ui-row-hover)}.ui-table tbody tr.ui-row-selected{background:var(--ui-row-selected)}.ui-table tr.ui-row-link{cursor:pointer}.ui-table td.ui-actions{text-align:right;width:1%}.ui-badge{display:inline-block;padding:0 6px;border:1px solid var(--ui-border);border-radius:999px;font-size:10px;line-height:15px;color:var(--ui-fg-muted);white-space:nowrap;vertical-align:middle}.ui-badge-accent{border-color:var(--ui-accent);color:var(--ui-accent)}.ui-badge-warn{border-color:var(--ui-warn);color:var(--ui-warn)}.ui-badge-error{border-color:var(--ui-error);color:var(--ui-error)}.ui-badge-ok{border-color:var(--ui-ok);color:var(--ui-ok)}.ui-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ui-fg-faint);vertical-align:middle;margin-right:5px}.ui-dot-ok{background:var(--ui-ok)}.ui-dot-warn{background:var(--ui-warn)}.ui-dot-error{background:var(--ui-error)}.ui-form{display:grid;grid-template-columns:var(--ui-form-label-width) minmax(0,1fr);column-gap:var(--ui-form-column-gap);row-gap:var(--ui-form-row-gap);align-items:center}.ui-form-label{color:var(--ui-fg-muted);text-align:right;padding-right:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-form-field{display:flex;align-items:center;gap:6px;min-width:0}.ui-form-help{grid-column:2;color:var(--ui-fg-faint);font-size:var(--ui-font-size-small);margin-top:-4px}.ui-form-full{grid-column:1 / -1}.ui-field-narrow{width:var(--ui-field-narrow);flex:0 0 auto}.ui-field-medium{width:var(--ui-field-medium);flex:0 0 auto}.ui-check{display:inline-flex;align-items:center;gap:6px;cursor:pointer;user-select:none;white-space:nowrap}.ui-check input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--ui-accent);cursor:pointer;flex-shrink:0}.ui-check input[type=checkbox]:disabled{cursor:default}.ui-check.ui-disabled{opacity:.55;cursor:default}.ui-kv{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;row-gap:3px;margin:0}.ui-kv dt{color:var(--ui-fg-muted);white-space:nowrap}.ui-kv dd{margin:0;overflow-wrap:anywhere}.ui-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:0}@media(max-width:900px){.ui-split{grid-template-columns:minmax(0,1fr)}}pre.ui-pre{margin:0;padding:6px 8px;background:var(--ui-bg-sunken);border:1px solid var(--ui-border-muted);border-radius:var(--ui-radius);font-family:var(--ui-font-mono);font-size:var(--ui-font-size-grid);white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}.ui-bar-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:28px;height:26px;padding:0 6px;border:none;border-radius:var(--ui-radius);background:none;color:var(--ui-fg-muted);font:inherit;text-decoration:none;white-space:nowrap;cursor:pointer}.ui-bar-button:hover,.ui-bar-button[aria-expanded=true]{background:var(--ui-control-bg-hover);color:var(--ui-fg)}.ui-bar-button.ui-bar-button-active{background:var(--ui-accent-bg);color:var(--ui-fg)}.ui-popup-anchor{position:relative}.ui-popup{position:absolute;right:0;top:calc(100% + 6px);z-index:200;width:max-content;min-width:200px;max-width:min(360px,calc(100vw - 16px));padding:10px 12px 6px;background:var(--ui-bg);border:1px solid var(--ui-border);border-radius:5px;box-shadow:var(--ui-shadow-menu);font-size:var(--ui-font-size-grid);white-space:normal}.ui-popup .ui-kv{grid-template-columns:1fr auto;margin-bottom:8px}.ui-popup .ui-kv dd{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ui-popup-actions{display:flex;flex-direction:column;gap:2px;padding-top:6px;border-top:1px solid var(--ui-border-muted)}.ui-popup-actions button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:4px 8px;border:none;border-radius:var(--ui-radius);background:none;color:var(--ui-fg-muted);font:inherit;cursor:pointer}.ui-popup-actions button:hover:not(:disabled){background:var(--ui-control-bg-hover);color:var(--ui-fg)}.ui-popup-actions button:disabled{opacity:.5;cursor:default}.ui-popup-actions button.ui-popup-primary{color:var(--ui-accent);font-weight:600}.ui-update-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ui-warn);flex:0 0 auto}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-spinning{animation:ui-spin .8s linear infinite}
|