code: function send_command(command, cb) {
          var cmd = commands[command.toUpperCase()];
          if(parseInt(cmd)) {
              post('/roap/api/command', `<?xml version='1.0' encoding='utf-8'?><command><name>HandleKeyInput</name><value>${cmd}</value></command>`, (body) => {
                  try {
                      var doc = new dom().parseFromString(body);
                      if(cb) cb(xpath.select('//ROAPErrorDetail/text()', doc).toString() == 'OK')
                  } catch(error) {
                      log(`error send_command:  ${error.message}`)
                      if(cb) cb(false)
                  }
              });
          }
      }
docs: --- [ Send commands ] --- Send Single Command