here’s a <$10 each solution of sorts with no hardware tinkering involved (look for magiclight/flux wifi bulbs on amazon
https://www.amazon.com/gp/product/B07VLBCGP2/ref=ox_sc_act_title_1?smid=AEK05O6KNHXR9&psc=1
)
bare-bones recipe:-
pip3 install flux_led ; (or pip for python2)
pip3 install webcolors
flux_led -h # help
flux_led -e # examples
get the ip(s)
flux_led -s # scan
set color
flux_led 192.168.1.nnn -c Red
turn on
flux_led 192.268.1.nnn --on
just custom dialplan, poll, agi or rest the extention(s) state and react.