Skip to content

daneb255/sensorlog-iolink-api

Repository files navigation

iolink-sensor-api

Start Dev-Server

Windows

  • set FLASK_APP=flask_server.py
  • set FLASK_ENV=development
  • flask run

Linux

  • FLASK_APP=flask_server.py FLASK_ENV=development flask run --host=0.0.0.0

Start Prod-Server

  • python server.py

Helm chart

  • cd helm
  • helm install -n sensorlog sensorlog . --set "connections.influx.user=REPLACE" --set "connections.influx.password=REPLACE" --set "connections.rabbitmq.user=REPLACE" --set "connections.rabbitmq.password=REPLACE"

Docker services

producer & api

Dockerhub - sensorlog-api

consumer

Dockerhub - sensorlog-consumer

rabbitmq

Dockerhub - rabbitmq

influxdb

Dockerhub - influxdb

Credits

Thanks to Dr. Bernd Thomas for SensoorLog iOS Application

Sensorlog iOS App

App Store - Sensorlog download

Example: Grafana Screenshot

Grafana example