LED A and B change color if Wifi connections

Hello
is it possible and how, to have a light Blue Color on LED A & B
if somebody connect to 2.4GHZ LED B will become Orange
if somebody connect to 5 GHz LED A will become Orange

have a nice day
vinc

any help or idea about this?

Hi,

you mean it would change on first client connected or every time when someone new connects regardless of how many other clients are connected on radio?

Idea would be checking via iwinfo wlan0 assoclist or corresponding wlan interface if clients are connected and then setting led via /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c//i2c-0/i2c-1/1-002b/leds/omnia-led:user1/ resp omnia-led:user2

@quietsche
is there a tutorial showing how it should be coded and where? ;-(