hey @sdetweil I realized my raspberry pi was going to sleep so I turned it off and I think it works now. Thank you for your help