CLI for RaZberry

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
dzdzdz
Posts: 5
Joined: 14 Jul 2020 10:22

CLI for RaZberry

Post 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.
User avatar
PoltoS
Posts: 6185
Joined: 26 Jan 2011 19:36

Re: CLI for RaZberry

Post by PoltoS »

Use wget as CLI ;)
dzdzdz
Posts: 5
Joined: 14 Jul 2020 10:22

Re: CLI for RaZberry

Post 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.
User avatar
PoltoS
Posts: 6185
Joined: 26 Jan 2011 19:36

Re: CLI for RaZberry

Post 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
dzdzdz
Posts: 5
Joined: 14 Jul 2020 10:22

Re: CLI for RaZberry

Post by dzdzdz »

Hi PoltoS,
thank you for your reply. I'll try it and let you know if I have problems.
Post Reply