API Command for getting the Device ID
Posted: 21 Jan 2019 13:27
By using the http comman: "http://IP_ADDR/ZAutomation/api/v1/system/remote-id" you can get the device specific remote id, but how to translate that into code? I want to use it for a z-way module.
I already tried something like:
But it doesn't work...
I already tried something like:
Code: Select all
for (var name in global.ZWave) {
var zway = global.ZWave && global.ZWave[name].zway;
self.log("Remote ID: " + zway.controller.system.remote_id.data.value);
}