Get Device Name and Zone
Posted: 05 Aug 2013 15:05
Hi,
After going through the documentation, I have a problem which is related to a very obvious and common query I must guess, which is not clearly explain IMHO.
What is the proper way to get the name and zone/location of a device? I found that the details are stored inside the rules.xml file however these properties are not returned in JSON when calling ZWaveAPI/Run/devices or ZWaveAPI/Run/devices[3] for example. I can understand why they are not part of the device properties but there should be an easy method for retrieving the name and zone.
Does any one have an idea how this can be solved or if there is any better method other than reading the xml file?
Thanks
After going through the documentation, I have a problem which is related to a very obvious and common query I must guess, which is not clearly explain IMHO.
What is the proper way to get the name and zone/location of a device? I found that the details are stored inside the rules.xml file however these properties are not returned in JSON when calling ZWaveAPI/Run/devices or ZWaveAPI/Run/devices[3] for example. I can understand why they are not part of the device properties but there should be an easy method for retrieving the name and zone.
Does any one have an idea how this can be solved or if there is any better method other than reading the xml file?
Thanks