The way to reset the sunroof is to turn off the light for 6 seconds, turn on the light for 1 second, turn off the light for 6 seconds, turn on the light for 1 second, repeat 5 times and see yellow and blue alternately flashing quickly, indicating that the sunroof has been reset successfully. (Note that turning off/on lights refers to a physical power outage, not an app or a command on the dimmer to turn on or turn off the lights)