Concurrent *.Get() commands

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

Concurrent *.Get() commands

Post by skiv71 »

Hi,

Is there a required time delay between issuing concurrent *.Get() commands to the z-way server?

My system does this automatically based on node wake, class and age of data received.

I tried with no delay and I'm not sure if its missing these requests (gonna check the queue).

Just thought I'd ask on here too :)

Thanks

Neil
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

Re: Concurrent *.Get() commands

Post by skiv71 »

Just an update, I tried no delay and it the commands failed to appear in the queue, but with a delay of 0.1s they did :)
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

Re: Concurrent *.Get() commands

Post by skiv71 »

Think it might of been me being slow, seem's ok with 0 delay :)
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

Re: Concurrent *.Get() commands

Post by skiv71 »

Actually, without a small pause 0.1s, if the number of Get()'s exceed 3, they do miss, so I'll keep the delay in :)
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Concurrent *.Get() commands

Post by pofs »

There's no concurrency in Z-Wave network, because only one device can transmit at a time. So a queue is designed to send commands one at a time, waiting for the delivery confirmation from controller before sending a next one. So even if you queue a few commands, they're executed in sequence.
And time between commands to a sleeping device doesn't actually depend on the time when they queued. They're executed when device is awake.
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

Re: Concurrent *.Get() commands

Post by skiv71 »

I think you miss my point pofs.

My query does not relate to the z-wave network, more the http server and its ability to accept closely timed HTTP get/post commands.
Post Reply