Configurable ack timeout
Posted: Thursday 31 December 2015 17:13
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.
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.