Requesting data Registering as a listener Receiving data updates Exit application Keyboard keypress Keyboard text Media control Send notification Open path Open URL Power control

WebSocket - Power control

Avaliable events are:

  • POWER_HIBERNATE
  • POWER_LOCK
  • POWER_LOGOUT
  • POWER_RESTART
  • POWER_SHUTDOWN
  • POWER_SLEEP
{
  "id": "abc123",
  "token": "abc123",
  "event": "POWER_SLEEP",
  "data": {}
}