I have a plugin using
@framework.deviceManager.on('discover', (eventData) =>
console.log "discover"
)
only the event is never trigger, no errors in the logfile.
Any idea why discovery might not run?
/cc @mwittig
Thanks,
Andi
Device discovery never run?
I have a plugin using
@framework.deviceManager.on('discover', (eventData) =>
console.log "discover"
)
only the event is never trigger, no errors in the logfile.
Any idea why discovery might not run?
/cc @mwittig
Thanks,
Andi
@andreas-goetz Sorry, my mistake. Discovery only runs when I trigger it in the UI. Never mind.
@andreas-goetz said in Device discovery never run?:
Sorry, my mistake. Discovery only runs when I trigger it in the UI. Never mind.
No worries. I was about to reply to this one, but a bit puzzled as you’re already using discovery as part of your fritz and volkszähler plugins. It would be possible to automatically trigger discovery, but doing this for all plugins would create a bit of an overhead on startup.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law