API Command for getting the Device ID

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
Posts: 3
Joined: 14 Sep 2018 15:47

API Command for getting the Device ID

Post by raspi-mech »

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:

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);
But it doesn't work...

Post Reply