New technologies in astronomy and intelligent lighting