We have moved at community.getvera.com

Author Topic: Faster LED updates on VRCS2  (Read 8291 times)

Offline AgileHumor

  • Hero Member
  • *****
  • Posts: 984
  • Karma: +51/-27
  • KISS
Re: Faster LED updates on VRCS2
« Reply #30 on: February 09, 2014, 01:33:44 pm »
I've taken to manual updates on almost all my Leviton Scene outlets.

Therefore, when I do a bedtime scene for example, I also need to update each LED.

It does require duplicating the same LED control in the advance tab many times (i have 3 x 4Way Scenes and 3 x 2Way Leviton scenes = 18 lines in the advanced tab) to ensure everything stays consistent to the device state.

Screenshot attached...but it only covers 1/8 of the web page views.  Tried a few full page screenshot extensions but none work with Vera HTML for some reason.

WMC Leviton:18xVPE06,8xVRS15,3xVRP03-W,2xVRR15,4xVRCS4,2xVRCS2,VP00R,8xVRS15 Aeon:5xDSC06106,4xDSC24,4xDSC25,12xDSB29,2xDSC11,4xDSB54,DSB05,3xDSA22,DSA38,2xDSA03202B,DSB09104,HEM Other:3xYale,12xHSM100v3,7xSP103,45604,WDHA-12,SSA2USR,EVLCD1T,6xWWA02A,7xIPC-HFW2100,URTSI,Hue,Russound,OpenSprinker

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Faster LED updates on VRCS2
« Reply #31 on: February 10, 2014, 11:42:06 am »
Wow!

And you did this because the LEDs weren't properly updating when controlled by Vera automatically; correct?
Dezwaved at the moment...

Offline Z-Waver

  • Master Member
  • *******
  • Posts: 4437
  • Karma: +249/-120
Re: Faster LED updates on VRCS2
« Reply #32 on: February 10, 2014, 11:59:53 am »
Rather than duplicate LED commands in every scene, would it not be easier to have one scene that controls the load and LED and then have your other scenes run that one scene when needed?

luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "5"}, 0)

Offline AgileHumor

  • Hero Member
  • *****
  • Posts: 984
  • Karma: +51/-27
  • KISS
Re: Faster LED updates on VRCS2
« Reply #33 on: February 10, 2014, 12:37:06 pm »
That would require a two scenes per scene button (detect on, switch LED on)...or 48 scenes (cuz i suck at Pleg) for 24 in wall scene buttons.  I use the 4 x 4Way Leviton scenes panels in the Master Bath, Master Bed, Living Room, and Entry that change the room lighting (with Hue bulbs) and arm/disarm motion sensors. 3 x 2Way I use for the patio doors and closets.

For each scene (1-4) i just need to add the 4 extra lines for that room's LED reliably. 

I already have for every room int he room use this common logic:
Day Sync On (triggered via armed motion, luup filtered for day...or manual switch on)
Night Sync On (triggered via armed motion, luup filtered for night...or manual switch on)
Sync Off - Shuts off all lights of Day or Night (or alt scenes 2-4)

For rooms with more a scene controller,  I also add:
Scene 2 On
Scene 3 On
Scene 4 On

This means for a room with a scene controller I typically need to manage 6 scenes above, adding 4 buttons in the advanced tab set to set the LED's per scene.

You only need to add all 24 lines in the advanced tab when you do a whole house scene (I have 4 for example, Weekday/Weekend Wakeup Scene, Sunset, and Bedtime).
WMC Leviton:18xVPE06,8xVRS15,3xVRP03-W,2xVRR15,4xVRCS4,2xVRCS2,VP00R,8xVRS15 Aeon:5xDSC06106,4xDSC24,4xDSC25,12xDSB29,2xDSC11,4xDSB54,DSB05,3xDSA22,DSA38,2xDSA03202B,DSB09104,HEM Other:3xYale,12xHSM100v3,7xSP103,45604,WDHA-12,SSA2USR,EVLCD1T,6xWWA02A,7xIPC-HFW2100,URTSI,Hue,Russound,OpenSprinker