forked from Angelic47/pvvx_display
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstrings.json
More file actions
58 lines (58 loc) · 2.48 KB
/
Copy pathstrings.json
File metadata and controls
58 lines (58 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"title": "PVVX Display",
"config": {
"flow_title": "PVVX Display: {name}",
"step": {
"bluetooth_confirm": {
"title": "PVVX custom display control",
"description": "This is a control-only integration for devices running PVVX firmware:\n- Writes custom display (Big/Small/Icons) via GATT\n- Creates no sensors and coexists with BTHome\n\nDevice: {name} ({address}).",
"data": {}
},
"user": {
"title": "Add PVVX Display",
"description": "Enter the device address to enable custom display control (no sensors, BTHome-friendly).",
"data": {
"address": "Device MAC (e.g., A4:C1:38:12:34:56)"
}
}
},
"abort": {
"already_configured": "This device is already configured.",
"no_pvvx": "PVVX display service not found."
},
"error": {
"cannot_connect": "Failed to connect to the device.",
"invalid_address": "Invalid address."
}
},
"services": {
"show": {
"name": "Show display",
"description": "Write custom content (Big/Small/Icons) to the PVVX Mi Thermometer via BLE (GATT). Coexists with BTHome; no sensors are created.",
"fields": {
"address": { "name": "Device address", "description": "BLE MAC address of the target device." },
"big_number": { "name": "Big number", "description": "Main number on the LCD (x10 internally, e.g., 23.5 → 235)." },
"small_number": { "name": "Small number", "description": "Auxiliary number (e.g., humidity)." },
"unit": { "name": "Unit/flags", "description": "Unit/flags encoded into config bits (deg_c/deg_f/percent/...)." },
"happy": { "name": "Happy icon", "description": "Show the happy face icon." },
"sad": { "name": "Sad icon", "description": "Show the sad face icon." },
"bracket": { "name": "Bracket", "description": "Show brackets around the small number." },
"percent": { "name": "Percent", "description": "Render percent sign with the small number." },
"battery": { "name": "Battery icon", "description": "Show the battery icon." },
"validity": { "name": "Validity (seconds)", "description": "How long the custom content should be displayed." }
}
}
},
"device_automation": {
"action_type": {
"show": "Show custom display"
},
"extra_fields": {
"big_number": "Big number",
"small_number": "Small number",
"icon": "Icon",
"unit": "Unit",
"validity": "Validity (seconds)"
}
}
}