Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
/JLU_DSDPublic archive

A Project For Distributed Software Development Course.

License

NotificationsYou must be signed in to change notification settings

WNJXYK/JLU_DSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PythonRequirements

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 onRaspberry PI 3, all code are based onPython 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 inproduction branch :https://github.com/WNJXYK/JLU_DSD/tree/production

Version 2

You can also find code and instructions for installing inV2 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 ( Includingtimeout anddefault 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 ofbuild,admin andforce)
  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

[8]ページ先頭

©2009-2025 Movatter.jp