Rest API Device data logging

Hello Everyone.

I want to use the Rest API for logging my device measured data.
I use cURL and PHP for automatically logging the mesaured data to my MySQL database.

These data want to store my database:

  • Rssi value,
  • measure data(Temp, RH, BatteryLevel, Status,AirPressure),
  • fCnt:value
  • fPort: value

Which GET commands can I use to solve my problem?
Can anyone give a hint or example on how to solve my problems?

Thanks for helping.

Anyone can help solve my problem?
@brocaar @sagarpatel

Hi @bakok

You can use HTTP integration. it will store data on your MySQL database.
Please follow the documentation below documentation guide.

[HTTP - ChirpStack open-source LoRaWAN® Network Server] (HTTP - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server)

Dear @sagarpatel thanks for your advice.

Your advice is good.
The final solution is probably the PostgresQL separate database and PHP combination.


1 Like