https://github.com/catarinaacsilva/delegation-sensors

https://github.com/catarinaacsilva/delegation-sensors

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: researchgate.net
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: catarinaacsilva
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 348 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed almost 4 years ago

https://github.com/catarinaacsilva/delegation-sensors/blob/main/

# IoT Delegation

This repository contains the Proof of Concept (PoC) from the paper named [Dynamic Delegation-based Privacy Preserving in
IoT Architectures](https://www.researchgate.net/publication/363024342_Dynamic_Delegation-based_Privacy_Preserving_in_IoT_Architectures).

## Setup

This PoC implements a simple scenario where a Sensor A reaches a critical
battery level and delegates the temperature measure task to Sensor B
(as depicted in the following figure).

![poc setup](resources/setup.png)

## Deployment

The Poc was developed using python and instantiated using docker.
In the repository, you can find a docker-compose file.
To run the PoC simple execute the following command:

```
docker-compose up --build --force-recreate --no-deps
```

[MQTT Explorer](http://mqtt-explorer.com/) can be used to analyse the output of the sensor devices.

The messages flow can also be analysed using [Wireshark](https://www.wireshark.org/) using the following filter:

```
mqtt.topic=="sensor/temperature" or mqtt.topic=="sensor/battery" or mqtt.topic=="sensor_a/control" or mqtt.topic=="sensor_b/control" or mqtt.topic=="delegator/register" or mqtt.topic=="delegator/delegate"
```

The resulting flow chart is the one following.

![messages flow](resources/flow_transparent.png)


The following command can be used to clean the PoC:

```
docker system prune -a
```

## Authors

* **[Catarina Silva](https://github.com/catarinaacsilva)**

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

Owner

  • Name: Catarina Silva
  • Login: catarinaacsilva
  • Kind: user
  • Location: Portugal
  • Company: IT Aveiro | UA

Ph.D student | Computer science | MAP-i

GitHub Events

Total
Last Year