1 Middleware model
Tim Svensson edited this page 2026-04-24 14:54:00 +00:00

Middleware models

Class diagram

  • Main: Creates an MQTT client and subscribes to all sensors (one sensor at the moment)
  • CreateTable: Creates a table postgreSQL database
  • Sanitize: Receives string, sanitizes it for insertion with SQL and returns the sanitized string
  • InsertMessage: Inserts message into database table after sanitizing data

Original issue: #92