Skip to content

carmelolg/homelo-iot-receiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homelo-iot-receiver

Microservice that receive and provide informations of the home sensor's data

What do you need

  • An instance of MongoDB
  • An instance of your DB with inside the following Collection: Detection
  • You should define two environment variables
    • MONGO_URL
    • MONGO_DB_NAME

How to run locally

From command line py run.py

Ensure that:

  • All env variables are setted
  • All dependencies are installed (requirements.txt)

How to save your sensor's data

From your Arduino/Raspberry/ESP32/ESP8622 microcontroller just generate an HTTP-POST request:

  • URL: will be your host address
  • Path: /sensor
  • Body: { data: "2020-07-03", temperature: 25.6, ... }

About

Microservice that receive and provide informations of the home sensor's data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages