How do you personally find the balance between blue light keeping you awake verse mental stimulation keeping you awake? I don't do any math or coding in the ~2 hours before bed, as a general rule.
I got the filtered glasses mostly because of the purported benefits regarding eye strain, so I hadn't put a lot of thought into trying to compare the effects on sleep.
Definitely wouldn't discount blue light having some effect, but I'm totally on the same page as you here regarding limiting stimulation and I'd have a hard time believing anyone that claimed lighting had anything even close to the effect that other habits did.
Had trouble sleeping for years. Made my bed and bedroom a place for sleep and only sleep. When I go to bed the phone goes on do not disturb, there's no computer/TV/etc in the room at all and no clock (I can't look at a clock without thinking of all the things I have to do!). I just get into bed and lay there until I'm asleep. Some days I'll try and read a little, but I find these days that I don't make it very far at all before I'm asleep.
Haven't even had to go as far as limiting activities before bed or anything all that much. At some point my body and brain got conditioned to sleep when in bed, so it's usually a pretty painless process now.