Skip to content

This is the server that uses data uploaded by esp32 running esp-ips.

License

Notifications You must be signed in to change notification settings

loockeeer/esp-ips_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP-IPS Server

This is the server of a high precision IPS.

Instructions

Config

To start it you will need a .env file like this

# Influx Client/Server Config
INFLUX_HOST= (Optional if no changes are made to docker-compose.yml)
INFLUX_TOKEN=
INFLUX_ORG=
INFLUX_BUCKET=
INFLUX_USERNAME=
INFLUX_PASSWORD=
MODE= (Optional if not in setup)

# MQTT Client Config
MQTT_PORT=
MQTT_HOST= (Optional if no changes are made to docker-compose.yml)

# API Configuration
API_HOST= 
API_PORT= (Optional if no changes are made to docker-compose.yml)
EXPOSE_PORT=

# General Config
RSSI_BUFFER_SIZE=
INIT_RSSI_BUFFER_SIZE=
RSSI_DISTANCE_ORDER=

Setup

For setup, you will need to add a MODE=setup entry to the env file Then you can start influxdb using docker-compose:

docker-compose up influx -d

Once it is started, you can stop it

docker-compose down

Running

Then you can start it using docker-compose :

docker-compose up -d

You're done ! The high precision IPS server is now started, and you can enjoy it using the GraphQL API.

About

This is the server that uses data uploaded by esp32 running esp-ips.

Topics

Resources

License

Stars

Watchers

Forks

Languages