Dale, I could only admire from far to your awesome custom build lights, it's the same to CRX's equally attractive custom build too. I have a lot of respect to skillful custom builder and modder like yourself and CRX!
Coming back to some "strange" behavior reported by a youtuber and Hehaw77 about the X9R sudden ramping down and up, I did some brief testing of the sensor, it seems that there are 2-part sensing in play here, one is proximity (the black dot at top-left in the following picture), while the other is some kind of photoelectric (the bottom middle diffused dot)...

and they "seems" to work in unison with the proximity sensor taking priority being the triggering mechanism of the ramping process. Note however, I'm honestly not sure if there are 2 separate sensor or if one is transmitter and the other is receiver, it just seems like 2 sensors to me.
- due to the proximity and reflective area involved, the size of the obstructive object matters, the smaller the size of the obstructive object, the shorter the distance to see the ramping effects
- if I cover both sensors, the light will immediately start ramping down,
- if I slowly remove the obstruction (just a piece of white cardboard), at ~66cm, the light will return completely to "stable" high brightness (6,400 lumens and above), but if I'm testing againt a white wall (big obstructive object), the light will return completely to "stable" high brightness ~85cm
- in between ~40cm to 65cm (for small cardboard) or ~60cm to 80cm (against the wall), the light will continue it's ramping up and ramping down, it's kinda fun (for a while at least) watching the light doing this as X9R can't seems to decide if it should ramp down or ramp up... LOL!
- if I first cover both sensor, then uncover only the photoelectric sensor (I'm assuming that's the photoelectric sensor, but I can't be sure), the light will start ramping up and down too.
- if I first cover both sensor, then uncover only the proximity sensor, the light will stay ramped down (level 3).
at this moment, I can't come to any conclusion about how the proximity work, but it works in its own way. Above is what I have tested so far.