hi guys,
I solved my mistake with the zibase command !
In fact, it really is the zibase zapi which is bad ...
So i use other command with https connection , it seems to be harder for programming but not.
for send domotic command:
W,X,Y and Z are variable !
W is the type of command ! here, we will use the "RF FRAME SENDING" so W=0
X is coding with 32 bits binary system
bits 0 --> 7 : action define
bits 8 --> 15 : used protocol
bits 16 --> 23 : dim or bright selection
bits 24 --> 31 : nb burst (i don't understand what this mean)
Y is coding with 8 bits binary system and corresponding to the device number
Z is also coding with 8 bits binary system and corresponding to house code
example:
i will to activate my z-wave switch which has the A3 address.
action is coding like that 0000 0001 (1 in decimal system corresponding to "ON")
z-wave is coding like that 0000 0110 (6 in decimal system)
dim/bright : all at 0
nb burst : all at 0
So we have a 32 bits variable: 0000 0000 0000 0000 0000 0110 0000 0001
in decimal 1024+512+1 = 1537
X=1537
for desactivate action is coding like that 0000 0000 (0 in decimal system corresponding to "OFF")
So we have a 32 bits variable : 0000 0000 0000 0000 0000 0110 0000 0000
in decimal 1024+512+0 = 1536
X=1536
parameter Y (param3)
the number of my paramter is 3 but the first number is coding by 0000 0000.
So the number three is coding by the 2 value in decimal system.
parameter Z (param4)
the house code of my z-wave peripheral is A and it is coding by 0000 0000. it's the same method
Finally we have a command
i hope it is clear....