Skip to content

Commit d46f79e

Browse files
authored
Ajout Shelly 2PM / Pro 2
1 parent 93d5170 commit d46f79e

File tree

2 files changed

+219
-0
lines changed

2 files changed

+219
-0
lines changed
Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
{
2+
"name": "Shelly 2PM / Pro 2",
3+
"commands": [
4+
{
5+
"name": "Online",
6+
"type": "info",
7+
"subtype": "binary",
8+
"isVisible": 0,
9+
"isHistorized": 0,
10+
"logicalId": "online"
11+
},
12+
13+
14+
15+
{
16+
"name": "Etat 1",
17+
"type": "info",
18+
"subtype": "binary",
19+
"isVisible": 1,
20+
"isHistorized": 0,
21+
"logicalId": "status/switch:0/output",
22+
"template": {
23+
"dashboard": "core::light",
24+
"mobile": "core::light"
25+
}
26+
},
27+
{
28+
"name": "On 1",
29+
"type": "action",
30+
"subtype": "other",
31+
"isVisible": 1,
32+
"isHistorized": 0,
33+
"logicalId": "rpc",
34+
"value": "Etat 1",
35+
"configuration": {
36+
"message": "json::{\"id\":1,\"src\":\"jeedom\",\"method\":\"Switch.Set\",\"params\":{\"id\":0,\"on\":true}}"
37+
},
38+
"template": {
39+
"dashboard": "core::prise",
40+
"mobile": "core::prise"
41+
}
42+
},
43+
{
44+
"name": "Off 1",
45+
"type": "action",
46+
"subtype": "other",
47+
"isVisible": 1,
48+
"isHistorized": 0,
49+
"logicalId": "rpc",
50+
"value": "Etat 1",
51+
"configuration": {
52+
"message": "json::{\"id\":1,\"src\":\"jeedom\",\"method\":\"Switch.Set\",\"params\":{\"id\":0,\"on\":false}}"
53+
},
54+
"template": {
55+
"dashboard": "core::prise",
56+
"mobile": "core::prise"
57+
}
58+
},
59+
{
60+
"name": "Toggle 1",
61+
"type": "action",
62+
"subtype": "other",
63+
"isVisible": 0,
64+
"isHistorized": 0,
65+
"logicalId": "rpc",
66+
"value": "Etat 1",
67+
"configuration": {
68+
"message": "json::{\"id\":1,\"src\":\"jeedom\",\"method\":\"Switch.Toggle\",\"params\":{\"id\":0}}"
69+
}
70+
},
71+
{
72+
"name": "Puissance 1",
73+
"type": "info",
74+
"subtype": "numeric",
75+
"isVisible": 1,
76+
"isHistorized": 1,
77+
"unite": "W",
78+
"logicalId": "status/switch:0/apower"
79+
},
80+
{
81+
"name": "Consommation 1",
82+
"type": "info",
83+
"subtype": "numeric",
84+
"isVisible": 1,
85+
"isHistorized": 1,
86+
"unite": "Wh",
87+
"logicalId": "status/switch:0/aenergy/total"
88+
},
89+
{
90+
"name": "Courant 1",
91+
"type": "info",
92+
"subtype": "numeric",
93+
"isVisible": 1,
94+
"isHistorized": 0,
95+
"unite": "A",
96+
"logicalId": "status/switch:0/current"
97+
},
98+
{
99+
"name": "Tension 1",
100+
"type": "info",
101+
"subtype": "numeric",
102+
"isVisible": 1,
103+
"isHistorized": 0,
104+
"unite": "V",
105+
"logicalId": "status/switch:0/voltage"
106+
},
107+
{
108+
"name": "Fréquence 1",
109+
"type": "info",
110+
"subtype": "numeric",
111+
"isVisible": 0,
112+
"isHistorized": 0,
113+
"unite": "Hz",
114+
"logicalId": "status/switch:0/freq"
115+
},
116+
117+
{
118+
"name": "Etat 2",
119+
"type": "info",
120+
"subtype": "binary",
121+
"isVisible": 1,
122+
"isHistorized": 0,
123+
"logicalId": "status/switch:1/output",
124+
"template": {
125+
"dashboard": "core::light",
126+
"mobile": "core::light"
127+
}
128+
},
129+
{
130+
"name": "On 2",
131+
"type": "action",
132+
"subtype": "other",
133+
"isVisible": 1,
134+
"isHistorized": 0,
135+
"logicalId": "rpc",
136+
"value": "Etat 2",
137+
"configuration": {
138+
"message": "json::{\"id\":2,\"src\":\"jeedom\",\"method\":\"Switch.Set\",\"params\":{\"id\":1,\"on\":true}}"
139+
},
140+
"template": {
141+
"dashboard": "core::prise",
142+
"mobile": "core::prise"
143+
}
144+
},
145+
{
146+
"name": "Off 2",
147+
"type": "action",
148+
"subtype": "other",
149+
"isVisible": 1,
150+
"isHistorized": 0,
151+
"logicalId": "rpc",
152+
"value": "Etat 2",
153+
"configuration": {
154+
"message": "json::{\"id\":2,\"src\":\"jeedom\",\"method\":\"Switch.Set\",\"params\":{\"id\":1,\"on\":false}}"
155+
},
156+
"template": {
157+
"dashboard": "core::prise",
158+
"mobile": "core::prise"
159+
}
160+
},
161+
{
162+
"name": "Toggle 2",
163+
"type": "action",
164+
"subtype": "other",
165+
"isVisible": 0,
166+
"isHistorized": 0,
167+
"logicalId": "rpc",
168+
"value": "Etat 2",
169+
"configuration": {
170+
"message": "json::{\"id\":2,\"src\":\"jeedom\",\"method\":\"Switch.Toggle\",\"params\":{\"id\":1}}"
171+
}
172+
},
173+
{
174+
"name": "Puissance 2",
175+
"type": "info",
176+
"subtype": "numeric",
177+
"isVisible": 1,
178+
"isHistorized": 1,
179+
"unite": "W",
180+
"logicalId": "status/switch:1/apower"
181+
},
182+
{
183+
"name": "Consommation 2",
184+
"type": "info",
185+
"subtype": "numeric",
186+
"isVisible": 1,
187+
"isHistorized": 1,
188+
"unite": "Wh",
189+
"logicalId": "status/switch:1/aenergy/total"
190+
},
191+
{
192+
"name": "Courant 2",
193+
"type": "info",
194+
"subtype": "numeric",
195+
"isVisible": 1,
196+
"isHistorized": 0,
197+
"unite": "A",
198+
"logicalId": "status/switch:1/current"
199+
},
200+
{
201+
"name": "Tension 2",
202+
"type": "info",
203+
"subtype": "numeric",
204+
"isVisible": 1,
205+
"isHistorized": 0,
206+
"unite": "V",
207+
"logicalId": "status/switch:1/voltage"
208+
},
209+
{
210+
"name": "Fréquence 2",
211+
"type": "info",
212+
"subtype": "numeric",
213+
"isVisible": 0,
214+
"isHistorized": 0,
215+
"unite": "Hz",
216+
"logicalId": "status/switch:1/freq"
217+
}
218+
]
219+
}
1.1 MB
Loading

0 commit comments

Comments
 (0)