Skip to content

IoT WebBased Temperature Monitoring system that can be access anywhere and anytime through the Internet is build.

Notifications You must be signed in to change notification settings

FITM-KMUTNB/Hospital-Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FITM Hospital Monitoring

IoT WebBased Temperature Monitoring system that can be access anywhere and anytime through the Internet is build. With this system a user can remotely monitor the room temperature from anywhere which could save the human expenses, The main purpose of this system model is to make it easy for the user to view the current temperature.

alt IoT WebBased Temperature Monitoring

Feature

  • Set an alert condition will push a notification to your LINE Group (LINE Notify)
  • Supports multiple users on a single project.
  • Mobile Friendly support Android and iOS Devices.
    alt Push a notification to your LINE Group

Installation

To install, you must have Git and Docker Engine installed already.

Cloning a Repository.

git clone https://github.com/FITM-KMUTNB/Hospital-Monitoring.git

Change the current directory to Project

cd Hospital-Monitoring

Build and Start with docker-compose

docker-compose up -d --build && docker-compose ps

alt docker-compose up -d --build && docker-compose ps

Web Application

http://localhost

alt Login page

Create a Device

To get started quickly, create your project and create new device.
alt Create your first project
List all projects and devices
alt index page

Database (phpMyAdmin)

http://localhost:9001
  • Username: admin
  • Password: dinsorsee

Pushing temperature data POST (HTTP)

curl --request POST --url http://localhost:9000/push.php --header 'content-type: application/json' --data '{"token": "DEVICE_TOPKEN","temp": TEMPERATURE}'
  • DEVICE_TOPKEN — Is a unique key for the ioT devices.
  • TEMPERATURE — Can send number 4 or 5.3 or -12
Device Token

You need to get a device token for push temperature to server. With this token you can view Device settings.
Example: 754a0148dc1d37069dc011d4a5fa04bbd
alt Find device_token

Pushing with Insomnia REST client
alt Pushing with Insomnia REST client

LINE Notify

Set LINE Notify token in to project setting, you have to generate access token on LINE Notify
alt Project setting page

Shutdown

docker-compose down

alt docker-compose down

Reset database

rm -r docker/mysql/data/*

About

IoT WebBased Temperature Monitoring system that can be access anywhere and anytime through the Internet is build.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published