BinarySwitch.Set - Prevent confirmation Get possible?

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
anom3
Posts: 57
Joined: 21 Sep 2016 08:53

BinarySwitch.Set - Prevent confirmation Get possible?

Post by anom3 »

Is it possible without sending raw data to the zwave adapter to perform a .Set(... command on a node and not have z-way-server perform a subsequent .Get() to confirm the command was accepted + executed?

Thanks.

User avatar
PoltoS
Posts: 5696
Joined: 26 Jan 2011 19:36

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by PoltoS »

Yes, send raw command.

zway.SendData(N, [0x25, 0x01, VV]) or zway.SendDataSecure(N, [0x25, 0x01, VV]) if security is needed

anom3
Posts: 57
Joined: 21 Sep 2016 08:53

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by anom3 »

AWESOME!!!!!!! Thanks so much!

anom3
Posts: 57
Joined: 21 Sep 2016 08:53

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by anom3 »

This works great for me, question though... How does one go about sending to instance 1 / 2?

Thanks!

User avatar
PoltoS
Posts: 5696
Joined: 26 Jan 2011 19:36

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by PoltoS »

You can always send a command and look in the log for the payload. This will work for any command.

For your case [0x60, 0x0D, 0x00, II, 0x25, 0x01, VV])

anom3
Posts: 57
Joined: 21 Sep 2016 08:53

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by anom3 »

I now understand the general syntax... I was getting a little mixed up with the leading / tailing bytes.

Must say, wow this is quite a bit faster. I understand the logic behind the Set -> Get behavior, but as my use case is slightly advanced this is the way to go. I have been watching my timing / routing for about a week now... Safe to say that the mesh is solid and the packets always make their way where they belong.

Thanks again!

ibjr
Posts: 25
Joined: 05 May 2016 21:52

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by ibjr »

@PoltoS : the zway.SendData(N, [0x25, 0x01, VV]) command for unsecure devices work, but i cannot get the zway.SendDataSecure(N, [0x25, 0x01, VV]) working for the secured devices.
I am running 3.0.6-16-g6f74a6e_armhf.deb with firmware 5.39. Has something changed in that beta release?

User avatar
PoltoS
Posts: 5696
Joined: 26 Jan 2011 19:36

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by PoltoS »

What is in the log? Sure deviec is secure? S0 or S2?

ibjr
Posts: 25
Joined: 05 May 2016 21:52

Re: BinarySwitch.Set - Prevent confirmation Get possible?

Post by ibjr »

It is a S0 device; I have send you the logs via private mail.

Post Reply