Symfony-based API for storing, processing, and alerting based on environmental sensor data from distributed nodes.
- PHP 8.2
- Symfony 7.2
- PicoCSS
- HTMX
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
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. |