REST API

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Ahrimaan
Posts: 2
Joined: 04 Mar 2015 16:21

REST API

Post by Ahrimaan »

Hi there , simple Question :

Razberry Offers me an REST API ?
So i can Code my own server with nodejs ?

Thanks for advice
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: REST API

Post by dolpheen »

Yes, you can.
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
Ahrimaan
Posts: 2
Joined: 04 Mar 2015 16:21

Re: REST API

Post by Ahrimaan »

Hi there sorry for my stupid Questions :

The API has got the full feature set from this device ?
Are there some good examples for javascript / nodejs ?
I can detect new devices with this API ?

Thank you for answering
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: REST API

Post by dolpheen »

Ahrimaan wrote:The API has got the full feature set from this device ?
For the REST api you can check http://docs.zwayhomeautomation.apiary.io/
There are also ZWaveAPI and 'JS/Run' with which you can do anything you imagine :)
It's described in developer documentation http://razberry.z-wave.me/docs/zway.pdf
Are there some good examples for javascript / nodejs ?
I know the only one example - Z-way itself :)(Expert UI and HA UI as clients, and local logic on their Javascript engine with Automation modules and classes).
I'm not aware of examples with nodejs and don't know what capabilities are you going to put in your server on nodejs.
I can detect new devices with this API ?
Yes, check developer documentation.
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
Post Reply