python-sdk
python-sdk copied to clipboard
Connection with Server Closed
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?
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