loockeeer / esp-ips_server

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0


Languages

Language:Go 78.1%Language:Python 20.6%Language:Dockerfile 0.8%Language:Makefile 0.5%