ioBroker.hue-extended icon indicating copy to clipboard operation
ioBroker.hue-extended copied to clipboard

where to set adapter.config.maxAttempts

Open seb2010 opened this issue 4 years ago • 2 comments

Hello, I saw the ability if the adapter to retry sendCommand-attempts if the device is unreachable. This is done up to MAX_ATTEMPS times. this value may be overwritten by the adapter.config.maxAttempts variable. But where can I set this variable in the adapter-config-pane? My scenraio is, that I have some unstable connections to some lights. When I use a script to emulate activity for a vacation absence, it is very bad to have some switching commands not to come through. I need the adapter to retry the sendCommand indefinitely until the device is reachable and the commands went through. So my hope is to set the adapter.config.maxAttempts variable somewhere to a very high number to reach this behaviour. Where can this be found? Or is this feature possible to be implemented (resulting in indefinite retries)? Cheers Sebastian

seb2010 avatar Oct 11 '20 16:10 seb2010

It is simply not implement in the adapter configuration interface. I can provide this though.

Zefau avatar Oct 12 '20 06:10 Zefau

Hi @Zefau, this would be really great and much appreciated. I think overall, this improves switching reliability.

seb2010 avatar Oct 19 '20 11:10 seb2010

Currently no further development isplanned for this adapter. Please use ioBroker.hue.

mcm1957 avatar May 25 '23 21:05 mcm1957