While reading through the API I could not find a way to execute device actions through the socket API, only with REST.
I don’t know if I am just missing it, or if it’s not possible, but I’d really like to send these actions through the socket API.
I know I could do it with ‘executeAction’, but that is a lot harder to implement, and it’s more like a workaround.