The proposal is for a combined nightlight/
The existing light switch is removed and the base
This is a light switch with a low voltage socket into
which the portable unit is normally plugged.
Optionally, it can interface with home automation
portable unit contains LED lamps, a battery
and charge controller, a light sensor, and a
The unit's primary function is to switch the room
light on and off.
The detachable unit can be instructed to operate as
a nightlight, coming on at a low level once darkness
falls or at specific times. It can also switch the main
room light on a timer.
If mains power is cut, the LED on the portble unit
blinks to conserve power and indictate its location.
When unplugged from its socket, it switches to full
brightness and becomes a rechargeable flashlight.
To simplify the physical controls, the unit would be
programmed via Bluetooth from an app running on
a smartphone or tablet.