small documetnation updating

This commit is contained in:
Bram Barbieri
2024-04-05 13:18:21 +02:00
parent 910b555bc1
commit a0a5501726
2 changed files with 5 additions and 2 deletions

View File

@@ -5,9 +5,12 @@ The data we collected originated from live "nodes" which were small boxes equipp
This collected data needed to be transmitted to a database to facilitate its presentation on a website we were developing. The website would retrieve the data from the database and display it in various formats.
Given the critical nature of this data connection for our project, it was imperative that it functioned reliably. Bram was tasked with designing a connection in Python between the WebSocket (live server) and the database (data storage).
This is what the connection would be inserted.
![my connection](MyConnection.png)
Since we had the WebSocket data on a Raspberry Pi, it made sense to implement the connection on the Pi itself. This presented an opportunity for Bram to acquire knowledge about Python, considering he initially lacked experience with this programming language.
Given the high demand of this data connection for our project, it was imprtant that it was reliably. Bram was given the task to designing a connection in Python between the WebSocket (live server) and the database (data storage).
Since we had the WebSocket data on a Raspberry Pi, it made sense to make the connection on the Pi itself. This became an opportunity for Bram to gain knowledge about Python, considering he originaly didn't have experience with this programming language.
## Python code + explaination
In the given Raspberry Pi, a file named "data.py" was created, from which this script could be called when needed.

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB