go-chromecast
go-chromecast copied to clipboard
Chromecast Web API using IP Adress of chrome cast instead of UUID
Hello,
it would be nice if we can use the WEB API sending the IP Adress of the Device instead of UUID. In a lot of our Networks only ipv4 without local DNS are present for this device Network. Devices have static IPs via DHCP Server.
e.g.:
./go-chromecast stop -a 192.168.0.10 POST /stop?device_ip=192.168.0.10
And as described in https://github.com/vishen/go-chromecast/issues/131 reboot of the device would be nice as well:
./go-chromecast reboot -a 192.168.0.10 POST /reboot?device_ip=192.168.0.10
is it possible to get this features as soon as possible?
Thanks
BR. Torsten
it would be nice if we can use the WEB API sending the IP Adress of the Device instead of UUID.
We should be able to add the ability to search via ip address and name etc here https://github.com/vishen/go-chromecast/blob/master/http/handlers.go#L179-L187 and https://github.com/vishen/go-chromecast/blob/master/http/handlers.go#L215-L217.
And as described in https://github.com/vishen/go-chromecast/issues/131 reboot of the device would be nice as well
This one is unfortunately much harder. There is some initial investigation #131 that could get someone started, but I don't think it is an easy feature to implement.
Ok. if it is possible using IP address vie http API instead if UUID will help a lot for my solution. Hope, reboot will be possible as well. Hope, I hear from you as soon as you have a solution for my requests.
Thanks a lot. BR