As alternative to a motion detector, do you want to switch on the lamps in a room with a dimmer switch, Smart Button or Friends of Hue switch for a few minutes and then switch them off again automatically? What doesn’t work with the official Hue app is no problem with third-party apps.
At the touch of a button: switch on lamps for a certain period of time ...and switch them off again after the time has elapsed
...and switch them off again after the time has elapsed