Author Topic: Keep Lights in Sync.  (Read 553 times)

Offline meltsys

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Keep Lights in Sync.
« on: April 06, 2018, 10:08:42 am »
Hello,

I read, different solutions to keep devices in Sync. State. (when one light changes state other get the same state immediately)
I would like to get 2 Qubino 2relays in sync.

- Direct association (Not possible with Qubino I guess)
- PLEG (didn't find hox to do it with)
- Scenes (Currently using this)

In you opinion what is best way to do it ?

Thank You

Alex

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1191
  • Karma: +30/-32
    • Worthington Engineering, Inc.
Re: Keep Lights in Sync.
« Reply #1 on: April 06, 2018, 07:44:29 pm »
My solution is to use a virtual switch (VS), called Exterior Lights. In PLEG, when the VS is turned on/off, my 3 exterior lights are all turned on/off. Other actions just turn the VS on/off based on sunset/sunrise and weather conditions. You can manually turn on/off any of the three without affecting the other two, which is not exactly what you are looking for.

My vote would be PLEG, with a on and off trigger with 2 switches (4 triggers). You could create an On and an Off condition. Either condition would become true when either switch trigger becames true. Then you can create an On action that sets both switches on, and an Off action to set both switches off.

It could be done with scenes as well. An On scene could be triggered by either switch coming on, and it would turn on both switches. Similarly, an Off scene would be triggered by either switch.

What I have done is experimented with ideas. You learn a lot breaking stuff.   
Vera 3, UI7 1.7.1017, CT101 t-stat, Everspring motion detector, GE/Jasco switch, Leviton outlet, AeonLabs door sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual & Multi Switch, Weather, Sys. Mon.

Offline kwieto

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +18/-10
Re: Keep Lights in Sync.
« Reply #2 on: April 10, 2018, 05:25:18 am »
- Direct association (Not possible with Qubino I guess)

Why?
According to the manual, you can configure associations for each channel plus temp sensor if you have one?

Offline meltsys

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Keep Lights in Sync.
« Reply #3 on: April 11, 2018, 04:03:04 pm »
Yes Direct Association would be the best solution.
But each time I tried with Qubino, device crashed and needs to be reseted.
Qubino support has confirmed direct association is not supported on their devices :/

May be I better replace them for Fibaro modules.

Offline kwieto

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +18/-10
Re: Keep Lights in Sync.
« Reply #4 on: April 13, 2018, 03:06:39 am »
What type of Qubino devices you have?

I've just made direct association between ON/OFF thermostat and flush 1 relay, it works without issues

Offline meltsys

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Keep Lights in Sync.
« Reply #5 on: April 13, 2018, 04:20:51 am »
I tried to set up a 1 relay and a 2 relays together.

Could you tell me how you set it up ?

Thank you

Offline kwieto

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +18/-10
Re: Keep Lights in Sync.
« Reply #6 on: April 13, 2018, 09:20:44 am »
First you have to change Settings > Automatically configure to "Yes" in the device which will be steering the others.
Then go to "Device options" and add proper Group ID (in my case it was "10", but is different depending on device, you have to check it in the manual"
When group will be created, click "set" and choose devie(s) which you want to be controlled. I've found that only main devices are listed here.
Note that flush 2 relays is multi-channel device, so if you want to controll only one relay, you have to put correct number in the field next to the main device. I suppose that it should be 1 for channel 1 and 2 for channel 2, but I'm not sure. Similar, I'm not sure if you leave this field blank, both channels will be controlled or none - this you need to test by your own (but any results from this testing are welcome).

In my case I needed to change parameter 77 (delay between switching steering device on and passing the information to the device which is steered). Default was 180 seconds (3 minutes), but I've set it to 1 second. Again, you need to check in the manual if this is needed and which parameter is to be set if so.
Qubino recently released so called "extended" manuals for their devices (available on their webpage), which explain settings spretty well.

Offline meltsys

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Keep Lights in Sync.
« Reply #7 on: April 13, 2018, 10:08:34 am »
Wow, Thank you for all of this !

Parameter 77 on a Qubino Device ? I didn't find this kind of parameter in the manual.

I tried to add Qubino#2 to Qubino#1 groupe2 and Qubino#1 to Qubino#2 groupe2.
Don't you think my lights will blink in that case ? I seem to remeber that what happens last time I tried that.

Thanks again

Offline kwieto

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +18/-10
Re: Keep Lights in Sync.
« Reply #8 on: April 16, 2018, 05:09:54 pm »
Parameter 77 on a Qubino Device ? I didn't find this kind of parameter in the manual.

As I said, I was setting up ON/OFF thermostat. Different devices have different options, this is why you have to check in the manual for specific device settings.

I tried to add Qubino#2 to Qubino#1 groupe2 and Qubino#1 to Qubino#2 groupe2.
Don't you think my lights will blink in that case ? I seem to remeber that what happens last time I tried that.

What is group 2 for your devices? If it is passing ON/OFF state, then you have some kind of a loop (when device 1 is ON it passes the command ON to device 2, which passes command ON back to device 1) I'm not sure how the device 1 will behave if it will be already ON.
Remember that "Group 2" may hide different types of commands for both devices you have, unless they are identical (as I understand you have 1 relay and 2 relays, so "Group 2" can have different definition for each of them). Again, check in the manuals.