You may read and update Sigfox messages with other modules (such as
before passing to
sigfox-iot-data for writing to the database.
sigfox-iot-data works with most SQL databases supported by
like MySQL, Postgres, MSSQL, MariaDB and Oracle.
Installation for AWS
See instructions at:
To send messages from a Sigfox device into your database, you may use this Arduino sketch:
The sketch sends 3 field names and field values, packed into a Structured Message:
ctr - message counter lig - light level, based on the Grove analog light sensor tmp - module temperature, based on the Sigfox module's embedded temperature sensor
Alternatively, you may test by sending a Sigfox message from your Sigfox device with the
datafield set to:
We may also use a URL testing tool like Postman to send a POST request to the
application/json. If you're using Postman, click
JSON (application/json)Set the body to:
deviceis your Sigfox device ID.
Here's the request in Postman:
The response from the callback function should look like this:
The test message sent above will be decoded and written to your
ctr (counter): 13 lig (light level): 760 tmp (temperature): 29
The other fields of the Sigfox message will be written as well.