matapan Posted October 13, 2022 Posted October 13, 2022 I have the occasion to update device properties on two Aeotec Trisensors I acquired recently. There appears to be a means to set a device's properties by specifying a parameter to be updated along with its value in the Admin UI. There doesn't appear to be a means to view the device property values directly. I think I found another post in this forum which describes in general detail how to pull the parameter values in a script and assign it to a variable to email or text it out. Seems like a kludge if all you want to do is to see the current device property value is set to. Is there an easy way to see the parameter values set for a device? If the script route is prescribed, can someone describe in detailed terms how this is done? Thanks.
Mecheng70 Posted October 13, 2022 Posted October 13, 2022 Maybe this would help?? https://forum.universal-devices.com/topic/20049-setting-z-wave-configuration-parameters-using-your-browser-rest/
Mecheng70 Posted October 13, 2022 Posted October 13, 2022 Or this https://wiki.universal-devices.com/index.php?title=ISY_Developers:API:REST_Interface#Z-Wave
matapan Posted October 13, 2022 Author Posted October 13, 2022 I get a 404 error when using the first method.
Mecheng70 Posted October 13, 2022 Posted October 13, 2022 (edited) Can you post the URL without password and username? Or at least mask it so there we can see the format of the URL. Edited October 13, 2022 by Mecheng70
matapan Posted October 13, 2022 Author Posted October 13, 2022 http://10.0.xx.xx/rest/zwave/node/ZW023_1/query/
Mecheng70 Posted October 13, 2022 Posted October 13, 2022 http://10.0.x.x/rest/zwave/node/ZW023_1/config/query/2 Missing config and the parameter at the end.
matapan Posted October 13, 2022 Author Posted October 13, 2022 thanks, but I still get a 404 error after modifying the url
mapeter Posted October 20, 2022 Posted October 20, 2022 Hi @matapan - I did a little testing on this. It appears that a 404 error indicates that the parameter value is not valid for the device. You were attempting to query parameter #2. Try to query it in the admin console. I suspect you will get an error. As an example: Parameter 151 is valid for the device I tested: http://x.x.x.x/rest/zwave/node/ZW018_1/config/query/151 returns: <config paramNum="151" size="2" value="50"/> However, parameter 1 is not valid for teh device I tested: http://x.x.x.x/rest/zwave/node/ZW018_1/config/query/1 returns: <RestResponse succeeded="false"> <status>404</status> </RestResponse>
Recommended Posts