Patrick, Thanks for the Reactor and SiteSensor Plug-ins. You brought new light into my Vera world.
I have a Dimmable Light and a Motion Sensor.
The Light can be at different load levels throughout the day based on timed Vera scenes and other.
I have a Motion sensor by this light and I would like to raise the light level to 100 then return it to its previous level once the Motion sensor un-triggers (5 minutes if no further motion).
That previous dimmer level could be 0-100.
Progress so far:
Using Expressions – ‘getstate( 5, “urn:upnp-org:serviceId:Dimming1”, “LoadLevelStatus” )’
This does return the current level but it updates to 100 with the trigger (makes sense).
Tried using ‘“LoadLevelLast”’ but it returns the same value as LoadLevelStatus for this device.
What do you recommend on how to save the device’s LoadLevel variable when the Motion Sensor triggers?
Thanks for any advice,