node-elgato-stream-deck
node-elgato-stream-deck copied to clipboard
Autoreconnect
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.