Page 1 of 1

Configurable ack timeout

Posted: Thursday 31 December 2015 17:13
by Anticimex
Creating a new topic for this as I suspect my post in the ACK thread isn't monitored as the thread is marked "fixed".

MySensors use a mesh type network. This means that the delay for a message to pass through the network depend on the number of hops the message need to make to reach the destination. Currently, the timeout for ACK is too short for networks where the node is farther away than one hop. The timeout is also too short to support signed messages with only one hop because there is a handshaking mechanism involved for signed messages.
The best solution for this would be, in my opinion, that the dialog where ACK is configured (per node) in domoticz, also provide a field where the acceptable timeout for an ACK can be entered (in ms or s). That way, the timeout can be optimized depending on node position and capabilities.

Re: Configurable ack timeout

Posted: Tuesday 19 January 2016 18:09
by Anticimex
No feedback on this?
Could I at least get a 'yes we will look into this at some point' or 'no, we are not going to change the ack timeout'?

Re: Configurable ack timeout

Posted: Sunday 07 February 2016 11:41
by alexsh1
Anticimex wrote:No feedback on this?
Could I at least get a 'yes we will look into this at some point' or 'no, we are not going to change the ack timeout'?
I'd suggest you post the same or ask Moderators to move it to the "Suggestions" section of this forum.

Re: Configurable ack timeout

Posted: Monday 08 February 2016 0:18
by Anticimex
Well, I consider this a bug in Domoticz since it is by definition not supporting MySensors if it cannot accommodate the requirements of the protocol. And having a static value for ack timeout is not within MySensors specifications. So I do not consider this a "suggestion". It is a requirement for MySensors compliance.

Re: Configurable ack timeout

Posted: Monday 08 February 2016 8:55
by gizmocuz
It is a feature.....

So i kindly suggest to "kindly" add an issue on github/domoticz requesting this feature so we can assign it

for now, why not modify the code, it is not that hard:

Code: Select all

bool MySensorsBase::SendNodeSetCommand

Re: Configurable ack timeout

Posted: Monday 16 May 2016 13:34
by Anticimex
Issue #663 filed