lwsrbrts / PoSHue

Windows PowerShell 5/PowerShell Core 6 Classes for controlling Philips Hue Bridge and Hue Lights, Groups, Sensors.
GNU Lesser General Public License v3.0
51 stars 7 forks source link

Support for Hostname and IPv6 addresses #23

Closed mamoep closed 2 years ago

mamoep commented 3 years ago

First I would like to thank you for this cool project.

It would be really cool if you could support using the DNS Hostname or IPv6 address of the bridge.

Error using hostname:

Exception setting "BridgeIP": "Cannot convert value
"philips-hue.domain.local" to type "System.Net.IPAddress". Error: "An invalid IP address was specified."

Error using IPv6 address (rough translation)

The Parameter "Uri" can not be bound. The value "http://0000:1111:2222:3333:4444/api/key/groups" can not be converted to type "System.Uri".
lwsrbrts commented 2 years ago

Won't fix, sorry.