VacuumCleaner lights

Hello

I watched the better half doing some vauuming the other day :slight_smile:

I noticed that she turned on the lights to the max in the rooms she vauumed.

We have the vacuum unit in the basement and there is a cold wire running down to it, it would be rather easy to get a signal into Vera wether the unit is running or not.

I would love to read the current level of all my lights, then set the lights to maximum and then dim them back to what ever level they were before dimming up.

Is there any way I can use PLEG to keep track light levels, dimm up, vacuum, and then put them back to what they were?

Regards
Tommy

Let me think on that one a while …

The PLEG plugins have support for almost everything you need for this scenario …
But ultimately I need some place that does:
if XXX then YYYY else ZZZZ to handle the setting of the lights to two different values.
It’s been on my list to add support for this.

@RichardTSchaefer, that would be a really useful addition to PLEG.

Otherwise, you could write the starting levels out to a VariableContainer (VC) plugin and then read them back in when you want to reset. PLEG works well with VC using the {(condition-name)} option for the save action and a Device Property for the read input.

getting a IF statement into PLEG would a god send…