esp-homekit-devices
esp-homekit-devices copied to clipboard
Shelly 2.5 - Window coverage shared by two rooms
Hi, I use a Shelly 2.5 to control my shutter which is shared by two rooms "cameretta" and "bagnetto". What I wanted to do was create a secondary "mirror" accessory currently called "mirror shutter" which reflected the state and commands of the primary or "Serranda". Obviously the control and status of the accessories should be bidirectional, so serranda controls mirror shutter and mirror shutter controls serranda.
Can you help me?
I attach my script:
{
"c": {
"io":[ [[4,15,0],2], [[2],6], [[5,13],6,0,1] ],
"l": 0,
"b": [[2, 5]]
},
"a": [{
"t": 45,
"o": 27,
"c": 26,
"f": 100,
"ks":3,
"0": { "r": [[15, 1], [4 ]], "m" : [[2, 0]]},
"1": { "r": [[15], [4,1]], "m" : [[2, 1]] },
"2": { "r": [[15], [4]], "m" : [[2, 2]] },
"3": { "r": [[15, 0, 0.2], [4]], "m" : [[2, 3]] },
"4": { "r": [[15], [4, 0, 0.2]], "m" : [[2, 4]] },
"f0": [[5,0]],
"f1": [[13, 0]],
"f2": [[5], [13]]
},
{
"t": 45,
"f0": [[5,0]],
"f1": [[13, 0]],
"f2": [[5], [13]]
}]
}