Documentation Issue?

(Patrick Stuart [@pstuart]) #1

Docs here:

def address = device.hub.getDataValue("localIP") + ":" + device.hub.getDataValue("localSrvPortTCP")

This results in an error for me?

Example code doesn’t compile in IDE?

Did functionality change? Is there a better way to get the hub local ip to subscribe?

(Patrick Stuart [@pstuart]) #2

I think I found a way to get the local ip of the hub…


So just old documentation?