python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

Connection with Server Closed

Open DevMiser opened this issue 7 months ago • 1 comments

I occasionally get the message “| INFO | sinric._sinricpro_websocket:receive_message:64 - Connection with server closed” and my device stops working. I would like my program to reconnect with sinricpro when this happens. Is there a way to do this in Python?

DevMiser avatar Nov 18 '23 19:11 DevMiser

One solution is to do a clean exit when disconnect and get something like pm2/forever to restart the process than trying to implement reconnections

kakopappa avatar Nov 19 '23 08:11 kakopappa