I automated my home theatre with it as seen here: https://www.youtube.com/watch?v=Cc8K6lg7Ag8
I built a website just for me so I can stream my movie collection anywhere I go, but it also has a button to start playing an automated show in my theatre.
I call it the Phantom. When you start a show, it plays a Dolby ad, a dancing hot dog-style vintage drive-in ad, and several random trailers in the same genre before the feature.
The Phantom PHP code controls the lights, projector, curtain, and sound system.
The lights come up for the credits and the whole room goes to sleep 30 minutes after the presentation.
I've only shared it once here before and someone, I'm guessing a PHP hater, gave it a thumbs down on YouTube.
PHP is extremely powerful in my experience and has been very lucrative in my career.
One of the best things I ever did was learn how to program with it.