I know it doesn't solve your issues completely, but someone made this app
it's an all black, no icon, no text app
you can either scroll to it when you go to sleep, or you can set the lametric to schedule mode and set this app as active during a predetermined time.
it's not ideal, but it solves the "to bright" problem :)
hope this helped.
I also have it in my room next to my bed, and I use the screen saver activated by light! When I'm going to sleep it turns the brightness to the lowest possible.