Maybe this configuration should do what you want:
Get an
Android Box, no matter if Android TV or Just Android, it will work as 24/7 home server.
Create an app that reads from a server your orders:
www.controlcommands.com/bulbs.php and install on Android Box as server.
On
Web Server put a php that retrieves a JSON or text with the bulbs status(on or off) it can be saved by your last command on MySQL.
Send commands to server worldwide from your phone (app or POST commands) like:
www.controlcommands.com/bulbs.php?bulbId=1&state=on, that commands will be saved to MySQL, and the app on
Android Box then reads the content on server of bulbs and send the command locally over WiFi to the devices.
The app on
Android Box can be programmed to read from server every lapse of seconds. or can create direct connection real time control.
Web Server: to save and send commands worldwide to the
Android Box
Android Box: manages the commands on LAN and send to bulbs.
Phone app: for controlling the bulbs and other devices.
I don't know what API has the bulbs or how it receive the commands but this should work.