Virtual Dimmer Help Please

Hello I have installed rigpapa switchboard but cant seem to figure how to do this

I have two hue lights which I can switch on and off via a virtual binary switch + plus I have a reactor set up to set the load level to 15% all works great

I want to control them also via a virtual dimmer so that I can set the light level to any % as well, but I cant seem to find how to do this, at the moment when I slide the v dimmer to say 50% it turns them to 100%

If this is possible can someone give me some pointers please, thanks

Do you mean when you slide the virtual dimmer to 50 it goes to 100, or when you slide the virtual dimmer to 50 the Reactor-controller lights go to 100? If the latter, please post a Logic Summary from the tools tab of your ReactorSensor.

Thank you for the reply

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.7-20190 config 20190 cdata 20045 ui 20190 pluginDevice 526 LuaXP 1.0.2enh
    System: Vera version 1.7.4970 (7.31) on Sercomm G450 ID 36 (Vera Plus); loadtime 1598559703/1598559713; systemReady 1598559718
       Env: Lua 5.1; JSON dkjson 2.5+LPeg; UnsafeLua=nil/true
Local time: 2020-08-27T22:59:26+0100; DST=1; Leicester, England United Kingdom; formats %d/%m/%Y %H:%M:%S
House mode: plugin 1; system 1; tracking off
  Sun data: {"source":"int","civdawn":1598502654,"nautdawn":1598499917,"sunset":1598555092,"nautdusk":1598560026,"stamp":2020240,"latitude":52.6386,"astrodusk":1598563149,"longitude":-1.13169,"civdusk":1598557288,"astrodawn":1598496793,"sunrise":1598504850}
  Geofence: not running
        RS: 1598556895,1598557102,1598557405,1598557486,1598558426,1598558909,1598558956,1598558999,1598559698,1598559713
        NS: 0:X,1590927660:U,1591331580:D,1591331645:U
