This project is very diverse and based upon many languages and libraries such as C++, Python, JavaScript, PHP and MQTT

Overview

ADMS-Real-time-project

This project is very diverse and based upon many languages and libraries such as C++, Python, JavaScript, PHP and MQTT

Advance_database_monitoring_and_controlling_system_LJK

Credentials: Parth Vijaykumar Soni([email protected]) , Nitya Pragneshbhai Parikh([email protected])

This project is based upon controlling and monitoring the system which allows user to control the system from any corner of the world through webportal.

Features

User Features

  1. Users can operate device using RFID cards allocated to them on the bases of their role in LJK organization.
  2. Each user is provided by an unique card having prepaid balance of hours. After completion of the balance user need to contact admin for recharge it again.
  3. User can operate device from webportal hosted over internet (http://adms.ljinstitutes.org/) by logging in using proper credentials provided to them by superuser(i.e Administrator), in case if they forgot their cards.
  4. In webportal(http://adms.ljinstitutes.org/) user can only monitor and control specific building of organization on the bases of their role.
  5. Locking and unlocking of a individual system or of a building in which systems are installed can also done via user from webportal.
  6. User can moniter system's various entities, like if a system is an Air Conditioner, user can monitor it's temperature, humidity and power consumption.
  7. Users need not to search for A.C's remote, as the device is supplied with IR sensor.

Administrator Features

  1. The administrator have the crendential to control all the buildings.
  2. Admin also possess control to recharge the user's hours using webportal.
  3. Admin has right to block the user or change the user role in the handling of devices.
  4. He/She can also lock/unlock whole building or an individual room.
  5. An Administrator also possess the credentials for c-panel for changing the code or database
  6. Administartor role can be played by only one faculty of L.J institutes of engineering and technology. However, c-panel's credentials are only provided to the webportal engineers who can handels technical functions of it.
  7. Admin can also generate report for an individual room's consumption, temperature and humidity in the form of pdf, excel or can print directly.

Working Flow

We used this device to control two A.C., both of them share common device

  1. When the device is turned on, at the very first moment it will try to connect with broker server.

  2. If it connects to the sever a long buzz sound will be played to indicate the user about the connection, else it will retry every five seconds.

  3. User with his/her unique card provided by admin, in order to operate the device tap on the surface of it.

  4. After Scanning the card, the credentials of the user along with necessary information of device(i.e. status of device, device id, it's IP address, and broker IP address) is send by the device to a broker server via ethernet.

  5. This communication between device and broker server is interfaced by mqtt publish-subscribe functionality.

  6. The device publish a message on a topic which is subscribed by the various clients on the side of the broker and vice versa.

  7. Broker decodes the message received from device and send it to the main server hosted over the internet.

  8. Main server receives the request and check for user authentication and other details of device such as status of device(on/off , lock/unlock), available hours for user.

  9. Server then revert back with following response: 1) True = If user is validated and everything match with conditions on server side. 2) False = If device is not found 3) Access denied = 4) Communication error = If the card is not validated 5) Invalid card = If card id of user is not match with

  10. If the received response from server is "True" then broker sends the payload to the device to turn on the first A.C. via mqtt protocols.

  11. Device works as per the payload.

  12. Payload consists of single integer value each of them represents the following: 1) 0: 2) 1: 3) 2: 4) 3: 5) 4: 6) 7:

  13. After first A.C. turned on, to switch on the second ac user need to press a toggle button, provided on the side of rectangular device.

  14. Second A.C. will only turn on if and only if first A.C. is on, if first A.C. is not on then pressing the side button will not make any impact.

  15. To turn "on" the A.C. 2 card number of user is required, but, as the user already scanned the card at the first time while turning "on" first A.C., the card number is now saved in the device and hence for this reason the device will send card number for the second A.C. implicitly.

  16. So, now when the button is pressed the same message which was send for first A.C. is now send for second A.C. to broker via mqtt interfacing.

  17. Like wise the broker will send the message to the server and sever will response with the same message as mentioned in point number 9.

  18. By receiving the sever reponse the broker will generate the appropriate payload as mentioned in point 12.

  19. One intriguing question might arise that "how the deivce identify two different A.C. ?". To

You might also like...
implementation  of a simple Brute-force attack in python
implementation of a simple Brute-force attack in python

Brute-force-attack-python implementation of a simple Brute-force attack in python using requests library who involved in this project: Python side : A

