forked from nlrb/org.sunspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
130 lines (130 loc) · 2.76 KB
/
app.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"id": "org.sunspec",
"name": {
"en": "SunSpec Solar Monitoring"
},
"version": "1.0.1",
"compatibility": ">=1.5.0",
"sdk": 2,
"description": {
"en": "Read SunSpec data from a Solar Inverter.",
"nl": "Bekijk SunSpec data van je zonnepanelen omvormer."
},
"author": {
"name": "Ramón Baas"
},
"category": "climate",
"images": {
"large": "assets/images/large.png",
"small": "assets/images/small.png"
},
"capabilities": {
"status": {
"type": "string",
"title": {
"en": "Inverter state"
},
"getable": true,
"setable": false,
"icon": "/assets/status.svg"
}
},
"drivers": [
{
"id": "inverter",
"name": {
"en": "Inverter"
},
"class": "solarpanel",
"capabilities": [ "status", "measure_power", "measure_voltage", "measure_current", "measure_temperature", "meter_power" ],
"images": {
"large": "drivers/inverter/assets/images/large.png",
"small": "drivers/inverter/assets/images/small.png"
},
"pair": [
{
"id": "inverter"
}
],
"settings": [
{
"type": "group",
"label": {
"en": "Network settings",
"nl": "Netwerk instellingen"
},
"children": [
{
"id": "ip",
"type": "text",
"label": {
"en": "IP address",
"nl": "IP adres"
},
"value": "0.0.0.0"
},
{
"id": "port",
"type": "number",
"label": {
"en": "IP port number",
"nl": "IP poort nummer"
},
"value": 23,
"attr": {
"min": 0,
"max": 65535
}
}
]
},
{
"type": "group",
"label": {
"en": "Inverter settings",
"nl": "Inverter instellingen"
},
"children": [
{
"id": "idModBus",
"type": "number",
"label": {
"en": "ModBus device ID"
},
"value": 1,
"attr": {
"min": 1,
"max": 120
}
},
{
"id": "baseModBus",
"type": "number",
"label": {
"en": "ModBus base address",
"nl": "ModBus adres"
},
"value": 40000
},
{
"id": "interval",
"type": "number",
"label": {
"en": "Poll interval in seconds (0 = no polling)",
"nl": "Poll interval in seconden (0 = niet)"
},
"value": 10,
"attr": {
"min": 0,
"max": 120
}
}
]
}
]
}
],
"permissions": [
"homey:app:nl.dsmr.p1"
]
}