akkudoktoreos.server.eosdash.eos_server

akkudoktoreos.server.eosdash.eos_server() tuple[str, int]

Retrieves the EOS server host and port configuration.

If args is provided, it uses the eos_host and eos_port from args. Otherwise, it falls back to the values from config_eos.server.

Returns:

A tuple containing:
  • eos_host (str): The EOS server hostname or IP.

  • eos_port (int): The EOS server port.

Return type:

tuple[str, int]