Hello,
I need help to continue my discovery of Zway.
I installed Zway on a Raspberry + Razberry and included a Everspring outlet.
Using: 192.168.1.40: 8083 / ZWaveAPI / Run / devices [3] .instances [0] .commandClasses [0x20] .SET (255) on my browser, change this fact.
How to integrate this command in a script in PHP? script that will be on raspberry.
Command API dans script PHP
Re: Command API dans script PHP
I found for control ..... commandclasses[0x20].Set (x).
By cons, when I send .....commandClasses[0x25] .Get(), I always get "null" whichever the status of my outlet.
What should we send to get the status of my outlet? I tried with "0x20" but I have the same answer.
By cons, when I send .....commandClasses[0x25] .Get(), I always get "null" whichever the status of my outlet.
What should we send to get the status of my outlet? I tried with "0x20" but I have the same answer.
Re: Command API dans script PHP
Read the Developers Documentation first, so you understand what you are doing.
(In your example you could use:
http://raspberry_IP:8083/ZWaveAPI/Run/devices[3].SwitchBinary.data.level.value)
(In your example you could use:
http://raspberry_IP:8083/ZWaveAPI/Run/devices[3].SwitchBinary.data.level.value)
Re: Command API dans script PHP
thank you
I started in the use of an API, and I deciphered poor English.
If I do not find my answers in the "Developers Documentation" to manage a thermostat, a motion detector, a Minimote and keyboard PIR I would come back to forum
thank you in advance
I started in the use of an API, and I deciphered poor English.
If I do not find my answers in the "Developers Documentation" to manage a thermostat, a motion detector, a Minimote and keyboard PIR I would come back to forum
thank you in advance
Re: Command API dans script PHP
It is a bit harsh indeed. In addition it is not yet complete eithervaldoison wrote:I started in the use of an API, and I deciphered poor English.
You should definitely do so if you get stuck further down the road.I would come back to forum
I did not intend to scare you off

Re: Command API dans script PHP
Thank you, for my power socket is perfect.
I attack now a motion detector SP814 Everspring.
I do not understand how to write orders, even after reading "Developers Documentation". I understand the importance of using "class sensorBinary 0x30" But with what instance and what parameters?
I have 2 problems:
Know the status of my detector (true / false).
Have the posibility to change some parameters that are inactive for changes directly in GUI Zway.
Is there a website somewhere where I could find examples of commands for Zway API?
I would like to know the process because after I have instaler an ST814 probe, a remote control and a PIR Minimote keyboard.
I attack now a motion detector SP814 Everspring.
I do not understand how to write orders, even after reading "Developers Documentation". I understand the importance of using "class sensorBinary 0x30" But with what instance and what parameters?
I have 2 problems:
Know the status of my detector (true / false).
Have the posibility to change some parameters that are inactive for changes directly in GUI Zway.
Is there a website somewhere where I could find examples of commands for Zway API?
I would like to know the process because after I have instaler an ST814 probe, a remote control and a PIR Minimote keyboard.
Re: Command API dans script PHP
I found to display the JSON file to a device and to select my way to consult a value.
By cons, I have a problem running my motion detectors. This will be another post.
By cons, I have a problem running my motion detectors. This will be another post.