Keeps track of raspberry-Pies and their IP-adresses. Used to display the current Ip-adress on a website using a .json file. Currently the client does only work on linux machines due to the way the IP is retrieved.
#How to use
- pip install rsa
- run the keygenerator once, to create a new set of private and public keys
- configure the adress.py so it contains your prefered port and the adress of your server.
- move the client.py, adress.py and the public.txt to your raspberry-pi
- configure your pi to run the client.py on startup, or run it in intervals of 10 minutes.
- run your server.py
- run client.py on your pi.
- server should show that it recieved an update.
- client should show that the update was recieved.
- the client ip is now saved in a .json file
Works with multiple clients at once.