I built a python script that sends MQTT message periodically.
This is the JSON string sent to the backend:
{"Id": "1234", "Ut": 1488395951, "Temp": 22.86, "Rh": 48.24}
On backend side, I want to store the MQTT message into DynamoDB table.
I followed an Amazon tutorial and the data contained into the MQTT messages are stored into the table.
My problem regards the table columns.
The table has only 3 colums:
- Id: Partition Key
- Ut: Sort Key
- Payload: contains the mqtt message.
It is possible to have columns for each key contained into MQTT message?
I would have this columns: - Id - Ut - Temp - Rh
Thanks for the help!