Any way to dynamically change the Location of a Device?


(JJG) #1

Title says it all.
I can get the location.id from within a handler, but it looks like read-only.

Any idea ?


#2

That’s tied to the hub the device is associated with if I remember correctly, and can’t be changed unless you move (rejoin) the device to another hub.

http://docs.smartthings.com/en/latest/ref-docs/location-ref.html?highlight=location%20id


(JJG) #3

Actually, what I am trying to do is to assign several Hubs to the SAME Location.
It used to be possible directly from the IDE, then SmartThings changed the interface to allow only 1 Hub per Location…
…which unfortunately is not compatible with a too spread Location, due to the paltry 10m or so of Z-Wave range.