I post the data to an server, but sometimes the raspberry pi loses its internet connection.
When that happens the post requests will stop forever, is it maybe an option to make an check, if ther is an connection active. so when the raspberry does have internet again, it can start posting again. Now i need to restart the script to start posting to te server again.
Maybe someone can help me.
I post the data to an server, but sometimes the raspberry pi loses its internet connection. When that happens the post requests will stop forever, is it maybe an option to make an check, if ther is an connection active. so when the raspberry does have internet again, it can start posting again. Now i need to restart the script to start posting to te server again.
Thanks 👍