If they re turned on in both the sensors then there is no issue with the power supply.
How to fix garage door sensor lights.
Proper height for a garage door sensor is 4 to 6 inches 10 2 to 15 2 cm.
Once the wing nuts are loosened disconnect the sensors and take them off.
Inspect each sensor to make sure the green or red power indicator lights are.
When your garage door opener is not responding to any command from the remote or the door control you need to check if the opener has electricity.
Check the mechanism s source and sensor leds.
If you have a laser level you can use it instead of a string to align your garage door.
If one or both of the lights are off check the fuses breakers and plugs for problems.
Raise the garage door using the control button on the garage wall or the remote control unit from a vehicle.
In this case you will set up the level aligned with one sensor then adjust the opposite sensor until the beam of your laser level is hitting the sensor.
Look for small led lights on the sensors.
A simple way to do this is to unplug the garage door opener and then plug in another device say your phone or a light bulb to see if it lights up.
Sensor power reconnect the sensor to its power supply a common cause of a malfunctioning garage door sensor is lack of power supply.
To change your sensors.
Move the sensors into the garage and out of the sun switch sides the sides of the sensors putting cardboard like a toilet paper tube around the sensor will block much of the sunlight.
If both the red source and green sensor lights are on and not blinking then the door mechanism is working properly.
Start by unplugging your garage door opener.