SuneJepsen / iotproject-web

0 stars 0 forks source link

Implement Library Job Logic #5

Open anna0207 opened 6 years ago

anna0207 commented 6 years ago

Create Library for job and implement logic iot

Implement logic to process the raw data (from motion detector, accelerometer and WiFi/BLE)

Ideas:

Motion sensor by the door + accelerometer on the door (first movement -> door accelerometer = a person walks out the door, first door accelerometer -> movement = a person walks in) Limitation: Multiple can walk through the door at the same time Wifi/BLE detection of devices in the room (via MAC address) Limitation: A person can have multiple devices Noise-detection: Microfon? + Interruption measured based on the number of times the door is opened

SuneJepsen commented 6 years ago

@anna0207 in the library.job project ive created a file DoInferenceBetweenDoorAndFloorData.cs which you can play around with regarding the inferrence. To run the job ive created a Library.job.test project. Here there are one test which you can execute the template code.

anna0207 commented 6 years ago

20180420_150952

NEW INFERENCE LOGIC! When proximity sensor is placed inside the room and the accelerometer sensor is placed on the door opening out when entering: