Save and re-apply current state of a lamp?

I want save the current state of a lamp (Philips Hue) and re-apply it after some actions, is that possible?

Basically I want to brighten up a few lamps a few minutes and the switch them back to what ever state/config they had before. This triggers on a magnetic sensor and not time so there is no simple way of know the lamps previous state.

Not in a simple way. Unfortunately. I’d look into the appdaemon for this kind of functionality.

I asked a similar question recently. I was also guided toward Appdaemon (though it might be over my head). Another suggestion was to use the Rest API to add additional attributes to an existing item. You can kinda test this with the states tab of the dev tools. Though, I haven’t figured out a clean way to update the attribute this way.

Vote here for it! :slight_smile:

Save and restore Functionality (state of lights)

Thanks, vote posted :slight_smile:

1 Like