Class Diagram Updated

This commit is contained in:
caliskanbi 2023-09-26 21:57:42 +02:00
parent 410e27adc3
commit 556736ccf5
3 changed files with 2970 additions and 2848 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -108,14 +108,14 @@ def main():
my_database.create_tables()
# Create MQTT Client and connect to local broker
mqttclient = mqtt.Client(BACKEND_CLIENT_ID, transport="websockets") # transport websockets required for local broker
mqttclient = mqtt.Client(BACKEND_CLIENT_ID, """transport="websockets""""") # transport websockets required for local broker
mqttclient.on_connect = lambda client, userdata, flags, rc: on_connect(_client=client,
_userdata=userdata,
_flags=flags,
_rc=rc,
_mydatabase=my_database,
_robot=robot)
mqttclient.connect(MQTT_BROKER_LOCAL)
mqttclient.connect(MQTT_BROKER_GLOBAL)
# Initialize logger and save in server.log file
logging.basicConfig(filename="server.log", filemode="a", encoding="utf-8", level=logging.DEBUG,