ioBroker.history
ioBroker.history copied to clipboard
Javascript Options
The options for javascript sendTo('history.0', 'enableHistory', {
are not well described.
I even think I found a typo (debounce instead of debounceTime)
I found on the internet two more options (Bold):
sendTo('history.0', 'enableHistory', { id: 'alias.0.Zaehler', options: { blockTime: 1000, debounceTime: 1000, changesOnly: true, retention: 31536000, maxLength: 5, changesRelogInterval: 3600000, aliasId: '' } }, function (result) { if (result.error) { console.log(result.error); } if (result.success) { console.log('successfull enabled'); } });