Page 1 of 1

Device API no longer available

Posted: 27 Jun 2015 18:25
by Quax1507
Hi,

I cannot access devices via API like:
https://ip-of-zway:8083/ZAutomation/api ... yDevice_95

I get error:
{"data":null,"code":404,"message":"404 Not Found","error":"Device DummyDevice_95 doesn't exist"}

Happens in the latest rc's

Re: Device API no longer available

Posted: 27 Jun 2015 18:42
by RottenMutt
I think it was removed. now it is just "expert" and "smarthome".

Re: Device API no longer available

Posted: 27 Jun 2015 19:13
by pz1
Does it also fail if you use http instead of https?

Re: Device API no longer available

Posted: 27 Jun 2015 19:18
by Quax1507
It works with http :-)

Re: Device API no longer available

Posted: 27 Jun 2015 19:54
by Quax1507
Next issue!

With older RC's I used Nginx as reverse proxy and apps for geolocation (on iPhone).
App can do HTTP GET and POST with HTTP basic authentication.

But now app would have to log in to UI for changing values.

Can I configure Z-Way sever to use HTTP basic authentication instead?

Re: Device API no longer available

Posted: 02 Jul 2015 20:04
by admin
No ;(

Basic Auth is very unflexible