Skip to content

Symfony-based API for storing, processing, and alerting based on environmental sensor data from distributed nodes.

License

Notifications You must be signed in to change notification settings

Neluxx/enviro-hub-symfony

Repository files navigation

enviro-hub-symfony

Symfony-based API for storing, processing, and alerting based on environmental sensor data from distributed nodes.

Tech Stack

  • PHP 8.2
  • Symfony 7.2
  • PicoCSS
  • HTMX

Installation

Clone the project

  git clone https://github.com/Neluxx/enviro-hub-symfony.git

Go to the project directory

  cd enviro-hub-symfony

Install dependencies

  composer install

Start the server with Symfony CLI

  symfony server:start

API Reference

Submit environmental data to the hub

  POST /api/data
Parameter Type Description
temperature float Required. The temperature in degrees Celsius.
humidity float Required. The relative humidity in percent.
pressure float Required. The atmospheric pressure in hPa.
co2 float Required. The CO₂ level in ppm.
created datetime Required. The time of the measurement.

License

Apache License 2.0

About

Symfony-based API for storing, processing, and alerting based on environmental sensor data from distributed nodes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published