Page 1 of 1

CLI for RaZberry

Posted: 14 Jul 2020 10:26
by dzdzdz
Hello,
I just want to control RaZberry via command line interfaces (CLI)instead of web browser user interface. Is there any CLIs that I can use?
If you have, could you please give me detailed document to how to use CLI?

Thank you in advance.

Re: CLI for RaZberry

Posted: 15 Jul 2020 03:00
by PoltoS
Use wget as CLI ;)

Re: CLI for RaZberry

Posted: 15 Jul 2020 05:19
by dzdzdz
Hi PoltoS,

Thank you for your reply.

So we can use wget as CLI. Can we use cURL as well?
Anyway, then we have to know the URL for specific operation, such as "Start inclusion" or "learn mode" in your ExpertUI in Z-Way. But I couldn't find out the URL for those operations. All I found was how to send commands (described in 11.2.1 in Z-Way Essentials) using URL API.
Could you let me know how do we know all the URL APIs we can use on behalf of your expertUI?

Thank you.

Re: CLI for RaZberry

Posted: 17 Jul 2020 02:19
by PoltoS
We have SnartHome (aka Automation URL API) and expert URL API. Both are described in the manual.

I suggest to look in browser network log while pressing buttons in expert UI. This will enlighten the topic

And if course curl is ok. See https://z-wave.me/frequently-asked-questions/ for examples

Re: CLI for RaZberry

Posted: 20 Jul 2020 10:34
by dzdzdz
Hi PoltoS,
thank you for your reply. I'll try it and let you know if I have problems.