Vikasg7 / PowerAwareIOTProject

Power Aware IoT (Internet of Things)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power Aware IOT

Simulating Frames traveling from the Sensor over the Network Layer and trying to reduce the amount of Frames passing through the Network using an Algorithm by marking them as Essential Frames.

Installation

  • Install Python version >= 3.12 from python.org

  • $ python3.12 -m venv .venv
    $ source .venv/bin/activate
    $ pip install -r requirements.txt
    $ python src/power_aware_iot.py
    $ deactivate
  • or use make

    $ make venv # initialize virtual enviroment
    $ make install # install deps from requirements.txt
    $ make run # runs src/power_aware_iot.py
    $ make clean # removes .venv

Ingredients

  • power_aware_iot.py - Contains definition of Fixed Sized Frame, Algorithm to filter Essential Frames and other related functions.

  • visualize.ipynb - A Jupiter notebook to use API exposed by power_aware_iot.py and visualize the amount of Essential Frames passing through after applying the Algorithm.

  • get_historic_weather_data.py - To pull some historic weather data to simulate the temperature and humidity data coming from the sensor.

Sources

About

Power Aware IoT (Internet of Things)


Languages

Language:Python 92.1%Language:Jupyter Notebook 6.8%Language:Makefile 1.2%