I would like to contribute on this and started with the Hue discovey by changing the script i found from https://forum.logicmachine.net/showthrea...4#pid24214
Below the modified version that gives all the Hue Bridge information with most important the IP address.
Below the modified version that gives all the Hue Bridge information with most important the IP address.
Code:
hue = io.readproc('avahi-browse _hue._tcp')
lines = hue:split('\n')
for _, line in ipairs(lines) do
ip, port, name, descr = unpack(line:split('\t'))
if descr then
log(ip, port, name, descr)
end
end