Page 1 of 1

Json API for openzwave...

Posted: Friday 20 January 2017 15:23
by lost
Hello,

I've found in several forum posts a json API to get zwave nodes info:
json.htm?type=openzwavenodes&idx=XX

This one does not seems to be documented indeed.

Trying to get a response from navigator leads to this response on latest stable:
{
"status" : "ERR"
}

So the question is: Does this API still exist? If not, is there a way to get z-wave not info (especially the "last seen" info, but the one from z-wave node panel, not from an attached switch/device only giving last action date/time).

I tried using the ID from the hardware zwave node panel, the IDx from the devices panel... Same result!

BR.

Re: Json API for openzwave...

Posted: Friday 20 January 2017 17:02
by Egregius
idx should be the id of your zwave controller on the hardware page.

Re: Json API for openzwave...

Posted: Friday 20 January 2017 17:20
by lost
Egregius wrote:idx should be the id of your zwave controller on the hardware page.
Thanks a lot, that was the the info I missed, it's now working!
BR.