Is there a way to address a device by id number instead of it's device name ?
The reason I ask is that when I move stuff arount in my network, they are likely to be renamed... and this would break any restfull url that is pointing at that device.
If I could get the restfull url's to work by id number, that would never break.
i.e. this works :
http://10.0.1.10:8176/devices/Power%20S ... method=put
but this does not :
http://10.0.1.10:8176/devices/717928476 ... method=put
Question 2:
Is it possible to tell Indigo server to trust certain IP numbers from my local network ?
Since it seems not possible to put digest authentication inside a http url, it would be nice if I could tell Indigo which local computers to trust so no authentication is needed for these IP numbers.
I can trigger actions with the curl command inside a shell script like this:
curl -u user:password --digest -X PUT -d isOn=1 http://10.0.1.10:8176/devices/Power%20Switch%20Bedroom
... but it would be so much more convenient if I could just use the URL's like mentioned above.