YesilCMS is based on BlizzCMS and specifically adapted for VMaNGOS Core and includes new features and many bug fixes.
YesilCMS is based on BlizzCMS and specifically adapted for VMaNGOS Core and includes new features and many bug fixes.

YesilCMS · YesilCMS is based on BlizzCMS and specifically adapted for VMaNGOS Core and includes new features and many bug fixes. Features In addition

World countries - available in multiple languages, in CSV, JSON, PHP, SQL and XML formats

Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP, SQL and XML formats, in multiple languages and with national flags included; also available are the ISO 3166-2 codes of provinces/ states associated with the countries

:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.

symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliter

Learning design patterns by implementing them in various programming languages.

design-patterns Learning design patterns by implementing them in various programming languages. Creational design patterns Creational design patterns

Languages for your website.
Languages for your website.

Deutsch English Svenska Language 0.8.33 Languages for your website. How to make a translation Start with the English language file or one of the avail

X1 - A very simple web based note solution that's designed to serve as my second brain.
X1 - A very simple web based note solution that's designed to serve as my second brain.

X1 A very simple web based note solution that's designed to serve as my second brain. Starting Server To start the tool simply clone the repo and then

Hoa is a modular, extensible and structured set of PHP libraries

Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds. Hoa\Ust

Owner
Nitya parikh
Hello fellas..!! I am pursuing computer engineering from L.J. engineering and technology college and right now in last year of my bachelorette
Nitya parikh
jMQTT is a plugin for Jeedom aiming to connect Jeedom to an MQTT broker to subscribe and publish messages

jMQTT is a plugin for Jeedom aiming to connect Jeedom to an MQTT broker to subscribe and publish messages

null 19 Dec 27, 2022
Preferences are configuration variables that are user-managed for which we cannot rely upon container parameters or environment variables.

Preferences Preferences are configuration variables that are meant to be user managed for which we cannot rely upon container parameters or environmen

Makina Corpus 1 Feb 7, 2022
This plugin allows you to create many-to-many relationships between pages in Kirby and synchronizes them on both sides.

Kirby 3 Many To Many Field This plugin allows you to create many-to-many relationships between pages in Kirby.

Jonas Holfeld 41 Nov 19, 2022
Very easy to use a current limiting component, the code is very simple, based on the webman framework.

Very easy to use a current limiting component, the code is very simple, based on the webman framework.

nsp-team 13 Dec 29, 2022
Silverstripe-sspy - Python based SSPAK export with higher reliability and cross-platform compatibility

SSPY - Python Stand-alone SSPAK solution © Simon Firesphere Erkelens; Moss Mossman Cantwell Usage: sspy [create|load|extract] (db|assets) --file=my.

Simon Erkelens 1 Jun 29, 2021
A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc). Based on the difflib implementation in Python

PHP Diff Class Introduction A comprehensive library for generating differences between two hashable objects (strings or arrays). Generated differences

Chris Boulton 708 Dec 25, 2022
Hi everyone! This is our repository for our final project in college. We're sorry if so many bug or error. Thank You

About The Project Hi everyone! This is our repository for our final project in college. We're sorry if so many bug or error. Thank You About Laravel L

Lintang Bima Sakti 3 Dec 9, 2021
Ip2region is a offline IP location library with accuracy rate of 99.9% and 0.0x millseconds searching performance. DB file is ONLY a few megabytes with all IP address stored. binding for Java,PHP,C,Python,Nodejs,Golang,C#,lua. Binary,B-tree,Memory searching algorithm

Ip2region是什么? ip2region - 准确率99.9%的离线IP地址定位库,0.0x毫秒级查询,ip2region.db数据库只有数MB,提供了java,php,c,python,nodejs,golang,c#等查询绑定和Binary,B树,内存三种查询算法。 Ip2region特性

Lion 12.6k Dec 30, 2022
SERP Scraping API code examples for Python, PHP and Node.js

SERP Scraping API List of contents Introduction Authentication Google Baidu Bing Yandex Parameters Targets Languages License Introduction With our SER

Smartproxy 8 Nov 7, 2022
Repo pour la Nuit de l'Info 2021, équipe Passage Python

Passage Python Repo pour la Nuit de l'Info 2021, équipe Passage Python Les membres de l'équipe sont : Florian Duzes, FloDarPie Theo Cavailles, igneefl

Florian Duzes 3 Dec 3, 2021