Hi, I wonder if you may be seeing a detach related to EMI or power issues when switching the Solenoid. I would log detach events, and maybe enable library logging to help track down any events close to the crash. Library logging shouldn't impact performance, especially at INFO or lower level. https:...