Welcome! Tinkerers generally do very well with SmartThings.
What method are you using for the restriction: Hello Home Action, Shortcut Groups, Smart Setup smartapp, or custom smartapp? Different options are available with each.
It also depends whether you want the light to also come on during the day if itās a certain level of darkness. There are community members who solve this with hardware by adding a luminescence sensor, which is the easiest way to tie it to the specific amount of light in the room.
But if youāre only looking for something that runs at night, then many people will just tie it to the mode, or a time range. For example, at my house, the mode "night " is different than the mode āasleep.ā When the house is in night mode, motion turns on the overhead lights. But when the house is in asleep mode, motion just turns on a softer nightlight. That way somebody going to the kitchen for midnight snack doesnāt wake up the whole house.
So it also depends on the details of what you want.v