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
- Host: GitHub
- URL: https://github.com/satwikkansal/ibm_iot_example
- Owner: satwikkansal
- Created: 2020-03-02T18:14:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-18T07:14:45.000Z (about 5 years ago)
- Last Synced: 2025-04-10T17:02:29.214Z (about 1 year ago)
- Topics: analytics, door-monitor, ibm-iot-service, iot, iot-application, python
- Language: Python
- Homepage: https://developer.ibm.com/technologies/iot/tutorials/iot-lp201-build-door-monitoring-system
- Size: 38.4 MB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.