-
Retrieve IP Addresses:
- Run
Network.py
to obtain the IP addresses of the Server and Raspberry PI.
- Run
-
Connect to Raspberry PI:
- Use Remote Desktop to connect to the Raspberry PI.
-
Configure Server IP in PI Script:
- Ensure the SERVER-IP-ADDRESS is correctly set in the PI Script (
'ws://192.168.35.62:8000/ws/temperature/'
).
- Ensure the SERVER-IP-ADDRESS is correctly set in the PI Script (
-
Start the Server:
- Start the Django server:
python manage.py runserver 0.0.0.0:8000
- Start the Django server:
-
Run the PI Script:
- Execute the Raspberry PI script.
pip install django
python -m pip install -U channels["daphne"]
- username : pstu
- password: 1234
pyfirmata
- username : pi
- password: cse