Code Monkey home page Code Monkey logo

snap-cloud's Introduction

SNAP - Sensor Network Along Perimiter

S.N.A.P. or SNAP is a hackathon project make during the #inno4def hackathon of 15-17th March 2024.

Please note that this code is just a prototype made in 24hours, some things are hardcoded, some things are not working, most things are written poorly.

SNAP uses novel sensor nodes that leverage an ESP32 microcontroller and one or more sensors like PIR, Seismic/Vibration,...

After a detection, the camera on the same or another node gets triggered. The trigger info and/or the camera image get then send over LoRa to one of the gateways where it gets uploaded to the cloud.

This repository houses the cloud part of that code.

Installation

Installing this code requires docker and docker compose or docker-compose to be installed.

Launching the entire thing is as simple as docker compose up -d. Please note that each of the folders need to have the right data in them. This might require credentials that are not listed here.

Development

Development can be easily done by restarting one or more of the individual containers and rebuilding them in the process by using: docker compose up SERVICE_NAME --build -d

Stopping

Stopping one service is done using docker compose stop SERVICE_NAME or running docker compose stop to stop all services.

Debugging

Debugging can be done by viewing the logs for a specific service by using: docker compose logs SERVICE_NAME adding -f will let you follow along live while these logs are generated.

Configuration

You can configure ports, data directories and more my editing the docker-compose.yaml file or the relevant files in the sub folders.

Extra

For more info, please check te relevant subfolders.

Access n8n by using:

snap-cloud's People

Watchers

Wouter Vandenneucker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.