Hi, It would be useful to be able to call the command plugin (or any plugin, the media player would benefit from that as well) from an external source (e.g. Tasker) with intents, to execute commands on events from Tasker. Example application: run defined command "systemctl suspend" when the phone disconnects from wifi.
Seems out of scope from KDE Connect. Note that it's easy to listen to KDE Connect dbus interfaces and build on top of the information offered by the daemon. An easy way to trigger intents is by sharing URLs.
Sorry for reopening this old issue. I got here by searching for how to trigger a Run Command action from an intent on Android. From my reading, the feature request is related to the Android app, not to the desktop. The proposed solution (using dbus) applies to the desktop application, not to the Android app. I thought that reopening this issue would be better than creating a new issue. Adding support to the Android app to trigger plugin actions by means of intents would greatly increase the utility of KDE Connect, since actions on the desktop could then be triggered by other apps (for example, as mentioned in the original issue, Tasker).
Sorry again. After some Googling with different keywords I found this: https://nicolasfella.wordpress.com/2018/07/31/kde-connect-new-stuff-ii/. I'm leaving the link here for future Googlers.