getdevices and getrooms

  • 86 Views
  • Last Post 20 February 2013
brokengeiger posted this 20 February 2013

I couldn't find a method that would provide a list of device id's, I found id's in the log file though. I figured then that I could use getdevicedetails to get which name they were.

get getrooms didn't seem to work .



The call to "devices" will retrieve your device list, including the deviceId for each device.

You can retrieve your rooms like this: http://localhost:1178/zwave/rooms?password=yourpasswordhere

Order By: Standard | Newest | Votes
Ryan-Scott posted this 20 February 2013

I couldn't find a method that would provide a list of device id's, I found id's in the log file though. I figured then that I could use getdevicedetails to get which name they were.

get getrooms didn't seem to work .



The call to "devices" will retrieve your device list, including the deviceId for each device.

You can retrieve your rooms like this: http://localhost:1178/zwave/rooms?password=yourpasswordhere

brokengeiger posted this 20 February 2013

Ok and apparently a single call to SetDevicePowered(pw, devid, true) isn't sufficient?

I'm assuming I must have to loop this until state actually changes?

Ryan-Scott posted this 20 February 2013

Ok and apparently a single call to SetDevicePowered(pw, devid, true) isn't sufficient?

I'm assuming I must have to loop this until state actually changes?


It should only be sending a single command.

Close