You can control OpenDeck from the CLI.
Reload plugin (OpenDeck v2.5.0 and newer)
/bin/opendeck --reload-plugin me.amankhanna.oampris.sdPlugin
Process message (OpenDeck v2.6.0 and newer)
/bin/opendeck --process-message '{ "event": "setTitle", "context": "sd-BL15K1B43377.Default.Keypad.5.0", "payload": { "title": "Hello!" } }'
The supported events are documented here. Images for setImage must be passed as data: URLs (or paths relative to and within the action's plugin's folder without the .png suffix).
Sleep device (OpenDeck v2.12.0 and newer)
/bin/opendeck --sleep-device sd-BL15K1B43377
Wake device (OpenDeck v2.12.0 and newer)
/bin/opendeck --wake-device sd-BL15K1B43377