An open API service indexing awesome lists of open source software.

https://github.com/satwikkansal/ibm_iot_example

Door Montioring System built with Python and IBM Cloud. Covers IoT architecture, device management, analytics and security
https://github.com/satwikkansal/ibm_iot_example

analytics door-monitor ibm-iot-service iot iot-application python

Last synced: 10 months ago
JSON representation

Door Montioring System built with Python and IBM Cloud. Covers IoT architecture, device management, analytics and security

Awesome Lists containing this project

README

          

# IoT Door monitoring system

This repository contains code for the [Build your IoT skills by developing a door monitoring system](https://developer.ibm.com/technologies/iot/tutorials/iot-lp201-build-door-monitoring-system) tutorial published on IBM Developer blog. It is highly recommended to read the tutorial first before using this project.

## Project files

Install the requirements using pip,

```sh
$ pip install -r requirements.txt
```

#### Gateway layer

- `gateway_client.py`: Contains code for the gateway client.
- `udp_listener.py`: The code for receiving and parsing [SensorUDP](https://play.google.com/store/apps/details?id=com.ubccapstone.sensorUDP&hl=en_IN) data sent by the Android device over sockets.
- `main.py`: The script that is supposed to run on raspberry pi as per the tutorial. It uses` gateway_client` and `udp_listener` internally.
- `gateway_config.yml`: This configuration file needs to created by you. Please refer to the tutorial to understand what it should contain.

#### Application layer

- `application.py`: Contains code for the application. The config for this can be provided by creating a file called `app_config.yml` in the same directory. Please refer to the tutorial to understand what this file should contain.