Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

WNJXYK/JLU_DSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Software Deleopment Course in Jilin University - Mogic

Python Requirements

Introduction

A light-controlling system that can control and monitor the sensor (including light sensor, button, presence sensor) and devices (including light and alarm). All sensors and devices are based on Raspberry PI 3, all code are based on Python and the web is based on Bootstrap / Materilize HTML + JS

Mogic Group's responsibility is to build a server which could transfer data between other groups.

Mogic's Website : https://wnjxyk.github.io/JLU_DSD

Content

Version 1

You can also find code and instructions for installing in production branch : https://github.com/WNJXYK/JLU_DSD/tree/production

Version 2

You can also find code and instructions for installing in V2 branch : https://github.com/WNJXYK/JLU_DSD/tree/V2

Other

Question Documents : https://github.com/WNJXYK/JLU_DSD/blob/master/Documents/Other/2019.4.3-Questions_Version1.docx

Test Report : https://github.com/WNJXYK/JLU_DSD/blob/master/Documents/Other/Module%20Test%20Report%20.xlsx

Web Page : https://github.com/WNJXYK/JLU_DSD/tree/master/docs

Functions

  1. Building

    • Add a building
    • Delete a building
  2. Room

    • Add a room in a building
    • Delete a room in a building
    • Modify a room's attributes ( Including timeout and default for lights )
  3. Hardware

    • Add hardware ( Based on a GPIO of a Raspberry PI)

    • Delete hardware

    • View sensors' real-time data

    • Control light

  4. Raspberry PI

    • View Raspberry PI which has registered in server
    • Delete Raspberry PI
  5. User

    • Add a user
    • Delete a user
    • Modify a user ( Give / Revoke permission of build, admin and force)
  6. Role

    • Modify Role ( Change the command priority of role)
  7. Log

    • View Emergency Log
    • Solve Emergency Log

Tips:

About permission :

building gives users the permission to ( add / del / modify) (room / building / hardware/ raspberry pi)

admin gives users the permission to (add / modify / del) (user / role)

force gives users the permission to force the light to be opened / closed.

And user's initial permission is same as its role's permission.

About Log :

When panic button is pressed, the building is entered emergency mode and the all the alarm and lights in this building is opened.

When solving the emergency log, the alarm is closed at the same time and the lights will close when timeout.

Other Groups

  1. Learning Ducks ( Web ) : https://github.com/learningducks/DSD2019

  2. Apostle ( Android APP ) : https://github.com/sakurajinja/DSD

  3. Double Bloom ( Intelligence Controller ) : https://github.com/lyj3516/groupdb.github.io

  4. Beauty and the Beast ( Database ) : https://github.com/JLUTAQCS/Beauty-and-the-Beast

About

A Project For Distributed Software Development Course.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •