Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/loockeeer/esp-ips_server

This is the server that uses data uploaded by esp32 running esp-ips.
https://github.com/loockeeer/esp-ips_server

bluetooth-low-energy golang rssi-localization

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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`:
```shell
docker-compose up influx -d
```
Once it is started, you can stop it
```shell
docker-compose down
```

### Running
Then you can start it using `docker-compose` :
```shell
docker-compose up -d
```

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