If an object or part of the body is detected while the sunroof is closing automatically, it will reverse direction, and then stop.
The auto reverse function does not work if a small obstacle is between the sliding glass and the sunroof sash. You should always check that all passengers and objects are away from the sunroof before closing it.
Kia Niro 2017 (DE HEV) Service Manual: Heated Oxygen Sensor (HO2S) Schematic diagrams
Circuit Diagram
Harness Connector
[Bank 1 / Sensor 1]
[Bank 1 / Sensor 2]
...
Kia Niro 2017 (DE HEV) Service Manual: Compressor Schematic diagrams
Schematic Diagrams
Connector Pin
Connector Pin Function
Connector
Pin No.
Function
A
1
12V Power Ground
2
Climate CAN Low
3
...