diff --git a/PROTOCOL.md b/PROTOCOL.md index 81dddcc..7457858 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -115,3 +115,20 @@ You can send an IQ query with an `` tag to ask for `?config`: The response contains a CDATA body that has a JSON string containing the list of devices and their available commands. + + +### Retrieving the current activity + +You can send an IQ query with an `` tag to ask for `?getCurrentActivity`: + + + + + + +The response contains a CDATA body that has a string containing `RESULT=X` +where X is the activity ID identified in the response from config above. + + +### Additional commands + * `?setDisplayDeviceOn` - Unknown action.