Skip to content

Potential Server, Database and UI components for the IoT project SafeSync IoT, for a safer, post-covid workspace.

Notifications You must be signed in to change notification settings

Dhi13man/SafeSyncIoT

Repository files navigation

SafeSyncIoT Dashboard

This repository holds the code for the Server, Database and UI components for the IoT project SafeSync IoT, for a safer, post-covid workspace.

SafeSync-IoT is a full-fledged Employee Management and IoT driven Contact-Tracing based Workspace Safety solution, with a Cross-Platform Dashboard in Flutter, Client-Server IoT communication, and a self-sufficient, local, SQL-based Database.

  1. Utilizes Moor + SQL for a database that works across platforms

  2. Utilizes bloc + Provider based State Management Architecture.

  3. Utilizes both Material Design and Cupertino elements for UI building, as well as various other Open Source Packages as listed below.

Installation and Set up

  1. Run and Extract SafeSync.rar into a writable folder of your choice.
  2. Run safe_sync.exe to begin using the software, while connected to the Workspace network that the Hardware devices are configured to connect to.

Usage

  1. Once the device is successfully connected to the proper network and safe_sync.exe is executed, the server automatically begins in the background.
  2. The Real Time Logs Tab shows Employee Registration, Attendance, Short Contacts and Dangerous Contacts in Real Time through the data being sent over by the hardware devices.
  3. The Attendances Tab shows the number of times the Employees gave attendance (sanitized) throughout the day, using the IoT Sanitization device. The defaulters list is also easily accessible.
  4. The Statistics Tab shows Filtered events encountered by particular employees, as well as important tidbits of information like 'Percentage of Dangerous Contacts', 'Last Sanitization', 'Most Sanitized Employee', 'Least Sanitized Employee' etc.
  5. There are also buttons for resetting data, saving current Data in CSV form for easy exporting and sharing, as well as Summarizing Data in relevant windows.
  6. The Floating Action Button in Home Screen of the app also opens the Sidebar that provides easy access to Employee Management Screen using which new employees may be added to keep track of, and other frequently used Features.
  7. Any of the cards in any of the windows may be hovered over and clicked for intuitive editing and viewing of relevant Employee information.

Features

  1. Internal SQL-based Employee Management Database.
  2. Real-Time Attendance Tracking.
  3. Real-Time (IoT utilized) Logs.
  4. Detailed statistics about Employees and their work ethic.

Screenshots

Real Time Logs: Employee Safety Statistics:
Real Time Logs Statistics
Dynamic Employee information Storage: Supporting Utilities:
Employee View Employee View
Full Fledged Employee Management System:
Employee Management

Dependencies Used

  1. material for UI

  2. cupertino and cupertino_icons for UI

  3. simple_animations for UI animations

  4. page_transition for page transition animations

  5. moor and supporting Libraries for Cross Platform SQL Database Handling

    1. moor2csv for exporting Moor SQL databases to CSV form.
    2. moor_generator developer dependency that works with moor to turn Table classes from moor into database code
  6. sqflite and supporting Libraries for SQL Database 3. sqlite3_flutter_libs helper dependency for sqflite in Flutter 4. sqflite_common_ffi developer dependency that provides SQL ffi File handling capability to desktop platform

  7. undo for facilitating Moor based SQL database through bloc State Management

  8. bloc and flutter_bloc for State Management

  9. provider for less intensive State Management

  10. path_provider for File Handling

  11. permission_handler (only required to build for mobile devices)

  12. url_launcher for launching URLs, including mailto: links

  13. build_runner developer dependency for building Moor database tables

  14. build_web_compilers used as a development dependency for users of package:build who want to run code in a browser (Flutter Web)

  15. http package for mock request testing.

About

Potential Server, Database and UI components for the IoT project SafeSync IoT, for a safer, post-covid workspace.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published