************************************************************************************************************************************
Cinema Table Lamps (#585)
    Version 20045.34 08/27/20 22:01:57
    Message/status: Not tripped
    Condition group "Reactor Sensor 15" (AND)  false as of 21:56:14 <root>
      &-F-service Table Lamps (592) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [1 => 0 at 21:56:14; F/F as of 21:56:14/21:56:14] <cond0>
    Activity root.false
        Device Hue Table Lamp 1 (587) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Device Hue Table Lamp 2 (588) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
    Activity root.true
        Device Hue Table Lamp 1 (587) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="15" )
        Device Hue Table Lamp 2 (588) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="15" )
    Events
        2020-08-27 21:50:28: Sensor update starting
        2020-08-27 21:50:28: Sensor update completed; 0.005s
        2020-08-27 21:50:28: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Status changed from "1" to "0"
        2020-08-27 21:50:28: Sensor update starting
        2020-08-27 21:50:28: Condition cond0 test state changed from true to false
        2020-08-27 21:50:28: Condition cond0 evaluation state changed from true to false
        2020-08-27 21:50:28: Group Reactor Sensor 15 test state changed from true to false
        2020-08-27 21:50:28: Group Reactor Sensor 15 evaluation state changed from true to false
        2020-08-27 21:50:28: Preparing Reactor Sensor 15.false (root.false) activity
        2020-08-27 21:50:28: Launching scene/activity root.false
        2020-08-27 21:50:28: Starting "root.false" group 1
        2020-08-27 21:50:28: Activity "root.false" finished
        2020-08-27 21:50:28: Stopping activity "root.false"
        2020-08-27 21:50:28: Changing RS tripped state to false
        2020-08-27 21:50:28: Sensor update completed; 0.103s
        2020-08-27 21:50:31: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Target changed from "0" to "1"
        2020-08-27 21:50:31: Sensor update starting
        2020-08-27 21:50:31: Sensor update completed; 0.006s
        2020-08-27 21:50:31: Device Table Lamps (#592) urn:upnp-org:serviceId:VSwitch1/Target changed from "0" to "1"
        2020-08-27 21:50:31: Sensor update starting
        2020-08-27 21:50:31: Sensor update completed; 0.006s
        2020-08-27 21:50:31: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Status changed from "0" to "1"
        2020-08-27 21:50:31: Sensor update starting
        2020-08-27 21:50:31: Condition cond0 test state changed from false to true
        2020-08-27 21:50:31: Condition cond0 evaluation state changed from false to true
        2020-08-27 21:50:31: Group Reactor Sensor 15 test state changed from false to true
        2020-08-27 21:50:31: Group Reactor Sensor 15 evaluation state changed from false to true
        2020-08-27 21:50:31: Preparing Reactor Sensor 15.true (root.true) activity
        2020-08-27 21:50:31: Launching scene/activity root.true
        2020-08-27 21:50:31: Starting "root.true" group 1
        2020-08-27 21:50:31: Activity "root.true" finished
        2020-08-27 21:50:31: Stopping activity "root.true"
        2020-08-27 21:50:31: Changing RS tripped state to true
        2020-08-27 21:50:31: Sensor update completed; 0.046s
        2020-08-27 21:52:04: Configuration changed!
        2020-08-27 21:52:04: Sensor update starting
        2020-08-27 21:52:04: Sensor update completed; 0.022s
        2020-08-27 21:52:15: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Target changed from "1" to "0"
        2020-08-27 21:52:15: Sensor update starting
        2020-08-27 21:52:15: Sensor update completed; 0.007s
        2020-08-27 21:52:15: Device Table Lamps (#592) urn:upnp-org:serviceId:VSwitch1/Target changed from "1" to "0"
        2020-08-27 21:52:15: Sensor update starting
        2020-08-27 21:52:15: Sensor update completed; 0.005s
        2020-08-27 21:52:15: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Status changed from "1" to "0"
        2020-08-27 21:52:15: Sensor update starting
        2020-08-27 21:52:15: Condition cond0 test state changed from true to false
        2020-08-27 21:52:15: Condition cond0 evaluation state changed from true to false
        2020-08-27 21:52:15: Group Reactor Sensor 15 test state changed from true to false
        2020-08-27 21:52:15: Group Reactor Sensor 15 evaluation state changed from true to false
        2020-08-27 21:52:15: Preparing Reactor Sensor 15.false (root.false) activity
        2020-08-27 21:52:15: Launching scene/activity root.false
        2020-08-27 21:52:15: Starting "root.false" group 1
        2020-08-27 21:52:15: Activity "root.false" finished
        2020-08-27 21:52:15: Stopping activity "root.false"
        2020-08-27 21:52:15: Changing RS tripped state to false
        2020-08-27 21:52:15: Sensor update completed; 0.026s
        2020-08-27 21:52:23: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Target changed from "0" to "1"
        2020-08-27 21:52:23: Sensor update starting
        2020-08-27 21:52:23: Sensor update completed; 0.006s
        2020-08-27 21:52:23: Device Table Lamps (#592) urn:upnp-org:serviceId:VSwitch1/Target changed from "0" to "1"
        2020-08-27 21:52:23: Sensor update starting
        2020-08-27 21:52:23: Sensor update completed; 0.005s
        2020-08-27 21:52:23: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Status changed from "0" to "1"
        2020-08-27 21:52:23: Sensor update starting
        2020-08-27 21:52:23: Condition cond0 test state changed from false to true
        2020-08-27 21:52:23: Condition cond0 evaluation state changed from false to true
        2020-08-27 21:52:23: Group Reactor Sensor 15 test state changed from false to true
        2020-08-27 21:52:23: Group Reactor Sensor 15 evaluation state changed from false to true
        2020-08-27 21:52:23: Preparing Reactor Sensor 15.true (root.true) activity
        2020-08-27 21:52:23: Launching scene/activity root.true
        2020-08-27 21:52:23: Starting "root.true" group 1
        2020-08-27 21:52:23: Activity "root.true" finished
        2020-08-27 21:52:23: Stopping activity "root.true"
        2020-08-27 21:52:23: Changing RS tripped state to true
        2020-08-27 21:52:23: Sensor update completed; 0.109s
        2020-08-27 21:56:14: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Target changed from "1" to "0"
        2020-08-27 21:56:14: Sensor update starting
        2020-08-27 21:56:14: Sensor update completed; 0.007s
        2020-08-27 21:56:14: Device Table Lamps (#592) urn:upnp-org:serviceId:VSwitch1/Target changed from "1" to "0"
        2020-08-27 21:56:14: Sensor update starting
        2020-08-27 21:56:14: Sensor update completed; 0.005s
        2020-08-27 21:56:14: Device Table Lamps (#592) urn:upnp-org:serviceId:SwitchPower1/Status changed from "1" to "0"
        2020-08-27 21:56:14: Sensor update starting
        2020-08-27 21:56:14: Condition cond0 test state changed from true to false
        2020-08-27 21:56:14: Condition cond0 evaluation state changed from true to false
        2020-08-27 21:56:14: Group Reactor Sensor 15 test state changed from true to false
        2020-08-27 21:56:14: Group Reactor Sensor 15 evaluation state changed from true to false
        2020-08-27 21:56:14: Preparing Reactor Sensor 15.false (root.false) activity
        2020-08-27 21:56:14: Launching scene/activity root.false
        2020-08-27 21:56:14: Starting "root.false" group 1
        2020-08-27 21:56:14: Activity "root.false" finished
        2020-08-27 21:56:14: Stopping activity "root.false"
        2020-08-27 21:56:14: Changing RS tripped state to false
        2020-08-27 21:56:14: Sensor update completed; 0.030s
        2020-08-27 22:00:43: Configuration changed!
        2020-08-27 22:00:43: Sensor update starting
        2020-08-27 22:00:43: Sensor update completed; 0.459s
        2020-08-27 22:01:56: Configuration changed!
        2020-08-27 22:01:56: Sensor update starting
        2020-08-27 22:01:56: Sensor update completed; 0.007s
    Devices
        Hue Table Lamp 2 (588) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 586; plugin -; mfg innr model BF 265; dev D_DimmableALTHue1.xml impl 
        Table Lamps (592) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 525; plugin -; mfg rigpapa model Switchboard Virtual Dimmer; dev D_DimmableLight1.xml impl 
        Switchboard Plugin (525) urn:schemas-toggledbits-com:device:Switchboard:1 (1/-1); parent 0; plugin 9194; mfg  model ; dev D_Switchboard1.xml impl I_Switchboard1.xml
        Hue Table Lamp 1 (587) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 586; plugin -; mfg innr model BF 265; dev D_DimmableALTHue1.xml impl 
        Philips hue (586) urn:schemas-upnp-org:device:althue:1 (26/-1); parent 0; plugin -; mfg Philips hue model BSB002; dev D_ALTHUE.xml impl I_ALTHUE.xml
    Watches
        Device #585 Cinema Table Lamps service urn:toggledbits-com:serviceId:ReactorSensor variable TestHouseMode
        Device #592 Table Lamps service urn:upnp-org:serviceId:SwitchPower1 variable Status
        Device #585 Cinema Table Lamps service urn:toggledbits-com:serviceId:ReactorSensor variable TestTime
        Device #585 Cinema Table Lamps service urn:toggledbits-com:serviceId:ReactorSensor variable cdata
        Device #592 Table Lamps service urn:upnp-org:serviceId:VSwitch1 variable Target
        Device #592 Table Lamps service urn:upnp-org:serviceId:SwitchPower1 variable Target

I hope I am explaining this right
I have two separate hue dimmer devices in vera but I want to control them with one virtual dimmer
I currently have a reactor sensor but cant seem to set it up correctly so I set the load dimming level to 15% which obviously doesnt work, so in short I want tocontrol both dimmer lights with one virtual dimmer, thank you

OK, so first, your test for “Table Lamps” is looking at the on/off status, not the dimming level, so there’s nothing here that I can see to correlate the dimming level of “Table Lamps” to the two controlled devices. Let’s leave that issue alone for the moment, because as it is, you should be able to turn the lamps on and off, it’s just that when turning them on, the dimming level is always 15%. Is that what you are observing right now as this is (can turn off, can turn on, but always at 15% brightness)?

yes thats correct they turn on and off but only up to 15% so I guess I am missing something that tells the lights to go to the level that is selected on the virtual dimmer I just cant figure how to do that, thanks

Hello

Can anyone help here please I’m lost, does anyone have a virtual dimmer controlling 2 physical dimmers that they can share screen shots of the variables or expressions I need to put in reactor please so that the virtual dimmer controls both physical dimmers

Or can someone give me a clue as to what these expressions or variables need to be
Thank you

Here’s the simplest version. It may not work for some devices supported by plugins that don’t follow all of the typical Vera behaviors, but should work for most native devices:

Thank you, I’ll try this as soon as I get home!
Sorry I couldn’t figure this out myself
Many thanks

All good. I’m inclined to let people try for a while… you know… give a man a fish vs teach a man to fish. But there’s a lot of ground, concept and capability to cover, and it gets to a point where providing the answer is teaching. The task for you now is not just duplicating it, but looking at it and figuring out how and why it works.

2 Likes

Excellent all working thank you, several things threw me off course here, one of them was when you set dimming level in activities the box below was small and looked as though it would only accept a number duh…then I typed in {master_level} and it accepted it

image

Anyway thanks again
Neville