pip install flask tinydb
PORT=8858 python server.py
Your can use hostname -i
to find your server IP in most times.
SERVER=http://<your-server-ip>:8858/api/findme python findme.py
It is recommend to add to crontab, open crontab with crontab -e
Need to run with root
* * * * * SERVER=http://10.246.13.180:8858/api/findme python findme.py
Enter the server address, you will see your raspberry ip.