With Realogy you can

I want to maximize power saving for street lights through a on-off and brightness intensity adjustment mechanism by switching it based on time and ambient light of the environment

Yes, you can
...
Tell us what you want to make and you'll know if it is possible with Realogy