redvypr.data_packets.get_devicename_from_data

redvypr.data_packets.get_devicename_from_data(data, uuid=False)

Returns a redvypr devicename string including the hostname, ip with the optional uuid.

Parameters:
  • data (dict) – A redvypr data dictionary

  • uuid (Optional[bool]) – Default False. Returns the devicename with the uuid (True) or the hostname + IP-Address (False)

Returns:

The full devicename

Return type:

str