How to run custom script on bluetooth device or node connect/disconnect
I'm using filter-chain module for audio processing for my headset. I want to automatically start filter-chain on device connection and destroy it after the device is disconnected. Is there any way to achieve that without using polling to check availability of a node with pw-cli?