Is it possible get all virtual devices data or its value?

Discussions about existing Z-Wave device and their usage with Z-Way/Z-Cloud/Z-Box
Post Reply
alex_tpc
Posts: 11
Joined: 21 Apr 2022 12:40

Is it possible get all virtual devices data or its value?

Post by alex_tpc »

https://find.z-wave.me/ZAutomation/api/ ... tilevel_15

When i run this one, it will return this virtual device data, but I want to get all virtual devices data, how to do it?
I use the follow one but it not work.
https://find.z-wave.me/ZAutomation/api/v1/devices
seattleneil
Posts: 172
Joined: 02 Mar 2020 22:41

Re: Is it possible get all virtual devices data or its value?

Post by seattleneil »

For a Z-Way at IP address [IP], to get the list of devices, use: '[IP]:8083/ZAutomation/api/v1/namespaces/devices_all'

To get all of the data for a specific device, use: '[IP]:8083/ZAutomation/api/v1/devices/{deviceId}', where {deviceId} is a deviceId value from the first command.

I don't know if the ZAutomation API supports returning just the metrics:value. If you just want the value for {deviceId}, you can use: '[IP]:8083/JS/Run/controller.devices.get("{deviceId}").get("metrics:level")'
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Is it possible get all virtual devices data or its value?

Post by PoltoS »

This link is returning all devices: https://find.z-wave.me/ZAutomation/api/v1/devices
Post Reply