Have you seen the Python Kasa project (https://github.com/python-kasa/python-kasa)? It looks like you're reimplementing a bunch of that functionality in C++. Perhaps you could leverage that work somehow. I'm not sure if FPP has a python interface for plugins. That package also provides a command line tool in addition to the python interface. Maybe you could run the shell scripts from your plugin. Just trying to help you avoid unnecessary work if possible.
I've been controlling my Kasa devices since last year with shells script that call the kasa script and adding those to my scheduler / sequences.
Have you seen the Python Kasa project (https://github.com/python-kasa/python-kasa)? It looks like you're reimplementing a bunch of that functionality in C++. Perhaps you could leverage that work somehow. I'm not sure if FPP has a python interface for plugins. That package also provides a command line tool in addition to the python interface. Maybe you could run the shell scripts from your plugin. Just trying to help you avoid unnecessary work if possible.
I've been controlling my Kasa devices since last year with shells script that call the kasa script and adding those to my scheduler / sequences.