I've been trying this command across the rest interface for the razberry on version 2.0.0 of the api and firmware
[my ip]:8083/ZWaveAPI/Devices[*].*
I used to get a big JSON output , but now I get "Bad ZWaveAPI request"
its still there in the manual!
[my ip]:8083/ZWaveAPI/Data/* still works
Is there an updated manual on using the JSON Rest API?
Why doesn't this work
Re: Why doesn't this work
It always was /ZWaveAPI/Run/devices[...]tonyg wrote: [my ip]:8083/ZWaveAPI/Devices[*].*
Is there an updated manual on using the JSON Rest API?
Re: Why doesn't this work
Strange. I have seen this construct in the manual and thought the "*" are some sort of wild card .
But ...
http://myIp:8083/ZWaveAPI/Run/devices[*].*
gives
SyntaxError: Unexpected token *
whereas
http://myIp:8083/ZWaveAPI/Run/devices[10]
gives zway data tree for node 10
if the Syntax Error above is correct I see this part of the manual as an excellent example of "how to confuse your user"
But ...
http://myIp:8083/ZWaveAPI/Run/devices[*].*
gives
SyntaxError: Unexpected token *
whereas
http://myIp:8083/ZWaveAPI/Run/devices[10]
gives zway data tree for node 10
if the Syntax Error above is correct I see this part of the manual as an excellent example of "how to confuse your user"
Z-Way 2.0.0-final on Raspberry Pi