node-elgato-stream-deck icon indicating copy to clipboard operation
node-elgato-stream-deck copied to clipboard

Autoreconnect

Open askeron opened this issue 5 years ago • 0 comments

I would like to request a feature: Autoreconnect

Situation: If I disconnect my streamdeck, I only get the error message "[Error: could not read from HID device]". After this I cannot use the instance anymore, even if I reconnect the streamdeck. Context: I use a notebook with a docking station and whenever I take it to another room my app and come back I have to restart my app.

It would be great if the instance automatically reuseable when the streamdeck is connected again and if there explicit "disconnect" and "connect" events.

If this is too much, it would help me for the first step, if there would be a "disconnect" event.

askeron avatar Mar 04 '20 01:03 askeron