Subscribe to an Event Channel
{
"command" : "ADD", /* Or "REMOVE" */
"domainId" : "DOMAIN_NAME", /* Domain Name */
"topic": "ODM_Channel" /* Channel Name */
}SUBSCRIBE to specific event channels using the channel name, called a topic in websocket parlance, and the Domain ID (name) by writing the above JSON structure to the socket.
UNSUBSCRIBE from a specific event channel by changing the command to REMOVE and specifying the topic.