python-elgato-streamdeck icon indicating copy to clipboard operation
python-elgato-streamdeck copied to clipboard

reset() not really resetting

Open impala454 opened this issue 3 years ago • 0 comments

Describe the bug The reset() function does not really reset the device properly

To Reproduce Start an application built with this library, then kill the process without calling the close() function. Then start that application again and buttons do not work properly. If a open, reset, close, open, reset is performed upon initialization this is not a problem.

StreamDeck Information StreamDeckMini, can try on XL soon.

System Information Ubuntu 20.04, master version of the library.

Sorry the description is a bit vague, but we're using a mini in production to control a robot. We noticed that a particular key mapping seems to mis-map upon starting our application again if it was killed without calling the close() function. We are running the stream deck from a dockerized application and if the user gets CTRL-C happy, it kills the stream deck node without close(), leaving it in the state it was previously in. Then when we run again, even though we reset() on startup, the key mappings don't work properly unless we add that close() call on start.

impala454 avatar Jun 08 '22 13:06 impala454