pixoo
pixoo copied to clipboard
Auto identify Pixoo devices in network
Hello!! I have a created a small method that runs the API to identify devices in the local network.
Additionally, I have made address an optional argument when creating a Pixoo device, so that in case there is 1 device in the local network, we can use it without asking the user to directly enter the device IP.
I have also added this feature as part of the documentation in the README.md file.
This is how it looks like when we don't pass an address in the constructor.
>>> from pixoo import Pixoo
>>> pixo = Pixoo()
Pixo Device auto identified!!! DeviceName: Pixoo64 (IP: 192.168.1.99)
>>>
Hello @SomethingWithComputers , what do you think about this change?
It has been implemented with the latest release :)! But thanks for the PR!