This commit is contained in:
jeanGaston 2024-05-04 15:24:44 +02:00
parent a8cd68d114
commit 9dee29fe50
3 changed files with 313 additions and 315 deletions

View File

@ -2,10 +2,9 @@
# Install Python3 and pip # Install Python3 and pip
sudo apt update sudo apt update
sudo apt install -y python3 python3-pip python3-flask python3-schedule sudo apt install -y python3 python3-pip python3-flask python3-schedule python3-plotly python3-pandas
# Install required Python modules # Install required Python modules
pip3 install schedule
pip3 install bluepy pip3 install bluepy
# Create env.py file # Create env.py file

View File

@ -1,8 +1,6 @@
hst : "host" { hst : "host" {
PythonSRV : "Stack Python" { PythonSRV : "Stack Python" {
DB :"SQLite DB" {
icon : https://icons.terrastruct.com/azure%2FDatabases%20Service%20Color%2FAzure%20Database%20for%20MariaDB%20servers.svg
}
Scrp : "DataScrapper" { Scrp : "DataScrapper" {
icon : https://icons.terrastruct.com/dev%2Fpython.svg icon : https://icons.terrastruct.com/dev%2Fpython.svg
explaination : |md explaination : |md
@ -20,13 +18,16 @@ hst : "host" {
blt : "Bluetooth hardware" { blt : "Bluetooth hardware" {
icon : https://icons.terrastruct.com/essentials%2F317-bluetooth.svg icon : https://icons.terrastruct.com/essentials%2F317-bluetooth.svg
} }
DB :"SQLite DB" {
icon : https://icons.terrastruct.com/azure%2FDatabases%20Service%20Color%2FAzure%20Database%20for%20MariaDB%20servers.svg
}
} }
sens : "Weather Sensor" {} sens : "Weather Sensor" {}
PC : "User browser"{ PC : "User browser"{
icon : https://icons.terrastruct.com/essentials%2F365-user.svg icon : https://icons.terrastruct.com/essentials%2F365-user.svg
} }
hst.PythonSRV.DB <-- hst.PythonSRV.Scrp : "Write \ndata" { hst.DB <-- hst.PythonSRV.Scrp : "Write \ndata" {
style : { style : {
stroke-dash: 5 stroke-dash: 5
animated: true animated: true
@ -34,7 +35,7 @@ hst.PythonSRV.DB <-- hst.PythonSRV.Scrp : "Write \ndata" {
} }
} }
hst.PythonSRV.DB --> hst.PythonSRV.web : "Read \nData" { hst.DB --> hst.PythonSRV.web : "Read \nData" {
style : { style : {
stroke-dash: 5 stroke-dash: 5
animated: true animated: true
@ -64,7 +65,7 @@ hst.PythonSRV.web <-- pc : "write \nsettings" {
} }
} }
hst.PythonSRV.DB <-- hst.PythonSRV.web : "write \nsettings" { hst.DB <-- hst.PythonSRV.web : "write \nsettings" {
style : { style : {
stroke-dash: 5 stroke-dash: 5
animated: true animated: true
@ -72,7 +73,7 @@ hst.PythonSRV.DB <-- hst.PythonSRV.web : "write \nsettings" {
} }
} }
hst.PythonSRV.DB --> hst.PythonSRV.Scrp : "Read \nsettings" { hst.DB --> hst.PythonSRV.Scrp : "Read \nsettings" {
style : { style : {
stroke-dash: 5 stroke-dash: 5
animated: true animated: true

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB