How to control Roku, via wifi, from external program?

I want/need to control a Roku programatically from a voice control application running on Linux. I don’t want to require an additional remote such as Harmony, Wemo or AnyMote. Does the SDK support this?

Have the Linux box send ECP commands.

https://sdkdocs.roku.com/display/sdkdoc/External+Control+API