Skip to content

purna135/SmartBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartBin

IoT Based Dustbin Dashboard

Live URL: https://smartbin.pythonanywhere.com/

Login Credentials

Username: admin
Password: pass

API Calls

Send Garbage Data

URL: https://smartbin.pythonanywhere.com/add_garbage_data/
allowed method: [POST, GET]
parametes required: ["bin_id", "garbage_level", "moisture_status"]

POST JSON Example:
{
    "bin_id": 2,
    "garbage_level": 80,
    "moisture_status": true
}

Get Garbage Data

URL: https://smartbin.pythonanywhere.com/get_garbage_data/
allowed method: [GET]
parametes required: ["bin_id"]

Example:
https://smartbin.pythonanywhere.com/get_garbage_data/?bin_id=2

Local Setup

Install dependency

pip install -r requirements.txt

Run Server

python manage.py runserver

Outputs

User Login

image

Bin DashBoard

image

Add/Update a Bin Details

image

Bin Details

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published