Q:

Use a solar light inside

I have a solar light with motion detection that works fine outside.  I'd like to know if I can use it inside as well.  I want to place it on the windowsill of my clerestory window so that it charges during the day from sunlight.  And at night I want it to turn on when it detects motion.

But what's not working is that the photoresistor, or whatever, is not detecting that the room lights are on at night presumably due to its location high on the ceiling.  And so motion at night when the lights are on triggers the light on.
Is there a way to either improve the light sensitivity?  Or, can I put a timer on the light somehow, so that the motion detection is switched off until 11 pm when the kitchen lights are usually ( but not always ) off.
I'm not wanting this light to replace the room lights.  I just want it to light up when people enter the room so that they don't need to switch the lights on just to do something briefly.
Edit: I think I know what the problem might be.  The light detection appears to be on the solar panel side which is facing outside to the sun, and not to the room lights.  So, at night time it doesn't sense the room lights are on.
Supplementary Question: Can I solve the problem by putting in a 5V photo switch like this one between one of the two wires to the LEDs?

The red and black wires look like power to the LEDs which is at the top of the picture, and the brown and blue wires are I presume from the photosensor.

A:

Actually what you seem to desire is a motion activated light switch. I have one of these for a water closet - seems I would forget from time to time to turn the light off in that room; when I had traveled for a week or two - I would get that aargh! thought. So I bought and installed a motion activated light switch - I had the option to run it in normal mode or motion mode - works like a charm.
Take a look here:

http://www.lutron.com/en-US/Pages/Sensors/Sensors.aspx

EDIT 7-8-2018
Just to clarify: You desire the room lights to operate automatically when people enter the room EXCEPT when there is sunlight or enough light in the room already?
If this is the case Look no further a simple solution exists already See my link below ~

Leviton Motion Activated Wall Switch with Ambient Day/Night Light Hold Off Sensor
Leviton LED  Motion Activated Wall Switch with Ambient Day/Night sensor

If perhaps you need a 3-way I am sure if you contact leviton product support they can provide you with options for your needs.

By your Edit of my post - I can see the above assumption is not what
you want - you are only concerned about these solar lights turning on
and off and the other normal mains room lights - don't matter one bit,
you don't care if they are manual automatic or otherwise - you just
want to add these additional solar lights - like big night lights if
you will. That being the case you have only one route - and that is
below - to use an interrupter for Day/Night but set for the lighting
in your room , the big issue is you need it to keep the lights on when
you have just the solar LED's but not allow the lights to be on when
room lighting is sufficient.  A small window between somewhat lighted
and lighted - you will need to play with the setting on such a device
for optimum - do not be surprised if it takes time to adjust it there
and different conditions make it harder (also in time dust collects on
sensors).

If you really desire to have those Solar Lights - you can use something this GEM in a 5V version: GEREE DC 12V Light Control Switch The Photoresistor Plus Relay Module Photosensitive Sensor.

https://www.amazon.com/GEREE-Control-Switch-Photoresistor-Photosensitive/dp/B01FXFMQRQ/

Be sure to use the Control lines to interrupt the Lighting Circuit of those LED's and not the Photocells circuit, after all you just want the lights to be off when the room lights are on. You do not want any additional complexity in the detection circuits. This unit is pretty versatile - it is adjustable and can be mounted internal to your lights, except the sensor of course has to show up somewhere facing the room lights.

