Skip to content

jimoho3/Women-s-Security-MQTT-System-

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Women's Safety Wearable Device Using MQTT.

Introduction

This device is to be worn by women and triggered whenever they sense danger or safety concerns. Based on the trigger message sent, the relevant authority is notified and is provided with the necessary information to take actions.

This device has been implemented using MQTT Protocol which means - Message Queuing Telemetry Transport

How to Run the Code

  1. Create a virtual environment by running the code below
    # virtualenv venv
  2. Activate the virtual environment using the code below
    # source venv/bin/activate
  3. Open the first terminal window and run mosquitto server using the command below
    # mosquitto -v
  4. Open the second terminal window, activate the virtual environment and install the dependency in the requirements.txt file, and then run the safety subscriber code using the command below
    # python safety_subscriber.py
  5. Open the third terminal window, activate the virtual environment and install the dependency in the requirements.txt file, and then run the wearable device code using the commnand below
    # python wearable_device.py
  6. Go back to the second terminal (safety_subscriber terminal) and observe that all the published messages are being recieved

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages