Page 1 of 1

Concurrent *.Get() commands

Posted: 07 Feb 2015 12:47
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

Re: Concurrent *.Get() commands

Posted: 07 Feb 2015 13:06
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 :)

Re: Concurrent *.Get() commands

Posted: 07 Feb 2015 13:35
by skiv71
Think it might of been me being slow, seem's ok with 0 delay :)

Re: Concurrent *.Get() commands

Posted: 07 Feb 2015 16:13
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 :)

Re: Concurrent *.Get() commands

Posted: 08 Feb 2015 03:52
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.

Re: Concurrent *.Get() commands

Posted: 08 Feb 2015 19:08
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.