pixoo icon indicating copy to clipboard operation
pixoo copied to clipboard

add mac and id support for establish a connection

Open Pfleiderer-Adrian opened this issue 2 years ago • 1 comments

Hi,

Now you can use a mac or id for creating a connection in the constructor. To search for these informations you can also call the find_device() help function.

  • add __get_ip_from_mac(self, mac) -function
  • add __get_ip_from_id(self, device_id) -function
  • add __get_url_from_connection_string(self, connection_string) -function
  • add multi address support for the init function
  • -> address value now overloaded
  • add find_device() -function

Pfleiderer-Adrian avatar Jan 11 '23 21:01 Pfleiderer-Adrian

@SomethingWithComputers any review updates on this request?

Pfleiderer-Adrian avatar Jan 26 '23 16:01 Pfleiderer-Adrian

There's a lot of rework that has happened internally and perhaps now this isn't as needed anymore- for example it finds the device on the local LAN if no IP address is provided.

SomethingWithComputers avatar Aug 18 '24 16:08 SomethingWithComputers