Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shelly 2.5 - Window coverage shared by two rooms #2265

Open
j3wel opened this issue Jun 4, 2024 · 0 comments
Open

Shelly 2.5 - Window coverage shared by two rooms #2265

j3wel opened this issue Jun 4, 2024 · 0 comments

Comments

@j3wel
Copy link

j3wel commented Jun 4, 2024

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?
photo_2024-06-04_20-28-45

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]]
  }]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant