Page 1 of 1
Debug Queue
Posted: 04 Jan 2015 23:40
by skiv71
Hi,
I'm just looking at the Queue and whilst I can see jobs lined up for a specific node, but what is the device has more than one instance?
I'm looking to cross ref in an attempt to prevent duplicate entries etc. but if I have a node 3 with instances 1 and 2 and a specific command class, I need to know which instance the queued command relates to.
Thanks
Neil
Re: Debug Queue
Posted: 05 Jan 2015 00:04
by skiv71
... looks to me as if the payload data tell's all... think I've figured out the node and instance as fields 1 and 6....
Re: Debug Queue
Posted: 05 Jan 2015 01:30
by pofs
1) It really is in payload, but you shouldn't rely on it to be at specific offset, because of possible encapsulations;
2) It is encrypted for secure jobs, so you cannot access it;
3) You are not supposed to access the queue directly, queue viewer is made only for debugging purposes;
4) The queue automatically removes/rearranges duplicate jobs where appropriate, so there's no need to do anything with it.
Re: Debug Queue
Posted: 05 Jan 2015 01:45
by skiv71
Ah, hmmm... I was hoping to interrogate the queue to see if the command request I have in mind is already present.
I'm trying to trim the queue down.
I am interrogating the queue via a wget and there are duplicate jobs
Re: Debug Queue
Posted: 05 Jan 2015 02:18
by pofs
Some duplicate jobs are allowed for a reason.
But usually you shouldn't see two jobs for the same node having the same payload.
If you provide a specific example of a job added twice, we may discuss why there's a duplicate.
Re: Debug Queue
Posted: 05 Jan 2015 02:24
by skiv71
I don't doubt you're right...
I think, in the meantime, I'm gonna implement my own duplicate command filtering between my system and the z-way server

Re: Debug Queue
Posted: 05 Jan 2015 15:17
by skiv71
I have a solution now, but I'd much rather know the actual controller command queue, but in the absence of instance info, any decision's I make wouldn't be reliable.
I'm sure I've seen some user's log's on here for the queue show instance info though.
Is this something that was introduced in later versions?
Re: Debug Queue
Posted: 06 Jan 2015 05:37
by pofs
skiv71 wrote:I'm sure I've seen some user's log's on here for the queue show instance info though.
Is this something that was introduced in later versions?
You must have been mistaken, as there's no instance info there.