I did an 'Automatic' setting for my night vision glasses in my 'next' version of the Levelers Chamber. This version has a lot of advancements and will include sorters for all the DLC generic items.
In my case, in the script that is on the glasses, it controls which 'intensity' of nightvision is applied. In the automatic setting, I only check if your inside or not.
If inside, apply power x1.5 enhanced vision.
If outside, and the hours are night time, apply power x1.5 enhanced vision.
Otherwise, if outside and day time, remove the enhanced vision.
I am still testing and I was thinking about applying my 'darker' option when the time is from 11am to 2pm, the middle of the day.
It works pretty good, here is a snippet of code that controls it all.
;Automatic; myState 1=day exterior 2=night exterior 3=interior if ProcessButton == 5 if timer >= 0 set timer to timer - GetSecondsPassed else set timer to 2 if player.IsInInterior if myState == 3 Return endif player.addspell LC1NightVisionP15FXSpell set myState to 3 else set curHour to GameHour if curHour > 4 && curHour < 21 if myState == 1 Return endif player.removespell LC1NightVisionP15FXSpell set myState to 1 else if myState == 2 || myState == 3 Return endif player.addspell LC1NightVisionP15FXSpell set myState to 2 endif endif endif endif