Hi @sebla, welcome to the forum
Assuming you’re using a Raspberry Pi, this post and the posts I linked to within it are likely helpful to you.
If you’re not using a Raspberry Pi you’ll need to provide more information about your setup and requirements.